From d9d4b6f085450bbecc38cd9a70380a55ce7fbda9 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 5 Jul 2019 16:41:38 +0800 Subject: [PATCH] Supported library managment for simillarity scene. --- CHANGELOG | 4 + VERSION | 2 +- green/CMakeLists.txt | 600 ++- .../include/alibabacloud/green/GreenClient.h | 1204 ++++- .../green/model/AddSimilarityLibraryRequest.h | 48 + .../green/model/AddSimilarityLibraryResult.h | 49 + .../model/CreatCustomOcrTemplateRequest.h | 60 + .../model/CreatCustomOcrTemplateResult.h | 49 + .../green/model/CreateBizTypeRequest.h | 57 + .../green/model/CreateBizTypeResult.h | 49 + .../green/model/CreateCdiBagRequest.h | 63 + .../green/model/CreateCdiBagResult.h | 57 + .../green/model/CreateCdiBaseBagRequest.h | 63 + .../green/model/CreateCdiBaseBagResult.h | 57 + .../green/model/CreateImageLibRequest.h | 66 + .../green/model/CreateImageLibResult.h | 49 + .../green/model/CreateKeywordLibRequest.h | 78 + .../green/model/CreateKeywordLibResult.h | 51 + .../green/model/CreateKeywordRequest.h | 57 + .../green/model/CreateKeywordResult.h | 55 + .../model/CreateWebSiteInstanceRequest.h | 63 + .../green/model/CreateWebSiteInstanceResult.h | 57 + .../CreateWebsiteIndexPageBaselineRequest.h | 54 + .../CreateWebsiteIndexPageBaselineResult.h | 49 + .../model/DeleteCustomOcrTemplateRequest.h | 51 + .../model/DeleteCustomOcrTemplateResult.h | 49 + .../green/model/DeleteImageFromLibRequest.h | 51 + .../green/model/DeleteImageFromLibResult.h | 49 + .../green/model/DeleteImageLibRequest.h | 51 + .../green/model/DeleteImageLibResult.h | 49 + .../green/model/DeleteKeywordLibRequest.h | 54 + .../green/model/DeleteKeywordLibResult.h | 49 + .../green/model/DeleteKeywordRequest.h | 60 + .../green/model/DeleteKeywordResult.h | 49 + .../model/DeleteNotificationContactsRequest.h | 54 + .../model/DeleteNotificationContactsResult.h | 49 + .../model/DeleteSimilarityLibraryRequest.h | 48 + .../model/DeleteSimilarityLibraryResult.h | 49 + .../green/model/DescribeAppInfoRequest.h | 63 + .../green/model/DescribeAppInfoResult.h | 77 + .../model/DescribeAuditContentItemRequest.h | 66 + .../model/DescribeAuditContentItemResult.h | 70 + .../green/model/DescribeAuditContentRequest.h | 99 + .../green/model/DescribeAuditContentResult.h | 88 + .../green/model/DescribeAuditSettingRequest.h | 51 + .../green/model/DescribeAuditSettingResult.h | 61 + .../model/DescribeBizTypeSettingRequest.h | 54 + .../model/DescribeBizTypeSettingResult.h | 61 + .../green/model/DescribeBizTypesRequest.h | 51 + .../green/model/DescribeBizTypesResult.h | 53 + .../model/DescribeCustomOcrTemplateRequest.h | 51 + .../model/DescribeCustomOcrTemplateResult.h | 78 + .../green/model/DescribeImageFromLibRequest.h | 69 + .../green/model/DescribeImageFromLibResult.h | 66 + .../green/model/DescribeImageLibRequest.h | 51 + .../green/model/DescribeImageLibResult.h | 67 + .../model/DescribeImageUploadInfoRequest.h | 48 + .../model/DescribeImageUploadInfoResult.h | 61 + .../green/model/DescribeKeywordLibRequest.h | 54 + .../green/model/DescribeKeywordLibResult.h | 70 + .../green/model/DescribeKeywordRequest.h | 66 + .../green/model/DescribeKeywordResult.h | 64 + .../DescribeNotificationSettingRequest.h | 51 + .../model/DescribeNotificationSettingResult.h | 61 + .../green/model/DescribeOpenApiUsageRequest.h | 57 + .../green/model/DescribeOpenApiUsageResult.h | 69 + .../model/DescribeOssCallbackSettingRequest.h | 48 + .../model/DescribeOssCallbackSettingResult.h | 61 + .../DescribeOssIncrementCheckSettingRequest.h | 51 + .../DescribeOssIncrementCheckSettingResult.h | 83 + .../DescribeOssIncrementOverviewRequest.h | 51 + .../DescribeOssIncrementOverviewResult.h | 59 + .../model/DescribeOssIncrementStatsRequest.h | 63 + .../model/DescribeOssIncrementStatsResult.h | 63 + .../model/DescribeOssResultItemsRequest.h | 93 + .../model/DescribeOssResultItemsResult.h | 83 + .../model/DescribeOssStockStatusRequest.h | 51 + .../model/DescribeOssStockStatusResult.h | 77 + .../green/model/DescribeSdkUrlRequest.h | 57 + .../green/model/DescribeSdkUrlResult.h | 51 + .../DescribeUpdatePackageResultRequest.h | 54 + .../model/DescribeUpdatePackageResultResult.h | 71 + .../green/model/DescribeUploadInfoRequest.h | 54 + .../green/model/DescribeUploadInfoResult.h | 61 + .../green/model/DescribeUserStatusRequest.h | 51 + .../green/model/DescribeUserStatusResult.h | 61 + .../green/model/DescribeViewContentRequest.h | 96 + .../green/model/DescribeViewContentResult.h | 85 + .../DescribeWebsiteIndexPageBaselineRequest.h | 54 + .../DescribeWebsiteIndexPageBaselineResult.h | 55 + .../model/DescribeWebsiteInstanceIdRequest.h | 51 + .../model/DescribeWebsiteInstanceIdResult.h | 53 + .../DescribeWebsiteInstanceKeyUrlRequest.h | 54 + .../DescribeWebsiteInstanceKeyUrlResult.h | 53 + .../model/DescribeWebsiteInstanceRequest.h | 63 + .../model/DescribeWebsiteInstanceResult.h | 69 + .../DescribeWebsiteScanResultDetailRequest.h | 57 + .../DescribeWebsiteScanResultDetailResult.h | 66 + .../model/DescribeWebsiteScanResultRequest.h | 75 + .../model/DescribeWebsiteScanResultResult.h | 71 + .../green/model/DescribeWebsiteStatRequest.h | 51 + .../green/model/DescribeWebsiteStatResult.h | 60 + .../model/DescribeWebsiteVerifyInfoRequest.h | 54 + .../model/DescribeWebsiteVerifyInfoResult.h | 61 + .../green/model/ExportKeywordsRequest.h | 51 + .../green/model/ExportKeywordsResult.h | 51 + .../green/model/ExportOssResultRequest.h | 87 + .../green/model/ExportOssResultResult.h | 51 + .../green/model/GetSimilarityImageRequest.h | 48 + .../green/model/GetSimilarityImageResult.h | 49 + .../green/model/GetSimilarityLibraryRequest.h | 48 + .../green/model/GetSimilarityLibraryResult.h | 49 + .../green/model/ImageDetectionRequest.h | 45 + .../green/model/ImageDetectionResult.h | 49 + .../green/model/ImageResultRequest.h | 48 + .../green/model/ImageResultResult.h | 49 + .../green/model/ImageResultsRequest.h | 45 + .../green/model/ImageResultsResult.h | 49 + .../green/model/ImportKeywordsRequest.h | 54 + .../green/model/ImportKeywordsResult.h | 55 + .../green/model/ListSimilarityImagesRequest.h | 48 + .../green/model/ListSimilarityImagesResult.h | 49 + .../model/ListSimilarityLibrariesRequest.h | 48 + .../model/ListSimilarityLibrariesResult.h | 49 + .../green/model/MarkAuditContentItemRequest.h | 60 + .../green/model/MarkAuditContentItemResult.h | 49 + .../green/model/MarkAuditContentRequest.h | 57 + .../green/model/MarkAuditContentResult.h | 49 + .../green/model/MarkOssResultRequest.h | 66 + .../green/model/MarkOssResultResult.h | 49 + .../model/MarkWebsiteScanResultRequest.h | 54 + .../green/model/MarkWebsiteScanResultResult.h | 49 + .../green/model/RefundCdiBagRequest.h | 51 + .../green/model/RefundCdiBagResult.h | 49 + .../green/model/RefundCdiBaseBagRequest.h | 51 + .../green/model/RefundCdiBaseBagResult.h | 49 + .../model/RefundWebSiteInstanceRequest.h | 51 + .../green/model/RefundWebSiteInstanceResult.h | 49 + .../green/model/RenewWebSiteInstanceRequest.h | 69 + .../green/model/RenewWebSiteInstanceResult.h | 59 + .../green/model/SampleFeedbackRequest.h | 45 + .../green/model/SampleFeedbackResult.h | 49 + .../model/SendVerifyCodeToEmailRequest.h | 54 + .../green/model/SendVerifyCodeToEmailResult.h | 49 + .../model/SendVerifyCodeToPhoneRequest.h | 54 + .../green/model/SendVerifyCodeToPhoneResult.h | 49 + .../green/model/SendWebsiteFeedbackRequest.h | 57 + .../green/model/SendWebsiteFeedbackResult.h | 49 + .../green/model/TextKeywordFilterRequest.h | 45 + .../green/model/TextKeywordFilterResult.h | 49 + .../green/model/UpdateAppPackageRequest.h | 63 + .../green/model/UpdateAppPackageResult.h | 51 + .../green/model/UpdateAuditSettingRequest.h | 57 + .../green/model/UpdateAuditSettingResult.h | 49 + .../green/model/UpdateBizTypeSettingRequest.h | 60 + .../green/model/UpdateBizTypeSettingResult.h | 49 + .../model/UpdateCustomOcrTemplateRequest.h | 60 + .../model/UpdateCustomOcrTemplateResult.h | 49 + .../green/model/UpdateImageLibRequest.h | 66 + .../green/model/UpdateImageLibResult.h | 49 + .../green/model/UpdateKeywordLibRequest.h | 66 + .../green/model/UpdateKeywordLibResult.h | 49 + .../model/UpdateNotificationSettingRequest.h | 63 + .../model/UpdateNotificationSettingResult.h | 49 + .../model/UpdateOssCallbackSettingRequest.h | 66 + .../model/UpdateOssCallbackSettingResult.h | 49 + .../UpdateOssIncrementCheckSettingRequest.h | 81 + .../UpdateOssIncrementCheckSettingResult.h | 49 + .../green/model/UpdateOssStockStatusRequest.h | 87 + .../green/model/UpdateOssStockStatusResult.h | 49 + .../UpdateWebsiteInstanceKeyUrlRequest.h | 57 + .../model/UpdateWebsiteInstanceKeyUrlResult.h | 49 + .../model/UpdateWebsiteInstanceRequest.h | 69 + .../green/model/UpdateWebsiteInstanceResult.h | 49 + .../UpdateWebsiteInstanceStatusRequest.h | 57 + .../model/UpdateWebsiteInstanceStatusResult.h | 49 + .../green/model/UpgradeCdiBaseBagRequest.h | 63 + .../green/model/UpgradeCdiBaseBagResult.h | 57 + .../green/model/UploadImageToLibRequest.h | 54 + .../green/model/UploadImageToLibResult.h | 49 + .../model/VerifyCustomOcrTemplateRequest.h | 54 + .../model/VerifyCustomOcrTemplateResult.h | 53 + .../green/model/VerifyEmailRequest.h | 54 + .../green/model/VerifyEmailResult.h | 49 + .../green/model/VerifyPhoneRequest.h | 57 + .../green/model/VerifyPhoneResult.h | 49 + .../model/VerifyWebsiteInstanceRequest.h | 57 + .../green/model/VerifyWebsiteInstanceResult.h | 49 + green/src/GreenClient.cc | 4434 ++++++++++++++--- green/src/model/AddFacesRequest.cc | 4 +- green/src/model/AddGroupsRequest.cc | 4 +- green/src/model/AddPersonRequest.cc | 4 +- green/src/model/AddSimilarityImageRequest.cc | 2 +- .../src/model/AddSimilarityLibraryRequest.cc | 38 + green/src/model/AddSimilarityLibraryResult.cc | 45 + green/src/model/AddVideoDnaGroupRequest.cc | 2 +- green/src/model/AddVideoDnaRequest.cc | 2 +- .../model/CreatCustomOcrTemplateRequest.cc | 82 + .../src/model/CreatCustomOcrTemplateResult.cc | 45 + green/src/model/CreateBizTypeRequest.cc | 71 + green/src/model/CreateBizTypeResult.cc | 45 + green/src/model/CreateCdiBagRequest.cc | 93 + green/src/model/CreateCdiBagResult.cc | 74 + green/src/model/CreateCdiBaseBagRequest.cc | 93 + green/src/model/CreateCdiBaseBagResult.cc | 73 + green/src/model/CreateImageLibRequest.cc | 104 + green/src/model/CreateImageLibResult.cc | 45 + green/src/model/CreateKeywordLibRequest.cc | 148 + green/src/model/CreateKeywordLibResult.cc | 52 + green/src/model/CreateKeywordRequest.cc | 71 + green/src/model/CreateKeywordResult.cc | 68 + .../src/model/CreateWebSiteInstanceRequest.cc | 93 + .../src/model/CreateWebSiteInstanceResult.cc | 74 + .../CreateWebsiteIndexPageBaselineRequest.cc | 60 + .../CreateWebsiteIndexPageBaselineResult.cc | 45 + .../model/DeleteCustomOcrTemplateRequest.cc | 49 + .../model/DeleteCustomOcrTemplateResult.cc | 45 + green/src/model/DeleteFacesRequest.cc | 4 +- green/src/model/DeleteGroupsRequest.cc | 4 +- green/src/model/DeleteImageFromLibRequest.cc | 49 + green/src/model/DeleteImageFromLibResult.cc | 45 + green/src/model/DeleteImageLibRequest.cc | 49 + green/src/model/DeleteImageLibResult.cc | 45 + green/src/model/DeleteKeywordLibRequest.cc | 60 + green/src/model/DeleteKeywordLibResult.cc | 45 + green/src/model/DeleteKeywordRequest.cc | 82 + green/src/model/DeleteKeywordResult.cc | 45 + .../DeleteNotificationContactsRequest.cc | 60 + .../model/DeleteNotificationContactsResult.cc | 45 + green/src/model/DeletePersonRequest.cc | 4 +- .../src/model/DeleteSimilarityImageRequest.cc | 2 +- .../model/DeleteSimilarityLibraryRequest.cc | 38 + .../model/DeleteSimilarityLibraryResult.cc | 45 + green/src/model/DeleteVideoDnaGroupRequest.cc | 2 +- green/src/model/DeleteVideoDnaRequest.cc | 2 +- green/src/model/DescribeAppInfoRequest.cc | 93 + green/src/model/DescribeAppInfoResult.cc | 97 + .../model/DescribeAuditContentItemRequest.cc | 104 + .../model/DescribeAuditContentItemResult.cc | 98 + .../src/model/DescribeAuditContentRequest.cc | 225 + green/src/model/DescribeAuditContentResult.cc | 130 + .../src/model/DescribeAuditSettingRequest.cc | 49 + green/src/model/DescribeAuditSettingResult.cc | 71 + .../model/DescribeBizTypeSettingRequest.cc | 60 + .../src/model/DescribeBizTypeSettingResult.cc | 63 + green/src/model/DescribeBizTypesRequest.cc | 49 + green/src/model/DescribeBizTypesResult.cc | 60 + .../model/DescribeCustomOcrTemplateRequest.cc | 49 + .../model/DescribeCustomOcrTemplateResult.cc | 103 + .../src/model/DescribeImageFromLibRequest.cc | 115 + green/src/model/DescribeImageFromLibResult.cc | 89 + green/src/model/DescribeImageLibRequest.cc | 49 + green/src/model/DescribeImageLibResult.cc | 86 + .../model/DescribeImageUploadInfoRequest.cc | 38 + .../model/DescribeImageUploadInfoResult.cc | 87 + green/src/model/DescribeKeywordLibRequest.cc | 60 + green/src/model/DescribeKeywordLibResult.cc | 92 + green/src/model/DescribeKeywordRequest.cc | 104 + green/src/model/DescribeKeywordResult.cc | 85 + .../DescribeNotificationSettingRequest.cc | 49 + .../DescribeNotificationSettingResult.cc | 89 + .../src/model/DescribeOpenApiUsageRequest.cc | 71 + green/src/model/DescribeOpenApiUsageResult.cc | 89 + .../DescribeOssCallbackSettingRequest.cc | 38 + .../model/DescribeOssCallbackSettingResult.cc | 89 + ...DescribeOssIncrementCheckSettingRequest.cc | 49 + .../DescribeOssIncrementCheckSettingResult.cc | 141 + .../DescribeOssIncrementOverviewRequest.cc | 49 + .../DescribeOssIncrementOverviewResult.cc | 80 + .../model/DescribeOssIncrementStatsRequest.cc | 93 + .../model/DescribeOssIncrementStatsResult.cc | 77 + .../model/DescribeOssResultItemsRequest.cc | 203 + .../src/model/DescribeOssResultItemsResult.cc | 124 + .../model/DescribeOssStockStatusRequest.cc | 49 + .../src/model/DescribeOssStockStatusResult.cc | 135 + green/src/model/DescribeSdkUrlRequest.cc | 71 + green/src/model/DescribeSdkUrlResult.cc | 52 + .../DescribeUpdatePackageResultRequest.cc | 60 + .../DescribeUpdatePackageResultResult.cc | 71 + green/src/model/DescribeUploadInfoRequest.cc | 60 + green/src/model/DescribeUploadInfoResult.cc | 87 + green/src/model/DescribeUserStatusRequest.cc | 49 + green/src/model/DescribeUserStatusResult.cc | 87 + green/src/model/DescribeViewContentRequest.cc | 214 + green/src/model/DescribeViewContentResult.cc | 123 + ...DescribeWebsiteIndexPageBaselineRequest.cc | 60 + .../DescribeWebsiteIndexPageBaselineResult.cc | 66 + .../model/DescribeWebsiteInstanceIdRequest.cc | 49 + .../model/DescribeWebsiteInstanceIdResult.cc | 60 + .../DescribeWebsiteInstanceKeyUrlRequest.cc | 60 + .../DescribeWebsiteInstanceKeyUrlResult.cc | 60 + .../model/DescribeWebsiteInstanceRequest.cc | 93 + .../model/DescribeWebsiteInstanceResult.cc | 95 + .../DescribeWebsiteScanResultDetailRequest.cc | 71 + .../DescribeWebsiteScanResultDetailResult.cc | 97 + .../model/DescribeWebsiteScanResultRequest.cc | 137 + .../model/DescribeWebsiteScanResultResult.cc | 100 + green/src/model/DescribeWebsiteStatRequest.cc | 49 + green/src/model/DescribeWebsiteStatResult.cc | 71 + .../model/DescribeWebsiteVerifyInfoRequest.cc | 60 + .../model/DescribeWebsiteVerifyInfoResult.cc | 87 + green/src/model/ExportKeywordsRequest.cc | 49 + green/src/model/ExportKeywordsResult.cc | 52 + green/src/model/ExportOssResultRequest.cc | 181 + green/src/model/ExportOssResultResult.cc | 52 + green/src/model/FileAsyncScanRequest.cc | 2 +- .../src/model/FileAsyncScanResultsRequest.cc | 2 +- .../src/model/GetAddVideoDnaResultsRequest.cc | 2 +- green/src/model/GetFacesRequest.cc | 4 +- green/src/model/GetGroupsRequest.cc | 4 +- green/src/model/GetPersonRequest.cc | 4 +- green/src/model/GetPersonsRequest.cc | 4 +- green/src/model/GetSimilarityImageRequest.cc | 38 + green/src/model/GetSimilarityImageResult.cc | 45 + .../src/model/GetSimilarityLibraryRequest.cc | 38 + green/src/model/GetSimilarityLibraryResult.cc | 45 + green/src/model/ImageAsyncScanRequest.cc | 2 +- .../src/model/ImageAsyncScanResultsRequest.cc | 2 +- green/src/model/ImageDetectionRequest.cc | 27 + green/src/model/ImageDetectionResult.cc | 45 + green/src/model/ImageResultRequest.cc | 38 + green/src/model/ImageResultResult.cc | 45 + green/src/model/ImageResultsRequest.cc | 27 + green/src/model/ImageResultsResult.cc | 45 + green/src/model/ImageScanFeedbackRequest.cc | 2 +- green/src/model/ImageSyncScanRequest.cc | 2 +- green/src/model/ImportKeywordsRequest.cc | 60 + green/src/model/ImportKeywordsResult.cc | 68 + .../src/model/ListSimilarityImagesRequest.cc | 38 + green/src/model/ListSimilarityImagesResult.cc | 45 + .../model/ListSimilarityLibrariesRequest.cc | 38 + .../model/ListSimilarityLibrariesResult.cc | 45 + .../src/model/MarkAuditContentItemRequest.cc | 82 + green/src/model/MarkAuditContentItemResult.cc | 45 + green/src/model/MarkAuditContentRequest.cc | 71 + green/src/model/MarkAuditContentResult.cc | 45 + green/src/model/MarkOssResultRequest.cc | 104 + green/src/model/MarkOssResultResult.cc | 45 + .../src/model/MarkWebsiteScanResultRequest.cc | 60 + .../src/model/MarkWebsiteScanResultResult.cc | 45 + green/src/model/RefundCdiBagRequest.cc | 49 + green/src/model/RefundCdiBagResult.cc | 45 + green/src/model/RefundCdiBaseBagRequest.cc | 49 + green/src/model/RefundCdiBaseBagResult.cc | 45 + .../src/model/RefundWebSiteInstanceRequest.cc | 49 + .../src/model/RefundWebSiteInstanceResult.cc | 45 + .../src/model/RenewWebSiteInstanceRequest.cc | 115 + green/src/model/RenewWebSiteInstanceResult.cc | 81 + green/src/model/SampleFeedbackRequest.cc | 27 + green/src/model/SampleFeedbackResult.cc | 45 + green/src/model/SearchPersonRequest.cc | 4 +- .../src/model/SendVerifyCodeToEmailRequest.cc | 60 + .../src/model/SendVerifyCodeToEmailResult.cc | 45 + .../src/model/SendVerifyCodeToPhoneRequest.cc | 60 + .../src/model/SendVerifyCodeToPhoneResult.cc | 45 + green/src/model/SendWebsiteFeedbackRequest.cc | 71 + green/src/model/SendWebsiteFeedbackResult.cc | 45 + green/src/model/SetPersonRequest.cc | 4 +- green/src/model/TextFeedbackRequest.cc | 2 +- green/src/model/TextKeywordFilterRequest.cc | 27 + green/src/model/TextKeywordFilterResult.cc | 45 + green/src/model/TextScanRequest.cc | 2 +- green/src/model/UpdateAppPackageRequest.cc | 93 + green/src/model/UpdateAppPackageResult.cc | 52 + green/src/model/UpdateAuditSettingRequest.cc | 71 + green/src/model/UpdateAuditSettingResult.cc | 45 + .../src/model/UpdateBizTypeSettingRequest.cc | 82 + green/src/model/UpdateBizTypeSettingResult.cc | 45 + .../model/UpdateCustomOcrTemplateRequest.cc | 82 + .../model/UpdateCustomOcrTemplateResult.cc | 45 + green/src/model/UpdateImageLibRequest.cc | 104 + green/src/model/UpdateImageLibResult.cc | 45 + green/src/model/UpdateKeywordLibRequest.cc | 104 + green/src/model/UpdateKeywordLibResult.cc | 45 + .../model/UpdateNotificationSettingRequest.cc | 93 + .../model/UpdateNotificationSettingResult.cc | 45 + .../model/UpdateOssCallbackSettingRequest.cc | 104 + .../model/UpdateOssCallbackSettingResult.cc | 45 + .../UpdateOssIncrementCheckSettingRequest.cc | 159 + .../UpdateOssIncrementCheckSettingResult.cc | 45 + .../src/model/UpdateOssStockStatusRequest.cc | 181 + green/src/model/UpdateOssStockStatusResult.cc | 45 + .../UpdateWebsiteInstanceKeyUrlRequest.cc | 71 + .../UpdateWebsiteInstanceKeyUrlResult.cc | 45 + .../src/model/UpdateWebsiteInstanceRequest.cc | 115 + .../src/model/UpdateWebsiteInstanceResult.cc | 45 + .../UpdateWebsiteInstanceStatusRequest.cc | 71 + .../UpdateWebsiteInstanceStatusResult.cc | 45 + green/src/model/UpgradeCdiBaseBagRequest.cc | 93 + green/src/model/UpgradeCdiBaseBagResult.cc | 73 + green/src/model/UploadCredentialsRequest.cc | 4 +- green/src/model/UploadImageToLibRequest.cc | 60 + green/src/model/UploadImageToLibResult.cc | 45 + .../model/VerifyCustomOcrTemplateRequest.cc | 60 + .../model/VerifyCustomOcrTemplateResult.cc | 59 + green/src/model/VerifyEmailRequest.cc | 60 + green/src/model/VerifyEmailResult.cc | 45 + green/src/model/VerifyPhoneRequest.cc | 71 + green/src/model/VerifyPhoneResult.cc | 45 + .../src/model/VerifyWebsiteInstanceRequest.cc | 71 + .../src/model/VerifyWebsiteInstanceResult.cc | 45 + green/src/model/VideoAsyncScanRequest.cc | 2 +- .../src/model/VideoAsyncScanResultsRequest.cc | 2 +- green/src/model/VideoFeedbackRequest.cc | 2 +- green/src/model/VideoSyncScanRequest.cc | 2 +- green/src/model/VoiceAsyncScanRequest.cc | 2 +- .../src/model/VoiceAsyncScanResultsRequest.cc | 2 +- green/src/model/VoiceCancelScanRequest.cc | 2 +- green/src/model/VoiceIdentityCheckRequest.cc | 4 +- .../src/model/VoiceIdentityRegisterRequest.cc | 4 +- .../model/VoiceIdentityStartCheckRequest.cc | 4 +- .../VoiceIdentityStartRegisterRequest.cc | 4 +- .../model/VoiceIdentityUnregisterRequest.cc | 4 +- 413 files changed, 28706 insertions(+), 970 deletions(-) create mode 100644 green/include/alibabacloud/green/model/AddSimilarityLibraryRequest.h create mode 100644 green/include/alibabacloud/green/model/AddSimilarityLibraryResult.h create mode 100644 green/include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h create mode 100644 green/include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h create mode 100644 green/include/alibabacloud/green/model/CreateBizTypeRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateBizTypeResult.h create mode 100644 green/include/alibabacloud/green/model/CreateCdiBagRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateCdiBagResult.h create mode 100644 green/include/alibabacloud/green/model/CreateCdiBaseBagRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateCdiBaseBagResult.h create mode 100644 green/include/alibabacloud/green/model/CreateImageLibRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateImageLibResult.h create mode 100644 green/include/alibabacloud/green/model/CreateKeywordLibRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateKeywordLibResult.h create mode 100644 green/include/alibabacloud/green/model/CreateKeywordRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateKeywordResult.h create mode 100644 green/include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateWebSiteInstanceResult.h create mode 100644 green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h create mode 100644 green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteImageFromLibRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteImageFromLibResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteImageLibRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteImageLibResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteKeywordLibRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteKeywordLibResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteKeywordRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteKeywordResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteNotificationContactsRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteNotificationContactsResult.h create mode 100644 green/include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h create mode 100644 green/include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeAppInfoRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeAppInfoResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeAuditContentItemRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeAuditContentItemResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeAuditContentRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeAuditContentResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeAuditSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeAuditSettingResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeBizTypeSettingResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeBizTypesRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeBizTypesResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeImageFromLibRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeImageFromLibResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeImageLibRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeImageLibResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeImageUploadInfoResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeKeywordLibRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeKeywordLibResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeKeywordRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeKeywordResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeNotificationSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeNotificationSettingResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOpenApiUsageResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssResultItemsRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssResultItemsResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssStockStatusRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeOssStockStatusResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeSdkUrlRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeSdkUrlResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeUploadInfoRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeUploadInfoResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeUserStatusRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeUserStatusResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeViewContentRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeViewContentResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteStatRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteStatResult.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h create mode 100644 green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h create mode 100644 green/include/alibabacloud/green/model/ExportKeywordsRequest.h create mode 100644 green/include/alibabacloud/green/model/ExportKeywordsResult.h create mode 100644 green/include/alibabacloud/green/model/ExportOssResultRequest.h create mode 100644 green/include/alibabacloud/green/model/ExportOssResultResult.h create mode 100644 green/include/alibabacloud/green/model/GetSimilarityImageRequest.h create mode 100644 green/include/alibabacloud/green/model/GetSimilarityImageResult.h create mode 100644 green/include/alibabacloud/green/model/GetSimilarityLibraryRequest.h create mode 100644 green/include/alibabacloud/green/model/GetSimilarityLibraryResult.h create mode 100644 green/include/alibabacloud/green/model/ImageDetectionRequest.h create mode 100644 green/include/alibabacloud/green/model/ImageDetectionResult.h create mode 100644 green/include/alibabacloud/green/model/ImageResultRequest.h create mode 100644 green/include/alibabacloud/green/model/ImageResultResult.h create mode 100644 green/include/alibabacloud/green/model/ImageResultsRequest.h create mode 100644 green/include/alibabacloud/green/model/ImageResultsResult.h create mode 100644 green/include/alibabacloud/green/model/ImportKeywordsRequest.h create mode 100644 green/include/alibabacloud/green/model/ImportKeywordsResult.h create mode 100644 green/include/alibabacloud/green/model/ListSimilarityImagesRequest.h create mode 100644 green/include/alibabacloud/green/model/ListSimilarityImagesResult.h create mode 100644 green/include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h create mode 100644 green/include/alibabacloud/green/model/ListSimilarityLibrariesResult.h create mode 100644 green/include/alibabacloud/green/model/MarkAuditContentItemRequest.h create mode 100644 green/include/alibabacloud/green/model/MarkAuditContentItemResult.h create mode 100644 green/include/alibabacloud/green/model/MarkAuditContentRequest.h create mode 100644 green/include/alibabacloud/green/model/MarkAuditContentResult.h create mode 100644 green/include/alibabacloud/green/model/MarkOssResultRequest.h create mode 100644 green/include/alibabacloud/green/model/MarkOssResultResult.h create mode 100644 green/include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h create mode 100644 green/include/alibabacloud/green/model/MarkWebsiteScanResultResult.h create mode 100644 green/include/alibabacloud/green/model/RefundCdiBagRequest.h create mode 100644 green/include/alibabacloud/green/model/RefundCdiBagResult.h create mode 100644 green/include/alibabacloud/green/model/RefundCdiBaseBagRequest.h create mode 100644 green/include/alibabacloud/green/model/RefundCdiBaseBagResult.h create mode 100644 green/include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h create mode 100644 green/include/alibabacloud/green/model/RefundWebSiteInstanceResult.h create mode 100644 green/include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h create mode 100644 green/include/alibabacloud/green/model/RenewWebSiteInstanceResult.h create mode 100644 green/include/alibabacloud/green/model/SampleFeedbackRequest.h create mode 100644 green/include/alibabacloud/green/model/SampleFeedbackResult.h create mode 100644 green/include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h create mode 100644 green/include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h create mode 100644 green/include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h create mode 100644 green/include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h create mode 100644 green/include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h create mode 100644 green/include/alibabacloud/green/model/SendWebsiteFeedbackResult.h create mode 100644 green/include/alibabacloud/green/model/TextKeywordFilterRequest.h create mode 100644 green/include/alibabacloud/green/model/TextKeywordFilterResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateAppPackageRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateAppPackageResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateAuditSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateAuditSettingResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateBizTypeSettingResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateImageLibRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateImageLibResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateKeywordLibRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateKeywordLibResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateNotificationSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateNotificationSettingResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateOssStockStatusRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateOssStockStatusResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h create mode 100644 green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h create mode 100644 green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h create mode 100644 green/include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h create mode 100644 green/include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h create mode 100644 green/include/alibabacloud/green/model/UploadImageToLibRequest.h create mode 100644 green/include/alibabacloud/green/model/UploadImageToLibResult.h create mode 100644 green/include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h create mode 100644 green/include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h create mode 100644 green/include/alibabacloud/green/model/VerifyEmailRequest.h create mode 100644 green/include/alibabacloud/green/model/VerifyEmailResult.h create mode 100644 green/include/alibabacloud/green/model/VerifyPhoneRequest.h create mode 100644 green/include/alibabacloud/green/model/VerifyPhoneResult.h create mode 100644 green/include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h create mode 100644 green/include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h create mode 100644 green/src/model/AddSimilarityLibraryRequest.cc create mode 100644 green/src/model/AddSimilarityLibraryResult.cc create mode 100644 green/src/model/CreatCustomOcrTemplateRequest.cc create mode 100644 green/src/model/CreatCustomOcrTemplateResult.cc create mode 100644 green/src/model/CreateBizTypeRequest.cc create mode 100644 green/src/model/CreateBizTypeResult.cc create mode 100644 green/src/model/CreateCdiBagRequest.cc create mode 100644 green/src/model/CreateCdiBagResult.cc create mode 100644 green/src/model/CreateCdiBaseBagRequest.cc create mode 100644 green/src/model/CreateCdiBaseBagResult.cc create mode 100644 green/src/model/CreateImageLibRequest.cc create mode 100644 green/src/model/CreateImageLibResult.cc create mode 100644 green/src/model/CreateKeywordLibRequest.cc create mode 100644 green/src/model/CreateKeywordLibResult.cc create mode 100644 green/src/model/CreateKeywordRequest.cc create mode 100644 green/src/model/CreateKeywordResult.cc create mode 100644 green/src/model/CreateWebSiteInstanceRequest.cc create mode 100644 green/src/model/CreateWebSiteInstanceResult.cc create mode 100644 green/src/model/CreateWebsiteIndexPageBaselineRequest.cc create mode 100644 green/src/model/CreateWebsiteIndexPageBaselineResult.cc create mode 100644 green/src/model/DeleteCustomOcrTemplateRequest.cc create mode 100644 green/src/model/DeleteCustomOcrTemplateResult.cc create mode 100644 green/src/model/DeleteImageFromLibRequest.cc create mode 100644 green/src/model/DeleteImageFromLibResult.cc create mode 100644 green/src/model/DeleteImageLibRequest.cc create mode 100644 green/src/model/DeleteImageLibResult.cc create mode 100644 green/src/model/DeleteKeywordLibRequest.cc create mode 100644 green/src/model/DeleteKeywordLibResult.cc create mode 100644 green/src/model/DeleteKeywordRequest.cc create mode 100644 green/src/model/DeleteKeywordResult.cc create mode 100644 green/src/model/DeleteNotificationContactsRequest.cc create mode 100644 green/src/model/DeleteNotificationContactsResult.cc create mode 100644 green/src/model/DeleteSimilarityLibraryRequest.cc create mode 100644 green/src/model/DeleteSimilarityLibraryResult.cc create mode 100644 green/src/model/DescribeAppInfoRequest.cc create mode 100644 green/src/model/DescribeAppInfoResult.cc create mode 100644 green/src/model/DescribeAuditContentItemRequest.cc create mode 100644 green/src/model/DescribeAuditContentItemResult.cc create mode 100644 green/src/model/DescribeAuditContentRequest.cc create mode 100644 green/src/model/DescribeAuditContentResult.cc create mode 100644 green/src/model/DescribeAuditSettingRequest.cc create mode 100644 green/src/model/DescribeAuditSettingResult.cc create mode 100644 green/src/model/DescribeBizTypeSettingRequest.cc create mode 100644 green/src/model/DescribeBizTypeSettingResult.cc create mode 100644 green/src/model/DescribeBizTypesRequest.cc create mode 100644 green/src/model/DescribeBizTypesResult.cc create mode 100644 green/src/model/DescribeCustomOcrTemplateRequest.cc create mode 100644 green/src/model/DescribeCustomOcrTemplateResult.cc create mode 100644 green/src/model/DescribeImageFromLibRequest.cc create mode 100644 green/src/model/DescribeImageFromLibResult.cc create mode 100644 green/src/model/DescribeImageLibRequest.cc create mode 100644 green/src/model/DescribeImageLibResult.cc create mode 100644 green/src/model/DescribeImageUploadInfoRequest.cc create mode 100644 green/src/model/DescribeImageUploadInfoResult.cc create mode 100644 green/src/model/DescribeKeywordLibRequest.cc create mode 100644 green/src/model/DescribeKeywordLibResult.cc create mode 100644 green/src/model/DescribeKeywordRequest.cc create mode 100644 green/src/model/DescribeKeywordResult.cc create mode 100644 green/src/model/DescribeNotificationSettingRequest.cc create mode 100644 green/src/model/DescribeNotificationSettingResult.cc create mode 100644 green/src/model/DescribeOpenApiUsageRequest.cc create mode 100644 green/src/model/DescribeOpenApiUsageResult.cc create mode 100644 green/src/model/DescribeOssCallbackSettingRequest.cc create mode 100644 green/src/model/DescribeOssCallbackSettingResult.cc create mode 100644 green/src/model/DescribeOssIncrementCheckSettingRequest.cc create mode 100644 green/src/model/DescribeOssIncrementCheckSettingResult.cc create mode 100644 green/src/model/DescribeOssIncrementOverviewRequest.cc create mode 100644 green/src/model/DescribeOssIncrementOverviewResult.cc create mode 100644 green/src/model/DescribeOssIncrementStatsRequest.cc create mode 100644 green/src/model/DescribeOssIncrementStatsResult.cc create mode 100644 green/src/model/DescribeOssResultItemsRequest.cc create mode 100644 green/src/model/DescribeOssResultItemsResult.cc create mode 100644 green/src/model/DescribeOssStockStatusRequest.cc create mode 100644 green/src/model/DescribeOssStockStatusResult.cc create mode 100644 green/src/model/DescribeSdkUrlRequest.cc create mode 100644 green/src/model/DescribeSdkUrlResult.cc create mode 100644 green/src/model/DescribeUpdatePackageResultRequest.cc create mode 100644 green/src/model/DescribeUpdatePackageResultResult.cc create mode 100644 green/src/model/DescribeUploadInfoRequest.cc create mode 100644 green/src/model/DescribeUploadInfoResult.cc create mode 100644 green/src/model/DescribeUserStatusRequest.cc create mode 100644 green/src/model/DescribeUserStatusResult.cc create mode 100644 green/src/model/DescribeViewContentRequest.cc create mode 100644 green/src/model/DescribeViewContentResult.cc create mode 100644 green/src/model/DescribeWebsiteIndexPageBaselineRequest.cc create mode 100644 green/src/model/DescribeWebsiteIndexPageBaselineResult.cc create mode 100644 green/src/model/DescribeWebsiteInstanceIdRequest.cc create mode 100644 green/src/model/DescribeWebsiteInstanceIdResult.cc create mode 100644 green/src/model/DescribeWebsiteInstanceKeyUrlRequest.cc create mode 100644 green/src/model/DescribeWebsiteInstanceKeyUrlResult.cc create mode 100644 green/src/model/DescribeWebsiteInstanceRequest.cc create mode 100644 green/src/model/DescribeWebsiteInstanceResult.cc create mode 100644 green/src/model/DescribeWebsiteScanResultDetailRequest.cc create mode 100644 green/src/model/DescribeWebsiteScanResultDetailResult.cc create mode 100644 green/src/model/DescribeWebsiteScanResultRequest.cc create mode 100644 green/src/model/DescribeWebsiteScanResultResult.cc create mode 100644 green/src/model/DescribeWebsiteStatRequest.cc create mode 100644 green/src/model/DescribeWebsiteStatResult.cc create mode 100644 green/src/model/DescribeWebsiteVerifyInfoRequest.cc create mode 100644 green/src/model/DescribeWebsiteVerifyInfoResult.cc create mode 100644 green/src/model/ExportKeywordsRequest.cc create mode 100644 green/src/model/ExportKeywordsResult.cc create mode 100644 green/src/model/ExportOssResultRequest.cc create mode 100644 green/src/model/ExportOssResultResult.cc create mode 100644 green/src/model/GetSimilarityImageRequest.cc create mode 100644 green/src/model/GetSimilarityImageResult.cc create mode 100644 green/src/model/GetSimilarityLibraryRequest.cc create mode 100644 green/src/model/GetSimilarityLibraryResult.cc create mode 100644 green/src/model/ImageDetectionRequest.cc create mode 100644 green/src/model/ImageDetectionResult.cc create mode 100644 green/src/model/ImageResultRequest.cc create mode 100644 green/src/model/ImageResultResult.cc create mode 100644 green/src/model/ImageResultsRequest.cc create mode 100644 green/src/model/ImageResultsResult.cc create mode 100644 green/src/model/ImportKeywordsRequest.cc create mode 100644 green/src/model/ImportKeywordsResult.cc create mode 100644 green/src/model/ListSimilarityImagesRequest.cc create mode 100644 green/src/model/ListSimilarityImagesResult.cc create mode 100644 green/src/model/ListSimilarityLibrariesRequest.cc create mode 100644 green/src/model/ListSimilarityLibrariesResult.cc create mode 100644 green/src/model/MarkAuditContentItemRequest.cc create mode 100644 green/src/model/MarkAuditContentItemResult.cc create mode 100644 green/src/model/MarkAuditContentRequest.cc create mode 100644 green/src/model/MarkAuditContentResult.cc create mode 100644 green/src/model/MarkOssResultRequest.cc create mode 100644 green/src/model/MarkOssResultResult.cc create mode 100644 green/src/model/MarkWebsiteScanResultRequest.cc create mode 100644 green/src/model/MarkWebsiteScanResultResult.cc create mode 100644 green/src/model/RefundCdiBagRequest.cc create mode 100644 green/src/model/RefundCdiBagResult.cc create mode 100644 green/src/model/RefundCdiBaseBagRequest.cc create mode 100644 green/src/model/RefundCdiBaseBagResult.cc create mode 100644 green/src/model/RefundWebSiteInstanceRequest.cc create mode 100644 green/src/model/RefundWebSiteInstanceResult.cc create mode 100644 green/src/model/RenewWebSiteInstanceRequest.cc create mode 100644 green/src/model/RenewWebSiteInstanceResult.cc create mode 100644 green/src/model/SampleFeedbackRequest.cc create mode 100644 green/src/model/SampleFeedbackResult.cc create mode 100644 green/src/model/SendVerifyCodeToEmailRequest.cc create mode 100644 green/src/model/SendVerifyCodeToEmailResult.cc create mode 100644 green/src/model/SendVerifyCodeToPhoneRequest.cc create mode 100644 green/src/model/SendVerifyCodeToPhoneResult.cc create mode 100644 green/src/model/SendWebsiteFeedbackRequest.cc create mode 100644 green/src/model/SendWebsiteFeedbackResult.cc create mode 100644 green/src/model/TextKeywordFilterRequest.cc create mode 100644 green/src/model/TextKeywordFilterResult.cc create mode 100644 green/src/model/UpdateAppPackageRequest.cc create mode 100644 green/src/model/UpdateAppPackageResult.cc create mode 100644 green/src/model/UpdateAuditSettingRequest.cc create mode 100644 green/src/model/UpdateAuditSettingResult.cc create mode 100644 green/src/model/UpdateBizTypeSettingRequest.cc create mode 100644 green/src/model/UpdateBizTypeSettingResult.cc create mode 100644 green/src/model/UpdateCustomOcrTemplateRequest.cc create mode 100644 green/src/model/UpdateCustomOcrTemplateResult.cc create mode 100644 green/src/model/UpdateImageLibRequest.cc create mode 100644 green/src/model/UpdateImageLibResult.cc create mode 100644 green/src/model/UpdateKeywordLibRequest.cc create mode 100644 green/src/model/UpdateKeywordLibResult.cc create mode 100644 green/src/model/UpdateNotificationSettingRequest.cc create mode 100644 green/src/model/UpdateNotificationSettingResult.cc create mode 100644 green/src/model/UpdateOssCallbackSettingRequest.cc create mode 100644 green/src/model/UpdateOssCallbackSettingResult.cc create mode 100644 green/src/model/UpdateOssIncrementCheckSettingRequest.cc create mode 100644 green/src/model/UpdateOssIncrementCheckSettingResult.cc create mode 100644 green/src/model/UpdateOssStockStatusRequest.cc create mode 100644 green/src/model/UpdateOssStockStatusResult.cc create mode 100644 green/src/model/UpdateWebsiteInstanceKeyUrlRequest.cc create mode 100644 green/src/model/UpdateWebsiteInstanceKeyUrlResult.cc create mode 100644 green/src/model/UpdateWebsiteInstanceRequest.cc create mode 100644 green/src/model/UpdateWebsiteInstanceResult.cc create mode 100644 green/src/model/UpdateWebsiteInstanceStatusRequest.cc create mode 100644 green/src/model/UpdateWebsiteInstanceStatusResult.cc create mode 100644 green/src/model/UpgradeCdiBaseBagRequest.cc create mode 100644 green/src/model/UpgradeCdiBaseBagResult.cc create mode 100644 green/src/model/UploadImageToLibRequest.cc create mode 100644 green/src/model/UploadImageToLibResult.cc create mode 100644 green/src/model/VerifyCustomOcrTemplateRequest.cc create mode 100644 green/src/model/VerifyCustomOcrTemplateResult.cc create mode 100644 green/src/model/VerifyEmailRequest.cc create mode 100644 green/src/model/VerifyEmailResult.cc create mode 100644 green/src/model/VerifyPhoneRequest.cc create mode 100644 green/src/model/VerifyPhoneResult.cc create mode 100644 green/src/model/VerifyWebsiteInstanceRequest.cc create mode 100644 green/src/model/VerifyWebsiteInstanceResult.cc diff --git a/CHANGELOG b/CHANGELOG index b2181d9e6..831d65ea0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2019-07-05 Version 1.36.61 +- Supported library managment for simillarity scene. +- Remove the local file uploader code which can be downloaded from yundun content security document. + 2019-07-05 Version 1.36.60 - Add TaskCancelStatus for QueryTaskList api. diff --git a/VERSION b/VERSION index d4a322a89..702aec00c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.60 \ No newline at end of file +1.36.61 \ No newline at end of file diff --git a/green/CMakeLists.txt b/green/CMakeLists.txt index fa8b96ccf..176cc5d89 100755 --- a/green/CMakeLists.txt +++ b/green/CMakeLists.txt @@ -21,169 +21,537 @@ set(green_public_header include/alibabacloud/green/GreenExport.h ) set(green_public_header_model - include/alibabacloud/green/model/ImageSyncScanRequest.h - include/alibabacloud/green/model/ImageSyncScanResult.h - include/alibabacloud/green/model/UploadCredentialsRequest.h - include/alibabacloud/green/model/UploadCredentialsResult.h - include/alibabacloud/green/model/GetPersonsRequest.h - include/alibabacloud/green/model/GetPersonsResult.h - include/alibabacloud/green/model/GetPersonRequest.h - include/alibabacloud/green/model/GetPersonResult.h - include/alibabacloud/green/model/DeleteFacesRequest.h - include/alibabacloud/green/model/DeleteFacesResult.h + include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h + include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h + include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h + include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h + include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h + include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h + include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h + include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h + include/alibabacloud/green/model/UpdateAppPackageRequest.h + include/alibabacloud/green/model/UpdateAppPackageResult.h include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h - include/alibabacloud/green/model/AddVideoDnaRequest.h - include/alibabacloud/green/model/AddVideoDnaResult.h - include/alibabacloud/green/model/VideoFeedbackRequest.h - include/alibabacloud/green/model/VideoFeedbackResult.h - include/alibabacloud/green/model/DeletePersonRequest.h - include/alibabacloud/green/model/DeletePersonResult.h - include/alibabacloud/green/model/VideoSyncScanRequest.h - include/alibabacloud/green/model/VideoSyncScanResult.h - include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h - include/alibabacloud/green/model/VideoAsyncScanResultsResult.h + include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h + include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h + include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h + include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h include/alibabacloud/green/model/DeleteVideoDnaRequest.h include/alibabacloud/green/model/DeleteVideoDnaResult.h - include/alibabacloud/green/model/AddGroupsRequest.h - include/alibabacloud/green/model/AddGroupsResult.h + include/alibabacloud/green/model/RefundCdiBaseBagRequest.h + include/alibabacloud/green/model/RefundCdiBaseBagResult.h + include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h + include/alibabacloud/green/model/UpdateBizTypeSettingResult.h include/alibabacloud/green/model/FileAsyncScanRequest.h include/alibabacloud/green/model/FileAsyncScanResult.h + include/alibabacloud/green/model/DescribeOssResultItemsRequest.h + include/alibabacloud/green/model/DescribeOssResultItemsResult.h + include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h + include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h + include/alibabacloud/green/model/DescribeBizTypesRequest.h + include/alibabacloud/green/model/DescribeBizTypesResult.h + include/alibabacloud/green/model/RefundCdiBagRequest.h + include/alibabacloud/green/model/RefundCdiBagResult.h + include/alibabacloud/green/model/DeleteImageFromLibRequest.h + include/alibabacloud/green/model/DeleteImageFromLibResult.h + include/alibabacloud/green/model/CreateCdiBaseBagRequest.h + include/alibabacloud/green/model/CreateCdiBaseBagResult.h + include/alibabacloud/green/model/VerifyPhoneRequest.h + include/alibabacloud/green/model/VerifyPhoneResult.h + include/alibabacloud/green/model/ImageDetectionRequest.h + include/alibabacloud/green/model/ImageDetectionResult.h + include/alibabacloud/green/model/DeleteKeywordLibRequest.h + include/alibabacloud/green/model/DeleteKeywordLibResult.h + include/alibabacloud/green/model/ImportKeywordsRequest.h + include/alibabacloud/green/model/ImportKeywordsResult.h + include/alibabacloud/green/model/VoiceCancelScanRequest.h + include/alibabacloud/green/model/VoiceCancelScanResult.h + include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h + include/alibabacloud/green/model/SendWebsiteFeedbackResult.h + include/alibabacloud/green/model/DescribeImageFromLibRequest.h + include/alibabacloud/green/model/DescribeImageFromLibResult.h + include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h + include/alibabacloud/green/model/RenewWebSiteInstanceResult.h + include/alibabacloud/green/model/DescribeViewContentRequest.h + include/alibabacloud/green/model/DescribeViewContentResult.h + include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h + include/alibabacloud/green/model/VoiceIdentityRegisterResult.h + include/alibabacloud/green/model/DescribeWebsiteStatRequest.h + include/alibabacloud/green/model/DescribeWebsiteStatResult.h + include/alibabacloud/green/model/UpdateNotificationSettingRequest.h + include/alibabacloud/green/model/UpdateNotificationSettingResult.h + include/alibabacloud/green/model/DescribeAuditContentItemRequest.h + include/alibabacloud/green/model/DescribeAuditContentItemResult.h + include/alibabacloud/green/model/SearchPersonRequest.h + include/alibabacloud/green/model/SearchPersonResult.h + include/alibabacloud/green/model/MarkOssResultRequest.h + include/alibabacloud/green/model/MarkOssResultResult.h + include/alibabacloud/green/model/DescribeAppInfoRequest.h + include/alibabacloud/green/model/DescribeAppInfoResult.h + include/alibabacloud/green/model/AddSimilarityImageRequest.h + include/alibabacloud/green/model/AddSimilarityImageResult.h + include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h + include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h + include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h + include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h + include/alibabacloud/green/model/DeleteKeywordRequest.h + include/alibabacloud/green/model/DeleteKeywordResult.h + include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h + include/alibabacloud/green/model/CreateWebSiteInstanceResult.h + include/alibabacloud/green/model/ImageSyncScanRequest.h + include/alibabacloud/green/model/ImageSyncScanResult.h + include/alibabacloud/green/model/GetPersonRequest.h + include/alibabacloud/green/model/GetPersonResult.h + include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h + include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h + include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h + include/alibabacloud/green/model/MarkWebsiteScanResultResult.h + include/alibabacloud/green/model/VideoFeedbackRequest.h + include/alibabacloud/green/model/VideoFeedbackResult.h + include/alibabacloud/green/model/ExportKeywordsRequest.h + include/alibabacloud/green/model/ExportKeywordsResult.h + include/alibabacloud/green/model/MarkAuditContentRequest.h + include/alibabacloud/green/model/MarkAuditContentResult.h + include/alibabacloud/green/model/AddGroupsRequest.h + include/alibabacloud/green/model/AddGroupsResult.h + include/alibabacloud/green/model/VerifyEmailRequest.h + include/alibabacloud/green/model/VerifyEmailResult.h + include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h + include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h + include/alibabacloud/green/model/FileAsyncScanResultsRequest.h + include/alibabacloud/green/model/FileAsyncScanResultsResult.h + include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h + include/alibabacloud/green/model/DescribeBizTypeSettingResult.h + include/alibabacloud/green/model/DescribeSdkUrlRequest.h + include/alibabacloud/green/model/DescribeSdkUrlResult.h + include/alibabacloud/green/model/GetSimilarityLibraryRequest.h + include/alibabacloud/green/model/GetSimilarityLibraryResult.h + include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h + include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h + include/alibabacloud/green/model/GetSimilarityImageRequest.h + include/alibabacloud/green/model/GetSimilarityImageResult.h + include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h + include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h + include/alibabacloud/green/model/CreateImageLibRequest.h + include/alibabacloud/green/model/CreateImageLibResult.h + include/alibabacloud/green/model/GetFacesRequest.h + include/alibabacloud/green/model/GetFacesResult.h + include/alibabacloud/green/model/VoiceAsyncScanRequest.h + include/alibabacloud/green/model/VoiceAsyncScanResult.h + include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h + include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h + include/alibabacloud/green/model/UpdateAuditSettingRequest.h + include/alibabacloud/green/model/UpdateAuditSettingResult.h + include/alibabacloud/green/model/GetGroupsRequest.h + include/alibabacloud/green/model/GetGroupsResult.h + include/alibabacloud/green/model/TextScanRequest.h + include/alibabacloud/green/model/TextScanResult.h + include/alibabacloud/green/model/ExportOssResultRequest.h + include/alibabacloud/green/model/ExportOssResultResult.h + include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h + include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h + include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h + include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h + include/alibabacloud/green/model/DescribeImageLibRequest.h + include/alibabacloud/green/model/DescribeImageLibResult.h + include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h + include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h + include/alibabacloud/green/model/DescribeUserStatusRequest.h + include/alibabacloud/green/model/DescribeUserStatusResult.h + include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h + include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h + include/alibabacloud/green/model/DescribeKeywordRequest.h + include/alibabacloud/green/model/DescribeKeywordResult.h + include/alibabacloud/green/model/AddFacesRequest.h + include/alibabacloud/green/model/AddFacesResult.h + include/alibabacloud/green/model/DescribeAuditSettingRequest.h + include/alibabacloud/green/model/DescribeAuditSettingResult.h + include/alibabacloud/green/model/CreateKeywordLibRequest.h + include/alibabacloud/green/model/CreateKeywordLibResult.h + include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h + include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h + include/alibabacloud/green/model/UploadCredentialsRequest.h + include/alibabacloud/green/model/UploadCredentialsResult.h + include/alibabacloud/green/model/CreateBizTypeRequest.h + include/alibabacloud/green/model/CreateBizTypeResult.h + include/alibabacloud/green/model/GetPersonsRequest.h + include/alibabacloud/green/model/GetPersonsResult.h + include/alibabacloud/green/model/DeleteFacesRequest.h + include/alibabacloud/green/model/DeleteFacesResult.h + include/alibabacloud/green/model/DeletePersonRequest.h + include/alibabacloud/green/model/DeletePersonResult.h + include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h + include/alibabacloud/green/model/RefundWebSiteInstanceResult.h include/alibabacloud/green/model/SetPersonRequest.h include/alibabacloud/green/model/SetPersonResult.h include/alibabacloud/green/model/VoiceIdentityCheckRequest.h include/alibabacloud/green/model/VoiceIdentityCheckResult.h include/alibabacloud/green/model/TextFeedbackRequest.h include/alibabacloud/green/model/TextFeedbackResult.h - include/alibabacloud/green/model/FileAsyncScanResultsRequest.h - include/alibabacloud/green/model/FileAsyncScanResultsResult.h + include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h + include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h include/alibabacloud/green/model/DeleteGroupsRequest.h include/alibabacloud/green/model/DeleteGroupsResult.h include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h - include/alibabacloud/green/model/AddVideoDnaGroupRequest.h - include/alibabacloud/green/model/AddVideoDnaGroupResult.h - include/alibabacloud/green/model/ImageAsyncScanRequest.h - include/alibabacloud/green/model/ImageAsyncScanResult.h + include/alibabacloud/green/model/UpdateOssStockStatusRequest.h + include/alibabacloud/green/model/UpdateOssStockStatusResult.h + include/alibabacloud/green/model/DescribeKeywordLibRequest.h + include/alibabacloud/green/model/DescribeKeywordLibResult.h + include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h + include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h include/alibabacloud/green/model/VideoAsyncScanRequest.h include/alibabacloud/green/model/VideoAsyncScanResult.h + include/alibabacloud/green/model/DescribeUploadInfoRequest.h + include/alibabacloud/green/model/DescribeUploadInfoResult.h + include/alibabacloud/green/model/ImageScanFeedbackRequest.h + include/alibabacloud/green/model/ImageScanFeedbackResult.h + include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h + include/alibabacloud/green/model/DescribeOpenApiUsageResult.h + include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h + include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h + include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h + include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h + include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h + include/alibabacloud/green/model/DescribeImageUploadInfoResult.h + include/alibabacloud/green/model/ImageResultRequest.h + include/alibabacloud/green/model/ImageResultResult.h + include/alibabacloud/green/model/DeleteSimilarityImageRequest.h + include/alibabacloud/green/model/DeleteSimilarityImageResult.h + include/alibabacloud/green/model/DeleteImageLibRequest.h + include/alibabacloud/green/model/DeleteImageLibResult.h + include/alibabacloud/green/model/AddPersonRequest.h + include/alibabacloud/green/model/AddPersonResult.h + include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h + include/alibabacloud/green/model/ListSimilarityLibrariesResult.h + include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h + include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h + include/alibabacloud/green/model/SampleFeedbackRequest.h + include/alibabacloud/green/model/SampleFeedbackResult.h + include/alibabacloud/green/model/ListSimilarityImagesRequest.h + include/alibabacloud/green/model/ListSimilarityImagesResult.h + include/alibabacloud/green/model/MarkAuditContentItemRequest.h + include/alibabacloud/green/model/MarkAuditContentItemResult.h + include/alibabacloud/green/model/AddVideoDnaRequest.h + include/alibabacloud/green/model/AddVideoDnaResult.h + include/alibabacloud/green/model/VideoSyncScanRequest.h + include/alibabacloud/green/model/VideoSyncScanResult.h + include/alibabacloud/green/model/DeleteNotificationContactsRequest.h + include/alibabacloud/green/model/DeleteNotificationContactsResult.h + include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h + include/alibabacloud/green/model/VideoAsyncScanResultsResult.h + include/alibabacloud/green/model/DescribeOssStockStatusRequest.h + include/alibabacloud/green/model/DescribeOssStockStatusResult.h + include/alibabacloud/green/model/TextKeywordFilterRequest.h + include/alibabacloud/green/model/TextKeywordFilterResult.h + include/alibabacloud/green/model/UpdateImageLibRequest.h + include/alibabacloud/green/model/UpdateImageLibResult.h + include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h + include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h + include/alibabacloud/green/model/CreateKeywordRequest.h + include/alibabacloud/green/model/CreateKeywordResult.h + include/alibabacloud/green/model/UploadImageToLibRequest.h + include/alibabacloud/green/model/UploadImageToLibResult.h + include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h + include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h + include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h + include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h + include/alibabacloud/green/model/AddSimilarityLibraryRequest.h + include/alibabacloud/green/model/AddSimilarityLibraryResult.h + include/alibabacloud/green/model/AddVideoDnaGroupRequest.h + include/alibabacloud/green/model/AddVideoDnaGroupResult.h + include/alibabacloud/green/model/CreateCdiBagRequest.h + include/alibabacloud/green/model/CreateCdiBagResult.h + include/alibabacloud/green/model/UpdateKeywordLibRequest.h + include/alibabacloud/green/model/UpdateKeywordLibResult.h + include/alibabacloud/green/model/ImageAsyncScanRequest.h + include/alibabacloud/green/model/ImageAsyncScanResult.h include/alibabacloud/green/model/ImageAsyncScanResultsRequest.h include/alibabacloud/green/model/ImageAsyncScanResultsResult.h include/alibabacloud/green/model/VoiceAsyncScanResultsRequest.h include/alibabacloud/green/model/VoiceAsyncScanResultsResult.h - include/alibabacloud/green/model/GetFacesRequest.h - include/alibabacloud/green/model/GetFacesResult.h - include/alibabacloud/green/model/VoiceAsyncScanRequest.h - include/alibabacloud/green/model/VoiceAsyncScanResult.h - include/alibabacloud/green/model/VoiceCancelScanRequest.h - include/alibabacloud/green/model/VoiceCancelScanResult.h - include/alibabacloud/green/model/GetGroupsRequest.h - include/alibabacloud/green/model/GetGroupsResult.h - include/alibabacloud/green/model/TextScanRequest.h - include/alibabacloud/green/model/TextScanResult.h - include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h - include/alibabacloud/green/model/VoiceIdentityRegisterResult.h - include/alibabacloud/green/model/ImageScanFeedbackRequest.h - include/alibabacloud/green/model/ImageScanFeedbackResult.h - include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h - include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h - include/alibabacloud/green/model/DeleteSimilarityImageRequest.h - include/alibabacloud/green/model/DeleteSimilarityImageResult.h - include/alibabacloud/green/model/SearchPersonRequest.h - include/alibabacloud/green/model/SearchPersonResult.h - include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h - include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h - include/alibabacloud/green/model/AddPersonRequest.h - include/alibabacloud/green/model/AddPersonResult.h - include/alibabacloud/green/model/AddFacesRequest.h - include/alibabacloud/green/model/AddFacesResult.h - include/alibabacloud/green/model/AddSimilarityImageRequest.h - include/alibabacloud/green/model/AddSimilarityImageResult.h - include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h - include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h ) + include/alibabacloud/green/model/ImageResultsRequest.h + include/alibabacloud/green/model/ImageResultsResult.h + include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h + include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h + include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h + include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h + include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h + include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h + include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h + include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h + include/alibabacloud/green/model/DescribeNotificationSettingRequest.h + include/alibabacloud/green/model/DescribeNotificationSettingResult.h + include/alibabacloud/green/model/DescribeAuditContentRequest.h + include/alibabacloud/green/model/DescribeAuditContentResult.h ) set(green_src src/GreenClient.cc - src/model/ImageSyncScanRequest.cc - src/model/ImageSyncScanResult.cc - src/model/UploadCredentialsRequest.cc - src/model/UploadCredentialsResult.cc - src/model/GetPersonsRequest.cc - src/model/GetPersonsResult.cc - src/model/GetPersonRequest.cc - src/model/GetPersonResult.cc - src/model/DeleteFacesRequest.cc - src/model/DeleteFacesResult.cc + src/model/DescribeWebsiteIndexPageBaselineRequest.cc + src/model/DescribeWebsiteIndexPageBaselineResult.cc + src/model/VerifyCustomOcrTemplateRequest.cc + src/model/VerifyCustomOcrTemplateResult.cc + src/model/DescribeOssIncrementCheckSettingRequest.cc + src/model/DescribeOssIncrementCheckSettingResult.cc + src/model/DescribeWebsiteScanResultRequest.cc + src/model/DescribeWebsiteScanResultResult.cc + src/model/UpdateAppPackageRequest.cc + src/model/UpdateAppPackageResult.cc src/model/DeleteVideoDnaGroupRequest.cc src/model/DeleteVideoDnaGroupResult.cc - src/model/AddVideoDnaRequest.cc - src/model/AddVideoDnaResult.cc - src/model/VideoFeedbackRequest.cc - src/model/VideoFeedbackResult.cc - src/model/DeletePersonRequest.cc - src/model/DeletePersonResult.cc - src/model/VideoSyncScanRequest.cc - src/model/VideoSyncScanResult.cc - src/model/VideoAsyncScanResultsRequest.cc - src/model/VideoAsyncScanResultsResult.cc + src/model/UpdateOssCallbackSettingRequest.cc + src/model/UpdateOssCallbackSettingResult.cc + src/model/DescribeWebsiteInstanceKeyUrlRequest.cc + src/model/DescribeWebsiteInstanceKeyUrlResult.cc src/model/DeleteVideoDnaRequest.cc src/model/DeleteVideoDnaResult.cc - src/model/AddGroupsRequest.cc - src/model/AddGroupsResult.cc + src/model/RefundCdiBaseBagRequest.cc + src/model/RefundCdiBaseBagResult.cc + src/model/UpdateBizTypeSettingRequest.cc + src/model/UpdateBizTypeSettingResult.cc src/model/FileAsyncScanRequest.cc src/model/FileAsyncScanResult.cc + src/model/DescribeOssResultItemsRequest.cc + src/model/DescribeOssResultItemsResult.cc + src/model/UpdateWebsiteInstanceStatusRequest.cc + src/model/UpdateWebsiteInstanceStatusResult.cc + src/model/DescribeBizTypesRequest.cc + src/model/DescribeBizTypesResult.cc + src/model/RefundCdiBagRequest.cc + src/model/RefundCdiBagResult.cc + src/model/DeleteImageFromLibRequest.cc + src/model/DeleteImageFromLibResult.cc + src/model/CreateCdiBaseBagRequest.cc + src/model/CreateCdiBaseBagResult.cc + src/model/VerifyPhoneRequest.cc + src/model/VerifyPhoneResult.cc + src/model/ImageDetectionRequest.cc + src/model/ImageDetectionResult.cc + src/model/DeleteKeywordLibRequest.cc + src/model/DeleteKeywordLibResult.cc + src/model/ImportKeywordsRequest.cc + src/model/ImportKeywordsResult.cc + src/model/VoiceCancelScanRequest.cc + src/model/VoiceCancelScanResult.cc + src/model/SendWebsiteFeedbackRequest.cc + src/model/SendWebsiteFeedbackResult.cc + src/model/DescribeImageFromLibRequest.cc + src/model/DescribeImageFromLibResult.cc + src/model/RenewWebSiteInstanceRequest.cc + src/model/RenewWebSiteInstanceResult.cc + src/model/DescribeViewContentRequest.cc + src/model/DescribeViewContentResult.cc + src/model/VoiceIdentityRegisterRequest.cc + src/model/VoiceIdentityRegisterResult.cc + src/model/DescribeWebsiteStatRequest.cc + src/model/DescribeWebsiteStatResult.cc + src/model/UpdateNotificationSettingRequest.cc + src/model/UpdateNotificationSettingResult.cc + src/model/DescribeAuditContentItemRequest.cc + src/model/DescribeAuditContentItemResult.cc + src/model/SearchPersonRequest.cc + src/model/SearchPersonResult.cc + src/model/MarkOssResultRequest.cc + src/model/MarkOssResultResult.cc + src/model/DescribeAppInfoRequest.cc + src/model/DescribeAppInfoResult.cc + src/model/AddSimilarityImageRequest.cc + src/model/AddSimilarityImageResult.cc + src/model/DescribeCustomOcrTemplateRequest.cc + src/model/DescribeCustomOcrTemplateResult.cc + src/model/VoiceIdentityUnregisterRequest.cc + src/model/VoiceIdentityUnregisterResult.cc + src/model/DeleteKeywordRequest.cc + src/model/DeleteKeywordResult.cc + src/model/CreateWebSiteInstanceRequest.cc + src/model/CreateWebSiteInstanceResult.cc + src/model/ImageSyncScanRequest.cc + src/model/ImageSyncScanResult.cc + src/model/GetPersonRequest.cc + src/model/GetPersonResult.cc + src/model/DescribeWebsiteInstanceIdRequest.cc + src/model/DescribeWebsiteInstanceIdResult.cc + src/model/MarkWebsiteScanResultRequest.cc + src/model/MarkWebsiteScanResultResult.cc + src/model/VideoFeedbackRequest.cc + src/model/VideoFeedbackResult.cc + src/model/ExportKeywordsRequest.cc + src/model/ExportKeywordsResult.cc + src/model/MarkAuditContentRequest.cc + src/model/MarkAuditContentResult.cc + src/model/AddGroupsRequest.cc + src/model/AddGroupsResult.cc + src/model/VerifyEmailRequest.cc + src/model/VerifyEmailResult.cc + src/model/DescribeWebsiteVerifyInfoRequest.cc + src/model/DescribeWebsiteVerifyInfoResult.cc + src/model/FileAsyncScanResultsRequest.cc + src/model/FileAsyncScanResultsResult.cc + src/model/DescribeBizTypeSettingRequest.cc + src/model/DescribeBizTypeSettingResult.cc + src/model/DescribeSdkUrlRequest.cc + src/model/DescribeSdkUrlResult.cc + src/model/GetSimilarityLibraryRequest.cc + src/model/GetSimilarityLibraryResult.cc + src/model/DescribeOssIncrementStatsRequest.cc + src/model/DescribeOssIncrementStatsResult.cc + src/model/GetSimilarityImageRequest.cc + src/model/GetSimilarityImageResult.cc + src/model/SendVerifyCodeToEmailRequest.cc + src/model/SendVerifyCodeToEmailResult.cc + src/model/CreateImageLibRequest.cc + src/model/CreateImageLibResult.cc + src/model/GetFacesRequest.cc + src/model/GetFacesResult.cc + src/model/VoiceAsyncScanRequest.cc + src/model/VoiceAsyncScanResult.cc + src/model/UpdateCustomOcrTemplateRequest.cc + src/model/UpdateCustomOcrTemplateResult.cc + src/model/UpdateAuditSettingRequest.cc + src/model/UpdateAuditSettingResult.cc + src/model/GetGroupsRequest.cc + src/model/GetGroupsResult.cc + src/model/TextScanRequest.cc + src/model/TextScanResult.cc + src/model/ExportOssResultRequest.cc + src/model/ExportOssResultResult.cc + src/model/VoiceIdentityStartRegisterRequest.cc + src/model/VoiceIdentityStartRegisterResult.cc + src/model/DescribeWebsiteInstanceRequest.cc + src/model/DescribeWebsiteInstanceResult.cc + src/model/DescribeImageLibRequest.cc + src/model/DescribeImageLibResult.cc + src/model/UpgradeCdiBaseBagRequest.cc + src/model/UpgradeCdiBaseBagResult.cc + src/model/DescribeUserStatusRequest.cc + src/model/DescribeUserStatusResult.cc + src/model/GetAddVideoDnaResultsRequest.cc + src/model/GetAddVideoDnaResultsResult.cc + src/model/DescribeKeywordRequest.cc + src/model/DescribeKeywordResult.cc + src/model/AddFacesRequest.cc + src/model/AddFacesResult.cc + src/model/DescribeAuditSettingRequest.cc + src/model/DescribeAuditSettingResult.cc + src/model/CreateKeywordLibRequest.cc + src/model/CreateKeywordLibResult.cc + src/model/UpdateOssIncrementCheckSettingRequest.cc + src/model/UpdateOssIncrementCheckSettingResult.cc + src/model/UploadCredentialsRequest.cc + src/model/UploadCredentialsResult.cc + src/model/CreateBizTypeRequest.cc + src/model/CreateBizTypeResult.cc + src/model/GetPersonsRequest.cc + src/model/GetPersonsResult.cc + src/model/DeleteFacesRequest.cc + src/model/DeleteFacesResult.cc + src/model/DeletePersonRequest.cc + src/model/DeletePersonResult.cc + src/model/RefundWebSiteInstanceRequest.cc + src/model/RefundWebSiteInstanceResult.cc src/model/SetPersonRequest.cc src/model/SetPersonResult.cc src/model/VoiceIdentityCheckRequest.cc src/model/VoiceIdentityCheckResult.cc src/model/TextFeedbackRequest.cc src/model/TextFeedbackResult.cc - src/model/FileAsyncScanResultsRequest.cc - src/model/FileAsyncScanResultsResult.cc + src/model/CreateWebsiteIndexPageBaselineRequest.cc + src/model/CreateWebsiteIndexPageBaselineResult.cc src/model/DeleteGroupsRequest.cc src/model/DeleteGroupsResult.cc src/model/VoiceIdentityStartCheckRequest.cc src/model/VoiceIdentityStartCheckResult.cc - src/model/AddVideoDnaGroupRequest.cc - src/model/AddVideoDnaGroupResult.cc - src/model/ImageAsyncScanRequest.cc - src/model/ImageAsyncScanResult.cc + src/model/UpdateOssStockStatusRequest.cc + src/model/UpdateOssStockStatusResult.cc + src/model/DescribeKeywordLibRequest.cc + src/model/DescribeKeywordLibResult.cc + src/model/DescribeUpdatePackageResultRequest.cc + src/model/DescribeUpdatePackageResultResult.cc src/model/VideoAsyncScanRequest.cc src/model/VideoAsyncScanResult.cc + src/model/DescribeUploadInfoRequest.cc + src/model/DescribeUploadInfoResult.cc + src/model/ImageScanFeedbackRequest.cc + src/model/ImageScanFeedbackResult.cc + src/model/DescribeOpenApiUsageRequest.cc + src/model/DescribeOpenApiUsageResult.cc + src/model/DeleteSimilarityLibraryRequest.cc + src/model/DeleteSimilarityLibraryResult.cc + src/model/DescribeOssCallbackSettingRequest.cc + src/model/DescribeOssCallbackSettingResult.cc + src/model/DescribeImageUploadInfoRequest.cc + src/model/DescribeImageUploadInfoResult.cc + src/model/ImageResultRequest.cc + src/model/ImageResultResult.cc + src/model/DeleteSimilarityImageRequest.cc + src/model/DeleteSimilarityImageResult.cc + src/model/DeleteImageLibRequest.cc + src/model/DeleteImageLibResult.cc + src/model/AddPersonRequest.cc + src/model/AddPersonResult.cc + src/model/ListSimilarityLibrariesRequest.cc + src/model/ListSimilarityLibrariesResult.cc + src/model/DeleteCustomOcrTemplateRequest.cc + src/model/DeleteCustomOcrTemplateResult.cc + src/model/SampleFeedbackRequest.cc + src/model/SampleFeedbackResult.cc + src/model/ListSimilarityImagesRequest.cc + src/model/ListSimilarityImagesResult.cc + src/model/MarkAuditContentItemRequest.cc + src/model/MarkAuditContentItemResult.cc + src/model/AddVideoDnaRequest.cc + src/model/AddVideoDnaResult.cc + src/model/VideoSyncScanRequest.cc + src/model/VideoSyncScanResult.cc + src/model/DeleteNotificationContactsRequest.cc + src/model/DeleteNotificationContactsResult.cc + src/model/VideoAsyncScanResultsRequest.cc + src/model/VideoAsyncScanResultsResult.cc + src/model/DescribeOssStockStatusRequest.cc + src/model/DescribeOssStockStatusResult.cc + src/model/TextKeywordFilterRequest.cc + src/model/TextKeywordFilterResult.cc + src/model/UpdateImageLibRequest.cc + src/model/UpdateImageLibResult.cc + src/model/CreatCustomOcrTemplateRequest.cc + src/model/CreatCustomOcrTemplateResult.cc + src/model/CreateKeywordRequest.cc + src/model/CreateKeywordResult.cc + src/model/UploadImageToLibRequest.cc + src/model/UploadImageToLibResult.cc + src/model/UpdateWebsiteInstanceRequest.cc + src/model/UpdateWebsiteInstanceResult.cc + src/model/DescribeWebsiteScanResultDetailRequest.cc + src/model/DescribeWebsiteScanResultDetailResult.cc + src/model/AddSimilarityLibraryRequest.cc + src/model/AddSimilarityLibraryResult.cc + src/model/AddVideoDnaGroupRequest.cc + src/model/AddVideoDnaGroupResult.cc + src/model/CreateCdiBagRequest.cc + src/model/CreateCdiBagResult.cc + src/model/UpdateKeywordLibRequest.cc + src/model/UpdateKeywordLibResult.cc + src/model/ImageAsyncScanRequest.cc + src/model/ImageAsyncScanResult.cc src/model/ImageAsyncScanResultsRequest.cc src/model/ImageAsyncScanResultsResult.cc src/model/VoiceAsyncScanResultsRequest.cc src/model/VoiceAsyncScanResultsResult.cc - src/model/GetFacesRequest.cc - src/model/GetFacesResult.cc - src/model/VoiceAsyncScanRequest.cc - src/model/VoiceAsyncScanResult.cc - src/model/VoiceCancelScanRequest.cc - src/model/VoiceCancelScanResult.cc - src/model/GetGroupsRequest.cc - src/model/GetGroupsResult.cc - src/model/TextScanRequest.cc - src/model/TextScanResult.cc - src/model/VoiceIdentityRegisterRequest.cc - src/model/VoiceIdentityRegisterResult.cc - src/model/ImageScanFeedbackRequest.cc - src/model/ImageScanFeedbackResult.cc - src/model/VoiceIdentityStartRegisterRequest.cc - src/model/VoiceIdentityStartRegisterResult.cc - src/model/DeleteSimilarityImageRequest.cc - src/model/DeleteSimilarityImageResult.cc - src/model/SearchPersonRequest.cc - src/model/SearchPersonResult.cc - src/model/GetAddVideoDnaResultsRequest.cc - src/model/GetAddVideoDnaResultsResult.cc - src/model/AddPersonRequest.cc - src/model/AddPersonResult.cc - src/model/AddFacesRequest.cc - src/model/AddFacesResult.cc - src/model/AddSimilarityImageRequest.cc - src/model/AddSimilarityImageResult.cc - src/model/VoiceIdentityUnregisterRequest.cc - src/model/VoiceIdentityUnregisterResult.cc ) + src/model/ImageResultsRequest.cc + src/model/ImageResultsResult.cc + src/model/VerifyWebsiteInstanceRequest.cc + src/model/VerifyWebsiteInstanceResult.cc + src/model/UpdateWebsiteInstanceKeyUrlRequest.cc + src/model/UpdateWebsiteInstanceKeyUrlResult.cc + src/model/SendVerifyCodeToPhoneRequest.cc + src/model/SendVerifyCodeToPhoneResult.cc + src/model/DescribeOssIncrementOverviewRequest.cc + src/model/DescribeOssIncrementOverviewResult.cc + src/model/DescribeNotificationSettingRequest.cc + src/model/DescribeNotificationSettingResult.cc + src/model/DescribeAuditContentRequest.cc + src/model/DescribeAuditContentResult.cc ) add_library(green ${LIB_TYPE} ${green_public_header} diff --git a/green/include/alibabacloud/green/GreenClient.h b/green/include/alibabacloud/green/GreenClient.h index 9035daa72..ef37ddb82 100755 --- a/green/include/alibabacloud/green/GreenClient.h +++ b/green/include/alibabacloud/green/GreenClient.h @@ -20,139 +20,524 @@ #include #include #include -#include +#include #include "GreenExport.h" -#include "model/ImageSyncScanRequest.h" -#include "model/ImageSyncScanResult.h" -#include "model/UploadCredentialsRequest.h" -#include "model/UploadCredentialsResult.h" -#include "model/GetPersonsRequest.h" -#include "model/GetPersonsResult.h" -#include "model/GetPersonRequest.h" -#include "model/GetPersonResult.h" -#include "model/DeleteFacesRequest.h" -#include "model/DeleteFacesResult.h" +#include "model/DescribeWebsiteIndexPageBaselineRequest.h" +#include "model/DescribeWebsiteIndexPageBaselineResult.h" +#include "model/VerifyCustomOcrTemplateRequest.h" +#include "model/VerifyCustomOcrTemplateResult.h" +#include "model/DescribeOssIncrementCheckSettingRequest.h" +#include "model/DescribeOssIncrementCheckSettingResult.h" +#include "model/DescribeWebsiteScanResultRequest.h" +#include "model/DescribeWebsiteScanResultResult.h" +#include "model/UpdateAppPackageRequest.h" +#include "model/UpdateAppPackageResult.h" #include "model/DeleteVideoDnaGroupRequest.h" #include "model/DeleteVideoDnaGroupResult.h" -#include "model/AddVideoDnaRequest.h" -#include "model/AddVideoDnaResult.h" -#include "model/VideoFeedbackRequest.h" -#include "model/VideoFeedbackResult.h" -#include "model/DeletePersonRequest.h" -#include "model/DeletePersonResult.h" -#include "model/VideoSyncScanRequest.h" -#include "model/VideoSyncScanResult.h" -#include "model/VideoAsyncScanResultsRequest.h" -#include "model/VideoAsyncScanResultsResult.h" +#include "model/UpdateOssCallbackSettingRequest.h" +#include "model/UpdateOssCallbackSettingResult.h" +#include "model/DescribeWebsiteInstanceKeyUrlRequest.h" +#include "model/DescribeWebsiteInstanceKeyUrlResult.h" #include "model/DeleteVideoDnaRequest.h" #include "model/DeleteVideoDnaResult.h" -#include "model/AddGroupsRequest.h" -#include "model/AddGroupsResult.h" +#include "model/RefundCdiBaseBagRequest.h" +#include "model/RefundCdiBaseBagResult.h" +#include "model/UpdateBizTypeSettingRequest.h" +#include "model/UpdateBizTypeSettingResult.h" #include "model/FileAsyncScanRequest.h" #include "model/FileAsyncScanResult.h" +#include "model/DescribeOssResultItemsRequest.h" +#include "model/DescribeOssResultItemsResult.h" +#include "model/UpdateWebsiteInstanceStatusRequest.h" +#include "model/UpdateWebsiteInstanceStatusResult.h" +#include "model/DescribeBizTypesRequest.h" +#include "model/DescribeBizTypesResult.h" +#include "model/RefundCdiBagRequest.h" +#include "model/RefundCdiBagResult.h" +#include "model/DeleteImageFromLibRequest.h" +#include "model/DeleteImageFromLibResult.h" +#include "model/CreateCdiBaseBagRequest.h" +#include "model/CreateCdiBaseBagResult.h" +#include "model/VerifyPhoneRequest.h" +#include "model/VerifyPhoneResult.h" +#include "model/ImageDetectionRequest.h" +#include "model/ImageDetectionResult.h" +#include "model/DeleteKeywordLibRequest.h" +#include "model/DeleteKeywordLibResult.h" +#include "model/ImportKeywordsRequest.h" +#include "model/ImportKeywordsResult.h" +#include "model/VoiceCancelScanRequest.h" +#include "model/VoiceCancelScanResult.h" +#include "model/SendWebsiteFeedbackRequest.h" +#include "model/SendWebsiteFeedbackResult.h" +#include "model/DescribeImageFromLibRequest.h" +#include "model/DescribeImageFromLibResult.h" +#include "model/RenewWebSiteInstanceRequest.h" +#include "model/RenewWebSiteInstanceResult.h" +#include "model/DescribeViewContentRequest.h" +#include "model/DescribeViewContentResult.h" +#include "model/VoiceIdentityRegisterRequest.h" +#include "model/VoiceIdentityRegisterResult.h" +#include "model/DescribeWebsiteStatRequest.h" +#include "model/DescribeWebsiteStatResult.h" +#include "model/UpdateNotificationSettingRequest.h" +#include "model/UpdateNotificationSettingResult.h" +#include "model/DescribeAuditContentItemRequest.h" +#include "model/DescribeAuditContentItemResult.h" +#include "model/SearchPersonRequest.h" +#include "model/SearchPersonResult.h" +#include "model/MarkOssResultRequest.h" +#include "model/MarkOssResultResult.h" +#include "model/DescribeAppInfoRequest.h" +#include "model/DescribeAppInfoResult.h" +#include "model/AddSimilarityImageRequest.h" +#include "model/AddSimilarityImageResult.h" +#include "model/DescribeCustomOcrTemplateRequest.h" +#include "model/DescribeCustomOcrTemplateResult.h" +#include "model/VoiceIdentityUnregisterRequest.h" +#include "model/VoiceIdentityUnregisterResult.h" +#include "model/DeleteKeywordRequest.h" +#include "model/DeleteKeywordResult.h" +#include "model/CreateWebSiteInstanceRequest.h" +#include "model/CreateWebSiteInstanceResult.h" +#include "model/ImageSyncScanRequest.h" +#include "model/ImageSyncScanResult.h" +#include "model/GetPersonRequest.h" +#include "model/GetPersonResult.h" +#include "model/DescribeWebsiteInstanceIdRequest.h" +#include "model/DescribeWebsiteInstanceIdResult.h" +#include "model/MarkWebsiteScanResultRequest.h" +#include "model/MarkWebsiteScanResultResult.h" +#include "model/VideoFeedbackRequest.h" +#include "model/VideoFeedbackResult.h" +#include "model/ExportKeywordsRequest.h" +#include "model/ExportKeywordsResult.h" +#include "model/MarkAuditContentRequest.h" +#include "model/MarkAuditContentResult.h" +#include "model/AddGroupsRequest.h" +#include "model/AddGroupsResult.h" +#include "model/VerifyEmailRequest.h" +#include "model/VerifyEmailResult.h" +#include "model/DescribeWebsiteVerifyInfoRequest.h" +#include "model/DescribeWebsiteVerifyInfoResult.h" +#include "model/FileAsyncScanResultsRequest.h" +#include "model/FileAsyncScanResultsResult.h" +#include "model/DescribeBizTypeSettingRequest.h" +#include "model/DescribeBizTypeSettingResult.h" +#include "model/DescribeSdkUrlRequest.h" +#include "model/DescribeSdkUrlResult.h" +#include "model/GetSimilarityLibraryRequest.h" +#include "model/GetSimilarityLibraryResult.h" +#include "model/DescribeOssIncrementStatsRequest.h" +#include "model/DescribeOssIncrementStatsResult.h" +#include "model/GetSimilarityImageRequest.h" +#include "model/GetSimilarityImageResult.h" +#include "model/SendVerifyCodeToEmailRequest.h" +#include "model/SendVerifyCodeToEmailResult.h" +#include "model/CreateImageLibRequest.h" +#include "model/CreateImageLibResult.h" +#include "model/GetFacesRequest.h" +#include "model/GetFacesResult.h" +#include "model/VoiceAsyncScanRequest.h" +#include "model/VoiceAsyncScanResult.h" +#include "model/UpdateCustomOcrTemplateRequest.h" +#include "model/UpdateCustomOcrTemplateResult.h" +#include "model/UpdateAuditSettingRequest.h" +#include "model/UpdateAuditSettingResult.h" +#include "model/GetGroupsRequest.h" +#include "model/GetGroupsResult.h" +#include "model/TextScanRequest.h" +#include "model/TextScanResult.h" +#include "model/ExportOssResultRequest.h" +#include "model/ExportOssResultResult.h" +#include "model/VoiceIdentityStartRegisterRequest.h" +#include "model/VoiceIdentityStartRegisterResult.h" +#include "model/DescribeWebsiteInstanceRequest.h" +#include "model/DescribeWebsiteInstanceResult.h" +#include "model/DescribeImageLibRequest.h" +#include "model/DescribeImageLibResult.h" +#include "model/UpgradeCdiBaseBagRequest.h" +#include "model/UpgradeCdiBaseBagResult.h" +#include "model/DescribeUserStatusRequest.h" +#include "model/DescribeUserStatusResult.h" +#include "model/GetAddVideoDnaResultsRequest.h" +#include "model/GetAddVideoDnaResultsResult.h" +#include "model/DescribeKeywordRequest.h" +#include "model/DescribeKeywordResult.h" +#include "model/AddFacesRequest.h" +#include "model/AddFacesResult.h" +#include "model/DescribeAuditSettingRequest.h" +#include "model/DescribeAuditSettingResult.h" +#include "model/CreateKeywordLibRequest.h" +#include "model/CreateKeywordLibResult.h" +#include "model/UpdateOssIncrementCheckSettingRequest.h" +#include "model/UpdateOssIncrementCheckSettingResult.h" +#include "model/UploadCredentialsRequest.h" +#include "model/UploadCredentialsResult.h" +#include "model/CreateBizTypeRequest.h" +#include "model/CreateBizTypeResult.h" +#include "model/GetPersonsRequest.h" +#include "model/GetPersonsResult.h" +#include "model/DeleteFacesRequest.h" +#include "model/DeleteFacesResult.h" +#include "model/DeletePersonRequest.h" +#include "model/DeletePersonResult.h" +#include "model/RefundWebSiteInstanceRequest.h" +#include "model/RefundWebSiteInstanceResult.h" #include "model/SetPersonRequest.h" #include "model/SetPersonResult.h" #include "model/VoiceIdentityCheckRequest.h" #include "model/VoiceIdentityCheckResult.h" #include "model/TextFeedbackRequest.h" #include "model/TextFeedbackResult.h" -#include "model/FileAsyncScanResultsRequest.h" -#include "model/FileAsyncScanResultsResult.h" +#include "model/CreateWebsiteIndexPageBaselineRequest.h" +#include "model/CreateWebsiteIndexPageBaselineResult.h" #include "model/DeleteGroupsRequest.h" #include "model/DeleteGroupsResult.h" #include "model/VoiceIdentityStartCheckRequest.h" #include "model/VoiceIdentityStartCheckResult.h" -#include "model/AddVideoDnaGroupRequest.h" -#include "model/AddVideoDnaGroupResult.h" -#include "model/ImageAsyncScanRequest.h" -#include "model/ImageAsyncScanResult.h" +#include "model/UpdateOssStockStatusRequest.h" +#include "model/UpdateOssStockStatusResult.h" +#include "model/DescribeKeywordLibRequest.h" +#include "model/DescribeKeywordLibResult.h" +#include "model/DescribeUpdatePackageResultRequest.h" +#include "model/DescribeUpdatePackageResultResult.h" #include "model/VideoAsyncScanRequest.h" #include "model/VideoAsyncScanResult.h" +#include "model/DescribeUploadInfoRequest.h" +#include "model/DescribeUploadInfoResult.h" +#include "model/ImageScanFeedbackRequest.h" +#include "model/ImageScanFeedbackResult.h" +#include "model/DescribeOpenApiUsageRequest.h" +#include "model/DescribeOpenApiUsageResult.h" +#include "model/DeleteSimilarityLibraryRequest.h" +#include "model/DeleteSimilarityLibraryResult.h" +#include "model/DescribeOssCallbackSettingRequest.h" +#include "model/DescribeOssCallbackSettingResult.h" +#include "model/DescribeImageUploadInfoRequest.h" +#include "model/DescribeImageUploadInfoResult.h" +#include "model/ImageResultRequest.h" +#include "model/ImageResultResult.h" +#include "model/DeleteSimilarityImageRequest.h" +#include "model/DeleteSimilarityImageResult.h" +#include "model/DeleteImageLibRequest.h" +#include "model/DeleteImageLibResult.h" +#include "model/AddPersonRequest.h" +#include "model/AddPersonResult.h" +#include "model/ListSimilarityLibrariesRequest.h" +#include "model/ListSimilarityLibrariesResult.h" +#include "model/DeleteCustomOcrTemplateRequest.h" +#include "model/DeleteCustomOcrTemplateResult.h" +#include "model/SampleFeedbackRequest.h" +#include "model/SampleFeedbackResult.h" +#include "model/ListSimilarityImagesRequest.h" +#include "model/ListSimilarityImagesResult.h" +#include "model/MarkAuditContentItemRequest.h" +#include "model/MarkAuditContentItemResult.h" +#include "model/AddVideoDnaRequest.h" +#include "model/AddVideoDnaResult.h" +#include "model/VideoSyncScanRequest.h" +#include "model/VideoSyncScanResult.h" +#include "model/DeleteNotificationContactsRequest.h" +#include "model/DeleteNotificationContactsResult.h" +#include "model/VideoAsyncScanResultsRequest.h" +#include "model/VideoAsyncScanResultsResult.h" +#include "model/DescribeOssStockStatusRequest.h" +#include "model/DescribeOssStockStatusResult.h" +#include "model/TextKeywordFilterRequest.h" +#include "model/TextKeywordFilterResult.h" +#include "model/UpdateImageLibRequest.h" +#include "model/UpdateImageLibResult.h" +#include "model/CreatCustomOcrTemplateRequest.h" +#include "model/CreatCustomOcrTemplateResult.h" +#include "model/CreateKeywordRequest.h" +#include "model/CreateKeywordResult.h" +#include "model/UploadImageToLibRequest.h" +#include "model/UploadImageToLibResult.h" +#include "model/UpdateWebsiteInstanceRequest.h" +#include "model/UpdateWebsiteInstanceResult.h" +#include "model/DescribeWebsiteScanResultDetailRequest.h" +#include "model/DescribeWebsiteScanResultDetailResult.h" +#include "model/AddSimilarityLibraryRequest.h" +#include "model/AddSimilarityLibraryResult.h" +#include "model/AddVideoDnaGroupRequest.h" +#include "model/AddVideoDnaGroupResult.h" +#include "model/CreateCdiBagRequest.h" +#include "model/CreateCdiBagResult.h" +#include "model/UpdateKeywordLibRequest.h" +#include "model/UpdateKeywordLibResult.h" +#include "model/ImageAsyncScanRequest.h" +#include "model/ImageAsyncScanResult.h" #include "model/ImageAsyncScanResultsRequest.h" #include "model/ImageAsyncScanResultsResult.h" #include "model/VoiceAsyncScanResultsRequest.h" #include "model/VoiceAsyncScanResultsResult.h" -#include "model/GetFacesRequest.h" -#include "model/GetFacesResult.h" -#include "model/VoiceAsyncScanRequest.h" -#include "model/VoiceAsyncScanResult.h" -#include "model/VoiceCancelScanRequest.h" -#include "model/VoiceCancelScanResult.h" -#include "model/GetGroupsRequest.h" -#include "model/GetGroupsResult.h" -#include "model/TextScanRequest.h" -#include "model/TextScanResult.h" -#include "model/VoiceIdentityRegisterRequest.h" -#include "model/VoiceIdentityRegisterResult.h" -#include "model/ImageScanFeedbackRequest.h" -#include "model/ImageScanFeedbackResult.h" -#include "model/VoiceIdentityStartRegisterRequest.h" -#include "model/VoiceIdentityStartRegisterResult.h" -#include "model/DeleteSimilarityImageRequest.h" -#include "model/DeleteSimilarityImageResult.h" -#include "model/SearchPersonRequest.h" -#include "model/SearchPersonResult.h" -#include "model/GetAddVideoDnaResultsRequest.h" -#include "model/GetAddVideoDnaResultsResult.h" -#include "model/AddPersonRequest.h" -#include "model/AddPersonResult.h" -#include "model/AddFacesRequest.h" -#include "model/AddFacesResult.h" -#include "model/AddSimilarityImageRequest.h" -#include "model/AddSimilarityImageResult.h" -#include "model/VoiceIdentityUnregisterRequest.h" -#include "model/VoiceIdentityUnregisterResult.h" +#include "model/ImageResultsRequest.h" +#include "model/ImageResultsResult.h" +#include "model/VerifyWebsiteInstanceRequest.h" +#include "model/VerifyWebsiteInstanceResult.h" +#include "model/UpdateWebsiteInstanceKeyUrlRequest.h" +#include "model/UpdateWebsiteInstanceKeyUrlResult.h" +#include "model/SendVerifyCodeToPhoneRequest.h" +#include "model/SendVerifyCodeToPhoneResult.h" +#include "model/DescribeOssIncrementOverviewRequest.h" +#include "model/DescribeOssIncrementOverviewResult.h" +#include "model/DescribeNotificationSettingRequest.h" +#include "model/DescribeNotificationSettingResult.h" +#include "model/DescribeAuditContentRequest.h" +#include "model/DescribeAuditContentResult.h" namespace AlibabaCloud { namespace Green { - class ALIBABACLOUD_GREEN_EXPORT GreenClient : public RoaServiceClient + class ALIBABACLOUD_GREEN_EXPORT GreenClient : public RpcServiceClient { public: - typedef Outcome ImageSyncScanOutcome; - typedef std::future ImageSyncScanOutcomeCallable; - typedef std::function&)> ImageSyncScanAsyncHandler; - typedef Outcome UploadCredentialsOutcome; - typedef std::future UploadCredentialsOutcomeCallable; - typedef std::function&)> UploadCredentialsAsyncHandler; - typedef Outcome GetPersonsOutcome; - typedef std::future GetPersonsOutcomeCallable; - typedef std::function&)> GetPersonsAsyncHandler; - typedef Outcome GetPersonOutcome; - typedef std::future GetPersonOutcomeCallable; - typedef std::function&)> GetPersonAsyncHandler; - typedef Outcome DeleteFacesOutcome; - typedef std::future DeleteFacesOutcomeCallable; - typedef std::function&)> DeleteFacesAsyncHandler; + typedef Outcome DescribeWebsiteIndexPageBaselineOutcome; + typedef std::future DescribeWebsiteIndexPageBaselineOutcomeCallable; + typedef std::function&)> DescribeWebsiteIndexPageBaselineAsyncHandler; + typedef Outcome VerifyCustomOcrTemplateOutcome; + typedef std::future VerifyCustomOcrTemplateOutcomeCallable; + typedef std::function&)> VerifyCustomOcrTemplateAsyncHandler; + typedef Outcome DescribeOssIncrementCheckSettingOutcome; + typedef std::future DescribeOssIncrementCheckSettingOutcomeCallable; + typedef std::function&)> DescribeOssIncrementCheckSettingAsyncHandler; + typedef Outcome DescribeWebsiteScanResultOutcome; + typedef std::future DescribeWebsiteScanResultOutcomeCallable; + typedef std::function&)> DescribeWebsiteScanResultAsyncHandler; + typedef Outcome UpdateAppPackageOutcome; + typedef std::future UpdateAppPackageOutcomeCallable; + typedef std::function&)> UpdateAppPackageAsyncHandler; typedef Outcome DeleteVideoDnaGroupOutcome; typedef std::future DeleteVideoDnaGroupOutcomeCallable; typedef std::function&)> DeleteVideoDnaGroupAsyncHandler; - typedef Outcome AddVideoDnaOutcome; - typedef std::future AddVideoDnaOutcomeCallable; - typedef std::function&)> AddVideoDnaAsyncHandler; - typedef Outcome VideoFeedbackOutcome; - typedef std::future VideoFeedbackOutcomeCallable; - typedef std::function&)> VideoFeedbackAsyncHandler; - typedef Outcome DeletePersonOutcome; - typedef std::future DeletePersonOutcomeCallable; - typedef std::function&)> DeletePersonAsyncHandler; - typedef Outcome VideoSyncScanOutcome; - typedef std::future VideoSyncScanOutcomeCallable; - typedef std::function&)> VideoSyncScanAsyncHandler; - typedef Outcome VideoAsyncScanResultsOutcome; - typedef std::future VideoAsyncScanResultsOutcomeCallable; - typedef std::function&)> VideoAsyncScanResultsAsyncHandler; + typedef Outcome UpdateOssCallbackSettingOutcome; + typedef std::future UpdateOssCallbackSettingOutcomeCallable; + typedef std::function&)> UpdateOssCallbackSettingAsyncHandler; + typedef Outcome DescribeWebsiteInstanceKeyUrlOutcome; + typedef std::future DescribeWebsiteInstanceKeyUrlOutcomeCallable; + typedef std::function&)> DescribeWebsiteInstanceKeyUrlAsyncHandler; typedef Outcome DeleteVideoDnaOutcome; typedef std::future DeleteVideoDnaOutcomeCallable; typedef std::function&)> DeleteVideoDnaAsyncHandler; - typedef Outcome AddGroupsOutcome; - typedef std::future AddGroupsOutcomeCallable; - typedef std::function&)> AddGroupsAsyncHandler; + typedef Outcome RefundCdiBaseBagOutcome; + typedef std::future RefundCdiBaseBagOutcomeCallable; + typedef std::function&)> RefundCdiBaseBagAsyncHandler; + typedef Outcome UpdateBizTypeSettingOutcome; + typedef std::future UpdateBizTypeSettingOutcomeCallable; + typedef std::function&)> UpdateBizTypeSettingAsyncHandler; typedef Outcome FileAsyncScanOutcome; typedef std::future FileAsyncScanOutcomeCallable; typedef std::function&)> FileAsyncScanAsyncHandler; + typedef Outcome DescribeOssResultItemsOutcome; + typedef std::future DescribeOssResultItemsOutcomeCallable; + typedef std::function&)> DescribeOssResultItemsAsyncHandler; + typedef Outcome UpdateWebsiteInstanceStatusOutcome; + typedef std::future UpdateWebsiteInstanceStatusOutcomeCallable; + typedef std::function&)> UpdateWebsiteInstanceStatusAsyncHandler; + typedef Outcome DescribeBizTypesOutcome; + typedef std::future DescribeBizTypesOutcomeCallable; + typedef std::function&)> DescribeBizTypesAsyncHandler; + typedef Outcome RefundCdiBagOutcome; + typedef std::future RefundCdiBagOutcomeCallable; + typedef std::function&)> RefundCdiBagAsyncHandler; + typedef Outcome DeleteImageFromLibOutcome; + typedef std::future DeleteImageFromLibOutcomeCallable; + typedef std::function&)> DeleteImageFromLibAsyncHandler; + typedef Outcome CreateCdiBaseBagOutcome; + typedef std::future CreateCdiBaseBagOutcomeCallable; + typedef std::function&)> CreateCdiBaseBagAsyncHandler; + typedef Outcome VerifyPhoneOutcome; + typedef std::future VerifyPhoneOutcomeCallable; + typedef std::function&)> VerifyPhoneAsyncHandler; + typedef Outcome ImageDetectionOutcome; + typedef std::future ImageDetectionOutcomeCallable; + typedef std::function&)> ImageDetectionAsyncHandler; + typedef Outcome DeleteKeywordLibOutcome; + typedef std::future DeleteKeywordLibOutcomeCallable; + typedef std::function&)> DeleteKeywordLibAsyncHandler; + typedef Outcome ImportKeywordsOutcome; + typedef std::future ImportKeywordsOutcomeCallable; + typedef std::function&)> ImportKeywordsAsyncHandler; + typedef Outcome VoiceCancelScanOutcome; + typedef std::future VoiceCancelScanOutcomeCallable; + typedef std::function&)> VoiceCancelScanAsyncHandler; + typedef Outcome SendWebsiteFeedbackOutcome; + typedef std::future SendWebsiteFeedbackOutcomeCallable; + typedef std::function&)> SendWebsiteFeedbackAsyncHandler; + typedef Outcome DescribeImageFromLibOutcome; + typedef std::future DescribeImageFromLibOutcomeCallable; + typedef std::function&)> DescribeImageFromLibAsyncHandler; + typedef Outcome RenewWebSiteInstanceOutcome; + typedef std::future RenewWebSiteInstanceOutcomeCallable; + typedef std::function&)> RenewWebSiteInstanceAsyncHandler; + typedef Outcome DescribeViewContentOutcome; + typedef std::future DescribeViewContentOutcomeCallable; + typedef std::function&)> DescribeViewContentAsyncHandler; + typedef Outcome VoiceIdentityRegisterOutcome; + typedef std::future VoiceIdentityRegisterOutcomeCallable; + typedef std::function&)> VoiceIdentityRegisterAsyncHandler; + typedef Outcome DescribeWebsiteStatOutcome; + typedef std::future DescribeWebsiteStatOutcomeCallable; + typedef std::function&)> DescribeWebsiteStatAsyncHandler; + typedef Outcome UpdateNotificationSettingOutcome; + typedef std::future UpdateNotificationSettingOutcomeCallable; + typedef std::function&)> UpdateNotificationSettingAsyncHandler; + typedef Outcome DescribeAuditContentItemOutcome; + typedef std::future DescribeAuditContentItemOutcomeCallable; + typedef std::function&)> DescribeAuditContentItemAsyncHandler; + typedef Outcome SearchPersonOutcome; + typedef std::future SearchPersonOutcomeCallable; + typedef std::function&)> SearchPersonAsyncHandler; + typedef Outcome MarkOssResultOutcome; + typedef std::future MarkOssResultOutcomeCallable; + typedef std::function&)> MarkOssResultAsyncHandler; + typedef Outcome DescribeAppInfoOutcome; + typedef std::future DescribeAppInfoOutcomeCallable; + typedef std::function&)> DescribeAppInfoAsyncHandler; + typedef Outcome AddSimilarityImageOutcome; + typedef std::future AddSimilarityImageOutcomeCallable; + typedef std::function&)> AddSimilarityImageAsyncHandler; + typedef Outcome DescribeCustomOcrTemplateOutcome; + typedef std::future DescribeCustomOcrTemplateOutcomeCallable; + typedef std::function&)> DescribeCustomOcrTemplateAsyncHandler; + typedef Outcome VoiceIdentityUnregisterOutcome; + typedef std::future VoiceIdentityUnregisterOutcomeCallable; + typedef std::function&)> VoiceIdentityUnregisterAsyncHandler; + typedef Outcome DeleteKeywordOutcome; + typedef std::future DeleteKeywordOutcomeCallable; + typedef std::function&)> DeleteKeywordAsyncHandler; + typedef Outcome CreateWebSiteInstanceOutcome; + typedef std::future CreateWebSiteInstanceOutcomeCallable; + typedef std::function&)> CreateWebSiteInstanceAsyncHandler; + typedef Outcome ImageSyncScanOutcome; + typedef std::future ImageSyncScanOutcomeCallable; + typedef std::function&)> ImageSyncScanAsyncHandler; + typedef Outcome GetPersonOutcome; + typedef std::future GetPersonOutcomeCallable; + typedef std::function&)> GetPersonAsyncHandler; + typedef Outcome DescribeWebsiteInstanceIdOutcome; + typedef std::future DescribeWebsiteInstanceIdOutcomeCallable; + typedef std::function&)> DescribeWebsiteInstanceIdAsyncHandler; + typedef Outcome MarkWebsiteScanResultOutcome; + typedef std::future MarkWebsiteScanResultOutcomeCallable; + typedef std::function&)> MarkWebsiteScanResultAsyncHandler; + typedef Outcome VideoFeedbackOutcome; + typedef std::future VideoFeedbackOutcomeCallable; + typedef std::function&)> VideoFeedbackAsyncHandler; + typedef Outcome ExportKeywordsOutcome; + typedef std::future ExportKeywordsOutcomeCallable; + typedef std::function&)> ExportKeywordsAsyncHandler; + typedef Outcome MarkAuditContentOutcome; + typedef std::future MarkAuditContentOutcomeCallable; + typedef std::function&)> MarkAuditContentAsyncHandler; + typedef Outcome AddGroupsOutcome; + typedef std::future AddGroupsOutcomeCallable; + typedef std::function&)> AddGroupsAsyncHandler; + typedef Outcome VerifyEmailOutcome; + typedef std::future VerifyEmailOutcomeCallable; + typedef std::function&)> VerifyEmailAsyncHandler; + typedef Outcome DescribeWebsiteVerifyInfoOutcome; + typedef std::future DescribeWebsiteVerifyInfoOutcomeCallable; + typedef std::function&)> DescribeWebsiteVerifyInfoAsyncHandler; + typedef Outcome FileAsyncScanResultsOutcome; + typedef std::future FileAsyncScanResultsOutcomeCallable; + typedef std::function&)> FileAsyncScanResultsAsyncHandler; + typedef Outcome DescribeBizTypeSettingOutcome; + typedef std::future DescribeBizTypeSettingOutcomeCallable; + typedef std::function&)> DescribeBizTypeSettingAsyncHandler; + typedef Outcome DescribeSdkUrlOutcome; + typedef std::future DescribeSdkUrlOutcomeCallable; + typedef std::function&)> DescribeSdkUrlAsyncHandler; + typedef Outcome GetSimilarityLibraryOutcome; + typedef std::future GetSimilarityLibraryOutcomeCallable; + typedef std::function&)> GetSimilarityLibraryAsyncHandler; + typedef Outcome DescribeOssIncrementStatsOutcome; + typedef std::future DescribeOssIncrementStatsOutcomeCallable; + typedef std::function&)> DescribeOssIncrementStatsAsyncHandler; + typedef Outcome GetSimilarityImageOutcome; + typedef std::future GetSimilarityImageOutcomeCallable; + typedef std::function&)> GetSimilarityImageAsyncHandler; + typedef Outcome SendVerifyCodeToEmailOutcome; + typedef std::future SendVerifyCodeToEmailOutcomeCallable; + typedef std::function&)> SendVerifyCodeToEmailAsyncHandler; + typedef Outcome CreateImageLibOutcome; + typedef std::future CreateImageLibOutcomeCallable; + typedef std::function&)> CreateImageLibAsyncHandler; + typedef Outcome GetFacesOutcome; + typedef std::future GetFacesOutcomeCallable; + typedef std::function&)> GetFacesAsyncHandler; + typedef Outcome VoiceAsyncScanOutcome; + typedef std::future VoiceAsyncScanOutcomeCallable; + typedef std::function&)> VoiceAsyncScanAsyncHandler; + typedef Outcome UpdateCustomOcrTemplateOutcome; + typedef std::future UpdateCustomOcrTemplateOutcomeCallable; + typedef std::function&)> UpdateCustomOcrTemplateAsyncHandler; + typedef Outcome UpdateAuditSettingOutcome; + typedef std::future UpdateAuditSettingOutcomeCallable; + typedef std::function&)> UpdateAuditSettingAsyncHandler; + typedef Outcome GetGroupsOutcome; + typedef std::future GetGroupsOutcomeCallable; + typedef std::function&)> GetGroupsAsyncHandler; + typedef Outcome TextScanOutcome; + typedef std::future TextScanOutcomeCallable; + typedef std::function&)> TextScanAsyncHandler; + typedef Outcome ExportOssResultOutcome; + typedef std::future ExportOssResultOutcomeCallable; + typedef std::function&)> ExportOssResultAsyncHandler; + typedef Outcome VoiceIdentityStartRegisterOutcome; + typedef std::future VoiceIdentityStartRegisterOutcomeCallable; + typedef std::function&)> VoiceIdentityStartRegisterAsyncHandler; + typedef Outcome DescribeWebsiteInstanceOutcome; + typedef std::future DescribeWebsiteInstanceOutcomeCallable; + typedef std::function&)> DescribeWebsiteInstanceAsyncHandler; + typedef Outcome DescribeImageLibOutcome; + typedef std::future DescribeImageLibOutcomeCallable; + typedef std::function&)> DescribeImageLibAsyncHandler; + typedef Outcome UpgradeCdiBaseBagOutcome; + typedef std::future UpgradeCdiBaseBagOutcomeCallable; + typedef std::function&)> UpgradeCdiBaseBagAsyncHandler; + typedef Outcome DescribeUserStatusOutcome; + typedef std::future DescribeUserStatusOutcomeCallable; + typedef std::function&)> DescribeUserStatusAsyncHandler; + typedef Outcome GetAddVideoDnaResultsOutcome; + typedef std::future GetAddVideoDnaResultsOutcomeCallable; + typedef std::function&)> GetAddVideoDnaResultsAsyncHandler; + typedef Outcome DescribeKeywordOutcome; + typedef std::future DescribeKeywordOutcomeCallable; + typedef std::function&)> DescribeKeywordAsyncHandler; + typedef Outcome AddFacesOutcome; + typedef std::future AddFacesOutcomeCallable; + typedef std::function&)> AddFacesAsyncHandler; + typedef Outcome DescribeAuditSettingOutcome; + typedef std::future DescribeAuditSettingOutcomeCallable; + typedef std::function&)> DescribeAuditSettingAsyncHandler; + typedef Outcome CreateKeywordLibOutcome; + typedef std::future CreateKeywordLibOutcomeCallable; + typedef std::function&)> CreateKeywordLibAsyncHandler; + typedef Outcome UpdateOssIncrementCheckSettingOutcome; + typedef std::future UpdateOssIncrementCheckSettingOutcomeCallable; + typedef std::function&)> UpdateOssIncrementCheckSettingAsyncHandler; + typedef Outcome UploadCredentialsOutcome; + typedef std::future UploadCredentialsOutcomeCallable; + typedef std::function&)> UploadCredentialsAsyncHandler; + typedef Outcome CreateBizTypeOutcome; + typedef std::future CreateBizTypeOutcomeCallable; + typedef std::function&)> CreateBizTypeAsyncHandler; + typedef Outcome GetPersonsOutcome; + typedef std::future GetPersonsOutcomeCallable; + typedef std::function&)> GetPersonsAsyncHandler; + typedef Outcome DeleteFacesOutcome; + typedef std::future DeleteFacesOutcomeCallable; + typedef std::function&)> DeleteFacesAsyncHandler; + typedef Outcome DeletePersonOutcome; + typedef std::future DeletePersonOutcomeCallable; + typedef std::function&)> DeletePersonAsyncHandler; + typedef Outcome RefundWebSiteInstanceOutcome; + typedef std::future RefundWebSiteInstanceOutcomeCallable; + typedef std::function&)> RefundWebSiteInstanceAsyncHandler; typedef Outcome SetPersonOutcome; typedef std::future SetPersonOutcomeCallable; typedef std::function&)> SetPersonAsyncHandler; @@ -162,122 +547,398 @@ namespace AlibabaCloud typedef Outcome TextFeedbackOutcome; typedef std::future TextFeedbackOutcomeCallable; typedef std::function&)> TextFeedbackAsyncHandler; - typedef Outcome FileAsyncScanResultsOutcome; - typedef std::future FileAsyncScanResultsOutcomeCallable; - typedef std::function&)> FileAsyncScanResultsAsyncHandler; + typedef Outcome CreateWebsiteIndexPageBaselineOutcome; + typedef std::future CreateWebsiteIndexPageBaselineOutcomeCallable; + typedef std::function&)> CreateWebsiteIndexPageBaselineAsyncHandler; typedef Outcome DeleteGroupsOutcome; typedef std::future DeleteGroupsOutcomeCallable; typedef std::function&)> DeleteGroupsAsyncHandler; typedef Outcome VoiceIdentityStartCheckOutcome; typedef std::future VoiceIdentityStartCheckOutcomeCallable; typedef std::function&)> VoiceIdentityStartCheckAsyncHandler; - typedef Outcome AddVideoDnaGroupOutcome; - typedef std::future AddVideoDnaGroupOutcomeCallable; - typedef std::function&)> AddVideoDnaGroupAsyncHandler; - typedef Outcome ImageAsyncScanOutcome; - typedef std::future ImageAsyncScanOutcomeCallable; - typedef std::function&)> ImageAsyncScanAsyncHandler; + typedef Outcome UpdateOssStockStatusOutcome; + typedef std::future UpdateOssStockStatusOutcomeCallable; + typedef std::function&)> UpdateOssStockStatusAsyncHandler; + typedef Outcome DescribeKeywordLibOutcome; + typedef std::future DescribeKeywordLibOutcomeCallable; + typedef std::function&)> DescribeKeywordLibAsyncHandler; + typedef Outcome DescribeUpdatePackageResultOutcome; + typedef std::future DescribeUpdatePackageResultOutcomeCallable; + typedef std::function&)> DescribeUpdatePackageResultAsyncHandler; typedef Outcome VideoAsyncScanOutcome; typedef std::future VideoAsyncScanOutcomeCallable; typedef std::function&)> VideoAsyncScanAsyncHandler; + typedef Outcome DescribeUploadInfoOutcome; + typedef std::future DescribeUploadInfoOutcomeCallable; + typedef std::function&)> DescribeUploadInfoAsyncHandler; + typedef Outcome ImageScanFeedbackOutcome; + typedef std::future ImageScanFeedbackOutcomeCallable; + typedef std::function&)> ImageScanFeedbackAsyncHandler; + typedef Outcome DescribeOpenApiUsageOutcome; + typedef std::future DescribeOpenApiUsageOutcomeCallable; + typedef std::function&)> DescribeOpenApiUsageAsyncHandler; + typedef Outcome DeleteSimilarityLibraryOutcome; + typedef std::future DeleteSimilarityLibraryOutcomeCallable; + typedef std::function&)> DeleteSimilarityLibraryAsyncHandler; + typedef Outcome DescribeOssCallbackSettingOutcome; + typedef std::future DescribeOssCallbackSettingOutcomeCallable; + typedef std::function&)> DescribeOssCallbackSettingAsyncHandler; + typedef Outcome DescribeImageUploadInfoOutcome; + typedef std::future DescribeImageUploadInfoOutcomeCallable; + typedef std::function&)> DescribeImageUploadInfoAsyncHandler; + typedef Outcome ImageResultOutcome; + typedef std::future ImageResultOutcomeCallable; + typedef std::function&)> ImageResultAsyncHandler; + typedef Outcome DeleteSimilarityImageOutcome; + typedef std::future DeleteSimilarityImageOutcomeCallable; + typedef std::function&)> DeleteSimilarityImageAsyncHandler; + typedef Outcome DeleteImageLibOutcome; + typedef std::future DeleteImageLibOutcomeCallable; + typedef std::function&)> DeleteImageLibAsyncHandler; + typedef Outcome AddPersonOutcome; + typedef std::future AddPersonOutcomeCallable; + typedef std::function&)> AddPersonAsyncHandler; + typedef Outcome ListSimilarityLibrariesOutcome; + typedef std::future ListSimilarityLibrariesOutcomeCallable; + typedef std::function&)> ListSimilarityLibrariesAsyncHandler; + typedef Outcome DeleteCustomOcrTemplateOutcome; + typedef std::future DeleteCustomOcrTemplateOutcomeCallable; + typedef std::function&)> DeleteCustomOcrTemplateAsyncHandler; + typedef Outcome SampleFeedbackOutcome; + typedef std::future SampleFeedbackOutcomeCallable; + typedef std::function&)> SampleFeedbackAsyncHandler; + typedef Outcome ListSimilarityImagesOutcome; + typedef std::future ListSimilarityImagesOutcomeCallable; + typedef std::function&)> ListSimilarityImagesAsyncHandler; + typedef Outcome MarkAuditContentItemOutcome; + typedef std::future MarkAuditContentItemOutcomeCallable; + typedef std::function&)> MarkAuditContentItemAsyncHandler; + typedef Outcome AddVideoDnaOutcome; + typedef std::future AddVideoDnaOutcomeCallable; + typedef std::function&)> AddVideoDnaAsyncHandler; + typedef Outcome VideoSyncScanOutcome; + typedef std::future VideoSyncScanOutcomeCallable; + typedef std::function&)> VideoSyncScanAsyncHandler; + typedef Outcome DeleteNotificationContactsOutcome; + typedef std::future DeleteNotificationContactsOutcomeCallable; + typedef std::function&)> DeleteNotificationContactsAsyncHandler; + typedef Outcome VideoAsyncScanResultsOutcome; + typedef std::future VideoAsyncScanResultsOutcomeCallable; + typedef std::function&)> VideoAsyncScanResultsAsyncHandler; + typedef Outcome DescribeOssStockStatusOutcome; + typedef std::future DescribeOssStockStatusOutcomeCallable; + typedef std::function&)> DescribeOssStockStatusAsyncHandler; + typedef Outcome TextKeywordFilterOutcome; + typedef std::future TextKeywordFilterOutcomeCallable; + typedef std::function&)> TextKeywordFilterAsyncHandler; + typedef Outcome UpdateImageLibOutcome; + typedef std::future UpdateImageLibOutcomeCallable; + typedef std::function&)> UpdateImageLibAsyncHandler; + typedef Outcome CreatCustomOcrTemplateOutcome; + typedef std::future CreatCustomOcrTemplateOutcomeCallable; + typedef std::function&)> CreatCustomOcrTemplateAsyncHandler; + typedef Outcome CreateKeywordOutcome; + typedef std::future CreateKeywordOutcomeCallable; + typedef std::function&)> CreateKeywordAsyncHandler; + typedef Outcome UploadImageToLibOutcome; + typedef std::future UploadImageToLibOutcomeCallable; + typedef std::function&)> UploadImageToLibAsyncHandler; + typedef Outcome UpdateWebsiteInstanceOutcome; + typedef std::future UpdateWebsiteInstanceOutcomeCallable; + typedef std::function&)> UpdateWebsiteInstanceAsyncHandler; + typedef Outcome DescribeWebsiteScanResultDetailOutcome; + typedef std::future DescribeWebsiteScanResultDetailOutcomeCallable; + typedef std::function&)> DescribeWebsiteScanResultDetailAsyncHandler; + typedef Outcome AddSimilarityLibraryOutcome; + typedef std::future AddSimilarityLibraryOutcomeCallable; + typedef std::function&)> AddSimilarityLibraryAsyncHandler; + typedef Outcome AddVideoDnaGroupOutcome; + typedef std::future AddVideoDnaGroupOutcomeCallable; + typedef std::function&)> AddVideoDnaGroupAsyncHandler; + typedef Outcome CreateCdiBagOutcome; + typedef std::future CreateCdiBagOutcomeCallable; + typedef std::function&)> CreateCdiBagAsyncHandler; + typedef Outcome UpdateKeywordLibOutcome; + typedef std::future UpdateKeywordLibOutcomeCallable; + typedef std::function&)> UpdateKeywordLibAsyncHandler; + typedef Outcome ImageAsyncScanOutcome; + typedef std::future ImageAsyncScanOutcomeCallable; + typedef std::function&)> ImageAsyncScanAsyncHandler; typedef Outcome ImageAsyncScanResultsOutcome; typedef std::future ImageAsyncScanResultsOutcomeCallable; typedef std::function&)> ImageAsyncScanResultsAsyncHandler; typedef Outcome VoiceAsyncScanResultsOutcome; typedef std::future VoiceAsyncScanResultsOutcomeCallable; typedef std::function&)> VoiceAsyncScanResultsAsyncHandler; - typedef Outcome GetFacesOutcome; - typedef std::future GetFacesOutcomeCallable; - typedef std::function&)> GetFacesAsyncHandler; - typedef Outcome VoiceAsyncScanOutcome; - typedef std::future VoiceAsyncScanOutcomeCallable; - typedef std::function&)> VoiceAsyncScanAsyncHandler; - typedef Outcome VoiceCancelScanOutcome; - typedef std::future VoiceCancelScanOutcomeCallable; - typedef std::function&)> VoiceCancelScanAsyncHandler; - typedef Outcome GetGroupsOutcome; - typedef std::future GetGroupsOutcomeCallable; - typedef std::function&)> GetGroupsAsyncHandler; - typedef Outcome TextScanOutcome; - typedef std::future TextScanOutcomeCallable; - typedef std::function&)> TextScanAsyncHandler; - typedef Outcome VoiceIdentityRegisterOutcome; - typedef std::future VoiceIdentityRegisterOutcomeCallable; - typedef std::function&)> VoiceIdentityRegisterAsyncHandler; - typedef Outcome ImageScanFeedbackOutcome; - typedef std::future ImageScanFeedbackOutcomeCallable; - typedef std::function&)> ImageScanFeedbackAsyncHandler; - typedef Outcome VoiceIdentityStartRegisterOutcome; - typedef std::future VoiceIdentityStartRegisterOutcomeCallable; - typedef std::function&)> VoiceIdentityStartRegisterAsyncHandler; - typedef Outcome DeleteSimilarityImageOutcome; - typedef std::future DeleteSimilarityImageOutcomeCallable; - typedef std::function&)> DeleteSimilarityImageAsyncHandler; - typedef Outcome SearchPersonOutcome; - typedef std::future SearchPersonOutcomeCallable; - typedef std::function&)> SearchPersonAsyncHandler; - typedef Outcome GetAddVideoDnaResultsOutcome; - typedef std::future GetAddVideoDnaResultsOutcomeCallable; - typedef std::function&)> GetAddVideoDnaResultsAsyncHandler; - typedef Outcome AddPersonOutcome; - typedef std::future AddPersonOutcomeCallable; - typedef std::function&)> AddPersonAsyncHandler; - typedef Outcome AddFacesOutcome; - typedef std::future AddFacesOutcomeCallable; - typedef std::function&)> AddFacesAsyncHandler; - typedef Outcome AddSimilarityImageOutcome; - typedef std::future AddSimilarityImageOutcomeCallable; - typedef std::function&)> AddSimilarityImageAsyncHandler; - typedef Outcome VoiceIdentityUnregisterOutcome; - typedef std::future VoiceIdentityUnregisterOutcomeCallable; - typedef std::function&)> VoiceIdentityUnregisterAsyncHandler; + typedef Outcome ImageResultsOutcome; + typedef std::future ImageResultsOutcomeCallable; + typedef std::function&)> ImageResultsAsyncHandler; + typedef Outcome VerifyWebsiteInstanceOutcome; + typedef std::future VerifyWebsiteInstanceOutcomeCallable; + typedef std::function&)> VerifyWebsiteInstanceAsyncHandler; + typedef Outcome UpdateWebsiteInstanceKeyUrlOutcome; + typedef std::future UpdateWebsiteInstanceKeyUrlOutcomeCallable; + typedef std::function&)> UpdateWebsiteInstanceKeyUrlAsyncHandler; + typedef Outcome SendVerifyCodeToPhoneOutcome; + typedef std::future SendVerifyCodeToPhoneOutcomeCallable; + typedef std::function&)> SendVerifyCodeToPhoneAsyncHandler; + typedef Outcome DescribeOssIncrementOverviewOutcome; + typedef std::future DescribeOssIncrementOverviewOutcomeCallable; + typedef std::function&)> DescribeOssIncrementOverviewAsyncHandler; + typedef Outcome DescribeNotificationSettingOutcome; + typedef std::future DescribeNotificationSettingOutcomeCallable; + typedef std::function&)> DescribeNotificationSettingAsyncHandler; + typedef Outcome DescribeAuditContentOutcome; + typedef std::future DescribeAuditContentOutcomeCallable; + typedef std::function&)> DescribeAuditContentAsyncHandler; GreenClient(const Credentials &credentials, const ClientConfiguration &configuration); GreenClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); GreenClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~GreenClient(); - ImageSyncScanOutcome imageSyncScan(const Model::ImageSyncScanRequest &request)const; - void imageSyncScanAsync(const Model::ImageSyncScanRequest& request, const ImageSyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ImageSyncScanOutcomeCallable imageSyncScanCallable(const Model::ImageSyncScanRequest& request) const; - UploadCredentialsOutcome uploadCredentials(const Model::UploadCredentialsRequest &request)const; - void uploadCredentialsAsync(const Model::UploadCredentialsRequest& request, const UploadCredentialsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UploadCredentialsOutcomeCallable uploadCredentialsCallable(const Model::UploadCredentialsRequest& request) const; - GetPersonsOutcome getPersons(const Model::GetPersonsRequest &request)const; - void getPersonsAsync(const Model::GetPersonsRequest& request, const GetPersonsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetPersonsOutcomeCallable getPersonsCallable(const Model::GetPersonsRequest& request) const; - GetPersonOutcome getPerson(const Model::GetPersonRequest &request)const; - void getPersonAsync(const Model::GetPersonRequest& request, const GetPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetPersonOutcomeCallable getPersonCallable(const Model::GetPersonRequest& request) const; - DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const; - void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const; + DescribeWebsiteIndexPageBaselineOutcome describeWebsiteIndexPageBaseline(const Model::DescribeWebsiteIndexPageBaselineRequest &request)const; + void describeWebsiteIndexPageBaselineAsync(const Model::DescribeWebsiteIndexPageBaselineRequest& request, const DescribeWebsiteIndexPageBaselineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteIndexPageBaselineOutcomeCallable describeWebsiteIndexPageBaselineCallable(const Model::DescribeWebsiteIndexPageBaselineRequest& request) const; + VerifyCustomOcrTemplateOutcome verifyCustomOcrTemplate(const Model::VerifyCustomOcrTemplateRequest &request)const; + void verifyCustomOcrTemplateAsync(const Model::VerifyCustomOcrTemplateRequest& request, const VerifyCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyCustomOcrTemplateOutcomeCallable verifyCustomOcrTemplateCallable(const Model::VerifyCustomOcrTemplateRequest& request) const; + DescribeOssIncrementCheckSettingOutcome describeOssIncrementCheckSetting(const Model::DescribeOssIncrementCheckSettingRequest &request)const; + void describeOssIncrementCheckSettingAsync(const Model::DescribeOssIncrementCheckSettingRequest& request, const DescribeOssIncrementCheckSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssIncrementCheckSettingOutcomeCallable describeOssIncrementCheckSettingCallable(const Model::DescribeOssIncrementCheckSettingRequest& request) const; + DescribeWebsiteScanResultOutcome describeWebsiteScanResult(const Model::DescribeWebsiteScanResultRequest &request)const; + void describeWebsiteScanResultAsync(const Model::DescribeWebsiteScanResultRequest& request, const DescribeWebsiteScanResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteScanResultOutcomeCallable describeWebsiteScanResultCallable(const Model::DescribeWebsiteScanResultRequest& request) const; + UpdateAppPackageOutcome updateAppPackage(const Model::UpdateAppPackageRequest &request)const; + void updateAppPackageAsync(const Model::UpdateAppPackageRequest& request, const UpdateAppPackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateAppPackageOutcomeCallable updateAppPackageCallable(const Model::UpdateAppPackageRequest& request) const; DeleteVideoDnaGroupOutcome deleteVideoDnaGroup(const Model::DeleteVideoDnaGroupRequest &request)const; void deleteVideoDnaGroupAsync(const Model::DeleteVideoDnaGroupRequest& request, const DeleteVideoDnaGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteVideoDnaGroupOutcomeCallable deleteVideoDnaGroupCallable(const Model::DeleteVideoDnaGroupRequest& request) const; - AddVideoDnaOutcome addVideoDna(const Model::AddVideoDnaRequest &request)const; - void addVideoDnaAsync(const Model::AddVideoDnaRequest& request, const AddVideoDnaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddVideoDnaOutcomeCallable addVideoDnaCallable(const Model::AddVideoDnaRequest& request) const; - VideoFeedbackOutcome videoFeedback(const Model::VideoFeedbackRequest &request)const; - void videoFeedbackAsync(const Model::VideoFeedbackRequest& request, const VideoFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VideoFeedbackOutcomeCallable videoFeedbackCallable(const Model::VideoFeedbackRequest& request) const; - DeletePersonOutcome deletePerson(const Model::DeletePersonRequest &request)const; - void deletePersonAsync(const Model::DeletePersonRequest& request, const DeletePersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeletePersonOutcomeCallable deletePersonCallable(const Model::DeletePersonRequest& request) const; - VideoSyncScanOutcome videoSyncScan(const Model::VideoSyncScanRequest &request)const; - void videoSyncScanAsync(const Model::VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VideoSyncScanOutcomeCallable videoSyncScanCallable(const Model::VideoSyncScanRequest& request) const; - VideoAsyncScanResultsOutcome videoAsyncScanResults(const Model::VideoAsyncScanResultsRequest &request)const; - void videoAsyncScanResultsAsync(const Model::VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VideoAsyncScanResultsOutcomeCallable videoAsyncScanResultsCallable(const Model::VideoAsyncScanResultsRequest& request) const; + UpdateOssCallbackSettingOutcome updateOssCallbackSetting(const Model::UpdateOssCallbackSettingRequest &request)const; + void updateOssCallbackSettingAsync(const Model::UpdateOssCallbackSettingRequest& request, const UpdateOssCallbackSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateOssCallbackSettingOutcomeCallable updateOssCallbackSettingCallable(const Model::UpdateOssCallbackSettingRequest& request) const; + DescribeWebsiteInstanceKeyUrlOutcome describeWebsiteInstanceKeyUrl(const Model::DescribeWebsiteInstanceKeyUrlRequest &request)const; + void describeWebsiteInstanceKeyUrlAsync(const Model::DescribeWebsiteInstanceKeyUrlRequest& request, const DescribeWebsiteInstanceKeyUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteInstanceKeyUrlOutcomeCallable describeWebsiteInstanceKeyUrlCallable(const Model::DescribeWebsiteInstanceKeyUrlRequest& request) const; DeleteVideoDnaOutcome deleteVideoDna(const Model::DeleteVideoDnaRequest &request)const; void deleteVideoDnaAsync(const Model::DeleteVideoDnaRequest& request, const DeleteVideoDnaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteVideoDnaOutcomeCallable deleteVideoDnaCallable(const Model::DeleteVideoDnaRequest& request) const; - AddGroupsOutcome addGroups(const Model::AddGroupsRequest &request)const; - void addGroupsAsync(const Model::AddGroupsRequest& request, const AddGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddGroupsOutcomeCallable addGroupsCallable(const Model::AddGroupsRequest& request) const; + RefundCdiBaseBagOutcome refundCdiBaseBag(const Model::RefundCdiBaseBagRequest &request)const; + void refundCdiBaseBagAsync(const Model::RefundCdiBaseBagRequest& request, const RefundCdiBaseBagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefundCdiBaseBagOutcomeCallable refundCdiBaseBagCallable(const Model::RefundCdiBaseBagRequest& request) const; + UpdateBizTypeSettingOutcome updateBizTypeSetting(const Model::UpdateBizTypeSettingRequest &request)const; + void updateBizTypeSettingAsync(const Model::UpdateBizTypeSettingRequest& request, const UpdateBizTypeSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateBizTypeSettingOutcomeCallable updateBizTypeSettingCallable(const Model::UpdateBizTypeSettingRequest& request) const; FileAsyncScanOutcome fileAsyncScan(const Model::FileAsyncScanRequest &request)const; void fileAsyncScanAsync(const Model::FileAsyncScanRequest& request, const FileAsyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; FileAsyncScanOutcomeCallable fileAsyncScanCallable(const Model::FileAsyncScanRequest& request) const; + DescribeOssResultItemsOutcome describeOssResultItems(const Model::DescribeOssResultItemsRequest &request)const; + void describeOssResultItemsAsync(const Model::DescribeOssResultItemsRequest& request, const DescribeOssResultItemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssResultItemsOutcomeCallable describeOssResultItemsCallable(const Model::DescribeOssResultItemsRequest& request) const; + UpdateWebsiteInstanceStatusOutcome updateWebsiteInstanceStatus(const Model::UpdateWebsiteInstanceStatusRequest &request)const; + void updateWebsiteInstanceStatusAsync(const Model::UpdateWebsiteInstanceStatusRequest& request, const UpdateWebsiteInstanceStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWebsiteInstanceStatusOutcomeCallable updateWebsiteInstanceStatusCallable(const Model::UpdateWebsiteInstanceStatusRequest& request) const; + DescribeBizTypesOutcome describeBizTypes(const Model::DescribeBizTypesRequest &request)const; + void describeBizTypesAsync(const Model::DescribeBizTypesRequest& request, const DescribeBizTypesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBizTypesOutcomeCallable describeBizTypesCallable(const Model::DescribeBizTypesRequest& request) const; + RefundCdiBagOutcome refundCdiBag(const Model::RefundCdiBagRequest &request)const; + void refundCdiBagAsync(const Model::RefundCdiBagRequest& request, const RefundCdiBagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefundCdiBagOutcomeCallable refundCdiBagCallable(const Model::RefundCdiBagRequest& request) const; + DeleteImageFromLibOutcome deleteImageFromLib(const Model::DeleteImageFromLibRequest &request)const; + void deleteImageFromLibAsync(const Model::DeleteImageFromLibRequest& request, const DeleteImageFromLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteImageFromLibOutcomeCallable deleteImageFromLibCallable(const Model::DeleteImageFromLibRequest& request) const; + CreateCdiBaseBagOutcome createCdiBaseBag(const Model::CreateCdiBaseBagRequest &request)const; + void createCdiBaseBagAsync(const Model::CreateCdiBaseBagRequest& request, const CreateCdiBaseBagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdiBaseBagOutcomeCallable createCdiBaseBagCallable(const Model::CreateCdiBaseBagRequest& request) const; + VerifyPhoneOutcome verifyPhone(const Model::VerifyPhoneRequest &request)const; + void verifyPhoneAsync(const Model::VerifyPhoneRequest& request, const VerifyPhoneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyPhoneOutcomeCallable verifyPhoneCallable(const Model::VerifyPhoneRequest& request) const; + ImageDetectionOutcome imageDetection(const Model::ImageDetectionRequest &request)const; + void imageDetectionAsync(const Model::ImageDetectionRequest& request, const ImageDetectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImageDetectionOutcomeCallable imageDetectionCallable(const Model::ImageDetectionRequest& request) const; + DeleteKeywordLibOutcome deleteKeywordLib(const Model::DeleteKeywordLibRequest &request)const; + void deleteKeywordLibAsync(const Model::DeleteKeywordLibRequest& request, const DeleteKeywordLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteKeywordLibOutcomeCallable deleteKeywordLibCallable(const Model::DeleteKeywordLibRequest& request) const; + ImportKeywordsOutcome importKeywords(const Model::ImportKeywordsRequest &request)const; + void importKeywordsAsync(const Model::ImportKeywordsRequest& request, const ImportKeywordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportKeywordsOutcomeCallable importKeywordsCallable(const Model::ImportKeywordsRequest& request) const; + VoiceCancelScanOutcome voiceCancelScan(const Model::VoiceCancelScanRequest &request)const; + void voiceCancelScanAsync(const Model::VoiceCancelScanRequest& request, const VoiceCancelScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VoiceCancelScanOutcomeCallable voiceCancelScanCallable(const Model::VoiceCancelScanRequest& request) const; + SendWebsiteFeedbackOutcome sendWebsiteFeedback(const Model::SendWebsiteFeedbackRequest &request)const; + void sendWebsiteFeedbackAsync(const Model::SendWebsiteFeedbackRequest& request, const SendWebsiteFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendWebsiteFeedbackOutcomeCallable sendWebsiteFeedbackCallable(const Model::SendWebsiteFeedbackRequest& request) const; + DescribeImageFromLibOutcome describeImageFromLib(const Model::DescribeImageFromLibRequest &request)const; + void describeImageFromLibAsync(const Model::DescribeImageFromLibRequest& request, const DescribeImageFromLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImageFromLibOutcomeCallable describeImageFromLibCallable(const Model::DescribeImageFromLibRequest& request) const; + RenewWebSiteInstanceOutcome renewWebSiteInstance(const Model::RenewWebSiteInstanceRequest &request)const; + void renewWebSiteInstanceAsync(const Model::RenewWebSiteInstanceRequest& request, const RenewWebSiteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RenewWebSiteInstanceOutcomeCallable renewWebSiteInstanceCallable(const Model::RenewWebSiteInstanceRequest& request) const; + DescribeViewContentOutcome describeViewContent(const Model::DescribeViewContentRequest &request)const; + void describeViewContentAsync(const Model::DescribeViewContentRequest& request, const DescribeViewContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeViewContentOutcomeCallable describeViewContentCallable(const Model::DescribeViewContentRequest& request) const; + VoiceIdentityRegisterOutcome voiceIdentityRegister(const Model::VoiceIdentityRegisterRequest &request)const; + void voiceIdentityRegisterAsync(const Model::VoiceIdentityRegisterRequest& request, const VoiceIdentityRegisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VoiceIdentityRegisterOutcomeCallable voiceIdentityRegisterCallable(const Model::VoiceIdentityRegisterRequest& request) const; + DescribeWebsiteStatOutcome describeWebsiteStat(const Model::DescribeWebsiteStatRequest &request)const; + void describeWebsiteStatAsync(const Model::DescribeWebsiteStatRequest& request, const DescribeWebsiteStatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteStatOutcomeCallable describeWebsiteStatCallable(const Model::DescribeWebsiteStatRequest& request) const; + UpdateNotificationSettingOutcome updateNotificationSetting(const Model::UpdateNotificationSettingRequest &request)const; + void updateNotificationSettingAsync(const Model::UpdateNotificationSettingRequest& request, const UpdateNotificationSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateNotificationSettingOutcomeCallable updateNotificationSettingCallable(const Model::UpdateNotificationSettingRequest& request) const; + DescribeAuditContentItemOutcome describeAuditContentItem(const Model::DescribeAuditContentItemRequest &request)const; + void describeAuditContentItemAsync(const Model::DescribeAuditContentItemRequest& request, const DescribeAuditContentItemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAuditContentItemOutcomeCallable describeAuditContentItemCallable(const Model::DescribeAuditContentItemRequest& request) const; + SearchPersonOutcome searchPerson(const Model::SearchPersonRequest &request)const; + void searchPersonAsync(const Model::SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SearchPersonOutcomeCallable searchPersonCallable(const Model::SearchPersonRequest& request) const; + MarkOssResultOutcome markOssResult(const Model::MarkOssResultRequest &request)const; + void markOssResultAsync(const Model::MarkOssResultRequest& request, const MarkOssResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MarkOssResultOutcomeCallable markOssResultCallable(const Model::MarkOssResultRequest& request) const; + DescribeAppInfoOutcome describeAppInfo(const Model::DescribeAppInfoRequest &request)const; + void describeAppInfoAsync(const Model::DescribeAppInfoRequest& request, const DescribeAppInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAppInfoOutcomeCallable describeAppInfoCallable(const Model::DescribeAppInfoRequest& request) const; + AddSimilarityImageOutcome addSimilarityImage(const Model::AddSimilarityImageRequest &request)const; + void addSimilarityImageAsync(const Model::AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddSimilarityImageOutcomeCallable addSimilarityImageCallable(const Model::AddSimilarityImageRequest& request) const; + DescribeCustomOcrTemplateOutcome describeCustomOcrTemplate(const Model::DescribeCustomOcrTemplateRequest &request)const; + void describeCustomOcrTemplateAsync(const Model::DescribeCustomOcrTemplateRequest& request, const DescribeCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCustomOcrTemplateOutcomeCallable describeCustomOcrTemplateCallable(const Model::DescribeCustomOcrTemplateRequest& request) const; + VoiceIdentityUnregisterOutcome voiceIdentityUnregister(const Model::VoiceIdentityUnregisterRequest &request)const; + void voiceIdentityUnregisterAsync(const Model::VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VoiceIdentityUnregisterOutcomeCallable voiceIdentityUnregisterCallable(const Model::VoiceIdentityUnregisterRequest& request) const; + DeleteKeywordOutcome deleteKeyword(const Model::DeleteKeywordRequest &request)const; + void deleteKeywordAsync(const Model::DeleteKeywordRequest& request, const DeleteKeywordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteKeywordOutcomeCallable deleteKeywordCallable(const Model::DeleteKeywordRequest& request) const; + CreateWebSiteInstanceOutcome createWebSiteInstance(const Model::CreateWebSiteInstanceRequest &request)const; + void createWebSiteInstanceAsync(const Model::CreateWebSiteInstanceRequest& request, const CreateWebSiteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWebSiteInstanceOutcomeCallable createWebSiteInstanceCallable(const Model::CreateWebSiteInstanceRequest& request) const; + ImageSyncScanOutcome imageSyncScan(const Model::ImageSyncScanRequest &request)const; + void imageSyncScanAsync(const Model::ImageSyncScanRequest& request, const ImageSyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImageSyncScanOutcomeCallable imageSyncScanCallable(const Model::ImageSyncScanRequest& request) const; + GetPersonOutcome getPerson(const Model::GetPersonRequest &request)const; + void getPersonAsync(const Model::GetPersonRequest& request, const GetPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetPersonOutcomeCallable getPersonCallable(const Model::GetPersonRequest& request) const; + DescribeWebsiteInstanceIdOutcome describeWebsiteInstanceId(const Model::DescribeWebsiteInstanceIdRequest &request)const; + void describeWebsiteInstanceIdAsync(const Model::DescribeWebsiteInstanceIdRequest& request, const DescribeWebsiteInstanceIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteInstanceIdOutcomeCallable describeWebsiteInstanceIdCallable(const Model::DescribeWebsiteInstanceIdRequest& request) const; + MarkWebsiteScanResultOutcome markWebsiteScanResult(const Model::MarkWebsiteScanResultRequest &request)const; + void markWebsiteScanResultAsync(const Model::MarkWebsiteScanResultRequest& request, const MarkWebsiteScanResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MarkWebsiteScanResultOutcomeCallable markWebsiteScanResultCallable(const Model::MarkWebsiteScanResultRequest& request) const; + VideoFeedbackOutcome videoFeedback(const Model::VideoFeedbackRequest &request)const; + void videoFeedbackAsync(const Model::VideoFeedbackRequest& request, const VideoFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VideoFeedbackOutcomeCallable videoFeedbackCallable(const Model::VideoFeedbackRequest& request) const; + ExportKeywordsOutcome exportKeywords(const Model::ExportKeywordsRequest &request)const; + void exportKeywordsAsync(const Model::ExportKeywordsRequest& request, const ExportKeywordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportKeywordsOutcomeCallable exportKeywordsCallable(const Model::ExportKeywordsRequest& request) const; + MarkAuditContentOutcome markAuditContent(const Model::MarkAuditContentRequest &request)const; + void markAuditContentAsync(const Model::MarkAuditContentRequest& request, const MarkAuditContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MarkAuditContentOutcomeCallable markAuditContentCallable(const Model::MarkAuditContentRequest& request) const; + AddGroupsOutcome addGroups(const Model::AddGroupsRequest &request)const; + void addGroupsAsync(const Model::AddGroupsRequest& request, const AddGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddGroupsOutcomeCallable addGroupsCallable(const Model::AddGroupsRequest& request) const; + VerifyEmailOutcome verifyEmail(const Model::VerifyEmailRequest &request)const; + void verifyEmailAsync(const Model::VerifyEmailRequest& request, const VerifyEmailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyEmailOutcomeCallable verifyEmailCallable(const Model::VerifyEmailRequest& request) const; + DescribeWebsiteVerifyInfoOutcome describeWebsiteVerifyInfo(const Model::DescribeWebsiteVerifyInfoRequest &request)const; + void describeWebsiteVerifyInfoAsync(const Model::DescribeWebsiteVerifyInfoRequest& request, const DescribeWebsiteVerifyInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteVerifyInfoOutcomeCallable describeWebsiteVerifyInfoCallable(const Model::DescribeWebsiteVerifyInfoRequest& request) const; + FileAsyncScanResultsOutcome fileAsyncScanResults(const Model::FileAsyncScanResultsRequest &request)const; + void fileAsyncScanResultsAsync(const Model::FileAsyncScanResultsRequest& request, const FileAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FileAsyncScanResultsOutcomeCallable fileAsyncScanResultsCallable(const Model::FileAsyncScanResultsRequest& request) const; + DescribeBizTypeSettingOutcome describeBizTypeSetting(const Model::DescribeBizTypeSettingRequest &request)const; + void describeBizTypeSettingAsync(const Model::DescribeBizTypeSettingRequest& request, const DescribeBizTypeSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBizTypeSettingOutcomeCallable describeBizTypeSettingCallable(const Model::DescribeBizTypeSettingRequest& request) const; + DescribeSdkUrlOutcome describeSdkUrl(const Model::DescribeSdkUrlRequest &request)const; + void describeSdkUrlAsync(const Model::DescribeSdkUrlRequest& request, const DescribeSdkUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSdkUrlOutcomeCallable describeSdkUrlCallable(const Model::DescribeSdkUrlRequest& request) const; + GetSimilarityLibraryOutcome getSimilarityLibrary(const Model::GetSimilarityLibraryRequest &request)const; + void getSimilarityLibraryAsync(const Model::GetSimilarityLibraryRequest& request, const GetSimilarityLibraryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSimilarityLibraryOutcomeCallable getSimilarityLibraryCallable(const Model::GetSimilarityLibraryRequest& request) const; + DescribeOssIncrementStatsOutcome describeOssIncrementStats(const Model::DescribeOssIncrementStatsRequest &request)const; + void describeOssIncrementStatsAsync(const Model::DescribeOssIncrementStatsRequest& request, const DescribeOssIncrementStatsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssIncrementStatsOutcomeCallable describeOssIncrementStatsCallable(const Model::DescribeOssIncrementStatsRequest& request) const; + GetSimilarityImageOutcome getSimilarityImage(const Model::GetSimilarityImageRequest &request)const; + void getSimilarityImageAsync(const Model::GetSimilarityImageRequest& request, const GetSimilarityImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSimilarityImageOutcomeCallable getSimilarityImageCallable(const Model::GetSimilarityImageRequest& request) const; + SendVerifyCodeToEmailOutcome sendVerifyCodeToEmail(const Model::SendVerifyCodeToEmailRequest &request)const; + void sendVerifyCodeToEmailAsync(const Model::SendVerifyCodeToEmailRequest& request, const SendVerifyCodeToEmailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendVerifyCodeToEmailOutcomeCallable sendVerifyCodeToEmailCallable(const Model::SendVerifyCodeToEmailRequest& request) const; + CreateImageLibOutcome createImageLib(const Model::CreateImageLibRequest &request)const; + void createImageLibAsync(const Model::CreateImageLibRequest& request, const CreateImageLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateImageLibOutcomeCallable createImageLibCallable(const Model::CreateImageLibRequest& request) const; + GetFacesOutcome getFaces(const Model::GetFacesRequest &request)const; + void getFacesAsync(const Model::GetFacesRequest& request, const GetFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFacesOutcomeCallable getFacesCallable(const Model::GetFacesRequest& request) const; + VoiceAsyncScanOutcome voiceAsyncScan(const Model::VoiceAsyncScanRequest &request)const; + void voiceAsyncScanAsync(const Model::VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VoiceAsyncScanOutcomeCallable voiceAsyncScanCallable(const Model::VoiceAsyncScanRequest& request) const; + UpdateCustomOcrTemplateOutcome updateCustomOcrTemplate(const Model::UpdateCustomOcrTemplateRequest &request)const; + void updateCustomOcrTemplateAsync(const Model::UpdateCustomOcrTemplateRequest& request, const UpdateCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCustomOcrTemplateOutcomeCallable updateCustomOcrTemplateCallable(const Model::UpdateCustomOcrTemplateRequest& request) const; + UpdateAuditSettingOutcome updateAuditSetting(const Model::UpdateAuditSettingRequest &request)const; + void updateAuditSettingAsync(const Model::UpdateAuditSettingRequest& request, const UpdateAuditSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateAuditSettingOutcomeCallable updateAuditSettingCallable(const Model::UpdateAuditSettingRequest& request) const; + GetGroupsOutcome getGroups(const Model::GetGroupsRequest &request)const; + void getGroupsAsync(const Model::GetGroupsRequest& request, const GetGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGroupsOutcomeCallable getGroupsCallable(const Model::GetGroupsRequest& request) const; + TextScanOutcome textScan(const Model::TextScanRequest &request)const; + void textScanAsync(const Model::TextScanRequest& request, const TextScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TextScanOutcomeCallable textScanCallable(const Model::TextScanRequest& request) const; + ExportOssResultOutcome exportOssResult(const Model::ExportOssResultRequest &request)const; + void exportOssResultAsync(const Model::ExportOssResultRequest& request, const ExportOssResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportOssResultOutcomeCallable exportOssResultCallable(const Model::ExportOssResultRequest& request) const; + VoiceIdentityStartRegisterOutcome voiceIdentityStartRegister(const Model::VoiceIdentityStartRegisterRequest &request)const; + void voiceIdentityStartRegisterAsync(const Model::VoiceIdentityStartRegisterRequest& request, const VoiceIdentityStartRegisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VoiceIdentityStartRegisterOutcomeCallable voiceIdentityStartRegisterCallable(const Model::VoiceIdentityStartRegisterRequest& request) const; + DescribeWebsiteInstanceOutcome describeWebsiteInstance(const Model::DescribeWebsiteInstanceRequest &request)const; + void describeWebsiteInstanceAsync(const Model::DescribeWebsiteInstanceRequest& request, const DescribeWebsiteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteInstanceOutcomeCallable describeWebsiteInstanceCallable(const Model::DescribeWebsiteInstanceRequest& request) const; + DescribeImageLibOutcome describeImageLib(const Model::DescribeImageLibRequest &request)const; + void describeImageLibAsync(const Model::DescribeImageLibRequest& request, const DescribeImageLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImageLibOutcomeCallable describeImageLibCallable(const Model::DescribeImageLibRequest& request) const; + UpgradeCdiBaseBagOutcome upgradeCdiBaseBag(const Model::UpgradeCdiBaseBagRequest &request)const; + void upgradeCdiBaseBagAsync(const Model::UpgradeCdiBaseBagRequest& request, const UpgradeCdiBaseBagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpgradeCdiBaseBagOutcomeCallable upgradeCdiBaseBagCallable(const Model::UpgradeCdiBaseBagRequest& request) const; + DescribeUserStatusOutcome describeUserStatus(const Model::DescribeUserStatusRequest &request)const; + void describeUserStatusAsync(const Model::DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const; + GetAddVideoDnaResultsOutcome getAddVideoDnaResults(const Model::GetAddVideoDnaResultsRequest &request)const; + void getAddVideoDnaResultsAsync(const Model::GetAddVideoDnaResultsRequest& request, const GetAddVideoDnaResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetAddVideoDnaResultsOutcomeCallable getAddVideoDnaResultsCallable(const Model::GetAddVideoDnaResultsRequest& request) const; + DescribeKeywordOutcome describeKeyword(const Model::DescribeKeywordRequest &request)const; + void describeKeywordAsync(const Model::DescribeKeywordRequest& request, const DescribeKeywordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeKeywordOutcomeCallable describeKeywordCallable(const Model::DescribeKeywordRequest& request) const; + AddFacesOutcome addFaces(const Model::AddFacesRequest &request)const; + void addFacesAsync(const Model::AddFacesRequest& request, const AddFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddFacesOutcomeCallable addFacesCallable(const Model::AddFacesRequest& request) const; + DescribeAuditSettingOutcome describeAuditSetting(const Model::DescribeAuditSettingRequest &request)const; + void describeAuditSettingAsync(const Model::DescribeAuditSettingRequest& request, const DescribeAuditSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAuditSettingOutcomeCallable describeAuditSettingCallable(const Model::DescribeAuditSettingRequest& request) const; + CreateKeywordLibOutcome createKeywordLib(const Model::CreateKeywordLibRequest &request)const; + void createKeywordLibAsync(const Model::CreateKeywordLibRequest& request, const CreateKeywordLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateKeywordLibOutcomeCallable createKeywordLibCallable(const Model::CreateKeywordLibRequest& request) const; + UpdateOssIncrementCheckSettingOutcome updateOssIncrementCheckSetting(const Model::UpdateOssIncrementCheckSettingRequest &request)const; + void updateOssIncrementCheckSettingAsync(const Model::UpdateOssIncrementCheckSettingRequest& request, const UpdateOssIncrementCheckSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateOssIncrementCheckSettingOutcomeCallable updateOssIncrementCheckSettingCallable(const Model::UpdateOssIncrementCheckSettingRequest& request) const; + UploadCredentialsOutcome uploadCredentials(const Model::UploadCredentialsRequest &request)const; + void uploadCredentialsAsync(const Model::UploadCredentialsRequest& request, const UploadCredentialsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadCredentialsOutcomeCallable uploadCredentialsCallable(const Model::UploadCredentialsRequest& request) const; + CreateBizTypeOutcome createBizType(const Model::CreateBizTypeRequest &request)const; + void createBizTypeAsync(const Model::CreateBizTypeRequest& request, const CreateBizTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateBizTypeOutcomeCallable createBizTypeCallable(const Model::CreateBizTypeRequest& request) const; + GetPersonsOutcome getPersons(const Model::GetPersonsRequest &request)const; + void getPersonsAsync(const Model::GetPersonsRequest& request, const GetPersonsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetPersonsOutcomeCallable getPersonsCallable(const Model::GetPersonsRequest& request) const; + DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const; + void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const; + DeletePersonOutcome deletePerson(const Model::DeletePersonRequest &request)const; + void deletePersonAsync(const Model::DeletePersonRequest& request, const DeletePersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePersonOutcomeCallable deletePersonCallable(const Model::DeletePersonRequest& request) const; + RefundWebSiteInstanceOutcome refundWebSiteInstance(const Model::RefundWebSiteInstanceRequest &request)const; + void refundWebSiteInstanceAsync(const Model::RefundWebSiteInstanceRequest& request, const RefundWebSiteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefundWebSiteInstanceOutcomeCallable refundWebSiteInstanceCallable(const Model::RefundWebSiteInstanceRequest& request) const; SetPersonOutcome setPerson(const Model::SetPersonRequest &request)const; void setPersonAsync(const Model::SetPersonRequest& request, const SetPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetPersonOutcomeCallable setPersonCallable(const Model::SetPersonRequest& request) const; @@ -287,75 +948,150 @@ namespace AlibabaCloud TextFeedbackOutcome textFeedback(const Model::TextFeedbackRequest &request)const; void textFeedbackAsync(const Model::TextFeedbackRequest& request, const TextFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TextFeedbackOutcomeCallable textFeedbackCallable(const Model::TextFeedbackRequest& request) const; - FileAsyncScanResultsOutcome fileAsyncScanResults(const Model::FileAsyncScanResultsRequest &request)const; - void fileAsyncScanResultsAsync(const Model::FileAsyncScanResultsRequest& request, const FileAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - FileAsyncScanResultsOutcomeCallable fileAsyncScanResultsCallable(const Model::FileAsyncScanResultsRequest& request) const; + CreateWebsiteIndexPageBaselineOutcome createWebsiteIndexPageBaseline(const Model::CreateWebsiteIndexPageBaselineRequest &request)const; + void createWebsiteIndexPageBaselineAsync(const Model::CreateWebsiteIndexPageBaselineRequest& request, const CreateWebsiteIndexPageBaselineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWebsiteIndexPageBaselineOutcomeCallable createWebsiteIndexPageBaselineCallable(const Model::CreateWebsiteIndexPageBaselineRequest& request) const; DeleteGroupsOutcome deleteGroups(const Model::DeleteGroupsRequest &request)const; void deleteGroupsAsync(const Model::DeleteGroupsRequest& request, const DeleteGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteGroupsOutcomeCallable deleteGroupsCallable(const Model::DeleteGroupsRequest& request) const; VoiceIdentityStartCheckOutcome voiceIdentityStartCheck(const Model::VoiceIdentityStartCheckRequest &request)const; void voiceIdentityStartCheckAsync(const Model::VoiceIdentityStartCheckRequest& request, const VoiceIdentityStartCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VoiceIdentityStartCheckOutcomeCallable voiceIdentityStartCheckCallable(const Model::VoiceIdentityStartCheckRequest& request) const; - AddVideoDnaGroupOutcome addVideoDnaGroup(const Model::AddVideoDnaGroupRequest &request)const; - void addVideoDnaGroupAsync(const Model::AddVideoDnaGroupRequest& request, const AddVideoDnaGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddVideoDnaGroupOutcomeCallable addVideoDnaGroupCallable(const Model::AddVideoDnaGroupRequest& request) const; - ImageAsyncScanOutcome imageAsyncScan(const Model::ImageAsyncScanRequest &request)const; - void imageAsyncScanAsync(const Model::ImageAsyncScanRequest& request, const ImageAsyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ImageAsyncScanOutcomeCallable imageAsyncScanCallable(const Model::ImageAsyncScanRequest& request) const; + UpdateOssStockStatusOutcome updateOssStockStatus(const Model::UpdateOssStockStatusRequest &request)const; + void updateOssStockStatusAsync(const Model::UpdateOssStockStatusRequest& request, const UpdateOssStockStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateOssStockStatusOutcomeCallable updateOssStockStatusCallable(const Model::UpdateOssStockStatusRequest& request) const; + DescribeKeywordLibOutcome describeKeywordLib(const Model::DescribeKeywordLibRequest &request)const; + void describeKeywordLibAsync(const Model::DescribeKeywordLibRequest& request, const DescribeKeywordLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeKeywordLibOutcomeCallable describeKeywordLibCallable(const Model::DescribeKeywordLibRequest& request) const; + DescribeUpdatePackageResultOutcome describeUpdatePackageResult(const Model::DescribeUpdatePackageResultRequest &request)const; + void describeUpdatePackageResultAsync(const Model::DescribeUpdatePackageResultRequest& request, const DescribeUpdatePackageResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUpdatePackageResultOutcomeCallable describeUpdatePackageResultCallable(const Model::DescribeUpdatePackageResultRequest& request) const; VideoAsyncScanOutcome videoAsyncScan(const Model::VideoAsyncScanRequest &request)const; void videoAsyncScanAsync(const Model::VideoAsyncScanRequest& request, const VideoAsyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VideoAsyncScanOutcomeCallable videoAsyncScanCallable(const Model::VideoAsyncScanRequest& request) const; + DescribeUploadInfoOutcome describeUploadInfo(const Model::DescribeUploadInfoRequest &request)const; + void describeUploadInfoAsync(const Model::DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUploadInfoOutcomeCallable describeUploadInfoCallable(const Model::DescribeUploadInfoRequest& request) const; + ImageScanFeedbackOutcome imageScanFeedback(const Model::ImageScanFeedbackRequest &request)const; + void imageScanFeedbackAsync(const Model::ImageScanFeedbackRequest& request, const ImageScanFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImageScanFeedbackOutcomeCallable imageScanFeedbackCallable(const Model::ImageScanFeedbackRequest& request) const; + DescribeOpenApiUsageOutcome describeOpenApiUsage(const Model::DescribeOpenApiUsageRequest &request)const; + void describeOpenApiUsageAsync(const Model::DescribeOpenApiUsageRequest& request, const DescribeOpenApiUsageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOpenApiUsageOutcomeCallable describeOpenApiUsageCallable(const Model::DescribeOpenApiUsageRequest& request) const; + DeleteSimilarityLibraryOutcome deleteSimilarityLibrary(const Model::DeleteSimilarityLibraryRequest &request)const; + void deleteSimilarityLibraryAsync(const Model::DeleteSimilarityLibraryRequest& request, const DeleteSimilarityLibraryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSimilarityLibraryOutcomeCallable deleteSimilarityLibraryCallable(const Model::DeleteSimilarityLibraryRequest& request) const; + DescribeOssCallbackSettingOutcome describeOssCallbackSetting(const Model::DescribeOssCallbackSettingRequest &request)const; + void describeOssCallbackSettingAsync(const Model::DescribeOssCallbackSettingRequest& request, const DescribeOssCallbackSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssCallbackSettingOutcomeCallable describeOssCallbackSettingCallable(const Model::DescribeOssCallbackSettingRequest& request) const; + DescribeImageUploadInfoOutcome describeImageUploadInfo(const Model::DescribeImageUploadInfoRequest &request)const; + void describeImageUploadInfoAsync(const Model::DescribeImageUploadInfoRequest& request, const DescribeImageUploadInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImageUploadInfoOutcomeCallable describeImageUploadInfoCallable(const Model::DescribeImageUploadInfoRequest& request) const; + ImageResultOutcome imageResult(const Model::ImageResultRequest &request)const; + void imageResultAsync(const Model::ImageResultRequest& request, const ImageResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImageResultOutcomeCallable imageResultCallable(const Model::ImageResultRequest& request) const; + DeleteSimilarityImageOutcome deleteSimilarityImage(const Model::DeleteSimilarityImageRequest &request)const; + void deleteSimilarityImageAsync(const Model::DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSimilarityImageOutcomeCallable deleteSimilarityImageCallable(const Model::DeleteSimilarityImageRequest& request) const; + DeleteImageLibOutcome deleteImageLib(const Model::DeleteImageLibRequest &request)const; + void deleteImageLibAsync(const Model::DeleteImageLibRequest& request, const DeleteImageLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteImageLibOutcomeCallable deleteImageLibCallable(const Model::DeleteImageLibRequest& request) const; + AddPersonOutcome addPerson(const Model::AddPersonRequest &request)const; + void addPersonAsync(const Model::AddPersonRequest& request, const AddPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddPersonOutcomeCallable addPersonCallable(const Model::AddPersonRequest& request) const; + ListSimilarityLibrariesOutcome listSimilarityLibraries(const Model::ListSimilarityLibrariesRequest &request)const; + void listSimilarityLibrariesAsync(const Model::ListSimilarityLibrariesRequest& request, const ListSimilarityLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSimilarityLibrariesOutcomeCallable listSimilarityLibrariesCallable(const Model::ListSimilarityLibrariesRequest& request) const; + DeleteCustomOcrTemplateOutcome deleteCustomOcrTemplate(const Model::DeleteCustomOcrTemplateRequest &request)const; + void deleteCustomOcrTemplateAsync(const Model::DeleteCustomOcrTemplateRequest& request, const DeleteCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCustomOcrTemplateOutcomeCallable deleteCustomOcrTemplateCallable(const Model::DeleteCustomOcrTemplateRequest& request) const; + SampleFeedbackOutcome sampleFeedback(const Model::SampleFeedbackRequest &request)const; + void sampleFeedbackAsync(const Model::SampleFeedbackRequest& request, const SampleFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SampleFeedbackOutcomeCallable sampleFeedbackCallable(const Model::SampleFeedbackRequest& request) const; + ListSimilarityImagesOutcome listSimilarityImages(const Model::ListSimilarityImagesRequest &request)const; + void listSimilarityImagesAsync(const Model::ListSimilarityImagesRequest& request, const ListSimilarityImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSimilarityImagesOutcomeCallable listSimilarityImagesCallable(const Model::ListSimilarityImagesRequest& request) const; + MarkAuditContentItemOutcome markAuditContentItem(const Model::MarkAuditContentItemRequest &request)const; + void markAuditContentItemAsync(const Model::MarkAuditContentItemRequest& request, const MarkAuditContentItemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MarkAuditContentItemOutcomeCallable markAuditContentItemCallable(const Model::MarkAuditContentItemRequest& request) const; + AddVideoDnaOutcome addVideoDna(const Model::AddVideoDnaRequest &request)const; + void addVideoDnaAsync(const Model::AddVideoDnaRequest& request, const AddVideoDnaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddVideoDnaOutcomeCallable addVideoDnaCallable(const Model::AddVideoDnaRequest& request) const; + VideoSyncScanOutcome videoSyncScan(const Model::VideoSyncScanRequest &request)const; + void videoSyncScanAsync(const Model::VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VideoSyncScanOutcomeCallable videoSyncScanCallable(const Model::VideoSyncScanRequest& request) const; + DeleteNotificationContactsOutcome deleteNotificationContacts(const Model::DeleteNotificationContactsRequest &request)const; + void deleteNotificationContactsAsync(const Model::DeleteNotificationContactsRequest& request, const DeleteNotificationContactsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteNotificationContactsOutcomeCallable deleteNotificationContactsCallable(const Model::DeleteNotificationContactsRequest& request) const; + VideoAsyncScanResultsOutcome videoAsyncScanResults(const Model::VideoAsyncScanResultsRequest &request)const; + void videoAsyncScanResultsAsync(const Model::VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VideoAsyncScanResultsOutcomeCallable videoAsyncScanResultsCallable(const Model::VideoAsyncScanResultsRequest& request) const; + DescribeOssStockStatusOutcome describeOssStockStatus(const Model::DescribeOssStockStatusRequest &request)const; + void describeOssStockStatusAsync(const Model::DescribeOssStockStatusRequest& request, const DescribeOssStockStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssStockStatusOutcomeCallable describeOssStockStatusCallable(const Model::DescribeOssStockStatusRequest& request) const; + TextKeywordFilterOutcome textKeywordFilter(const Model::TextKeywordFilterRequest &request)const; + void textKeywordFilterAsync(const Model::TextKeywordFilterRequest& request, const TextKeywordFilterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TextKeywordFilterOutcomeCallable textKeywordFilterCallable(const Model::TextKeywordFilterRequest& request) const; + UpdateImageLibOutcome updateImageLib(const Model::UpdateImageLibRequest &request)const; + void updateImageLibAsync(const Model::UpdateImageLibRequest& request, const UpdateImageLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateImageLibOutcomeCallable updateImageLibCallable(const Model::UpdateImageLibRequest& request) const; + CreatCustomOcrTemplateOutcome creatCustomOcrTemplate(const Model::CreatCustomOcrTemplateRequest &request)const; + void creatCustomOcrTemplateAsync(const Model::CreatCustomOcrTemplateRequest& request, const CreatCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreatCustomOcrTemplateOutcomeCallable creatCustomOcrTemplateCallable(const Model::CreatCustomOcrTemplateRequest& request) const; + CreateKeywordOutcome createKeyword(const Model::CreateKeywordRequest &request)const; + void createKeywordAsync(const Model::CreateKeywordRequest& request, const CreateKeywordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateKeywordOutcomeCallable createKeywordCallable(const Model::CreateKeywordRequest& request) const; + UploadImageToLibOutcome uploadImageToLib(const Model::UploadImageToLibRequest &request)const; + void uploadImageToLibAsync(const Model::UploadImageToLibRequest& request, const UploadImageToLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadImageToLibOutcomeCallable uploadImageToLibCallable(const Model::UploadImageToLibRequest& request) const; + UpdateWebsiteInstanceOutcome updateWebsiteInstance(const Model::UpdateWebsiteInstanceRequest &request)const; + void updateWebsiteInstanceAsync(const Model::UpdateWebsiteInstanceRequest& request, const UpdateWebsiteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWebsiteInstanceOutcomeCallable updateWebsiteInstanceCallable(const Model::UpdateWebsiteInstanceRequest& request) const; + DescribeWebsiteScanResultDetailOutcome describeWebsiteScanResultDetail(const Model::DescribeWebsiteScanResultDetailRequest &request)const; + void describeWebsiteScanResultDetailAsync(const Model::DescribeWebsiteScanResultDetailRequest& request, const DescribeWebsiteScanResultDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebsiteScanResultDetailOutcomeCallable describeWebsiteScanResultDetailCallable(const Model::DescribeWebsiteScanResultDetailRequest& request) const; + AddSimilarityLibraryOutcome addSimilarityLibrary(const Model::AddSimilarityLibraryRequest &request)const; + void addSimilarityLibraryAsync(const Model::AddSimilarityLibraryRequest& request, const AddSimilarityLibraryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddSimilarityLibraryOutcomeCallable addSimilarityLibraryCallable(const Model::AddSimilarityLibraryRequest& request) const; + AddVideoDnaGroupOutcome addVideoDnaGroup(const Model::AddVideoDnaGroupRequest &request)const; + void addVideoDnaGroupAsync(const Model::AddVideoDnaGroupRequest& request, const AddVideoDnaGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddVideoDnaGroupOutcomeCallable addVideoDnaGroupCallable(const Model::AddVideoDnaGroupRequest& request) const; + CreateCdiBagOutcome createCdiBag(const Model::CreateCdiBagRequest &request)const; + void createCdiBagAsync(const Model::CreateCdiBagRequest& request, const CreateCdiBagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdiBagOutcomeCallable createCdiBagCallable(const Model::CreateCdiBagRequest& request) const; + UpdateKeywordLibOutcome updateKeywordLib(const Model::UpdateKeywordLibRequest &request)const; + void updateKeywordLibAsync(const Model::UpdateKeywordLibRequest& request, const UpdateKeywordLibAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateKeywordLibOutcomeCallable updateKeywordLibCallable(const Model::UpdateKeywordLibRequest& request) const; + ImageAsyncScanOutcome imageAsyncScan(const Model::ImageAsyncScanRequest &request)const; + void imageAsyncScanAsync(const Model::ImageAsyncScanRequest& request, const ImageAsyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImageAsyncScanOutcomeCallable imageAsyncScanCallable(const Model::ImageAsyncScanRequest& request) const; ImageAsyncScanResultsOutcome imageAsyncScanResults(const Model::ImageAsyncScanResultsRequest &request)const; void imageAsyncScanResultsAsync(const Model::ImageAsyncScanResultsRequest& request, const ImageAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ImageAsyncScanResultsOutcomeCallable imageAsyncScanResultsCallable(const Model::ImageAsyncScanResultsRequest& request) const; VoiceAsyncScanResultsOutcome voiceAsyncScanResults(const Model::VoiceAsyncScanResultsRequest &request)const; void voiceAsyncScanResultsAsync(const Model::VoiceAsyncScanResultsRequest& request, const VoiceAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VoiceAsyncScanResultsOutcomeCallable voiceAsyncScanResultsCallable(const Model::VoiceAsyncScanResultsRequest& request) const; - GetFacesOutcome getFaces(const Model::GetFacesRequest &request)const; - void getFacesAsync(const Model::GetFacesRequest& request, const GetFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFacesOutcomeCallable getFacesCallable(const Model::GetFacesRequest& request) const; - VoiceAsyncScanOutcome voiceAsyncScan(const Model::VoiceAsyncScanRequest &request)const; - void voiceAsyncScanAsync(const Model::VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VoiceAsyncScanOutcomeCallable voiceAsyncScanCallable(const Model::VoiceAsyncScanRequest& request) const; - VoiceCancelScanOutcome voiceCancelScan(const Model::VoiceCancelScanRequest &request)const; - void voiceCancelScanAsync(const Model::VoiceCancelScanRequest& request, const VoiceCancelScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VoiceCancelScanOutcomeCallable voiceCancelScanCallable(const Model::VoiceCancelScanRequest& request) const; - GetGroupsOutcome getGroups(const Model::GetGroupsRequest &request)const; - void getGroupsAsync(const Model::GetGroupsRequest& request, const GetGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetGroupsOutcomeCallable getGroupsCallable(const Model::GetGroupsRequest& request) const; - TextScanOutcome textScan(const Model::TextScanRequest &request)const; - void textScanAsync(const Model::TextScanRequest& request, const TextScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TextScanOutcomeCallable textScanCallable(const Model::TextScanRequest& request) const; - VoiceIdentityRegisterOutcome voiceIdentityRegister(const Model::VoiceIdentityRegisterRequest &request)const; - void voiceIdentityRegisterAsync(const Model::VoiceIdentityRegisterRequest& request, const VoiceIdentityRegisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VoiceIdentityRegisterOutcomeCallable voiceIdentityRegisterCallable(const Model::VoiceIdentityRegisterRequest& request) const; - ImageScanFeedbackOutcome imageScanFeedback(const Model::ImageScanFeedbackRequest &request)const; - void imageScanFeedbackAsync(const Model::ImageScanFeedbackRequest& request, const ImageScanFeedbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ImageScanFeedbackOutcomeCallable imageScanFeedbackCallable(const Model::ImageScanFeedbackRequest& request) const; - VoiceIdentityStartRegisterOutcome voiceIdentityStartRegister(const Model::VoiceIdentityStartRegisterRequest &request)const; - void voiceIdentityStartRegisterAsync(const Model::VoiceIdentityStartRegisterRequest& request, const VoiceIdentityStartRegisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VoiceIdentityStartRegisterOutcomeCallable voiceIdentityStartRegisterCallable(const Model::VoiceIdentityStartRegisterRequest& request) const; - DeleteSimilarityImageOutcome deleteSimilarityImage(const Model::DeleteSimilarityImageRequest &request)const; - void deleteSimilarityImageAsync(const Model::DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteSimilarityImageOutcomeCallable deleteSimilarityImageCallable(const Model::DeleteSimilarityImageRequest& request) const; - SearchPersonOutcome searchPerson(const Model::SearchPersonRequest &request)const; - void searchPersonAsync(const Model::SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SearchPersonOutcomeCallable searchPersonCallable(const Model::SearchPersonRequest& request) const; - GetAddVideoDnaResultsOutcome getAddVideoDnaResults(const Model::GetAddVideoDnaResultsRequest &request)const; - void getAddVideoDnaResultsAsync(const Model::GetAddVideoDnaResultsRequest& request, const GetAddVideoDnaResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetAddVideoDnaResultsOutcomeCallable getAddVideoDnaResultsCallable(const Model::GetAddVideoDnaResultsRequest& request) const; - AddPersonOutcome addPerson(const Model::AddPersonRequest &request)const; - void addPersonAsync(const Model::AddPersonRequest& request, const AddPersonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddPersonOutcomeCallable addPersonCallable(const Model::AddPersonRequest& request) const; - AddFacesOutcome addFaces(const Model::AddFacesRequest &request)const; - void addFacesAsync(const Model::AddFacesRequest& request, const AddFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddFacesOutcomeCallable addFacesCallable(const Model::AddFacesRequest& request) const; - AddSimilarityImageOutcome addSimilarityImage(const Model::AddSimilarityImageRequest &request)const; - void addSimilarityImageAsync(const Model::AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddSimilarityImageOutcomeCallable addSimilarityImageCallable(const Model::AddSimilarityImageRequest& request) const; - VoiceIdentityUnregisterOutcome voiceIdentityUnregister(const Model::VoiceIdentityUnregisterRequest &request)const; - void voiceIdentityUnregisterAsync(const Model::VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - VoiceIdentityUnregisterOutcomeCallable voiceIdentityUnregisterCallable(const Model::VoiceIdentityUnregisterRequest& request) const; + ImageResultsOutcome imageResults(const Model::ImageResultsRequest &request)const; + void imageResultsAsync(const Model::ImageResultsRequest& request, const ImageResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImageResultsOutcomeCallable imageResultsCallable(const Model::ImageResultsRequest& request) const; + VerifyWebsiteInstanceOutcome verifyWebsiteInstance(const Model::VerifyWebsiteInstanceRequest &request)const; + void verifyWebsiteInstanceAsync(const Model::VerifyWebsiteInstanceRequest& request, const VerifyWebsiteInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyWebsiteInstanceOutcomeCallable verifyWebsiteInstanceCallable(const Model::VerifyWebsiteInstanceRequest& request) const; + UpdateWebsiteInstanceKeyUrlOutcome updateWebsiteInstanceKeyUrl(const Model::UpdateWebsiteInstanceKeyUrlRequest &request)const; + void updateWebsiteInstanceKeyUrlAsync(const Model::UpdateWebsiteInstanceKeyUrlRequest& request, const UpdateWebsiteInstanceKeyUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWebsiteInstanceKeyUrlOutcomeCallable updateWebsiteInstanceKeyUrlCallable(const Model::UpdateWebsiteInstanceKeyUrlRequest& request) const; + SendVerifyCodeToPhoneOutcome sendVerifyCodeToPhone(const Model::SendVerifyCodeToPhoneRequest &request)const; + void sendVerifyCodeToPhoneAsync(const Model::SendVerifyCodeToPhoneRequest& request, const SendVerifyCodeToPhoneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendVerifyCodeToPhoneOutcomeCallable sendVerifyCodeToPhoneCallable(const Model::SendVerifyCodeToPhoneRequest& request) const; + DescribeOssIncrementOverviewOutcome describeOssIncrementOverview(const Model::DescribeOssIncrementOverviewRequest &request)const; + void describeOssIncrementOverviewAsync(const Model::DescribeOssIncrementOverviewRequest& request, const DescribeOssIncrementOverviewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssIncrementOverviewOutcomeCallable describeOssIncrementOverviewCallable(const Model::DescribeOssIncrementOverviewRequest& request) const; + DescribeNotificationSettingOutcome describeNotificationSetting(const Model::DescribeNotificationSettingRequest &request)const; + void describeNotificationSettingAsync(const Model::DescribeNotificationSettingRequest& request, const DescribeNotificationSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeNotificationSettingOutcomeCallable describeNotificationSettingCallable(const Model::DescribeNotificationSettingRequest& request) const; + DescribeAuditContentOutcome describeAuditContent(const Model::DescribeAuditContentRequest &request)const; + void describeAuditContentAsync(const Model::DescribeAuditContentRequest& request, const DescribeAuditContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAuditContentOutcomeCallable describeAuditContentCallable(const Model::DescribeAuditContentRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/green/include/alibabacloud/green/model/AddSimilarityLibraryRequest.h b/green/include/alibabacloud/green/model/AddSimilarityLibraryRequest.h new file mode 100644 index 000000000..d59936ed5 --- /dev/null +++ b/green/include/alibabacloud/green/model/AddSimilarityLibraryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT AddSimilarityLibraryRequest : public RoaServiceRequest + { + + public: + AddSimilarityLibraryRequest(); + ~AddSimilarityLibraryRequest(); + + std::string getClientInfo()const; + void setClientInfo(const std::string& clientInfo); + + private: + std::string clientInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/AddSimilarityLibraryResult.h b/green/include/alibabacloud/green/model/AddSimilarityLibraryResult.h new file mode 100644 index 000000000..204b9ee56 --- /dev/null +++ b/green/include/alibabacloud/green/model/AddSimilarityLibraryResult.h @@ -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_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT AddSimilarityLibraryResult : public ServiceResult + { + public: + + + AddSimilarityLibraryResult(); + explicit AddSimilarityLibraryResult(const std::string &payload); + ~AddSimilarityLibraryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h b/green/include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h new file mode 100644 index 000000000..71cdfcac3 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreatCustomOcrTemplateRequest : public RpcServiceRequest + { + + public: + CreatCustomOcrTemplateRequest(); + ~CreatCustomOcrTemplateRequest(); + + std::string getImgUrl()const; + void setImgUrl(const std::string& imgUrl); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getReferArea()const; + void setReferArea(const std::string& referArea); + std::string getRecognizeArea()const; + void setRecognizeArea(const std::string& recognizeArea); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string imgUrl_; + std::string sourceIp_; + std::string referArea_; + std::string recognizeArea_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h b/green/include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h new file mode 100644 index 000000000..89e6ab10d --- /dev/null +++ b/green/include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h @@ -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_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreatCustomOcrTemplateResult : public ServiceResult + { + public: + + + CreatCustomOcrTemplateResult(); + explicit CreatCustomOcrTemplateResult(const std::string &payload); + ~CreatCustomOcrTemplateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateBizTypeRequest.h b/green/include/alibabacloud/green/model/CreateBizTypeRequest.h new file mode 100644 index 000000000..f3dd94e91 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateBizTypeRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateBizTypeRequest : public RpcServiceRequest + { + + public: + CreateBizTypeRequest(); + ~CreateBizTypeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIndustryInfo()const; + void setIndustryInfo(const std::string& industryInfo); + std::string getBizTypeName()const; + void setBizTypeName(const std::string& bizTypeName); + std::string getBizTypeImport()const; + void setBizTypeImport(const std::string& bizTypeImport); + + private: + std::string sourceIp_; + std::string industryInfo_; + std::string bizTypeName_; + std::string bizTypeImport_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateBizTypeResult.h b/green/include/alibabacloud/green/model/CreateBizTypeResult.h new file mode 100644 index 000000000..6bdaf905b --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateBizTypeResult.h @@ -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_GREEN_MODEL_CREATEBIZTYPERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateBizTypeResult : public ServiceResult + { + public: + + + CreateBizTypeResult(); + explicit CreateBizTypeResult(const std::string &payload); + ~CreateBizTypeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateCdiBagRequest.h b/green/include/alibabacloud/green/model/CreateCdiBagRequest.h new file mode 100644 index 000000000..029ae8254 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateCdiBagRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateCdiBagRequest : public RpcServiceRequest + { + + public: + CreateCdiBagRequest(); + ~CreateCdiBagRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + int getOrderNum()const; + void setOrderNum(int orderNum); + std::string getCommodityCode()const; + void setCommodityCode(const std::string& commodityCode); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getFlowOutSpec()const; + void setFlowOutSpec(int flowOutSpec); + std::string getOrderType()const; + void setOrderType(const std::string& orderType); + + private: + std::string clientToken_; + int orderNum_; + std::string commodityCode_; + long ownerId_; + int flowOutSpec_; + std::string orderType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateCdiBagResult.h b/green/include/alibabacloud/green/model/CreateCdiBagResult.h new file mode 100644 index 000000000..c03905b1b --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateCdiBagResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateCdiBagResult : public ServiceResult + { + public: + + + CreateCdiBagResult(); + explicit CreateCdiBagResult(const std::string &payload); + ~CreateCdiBagResult(); + std::string getMessage()const; + std::vector getInstanceIds()const; + std::string getOrderId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector instanceIds_; + std::string orderId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateCdiBaseBagRequest.h b/green/include/alibabacloud/green/model/CreateCdiBaseBagRequest.h new file mode 100644 index 000000000..f5827e88e --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateCdiBaseBagRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateCdiBaseBagRequest : public RpcServiceRequest + { + + public: + CreateCdiBaseBagRequest(); + ~CreateCdiBaseBagRequest(); + + int getDuration()const; + void setDuration(int duration); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getCommodityCode()const; + void setCommodityCode(const std::string& commodityCode); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getFlowOutSpec()const; + void setFlowOutSpec(int flowOutSpec); + std::string getOrderType()const; + void setOrderType(const std::string& orderType); + + private: + int duration_; + std::string clientToken_; + std::string commodityCode_; + long ownerId_; + int flowOutSpec_; + std::string orderType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateCdiBaseBagResult.h b/green/include/alibabacloud/green/model/CreateCdiBaseBagResult.h new file mode 100644 index 000000000..3e6ed3a4b --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateCdiBaseBagResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateCdiBaseBagResult : public ServiceResult + { + public: + + + CreateCdiBaseBagResult(); + explicit CreateCdiBaseBagResult(const std::string &payload); + ~CreateCdiBaseBagResult(); + std::string getMessage()const; + std::string getInstanceId()const; + std::string getOrderId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string instanceId_; + std::string orderId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateImageLibRequest.h b/green/include/alibabacloud/green/model/CreateImageLibRequest.h new file mode 100644 index 000000000..8d2a8700b --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateImageLibRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateImageLibRequest : public RpcServiceRequest + { + + public: + CreateImageLibRequest(); + ~CreateImageLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + bool getEnable()const; + void setEnable(bool enable); + std::string getName()const; + void setName(const std::string& name); + std::string getBizTypes()const; + void setBizTypes(const std::string& bizTypes); + std::string getServiceModule()const; + void setServiceModule(const std::string& serviceModule); + std::string getCategory()const; + void setCategory(const std::string& category); + std::string getScene()const; + void setScene(const std::string& scene); + + private: + std::string sourceIp_; + bool enable_; + std::string name_; + std::string bizTypes_; + std::string serviceModule_; + std::string category_; + std::string scene_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateImageLibResult.h b/green/include/alibabacloud/green/model/CreateImageLibResult.h new file mode 100644 index 000000000..ca8eeec0c --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateImageLibResult.h @@ -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_GREEN_MODEL_CREATEIMAGELIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateImageLibResult : public ServiceResult + { + public: + + + CreateImageLibResult(); + explicit CreateImageLibResult(const std::string &payload); + ~CreateImageLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateKeywordLibRequest.h b/green/include/alibabacloud/green/model/CreateKeywordLibRequest.h new file mode 100644 index 000000000..e79d8153e --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateKeywordLibRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateKeywordLibRequest : public RpcServiceRequest + { + + public: + CreateKeywordLibRequest(); + ~CreateKeywordLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLibType()const; + void setLibType(const std::string& libType); + bool getEnable()const; + void setEnable(bool enable); + std::string getName()const; + void setName(const std::string& name); + std::string getBizTypes()const; + void setBizTypes(const std::string& bizTypes); + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getServiceModule()const; + void setServiceModule(const std::string& serviceModule); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getCategory()const; + void setCategory(const std::string& category); + std::string getMatchMode()const; + void setMatchMode(const std::string& matchMode); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + + private: + std::string sourceIp_; + std::string libType_; + bool enable_; + std::string name_; + std::string bizTypes_; + std::string language_; + std::string serviceModule_; + std::string lang_; + std::string category_; + std::string matchMode_; + std::string resourceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateKeywordLibResult.h b/green/include/alibabacloud/green/model/CreateKeywordLibResult.h new file mode 100644 index 000000000..e07f43621 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateKeywordLibResult.h @@ -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_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateKeywordLibResult : public ServiceResult + { + public: + + + CreateKeywordLibResult(); + explicit CreateKeywordLibResult(const std::string &payload); + ~CreateKeywordLibResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateKeywordRequest.h b/green/include/alibabacloud/green/model/CreateKeywordRequest.h new file mode 100644 index 000000000..1f3dc1bee --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateKeywordRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateKeywordRequest : public RpcServiceRequest + { + + public: + CreateKeywordRequest(); + ~CreateKeywordRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getKeywords()const; + void setKeywords(const std::string& keywords); + int getKeywordLibId()const; + void setKeywordLibId(int keywordLibId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string keywords_; + int keywordLibId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateKeywordResult.h b/green/include/alibabacloud/green/model/CreateKeywordResult.h new file mode 100644 index 000000000..6102d9db5 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateKeywordResult.h @@ -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_GREEN_MODEL_CREATEKEYWORDRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateKeywordResult : public ServiceResult + { + public: + + + CreateKeywordResult(); + explicit CreateKeywordResult(const std::string &payload); + ~CreateKeywordResult(); + std::vector getInvalidKeywordList()const; + int getSuccessCount()const; + std::vector getValidKeywordList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector invalidKeywordList_; + int successCount_; + std::vector validKeywordList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h b/green/include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h new file mode 100644 index 000000000..616c5eb48 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateWebSiteInstanceRequest : public RpcServiceRequest + { + + public: + CreateWebSiteInstanceRequest(); + ~CreateWebSiteInstanceRequest(); + + int getDuration()const; + void setDuration(int duration); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + int getOrderNum()const; + void setOrderNum(int orderNum); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getPricingCycle()const; + void setPricingCycle(const std::string& pricingCycle); + std::string getOrderType()const; + void setOrderType(const std::string& orderType); + + private: + int duration_; + std::string clientToken_; + int orderNum_; + long ownerId_; + std::string pricingCycle_; + std::string orderType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateWebSiteInstanceResult.h b/green/include/alibabacloud/green/model/CreateWebSiteInstanceResult.h new file mode 100644 index 000000000..f35a8220f --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateWebSiteInstanceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateWebSiteInstanceResult : public ServiceResult + { + public: + + + CreateWebSiteInstanceResult(); + explicit CreateWebSiteInstanceResult(const std::string &payload); + ~CreateWebSiteInstanceResult(); + std::string getMessage()const; + std::vector getInstanceIds()const; + std::string getOrderId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector instanceIds_; + std::string orderId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h b/green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h new file mode 100644 index 000000000..8c01bb2f0 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateWebsiteIndexPageBaselineRequest : public RpcServiceRequest + { + + public: + CreateWebsiteIndexPageBaselineRequest(); + ~CreateWebsiteIndexPageBaselineRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string instanceId_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h b/green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h new file mode 100644 index 000000000..d8f95c4e7 --- /dev/null +++ b/green/include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h @@ -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_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT CreateWebsiteIndexPageBaselineResult : public ServiceResult + { + public: + + + CreateWebsiteIndexPageBaselineResult(); + explicit CreateWebsiteIndexPageBaselineResult(const std::string &payload); + ~CreateWebsiteIndexPageBaselineResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h b/green/include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h new file mode 100644 index 000000000..52964ad9f --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h @@ -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_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteCustomOcrTemplateRequest : public RpcServiceRequest + { + + public: + DeleteCustomOcrTemplateRequest(); + ~DeleteCustomOcrTemplateRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + + private: + std::string sourceIp_; + std::string ids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h b/green/include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h new file mode 100644 index 000000000..49b26db09 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h @@ -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_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteCustomOcrTemplateResult : public ServiceResult + { + public: + + + DeleteCustomOcrTemplateResult(); + explicit DeleteCustomOcrTemplateResult(const std::string &payload); + ~DeleteCustomOcrTemplateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteImageFromLibRequest.h b/green/include/alibabacloud/green/model/DeleteImageFromLibRequest.h new file mode 100644 index 000000000..c629883a0 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteImageFromLibRequest.h @@ -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_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteImageFromLibRequest : public RpcServiceRequest + { + + public: + DeleteImageFromLibRequest(); + ~DeleteImageFromLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + + private: + std::string sourceIp_; + std::string ids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteImageFromLibResult.h b/green/include/alibabacloud/green/model/DeleteImageFromLibResult.h new file mode 100644 index 000000000..9ef786d56 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteImageFromLibResult.h @@ -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_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteImageFromLibResult : public ServiceResult + { + public: + + + DeleteImageFromLibResult(); + explicit DeleteImageFromLibResult(const std::string &payload); + ~DeleteImageFromLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteImageLibRequest.h b/green/include/alibabacloud/green/model/DeleteImageLibRequest.h new file mode 100644 index 000000000..fabf4403c --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteImageLibRequest.h @@ -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_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteImageLibRequest : public RpcServiceRequest + { + + public: + DeleteImageLibRequest(); + ~DeleteImageLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getId()const; + void setId(int id); + + private: + std::string sourceIp_; + int id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteImageLibResult.h b/green/include/alibabacloud/green/model/DeleteImageLibResult.h new file mode 100644 index 000000000..d5b3e6300 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteImageLibResult.h @@ -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_GREEN_MODEL_DELETEIMAGELIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteImageLibResult : public ServiceResult + { + public: + + + DeleteImageLibResult(); + explicit DeleteImageLibResult(const std::string &payload); + ~DeleteImageLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteKeywordLibRequest.h b/green/include/alibabacloud/green/model/DeleteKeywordLibRequest.h new file mode 100644 index 000000000..675159756 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteKeywordLibRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordLibRequest : public RpcServiceRequest + { + + public: + DeleteKeywordLibRequest(); + ~DeleteKeywordLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + int id_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteKeywordLibResult.h b/green/include/alibabacloud/green/model/DeleteKeywordLibResult.h new file mode 100644 index 000000000..ba1580554 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteKeywordLibResult.h @@ -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_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordLibResult : public ServiceResult + { + public: + + + DeleteKeywordLibResult(); + explicit DeleteKeywordLibResult(const std::string &payload); + ~DeleteKeywordLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteKeywordRequest.h b/green/include/alibabacloud/green/model/DeleteKeywordRequest.h new file mode 100644 index 000000000..a5a99fba1 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteKeywordRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordRequest : public RpcServiceRequest + { + + public: + DeleteKeywordRequest(); + ~DeleteKeywordRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getKeywords()const; + void setKeywords(const std::string& keywords); + std::string getKeywordLibId()const; + void setKeywordLibId(const std::string& keywordLibId); + std::string getIds()const; + void setIds(const std::string& ids); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string keywords_; + std::string keywordLibId_; + std::string ids_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteKeywordResult.h b/green/include/alibabacloud/green/model/DeleteKeywordResult.h new file mode 100644 index 000000000..44d4e5e9d --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteKeywordResult.h @@ -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_GREEN_MODEL_DELETEKEYWORDRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordResult : public ServiceResult + { + public: + + + DeleteKeywordResult(); + explicit DeleteKeywordResult(const std::string &payload); + ~DeleteKeywordResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteNotificationContactsRequest.h b/green/include/alibabacloud/green/model/DeleteNotificationContactsRequest.h new file mode 100644 index 000000000..0f032ad89 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteNotificationContactsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteNotificationContactsRequest : public RpcServiceRequest + { + + public: + DeleteNotificationContactsRequest(); + ~DeleteNotificationContactsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getContactTypes()const; + void setContactTypes(const std::string& contactTypes); + + private: + std::string sourceIp_; + std::string lang_; + std::string contactTypes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteNotificationContactsResult.h b/green/include/alibabacloud/green/model/DeleteNotificationContactsResult.h new file mode 100644 index 000000000..dc11bbe82 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteNotificationContactsResult.h @@ -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_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteNotificationContactsResult : public ServiceResult + { + public: + + + DeleteNotificationContactsResult(); + explicit DeleteNotificationContactsResult(const std::string &payload); + ~DeleteNotificationContactsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h b/green/include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h new file mode 100644 index 000000000..cec869ce1 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteSimilarityLibraryRequest : public RoaServiceRequest + { + + public: + DeleteSimilarityLibraryRequest(); + ~DeleteSimilarityLibraryRequest(); + + std::string getClientInfo()const; + void setClientInfo(const std::string& clientInfo); + + private: + std::string clientInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h b/green/include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h new file mode 100644 index 000000000..4e8715aa5 --- /dev/null +++ b/green/include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h @@ -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_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DeleteSimilarityLibraryResult : public ServiceResult + { + public: + + + DeleteSimilarityLibraryResult(); + explicit DeleteSimilarityLibraryResult(const std::string &payload); + ~DeleteSimilarityLibraryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAppInfoRequest.h b/green/include/alibabacloud/green/model/DescribeAppInfoRequest.h new file mode 100644 index 000000000..51383084c --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAppInfoRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAppInfoRequest : public RpcServiceRequest + { + + public: + DescribeAppInfoRequest(); + ~DescribeAppInfoRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getPlatform()const; + void setPlatform(const std::string& platform); + + private: + int totalCount_; + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string lang_; + std::string platform_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAppInfoResult.h b/green/include/alibabacloud/green/model/DescribeAppInfoResult.h new file mode 100644 index 000000000..3285903a7 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAppInfoResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAppInfoResult : public ServiceResult + { + public: + struct AppInfo + { + struct PackageInfo + { + std::string version; + }; + struct DebugPackageInfo + { + std::string version; + }; + std::string startDate; + int type; + DebugPackageInfo debugPackageInfo; + std::string packageName; + PackageInfo packageInfo; + long id; + std::string icon; + std::string endDate; + std::string name; + }; + + + DescribeAppInfoResult(); + explicit DescribeAppInfoResult(const std::string &payload); + ~DescribeAppInfoResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getAppInfoList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector appInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAuditContentItemRequest.h b/green/include/alibabacloud/green/model/DescribeAuditContentItemRequest.h new file mode 100644 index 000000000..5cb8ae51e --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAuditContentItemRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentItemRequest : public RpcServiceRequest + { + + public: + DescribeAuditContentItemRequest(); + ~DescribeAuditContentItemRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + int totalCount_; + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string lang_; + std::string resourceType_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAuditContentItemResult.h b/green/include/alibabacloud/green/model/DescribeAuditContentItemResult.h new file mode 100644 index 000000000..fee722a87 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAuditContentItemResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentItemResult : public ServiceResult + { + public: + struct AuditContentItem + { + int audit; + std::string suggestion; + std::string endTime; + std::string content; + std::string auditResult; + std::string startTime; + int sn; + long id; + std::string parentTaskId; + std::vector auditIllegalReasons; + }; + + + DescribeAuditContentItemResult(); + explicit DescribeAuditContentItemResult(const std::string &payload); + ~DescribeAuditContentItemResult(); + int getTotalCount()const; + std::vector getAuditContentItemList()const; + int getPageSize()const; + int getCurrentPage()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector auditContentItemList_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAuditContentRequest.h b/green/include/alibabacloud/green/model/DescribeAuditContentRequest.h new file mode 100644 index 000000000..0850b58af --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAuditContentRequest.h @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentRequest : public RpcServiceRequest + { + + public: + DescribeAuditContentRequest(); + ~DescribeAuditContentRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getKeywordId()const; + void setKeywordId(const std::string& keywordId); + std::string getImageId()const; + void setImageId(const std::string& imageId); + std::string getSuggestion()const; + void setSuggestion(const std::string& suggestion); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLabel()const; + void setLabel(const std::string& label); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getScene()const; + void setScene(const std::string& scene); + std::string getBizType()const; + void setBizType(const std::string& bizType); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getDataId()const; + void setDataId(const std::string& dataId); + std::string getLibType()const; + void setLibType(const std::string& libType); + std::string getAuditResult()const; + void setAuditResult(const std::string& auditResult); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + int totalCount_; + std::string keywordId_; + std::string imageId_; + std::string suggestion_; + int currentPage_; + std::string label_; + std::string startDate_; + std::string resourceType_; + std::string scene_; + std::string bizType_; + std::string endDate_; + std::string sourceIp_; + std::string dataId_; + std::string libType_; + std::string auditResult_; + int pageSize_; + std::string lang_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAuditContentResult.h b/green/include/alibabacloud/green/model/DescribeAuditContentResult.h new file mode 100644 index 000000000..14e37ff2d --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAuditContentResult.h @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentResult : public ServiceResult + { + public: + struct AuditContent + { + struct Result + { + std::string suggestion; + std::string label; + std::string scene; + }; + struct FrameResult + { + std::string label; + std::string url; + int offset; + }; + std::string taskId; + std::string auditResult; + std::string bizType; + std::string requestTime; + std::string thumbnail; + std::string url; + std::vector auditIllegalReasons; + std::string newUrl; + std::string scanFinishedTime; + int audit; + std::string suggestion; + std::string dataId; + std::vector results; + std::vector frameResults; + std::string content; + long id; + }; + + + DescribeAuditContentResult(); + explicit DescribeAuditContentResult(const std::string &payload); + ~DescribeAuditContentResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getAuditContentList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector auditContentList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAuditSettingRequest.h b/green/include/alibabacloud/green/model/DescribeAuditSettingRequest.h new file mode 100644 index 000000000..eaaa8bf13 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAuditSettingRequest.h @@ -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_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAuditSettingRequest : public RpcServiceRequest + { + + public: + DescribeAuditSettingRequest(); + ~DescribeAuditSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeAuditSettingResult.h b/green/include/alibabacloud/green/model/DescribeAuditSettingResult.h new file mode 100644 index 000000000..25cc71274 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeAuditSettingResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeAuditSettingResult : public ServiceResult + { + public: + struct AuditRange + { + bool pass; + bool block; + bool review; + }; + + + DescribeAuditSettingResult(); + explicit DescribeAuditSettingResult(const std::string &payload); + ~DescribeAuditSettingResult(); + AuditRange getAuditRange()const; + std::string getCallback()const; + std::string getSeed()const; + + protected: + void parse(const std::string &payload); + private: + AuditRange auditRange_; + std::string callback_; + std::string seed_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h b/green/include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h new file mode 100644 index 000000000..d35c1656c --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypeSettingRequest : public RpcServiceRequest + { + + public: + DescribeBizTypeSettingRequest(); + ~DescribeBizTypeSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getBizTypeName()const; + void setBizTypeName(const std::string& bizTypeName); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + + private: + std::string sourceIp_; + std::string bizTypeName_; + std::string resourceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeBizTypeSettingResult.h b/green/include/alibabacloud/green/model/DescribeBizTypeSettingResult.h new file mode 100644 index 000000000..f8f90a537 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeBizTypeSettingResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypeSettingResult : public ServiceResult + { + public: + struct Terrorism + { + std::vector categories; + }; + struct Porn + { + std::vector categories1; + }; + + + DescribeBizTypeSettingResult(); + explicit DescribeBizTypeSettingResult(const std::string &payload); + ~DescribeBizTypeSettingResult(); + Terrorism getTerrorism()const; + Porn getPorn()const; + + protected: + void parse(const std::string &payload); + private: + Terrorism terrorism_; + Porn porn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeBizTypesRequest.h b/green/include/alibabacloud/green/model/DescribeBizTypesRequest.h new file mode 100644 index 000000000..e9fc478bc --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeBizTypesRequest.h @@ -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_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypesRequest : public RpcServiceRequest + { + + public: + DescribeBizTypesRequest(); + ~DescribeBizTypesRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + bool getImportFlag()const; + void setImportFlag(bool importFlag); + + private: + std::string sourceIp_; + bool importFlag_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeBizTypesResult.h b/green/include/alibabacloud/green/model/DescribeBizTypesResult.h new file mode 100644 index 000000000..7ac278818 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeBizTypesResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypesResult : public ServiceResult + { + public: + + + DescribeBizTypesResult(); + explicit DescribeBizTypesResult(const std::string &payload); + ~DescribeBizTypesResult(); + std::vector getBizTypeList()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector bizTypeList_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h b/green/include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h new file mode 100644 index 000000000..a20e35597 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h @@ -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_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeCustomOcrTemplateRequest : public RpcServiceRequest + { + + public: + DescribeCustomOcrTemplateRequest(); + ~DescribeCustomOcrTemplateRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + + private: + std::string sourceIp_; + std::string ids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h b/green/include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h new file mode 100644 index 000000000..2d48d78c3 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeCustomOcrTemplateResult : public ServiceResult + { + public: + struct OcrTemplate + { + struct Item + { + int x; + int y; + int height; + int width; + std::string name; + }; + struct Item + { + int x; + int y; + int height; + int width; + std::string name; + }; + std::vector referArea; + int status; + std::vector recognizeArea; + long id; + std::string imgUrl; + std::string name; + }; + + + DescribeCustomOcrTemplateResult(); + explicit DescribeCustomOcrTemplateResult(const std::string &payload); + ~DescribeCustomOcrTemplateResult(); + int getTotalCount()const; + std::vector getOcrTemplateList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector ocrTemplateList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeImageFromLibRequest.h b/green/include/alibabacloud/green/model/DescribeImageFromLibRequest.h new file mode 100644 index 000000000..a6d792afa --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeImageFromLibRequest.h @@ -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_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeImageFromLibRequest : public RpcServiceRequest + { + + public: + DescribeImageFromLibRequest(); + ~DescribeImageFromLibRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getImageLibId()const; + void setImageLibId(int imageLibId); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + long getId()const; + void setId(long id); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + + private: + int totalCount_; + std::string endDate_; + std::string sourceIp_; + int imageLibId_; + int pageSize_; + int currentPage_; + long id_; + std::string startDate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeImageFromLibResult.h b/green/include/alibabacloud/green/model/DescribeImageFromLibResult.h new file mode 100644 index 000000000..62c2d8d3a --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeImageFromLibResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeImageFromLibResult : public ServiceResult + { + public: + struct ImageFromLib + { + long videoHitCount; + std::string createTime; + long imageHitCount; + long id; + std::string image; + std::string thumbnail; + }; + + + DescribeImageFromLibResult(); + explicit DescribeImageFromLibResult(const std::string &payload); + ~DescribeImageFromLibResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getImageFromLibList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector imageFromLibList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeImageLibRequest.h b/green/include/alibabacloud/green/model/DescribeImageLibRequest.h new file mode 100644 index 000000000..b30b64387 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeImageLibRequest.h @@ -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_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeImageLibRequest : public RpcServiceRequest + { + + public: + DescribeImageLibRequest(); + ~DescribeImageLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getServiceModule()const; + void setServiceModule(const std::string& serviceModule); + + private: + std::string sourceIp_; + std::string serviceModule_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeImageLibResult.h b/green/include/alibabacloud/green/model/DescribeImageLibResult.h new file mode 100644 index 000000000..2944540d5 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeImageLibResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeImageLibResult : public ServiceResult + { + public: + struct ImageLib + { + int imageCount; + std::string category; + std::string modifiedTime; + std::vector bizTypes; + std::string enable; + int id; + std::string scene; + std::string code; + std::string source; + std::string name; + std::string serviceModule; + }; + + + DescribeImageLibResult(); + explicit DescribeImageLibResult(const std::string &payload); + ~DescribeImageLibResult(); + int getTotalCount()const; + std::vector getImageLibList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector imageLibList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h b/green/include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h new file mode 100644 index 000000000..c490eb58c --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeImageUploadInfoRequest : public RpcServiceRequest + { + + public: + DescribeImageUploadInfoRequest(); + ~DescribeImageUploadInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeImageUploadInfoResult.h b/green/include/alibabacloud/green/model/DescribeImageUploadInfoResult.h new file mode 100644 index 000000000..f563c57a7 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeImageUploadInfoResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeImageUploadInfoResult : public ServiceResult + { + public: + + + DescribeImageUploadInfoResult(); + explicit DescribeImageUploadInfoResult(const std::string &payload); + ~DescribeImageUploadInfoResult(); + std::string getPolicy()const; + int getExpire()const; + std::string getAccessid()const; + std::string getSignature()const; + std::string getHost()const; + std::string getFolder()const; + + protected: + void parse(const std::string &payload); + private: + std::string policy_; + int expire_; + std::string accessid_; + std::string signature_; + std::string host_; + std::string folder_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeKeywordLibRequest.h b/green/include/alibabacloud/green/model/DescribeKeywordLibRequest.h new file mode 100644 index 000000000..b696c8ae4 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeKeywordLibRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordLibRequest : public RpcServiceRequest + { + + public: + DescribeKeywordLibRequest(); + ~DescribeKeywordLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getServiceModule()const; + void setServiceModule(const std::string& serviceModule); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string serviceModule_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeKeywordLibResult.h b/green/include/alibabacloud/green/model/DescribeKeywordLibResult.h new file mode 100644 index 000000000..8589c182d --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeKeywordLibResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordLibResult : public ServiceResult + { + public: + struct KeywordLib + { + std::string matchMode; + std::string category; + std::vector bizTypes; + std::string resourceType; + int count; + std::string libType; + std::string code; + std::string source; + std::string name; + std::string serviceModule; + std::string modifiedTime; + std::string language; + bool enable; + int id; + }; + + + DescribeKeywordLibResult(); + explicit DescribeKeywordLibResult(const std::string &payload); + ~DescribeKeywordLibResult(); + std::vector getKeywordLibList()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector keywordLibList_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeKeywordRequest.h b/green/include/alibabacloud/green/model/DescribeKeywordRequest.h new file mode 100644 index 000000000..d522e2d00 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeKeywordRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordRequest : public RpcServiceRequest + { + + public: + DescribeKeywordRequest(); + ~DescribeKeywordRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getKeywordLibId()const; + void setKeywordLibId(int keywordLibId); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + + private: + int totalCount_; + std::string sourceIp_; + int keywordLibId_; + int pageSize_; + int currentPage_; + std::string lang_; + std::string keyword_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeKeywordResult.h b/green/include/alibabacloud/green/model/DescribeKeywordResult.h new file mode 100644 index 000000000..16dd3de06 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeKeywordResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordResult : public ServiceResult + { + public: + struct Keyword + { + std::string keyword; + int hitCount; + std::string createTime; + int id; + }; + + + DescribeKeywordResult(); + explicit DescribeKeywordResult(const std::string &payload); + ~DescribeKeywordResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getKeywordList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector keywordList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeNotificationSettingRequest.h b/green/include/alibabacloud/green/model/DescribeNotificationSettingRequest.h new file mode 100644 index 000000000..757632b6f --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeNotificationSettingRequest.h @@ -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_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeNotificationSettingRequest : public RpcServiceRequest + { + + public: + DescribeNotificationSettingRequest(); + ~DescribeNotificationSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeNotificationSettingResult.h b/green/include/alibabacloud/green/model/DescribeNotificationSettingResult.h new file mode 100644 index 000000000..fb04871a7 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeNotificationSettingResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeNotificationSettingResult : public ServiceResult + { + public: + + + DescribeNotificationSettingResult(); + explicit DescribeNotificationSettingResult(const std::string &payload); + ~DescribeNotificationSettingResult(); + std::string getEmail()const; + std::string getPhone()const; + int getScheduleMessageTime()const; + int getScheduleMessageTimeZone()const; + std::vector getReminderModeList()const; + std::vector getRealtimeMessageList()const; + + protected: + void parse(const std::string &payload); + private: + std::string email_; + std::string phone_; + int scheduleMessageTime_; + int scheduleMessageTimeZone_; + std::vector reminderModeList_; + std::vector realtimeMessageList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h b/green/include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h new file mode 100644 index 000000000..53fa20722 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOpenApiUsageRequest : public RpcServiceRequest + { + + public: + DescribeOpenApiUsageRequest(); + ~DescribeOpenApiUsageRequest(); + + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + + private: + std::string endDate_; + std::string sourceIp_; + std::string startDate_; + std::string resourceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOpenApiUsageResult.h b/green/include/alibabacloud/green/model/DescribeOpenApiUsageResult.h new file mode 100644 index 000000000..c3ec21abd --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOpenApiUsageResult.h @@ -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_GREEN_MODEL_DESCRIBEOPENAPIUSAGERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOpenApiUsageResult : public ServiceResult + { + public: + struct OpenApiUsage + { + int passDuration; + int blockDuration; + std::string resourceType; + std::string scene; + std::string date; + int totalDuration; + int totalCount; + int innerTotalCount; + int blockCount; + int passCount; + int reviewCount; + int outerTotalCount; + int reviewDuration; + }; + + + DescribeOpenApiUsageResult(); + explicit DescribeOpenApiUsageResult(const std::string &payload); + ~DescribeOpenApiUsageResult(); + int getTotalCount()const; + std::vector getOpenApiUsageList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector openApiUsageList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h b/green/include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h new file mode 100644 index 000000000..edb61627d --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssCallbackSettingRequest : public RpcServiceRequest + { + + public: + DescribeOssCallbackSettingRequest(); + ~DescribeOssCallbackSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h b/green/include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h new file mode 100644 index 000000000..bc5fbd67d --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssCallbackSettingResult : public ServiceResult + { + public: + + + DescribeOssCallbackSettingResult(); + explicit DescribeOssCallbackSettingResult(const std::string &payload); + ~DescribeOssCallbackSettingResult(); + std::string getCallbackUrl()const; + std::vector getScanCallbackSuggestions()const; + bool getAuditCallback()const; + bool getScanCallback()const; + std::vector getServiceModules()const; + std::string getCallbackSeed()const; + + protected: + void parse(const std::string &payload); + private: + std::string callbackUrl_; + std::vector scanCallbackSuggestions_; + bool auditCallback_; + bool scanCallback_; + std::vector serviceModules_; + std::string callbackSeed_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h b/green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h new file mode 100644 index 000000000..c2608f0f7 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h @@ -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_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementCheckSettingRequest : public RpcServiceRequest + { + + public: + DescribeOssIncrementCheckSettingRequest(); + ~DescribeOssIncrementCheckSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h b/green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h new file mode 100644 index 000000000..dab66ad4e --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementCheckSettingResult : public ServiceResult + { + public: + struct ImageAutoFreeze + { + std::string terrorism; + bool enabled; + std::string porn; + }; + struct BucketConfig + { + std::string bucket; + bool selected; + std::vector prefixes; + }; + + + DescribeOssIncrementCheckSettingResult(); + explicit DescribeOssIncrementCheckSettingResult(const std::string &payload); + ~DescribeOssIncrementCheckSettingResult(); + std::vector getVideoAutoFreezeSceneList()const; + std::vector getVideoSceneList()const; + bool getImageEnableLimit()const; + std::vector getImageSceneList()const; + long getImageScanLimit()const; + ImageAutoFreeze getImageAutoFreeze()const; + std::vector getBucketConfigList()const; + std::string getAutoFreezeType()const; + int getVideoFrameInterval()const; + int getVideoMaxFrames()const; + int getVideoMaxSize()const; + + protected: + void parse(const std::string &payload); + private: + std::vector videoAutoFreezeSceneList_; + std::vector videoSceneList_; + bool imageEnableLimit_; + std::vector imageSceneList_; + long imageScanLimit_; + ImageAutoFreeze imageAutoFreeze_; + std::vector bucketConfigList_; + std::string autoFreezeType_; + int videoFrameInterval_; + int videoMaxFrames_; + int videoMaxSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h b/green/include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h new file mode 100644 index 000000000..f4223a53a --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h @@ -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_GREEN_MODEL_DESCRIBEOSSINCREMENTOVERVIEWREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTOVERVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementOverviewRequest : public RpcServiceRequest + { + + public: + DescribeOssIncrementOverviewRequest(); + ~DescribeOssIncrementOverviewRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTOVERVIEWREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h b/green/include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h new file mode 100644 index 000000000..c3b1318f6 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h @@ -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_GREEN_MODEL_DESCRIBEOSSINCREMENTOVERVIEWRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTOVERVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementOverviewResult : public ServiceResult + { + public: + + + DescribeOssIncrementOverviewResult(); + explicit DescribeOssIncrementOverviewResult(const std::string &payload); + ~DescribeOssIncrementOverviewResult(); + int getImageCount()const; + int getVideoCount()const; + int getPornUnhandleCount()const; + int getVideoFrameCount()const; + int getTerrorismUnhandleCount()const; + + protected: + void parse(const std::string &payload); + private: + int imageCount_; + int videoCount_; + int pornUnhandleCount_; + int videoFrameCount_; + int terrorismUnhandleCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTOVERVIEWRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h b/green/include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h new file mode 100644 index 000000000..69abc61ca --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTSTATSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTSTATSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementStatsRequest : public RpcServiceRequest + { + + public: + DescribeOssIncrementStatsRequest(); + ~DescribeOssIncrementStatsRequest(); + + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getScene()const; + void setScene(const std::string& scene); + + private: + std::string endDate_; + std::string sourceIp_; + std::string lang_; + std::string startDate_; + std::string resourceType_; + std::string scene_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTSTATSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h b/green/include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h new file mode 100644 index 000000000..4627002e7 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTSTATSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTSTATSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementStatsResult : public ServiceResult + { + public: + struct Stat + { + int totalCount; + int blockCount; + std::string resourceType; + std::string scene; + int passCount; + int reviewCount; + std::string date; + }; + + + DescribeOssIncrementStatsResult(); + explicit DescribeOssIncrementStatsResult(const std::string &payload); + ~DescribeOssIncrementStatsResult(); + int getTotalCount()const; + std::vector getStatList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector statList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTSTATSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssResultItemsRequest.h b/green/include/alibabacloud/green/model/DescribeOssResultItemsRequest.h new file mode 100644 index 000000000..527b6b0ac --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssResultItemsRequest.h @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSRESULTITEMSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSRESULTITEMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssResultItemsRequest : public RpcServiceRequest + { + + public: + DescribeOssResultItemsRequest(); + ~DescribeOssResultItemsRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + float getMinScore()const; + void setMinScore(float minScore); + std::string getSuggestion()const; + void setSuggestion(const std::string& suggestion); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + float getMaxScore()const; + void setMaxScore(float maxScore); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getScene()const; + void setScene(const std::string& scene); + std::string getQueryId()const; + void setQueryId(const std::string& queryId); + std::string getBucket()const; + void setBucket(const std::string& bucket); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + bool getStock()const; + void setStock(bool stock); + std::string getObject()const; + void setObject(const std::string& object); + + private: + int totalCount_; + float minScore_; + std::string suggestion_; + int currentPage_; + float maxScore_; + std::string startDate_; + std::string resourceType_; + std::string scene_; + std::string queryId_; + std::string bucket_; + std::string endDate_; + std::string sourceIp_; + int pageSize_; + std::string lang_; + bool stock_; + std::string object_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSRESULTITEMSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssResultItemsResult.h b/green/include/alibabacloud/green/model/DescribeOssResultItemsResult.h new file mode 100644 index 000000000..00c6f8acc --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssResultItemsResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSRESULTITEMSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSRESULTITEMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssResultItemsResult : public ServiceResult + { + public: + struct ScanResult + { + struct FrameResult + { + std::string thumbnail; + std::string url; + int offset; + }; + std::string taskId; + std::string createTime; + std::string requestTime; + std::string thumbnail; + std::string newUrl; + std::string scanFinishedTime; + std::string suggestion; + std::string score; + std::string dataId; + std::vector frameResults; + std::string bucket; + int handleStatus; + int resourceStatus; + std::string object; + long id; + }; + + + DescribeOssResultItemsResult(); + explicit DescribeOssResultItemsResult(const std::string &payload); + ~DescribeOssResultItemsResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::string getQueryId()const; + std::vector getScanResultList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::string queryId_; + std::vector scanResultList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSRESULTITEMSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssStockStatusRequest.h b/green/include/alibabacloud/green/model/DescribeOssStockStatusRequest.h new file mode 100644 index 000000000..26e6acac7 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssStockStatusRequest.h @@ -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_GREEN_MODEL_DESCRIBEOSSSTOCKSTATUSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSSTOCKSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssStockStatusRequest : public RpcServiceRequest + { + + public: + DescribeOssStockStatusRequest(); + ~DescribeOssStockStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSSTOCKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeOssStockStatusResult.h b/green/include/alibabacloud/green/model/DescribeOssStockStatusResult.h new file mode 100644 index 000000000..cd269675c --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeOssStockStatusResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSSTOCKSTATUSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSSTOCKSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeOssStockStatusResult : public ServiceResult + { + public: + struct Bucket + { + std::string bucket; + bool selected; + std::vector prefixes; + }; + + + DescribeOssStockStatusResult(); + explicit DescribeOssStockStatusResult(const std::string &payload); + ~DescribeOssStockStatusResult(); + int getImageTerrorismCount()const; + int getVideoPornCount()const; + int getStockStatus()const; + int getImagePornCount()const; + int getVideoTotalCount()const; + int getImageTotalCount()const; + std::vector getSceneList()const; + std::vector getBucketList()const; + std::string getFinishedTime()const; + std::vector getResouceTypeList()const; + int getVideoTerrorismCount()const; + + protected: + void parse(const std::string &payload); + private: + int imageTerrorismCount_; + int videoPornCount_; + int stockStatus_; + int imagePornCount_; + int videoTotalCount_; + int imageTotalCount_; + std::vector sceneList_; + std::vector bucketList_; + std::string finishedTime_; + std::vector resouceTypeList_; + int videoTerrorismCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSSTOCKSTATUSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeSdkUrlRequest.h b/green/include/alibabacloud/green/model/DescribeSdkUrlRequest.h new file mode 100644 index 000000000..e331ae38b --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeSdkUrlRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBESDKURLREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBESDKURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeSdkUrlRequest : public RpcServiceRequest + { + + public: + DescribeSdkUrlRequest(); + ~DescribeSdkUrlRequest(); + + bool getDebug()const; + void setDebug(bool debug); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + bool debug_; + std::string sourceIp_; + long id_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBESDKURLREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeSdkUrlResult.h b/green/include/alibabacloud/green/model/DescribeSdkUrlResult.h new file mode 100644 index 000000000..7c5b1b76a --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeSdkUrlResult.h @@ -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_GREEN_MODEL_DESCRIBESDKURLRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBESDKURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeSdkUrlResult : public ServiceResult + { + public: + + + DescribeSdkUrlResult(); + explicit DescribeSdkUrlResult(const std::string &payload); + ~DescribeSdkUrlResult(); + std::string getSdkUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string sdkUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBESDKURLRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h b/green/include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h new file mode 100644 index 000000000..1f0f618e6 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPDATEPACKAGERESULTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPDATEPACKAGERESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeUpdatePackageResultRequest : public RpcServiceRequest + { + + public: + DescribeUpdatePackageResultRequest(); + ~DescribeUpdatePackageResultRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + std::string sourceIp_; + std::string lang_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPDATEPACKAGERESULTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h b/green/include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h new file mode 100644 index 000000000..2bed681d1 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPDATEPACKAGERESULTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPDATEPACKAGERESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeUpdatePackageResultResult : public ServiceResult + { + public: + struct AppInfo + { + struct PackageInfo + { + std::string version; + }; + struct DebugPackageInfo + { + std::string version; + }; + std::string startDate; + int type; + DebugPackageInfo debugPackageInfo; + std::string packageName; + PackageInfo packageInfo; + long id; + std::string icon; + std::string endDate; + std::string name; + }; + + + DescribeUpdatePackageResultResult(); + explicit DescribeUpdatePackageResultResult(const std::string &payload); + ~DescribeUpdatePackageResultResult(); + AppInfo getAppInfo()const; + + protected: + void parse(const std::string &payload); + private: + AppInfo appInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPDATEPACKAGERESULTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeUploadInfoRequest.h b/green/include/alibabacloud/green/model/DescribeUploadInfoRequest.h new file mode 100644 index 000000000..9007287e2 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeUploadInfoRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPLOADINFOREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPLOADINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeUploadInfoRequest : public RpcServiceRequest + { + + public: + DescribeUploadInfoRequest(); + ~DescribeUploadInfoRequest(); + + std::string getBiz()const; + void setBiz(const std::string& biz); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string biz_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPLOADINFOREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeUploadInfoResult.h b/green/include/alibabacloud/green/model/DescribeUploadInfoResult.h new file mode 100644 index 000000000..8d0ca3473 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeUploadInfoResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPLOADINFORESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPLOADINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeUploadInfoResult : public ServiceResult + { + public: + + + DescribeUploadInfoResult(); + explicit DescribeUploadInfoResult(const std::string &payload); + ~DescribeUploadInfoResult(); + std::string getPolicy()const; + int getExpire()const; + std::string getAccessid()const; + std::string getSignature()const; + std::string getHost()const; + std::string getFolder()const; + + protected: + void parse(const std::string &payload); + private: + std::string policy_; + int expire_; + std::string accessid_; + std::string signature_; + std::string host_; + std::string folder_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEUPLOADINFORESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeUserStatusRequest.h b/green/include/alibabacloud/green/model/DescribeUserStatusRequest.h new file mode 100644 index 000000000..c253142ed --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeUserStatusRequest.h @@ -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_GREEN_MODEL_DESCRIBEUSERSTATUSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEUSERSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeUserStatusRequest : public RpcServiceRequest + { + + public: + DescribeUserStatusRequest(); + ~DescribeUserStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEUSERSTATUSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeUserStatusResult.h b/green/include/alibabacloud/green/model/DescribeUserStatusResult.h new file mode 100644 index 000000000..63c422937 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeUserStatusResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEUSERSTATUSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEUSERSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeUserStatusResult : public ServiceResult + { + public: + + + DescribeUserStatusResult(); + explicit DescribeUserStatusResult(const std::string &payload); + ~DescribeUserStatusResult(); + std::string getOpenApiBeginTime()const; + bool getOpenApiUsed()const; + std::string getOssCheckStatus()const; + int getOssVideoSizeLimit()const; + bool getInDept()const; + bool getBuyed()const; + + protected: + void parse(const std::string &payload); + private: + std::string openApiBeginTime_; + bool openApiUsed_; + std::string ossCheckStatus_; + int ossVideoSizeLimit_; + bool inDept_; + bool buyed_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEUSERSTATUSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeViewContentRequest.h b/green/include/alibabacloud/green/model/DescribeViewContentRequest.h new file mode 100644 index 000000000..0075b27e8 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeViewContentRequest.h @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEVIEWCONTENTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEVIEWCONTENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeViewContentRequest : public RpcServiceRequest + { + + public: + DescribeViewContentRequest(); + ~DescribeViewContentRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getKeywordId()const; + void setKeywordId(const std::string& keywordId); + std::string getImageId()const; + void setImageId(const std::string& imageId); + std::string getSuggestion()const; + void setSuggestion(const std::string& suggestion); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLabel()const; + void setLabel(const std::string& label); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getScene()const; + void setScene(const std::string& scene); + std::string getBizType()const; + void setBizType(const std::string& bizType); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getDataId()const; + void setDataId(const std::string& dataId); + std::string getLibType()const; + void setLibType(const std::string& libType); + std::string getAuditResult()const; + void setAuditResult(const std::string& auditResult); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + int totalCount_; + std::string keywordId_; + std::string imageId_; + std::string suggestion_; + int currentPage_; + std::string label_; + std::string startDate_; + std::string resourceType_; + std::string scene_; + std::string bizType_; + std::string endDate_; + std::string sourceIp_; + std::string dataId_; + std::string libType_; + std::string auditResult_; + int pageSize_; + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEVIEWCONTENTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeViewContentResult.h b/green/include/alibabacloud/green/model/DescribeViewContentResult.h new file mode 100644 index 000000000..e10ce7f2c --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeViewContentResult.h @@ -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_GREEN_MODEL_DESCRIBEVIEWCONTENTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEVIEWCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeViewContentResult : public ServiceResult + { + public: + struct ViewContent + { + struct Result + { + std::string suggestion; + std::string label; + std::string scene; + }; + struct FrameResult + { + std::string url; + int offset; + }; + std::string scanResult; + std::string taskId; + std::string bizType; + std::string requestTime; + std::string thumbnail; + std::string url; + std::string newUrl; + std::string scanFinishedTime; + std::string suggestion; + std::string dataId; + std::vector results; + std::vector frameResults; + std::string content; + long id; + }; + + + DescribeViewContentResult(); + explicit DescribeViewContentResult(const std::string &payload); + ~DescribeViewContentResult(); + int getTotalCount()const; + std::vector getViewContentList()const; + int getPageSize()const; + int getCurrentPage()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector viewContentList_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEVIEWCONTENTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h new file mode 100644 index 000000000..e1e8482b8 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINDEXPAGEBASELINEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINDEXPAGEBASELINEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteIndexPageBaselineRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteIndexPageBaselineRequest(); + ~DescribeWebsiteIndexPageBaselineRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string instanceId_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINDEXPAGEBASELINEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h new file mode 100644 index 000000000..64e65c791 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h @@ -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_GREEN_MODEL_DESCRIBEWEBSITEINDEXPAGEBASELINERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINDEXPAGEBASELINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteIndexPageBaselineResult : public ServiceResult + { + public: + + + DescribeWebsiteIndexPageBaselineResult(); + explicit DescribeWebsiteIndexPageBaselineResult(const std::string &payload); + ~DescribeWebsiteIndexPageBaselineResult(); + std::string getSnapshot()const; + std::string getBaseLineStatus()const; + std::string getCreateTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string snapshot_; + std::string baseLineStatus_; + std::string createTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINDEXPAGEBASELINERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h new file mode 100644 index 000000000..0c7f74f6d --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h @@ -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_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEIDREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteInstanceIdRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteInstanceIdRequest(); + ~DescribeWebsiteInstanceIdRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEIDREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h new file mode 100644 index 000000000..e3929a1db --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEIDRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteInstanceIdResult : public ServiceResult + { + public: + + + DescribeWebsiteInstanceIdResult(); + explicit DescribeWebsiteInstanceIdResult(const std::string &payload); + ~DescribeWebsiteInstanceIdResult(); + int getTotalCount()const; + std::vector getWebsiteInstanceIdList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector websiteInstanceIdList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEIDRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h new file mode 100644 index 000000000..6db13b045 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEKEYURLREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEKEYURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteInstanceKeyUrlRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteInstanceKeyUrlRequest(); + ~DescribeWebsiteInstanceKeyUrlRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string instanceId_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEKEYURLREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h new file mode 100644 index 000000000..00534b89f --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEKEYURLRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEKEYURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteInstanceKeyUrlResult : public ServiceResult + { + public: + + + DescribeWebsiteInstanceKeyUrlResult(); + explicit DescribeWebsiteInstanceKeyUrlResult(const std::string &payload); + ~DescribeWebsiteInstanceKeyUrlResult(); + int getTotalCount()const; + std::vector getWebsiteInstanceKeyUrlList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector websiteInstanceKeyUrlList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEKEYURLRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h new file mode 100644 index 000000000..d0b94012f --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteInstanceRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteInstanceRequest(); + ~DescribeWebsiteInstanceRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + int totalCount_; + std::string instanceId_; + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h new file mode 100644 index 000000000..a8380a95f --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h @@ -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_GREEN_MODEL_DESCRIBEWEBSITEINSTANCERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteInstanceResult : public ServiceResult + { + public: + struct WebsiteInstance + { + std::string buyTime; + std::string status; + std::string instanceId; + std::string expiredTime; + int indexPageScanInterval; + std::string protocol; + std::string domain; + int websiteScanInterval; + std::string indexPage; + }; + + + DescribeWebsiteInstanceResult(); + explicit DescribeWebsiteInstanceResult(const std::string &payload); + ~DescribeWebsiteInstanceResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getWebsiteInstanceList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector websiteInstanceList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEINSTANCERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h new file mode 100644 index 000000000..fc0c5af16 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTDETAILREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteScanResultDetailRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteScanResultDetailRequest(); + ~DescribeWebsiteScanResultDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + + private: + std::string sourceIp_; + int id_; + std::string lang_; + std::string resourceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTDETAILREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h new file mode 100644 index 000000000..a34ffb342 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTDETAILRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteScanResultDetailResult : public ServiceResult + { + public: + struct ImageScanResult + { + std::vector labels; + std::string url; + }; + + + DescribeWebsiteScanResultDetailResult(); + explicit DescribeWebsiteScanResultDetailResult(const std::string &payload); + ~DescribeWebsiteScanResultDetailResult(); + std::vector getHitKeywords()const; + std::vector getImageScanResults()const; + std::string getContent()const; + std::string getResourceType()const; + std::string getBaseline()const; + std::string getTamperedSource()const; + + protected: + void parse(const std::string &payload); + private: + std::vector hitKeywords_; + std::vector imageScanResults_; + std::string content_; + std::string resourceType_; + std::string baseline_; + std::string tamperedSource_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTDETAILRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h new file mode 100644 index 000000000..27001ac59 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h @@ -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_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteScanResultRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteScanResultRequest(); + ~DescribeWebsiteScanResultRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + std::string getSubServiceModule()const; + void setSubServiceModule(const std::string& subServiceModule); + std::string getSiteUrl()const; + void setSiteUrl(const std::string& siteUrl); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getHandleStatus()const; + void setHandleStatus(const std::string& handleStatus); + std::string getDomain()const; + void setDomain(const std::string& domain); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLabel()const; + void setLabel(const std::string& label); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + int totalCount_; + std::string subServiceModule_; + std::string siteUrl_; + std::string sourceIp_; + std::string handleStatus_; + std::string domain_; + int pageSize_; + int currentPage_; + std::string label_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h new file mode 100644 index 000000000..8a43857e1 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteScanResultResult : public ServiceResult + { + public: + struct WebsiteScanResult + { + int sourceRiskCount; + std::string taskId; + std::string instanceId; + int handleStatus; + int imageRiskCount; + std::vector labels; + int id; + std::string scanTime; + std::string domain; + int textRiskCount; + std::string url; + }; + + + DescribeWebsiteScanResultResult(); + explicit DescribeWebsiteScanResultResult(const std::string &payload); + ~DescribeWebsiteScanResultResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getWebsiteScanResultList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector websiteScanResultList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESCANRESULTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteStatRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteStatRequest.h new file mode 100644 index 000000000..7c91c1298 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteStatRequest.h @@ -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_GREEN_MODEL_DESCRIBEWEBSITESTATREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESTATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteStatRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteStatRequest(); + ~DescribeWebsiteStatRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESTATREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteStatResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteStatResult.h new file mode 100644 index 000000000..1c44e9bd4 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteStatResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESTATRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESTATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteStatResult : public ServiceResult + { + public: + struct WebsiteStat + { + int instanceCount; + int scanCount; + std::string subServiceModule; + int riskCount; + }; + + + DescribeWebsiteStatResult(); + explicit DescribeWebsiteStatResult(const std::string &payload); + ~DescribeWebsiteStatResult(); + std::vector getWebsiteStatList()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector websiteStatList_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITESTATRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h b/green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h new file mode 100644 index 000000000..f798faf46 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEVERIFYINFOREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEVERIFYINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteVerifyInfoRequest : public RpcServiceRequest + { + + public: + DescribeWebsiteVerifyInfoRequest(); + ~DescribeWebsiteVerifyInfoRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string instanceId_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEVERIFYINFOREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h b/green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h new file mode 100644 index 000000000..af51e0b45 --- /dev/null +++ b/green/include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEVERIFYINFORESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEVERIFYINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT DescribeWebsiteVerifyInfoResult : public ServiceResult + { + public: + + + DescribeWebsiteVerifyInfoResult(); + explicit DescribeWebsiteVerifyInfoResult(const std::string &payload); + ~DescribeWebsiteVerifyInfoResult(); + std::string getVerifyMethod()const; + std::string getDomain()const; + std::string getProtocol()const; + std::string getCname()const; + std::string getHostFile()const; + std::string getIndexPage()const; + + protected: + void parse(const std::string &payload); + private: + std::string verifyMethod_; + std::string domain_; + std::string protocol_; + std::string cname_; + std::string hostFile_; + std::string indexPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEWEBSITEVERIFYINFORESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ExportKeywordsRequest.h b/green/include/alibabacloud/green/model/ExportKeywordsRequest.h new file mode 100644 index 000000000..b2d585007 --- /dev/null +++ b/green/include/alibabacloud/green/model/ExportKeywordsRequest.h @@ -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_GREEN_MODEL_EXPORTKEYWORDSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_EXPORTKEYWORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ExportKeywordsRequest : public RpcServiceRequest + { + + public: + ExportKeywordsRequest(); + ~ExportKeywordsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getKeywordLibId()const; + void setKeywordLibId(long keywordLibId); + + private: + std::string sourceIp_; + long keywordLibId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_EXPORTKEYWORDSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ExportKeywordsResult.h b/green/include/alibabacloud/green/model/ExportKeywordsResult.h new file mode 100644 index 000000000..31993bf01 --- /dev/null +++ b/green/include/alibabacloud/green/model/ExportKeywordsResult.h @@ -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_GREEN_MODEL_EXPORTKEYWORDSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_EXPORTKEYWORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ExportKeywordsResult : public ServiceResult + { + public: + + + ExportKeywordsResult(); + explicit ExportKeywordsResult(const std::string &payload); + ~ExportKeywordsResult(); + std::string getDownloadUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string downloadUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_EXPORTKEYWORDSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ExportOssResultRequest.h b/green/include/alibabacloud/green/model/ExportOssResultRequest.h new file mode 100644 index 000000000..bfc071596 --- /dev/null +++ b/green/include/alibabacloud/green/model/ExportOssResultRequest.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_EXPORTOSSRESULTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_EXPORTOSSRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ExportOssResultRequest : public RpcServiceRequest + { + + public: + ExportOssResultRequest(); + ~ExportOssResultRequest(); + + int getTotalCount()const; + void setTotalCount(int totalCount); + float getMinScore()const; + void setMinScore(float minScore); + std::string getSuggestion()const; + void setSuggestion(const std::string& suggestion); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + float getMaxScore()const; + void setMaxScore(float maxScore); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getScene()const; + void setScene(const std::string& scene); + std::string getBucket()const; + void setBucket(const std::string& bucket); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + bool getStock()const; + void setStock(bool stock); + + private: + int totalCount_; + float minScore_; + std::string suggestion_; + int currentPage_; + float maxScore_; + std::string startDate_; + std::string resourceType_; + std::string scene_; + std::string bucket_; + std::string endDate_; + std::string sourceIp_; + int pageSize_; + std::string lang_; + bool stock_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_EXPORTOSSRESULTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ExportOssResultResult.h b/green/include/alibabacloud/green/model/ExportOssResultResult.h new file mode 100644 index 000000000..d88a638b4 --- /dev/null +++ b/green/include/alibabacloud/green/model/ExportOssResultResult.h @@ -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_GREEN_MODEL_EXPORTOSSRESULTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_EXPORTOSSRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ExportOssResultResult : public ServiceResult + { + public: + + + ExportOssResultResult(); + explicit ExportOssResultResult(const std::string &payload); + ~ExportOssResultResult(); + std::string getFileUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string fileUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_EXPORTOSSRESULTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/GetSimilarityImageRequest.h b/green/include/alibabacloud/green/model/GetSimilarityImageRequest.h new file mode 100644 index 000000000..cbc7abd47 --- /dev/null +++ b/green/include/alibabacloud/green/model/GetSimilarityImageRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYIMAGEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYIMAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT GetSimilarityImageRequest : public RoaServiceRequest + { + + public: + GetSimilarityImageRequest(); + ~GetSimilarityImageRequest(); + + std::string getClientInfo()const; + void setClientInfo(const std::string& clientInfo); + + private: + std::string clientInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYIMAGEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/GetSimilarityImageResult.h b/green/include/alibabacloud/green/model/GetSimilarityImageResult.h new file mode 100644 index 000000000..c7e600832 --- /dev/null +++ b/green/include/alibabacloud/green/model/GetSimilarityImageResult.h @@ -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_GREEN_MODEL_GETSIMILARITYIMAGERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYIMAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT GetSimilarityImageResult : public ServiceResult + { + public: + + + GetSimilarityImageResult(); + explicit GetSimilarityImageResult(const std::string &payload); + ~GetSimilarityImageResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYIMAGERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/GetSimilarityLibraryRequest.h b/green/include/alibabacloud/green/model/GetSimilarityLibraryRequest.h new file mode 100644 index 000000000..2cc7580bc --- /dev/null +++ b/green/include/alibabacloud/green/model/GetSimilarityLibraryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYLIBRARYREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYLIBRARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT GetSimilarityLibraryRequest : public RoaServiceRequest + { + + public: + GetSimilarityLibraryRequest(); + ~GetSimilarityLibraryRequest(); + + std::string getClientInfo()const; + void setClientInfo(const std::string& clientInfo); + + private: + std::string clientInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYLIBRARYREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/GetSimilarityLibraryResult.h b/green/include/alibabacloud/green/model/GetSimilarityLibraryResult.h new file mode 100644 index 000000000..0d225058e --- /dev/null +++ b/green/include/alibabacloud/green/model/GetSimilarityLibraryResult.h @@ -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_GREEN_MODEL_GETSIMILARITYLIBRARYRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYLIBRARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT GetSimilarityLibraryResult : public ServiceResult + { + public: + + + GetSimilarityLibraryResult(); + explicit GetSimilarityLibraryResult(const std::string &payload); + ~GetSimilarityLibraryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_GETSIMILARITYLIBRARYRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImageDetectionRequest.h b/green/include/alibabacloud/green/model/ImageDetectionRequest.h new file mode 100644 index 000000000..9f3cd7928 --- /dev/null +++ b/green/include/alibabacloud/green/model/ImageDetectionRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_IMAGEDETECTIONREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMAGEDETECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImageDetectionRequest : public RoaServiceRequest + { + + public: + ImageDetectionRequest(); + ~ImageDetectionRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGEDETECTIONREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImageDetectionResult.h b/green/include/alibabacloud/green/model/ImageDetectionResult.h new file mode 100644 index 000000000..06cdd325c --- /dev/null +++ b/green/include/alibabacloud/green/model/ImageDetectionResult.h @@ -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_GREEN_MODEL_IMAGEDETECTIONRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMAGEDETECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImageDetectionResult : public ServiceResult + { + public: + + + ImageDetectionResult(); + explicit ImageDetectionResult(const std::string &payload); + ~ImageDetectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGEDETECTIONRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImageResultRequest.h b/green/include/alibabacloud/green/model/ImageResultRequest.h new file mode 100644 index 000000000..e2de1b173 --- /dev/null +++ b/green/include/alibabacloud/green/model/ImageResultRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_IMAGERESULTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMAGERESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImageResultRequest : public RoaServiceRequest + { + + public: + ImageResultRequest(); + ~ImageResultRequest(); + + std::string getTaskid()const; + void setTaskid(const std::string& taskid); + + private: + std::string taskid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGERESULTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImageResultResult.h b/green/include/alibabacloud/green/model/ImageResultResult.h new file mode 100644 index 000000000..44ea87563 --- /dev/null +++ b/green/include/alibabacloud/green/model/ImageResultResult.h @@ -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_GREEN_MODEL_IMAGERESULTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMAGERESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImageResultResult : public ServiceResult + { + public: + + + ImageResultResult(); + explicit ImageResultResult(const std::string &payload); + ~ImageResultResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGERESULTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImageResultsRequest.h b/green/include/alibabacloud/green/model/ImageResultsRequest.h new file mode 100644 index 000000000..aa15e673f --- /dev/null +++ b/green/include/alibabacloud/green/model/ImageResultsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_IMAGERESULTSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMAGERESULTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImageResultsRequest : public RoaServiceRequest + { + + public: + ImageResultsRequest(); + ~ImageResultsRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGERESULTSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImageResultsResult.h b/green/include/alibabacloud/green/model/ImageResultsResult.h new file mode 100644 index 000000000..8b0e66f2b --- /dev/null +++ b/green/include/alibabacloud/green/model/ImageResultsResult.h @@ -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_GREEN_MODEL_IMAGERESULTSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMAGERESULTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImageResultsResult : public ServiceResult + { + public: + + + ImageResultsResult(); + explicit ImageResultsResult(const std::string &payload); + ~ImageResultsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGERESULTSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImportKeywordsRequest.h b/green/include/alibabacloud/green/model/ImportKeywordsRequest.h new file mode 100644 index 000000000..439d9c0de --- /dev/null +++ b/green/include/alibabacloud/green/model/ImportKeywordsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_IMPORTKEYWORDSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMPORTKEYWORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImportKeywordsRequest : public RpcServiceRequest + { + + public: + ImportKeywordsRequest(); + ~ImportKeywordsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getKeywordLibId()const; + void setKeywordLibId(int keywordLibId); + std::string getKeywordsObject()const; + void setKeywordsObject(const std::string& keywordsObject); + + private: + std::string sourceIp_; + int keywordLibId_; + std::string keywordsObject_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMPORTKEYWORDSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ImportKeywordsResult.h b/green/include/alibabacloud/green/model/ImportKeywordsResult.h new file mode 100644 index 000000000..052049b31 --- /dev/null +++ b/green/include/alibabacloud/green/model/ImportKeywordsResult.h @@ -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_GREEN_MODEL_IMPORTKEYWORDSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_IMPORTKEYWORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ImportKeywordsResult : public ServiceResult + { + public: + + + ImportKeywordsResult(); + explicit ImportKeywordsResult(const std::string &payload); + ~ImportKeywordsResult(); + std::vector getInvalidKeywordList()const; + int getSuccessCount()const; + std::vector getValidKeywordList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector invalidKeywordList_; + int successCount_; + std::vector validKeywordList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_IMPORTKEYWORDSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ListSimilarityImagesRequest.h b/green/include/alibabacloud/green/model/ListSimilarityImagesRequest.h new file mode 100644 index 000000000..be0710e88 --- /dev/null +++ b/green/include/alibabacloud/green/model/ListSimilarityImagesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYIMAGESREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYIMAGESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ListSimilarityImagesRequest : public RoaServiceRequest + { + + public: + ListSimilarityImagesRequest(); + ~ListSimilarityImagesRequest(); + + std::string getClientInfo()const; + void setClientInfo(const std::string& clientInfo); + + private: + std::string clientInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYIMAGESREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ListSimilarityImagesResult.h b/green/include/alibabacloud/green/model/ListSimilarityImagesResult.h new file mode 100644 index 000000000..5a6ce92c6 --- /dev/null +++ b/green/include/alibabacloud/green/model/ListSimilarityImagesResult.h @@ -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_GREEN_MODEL_LISTSIMILARITYIMAGESRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYIMAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ListSimilarityImagesResult : public ServiceResult + { + public: + + + ListSimilarityImagesResult(); + explicit ListSimilarityImagesResult(const std::string &payload); + ~ListSimilarityImagesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYIMAGESRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h b/green/include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h new file mode 100644 index 000000000..74f27d8dd --- /dev/null +++ b/green/include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYLIBRARIESREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYLIBRARIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ListSimilarityLibrariesRequest : public RoaServiceRequest + { + + public: + ListSimilarityLibrariesRequest(); + ~ListSimilarityLibrariesRequest(); + + std::string getClientInfo()const; + void setClientInfo(const std::string& clientInfo); + + private: + std::string clientInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/ListSimilarityLibrariesResult.h b/green/include/alibabacloud/green/model/ListSimilarityLibrariesResult.h new file mode 100644 index 000000000..0b18d2f17 --- /dev/null +++ b/green/include/alibabacloud/green/model/ListSimilarityLibrariesResult.h @@ -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_GREEN_MODEL_LISTSIMILARITYLIBRARIESRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYLIBRARIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT ListSimilarityLibrariesResult : public ServiceResult + { + public: + + + ListSimilarityLibrariesResult(); + explicit ListSimilarityLibrariesResult(const std::string &payload); + ~ListSimilarityLibrariesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_LISTSIMILARITYLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkAuditContentItemRequest.h b/green/include/alibabacloud/green/model/MarkAuditContentItemRequest.h new file mode 100644 index 000000000..bcbba7777 --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkAuditContentItemRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTITEMREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTITEMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkAuditContentItemRequest : public RpcServiceRequest + { + + public: + MarkAuditContentItemRequest(); + ~MarkAuditContentItemRequest(); + + std::string getAuditIllegalReasons()const; + void setAuditIllegalReasons(const std::string& auditIllegalReasons); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getAuditResult()const; + void setAuditResult(const std::string& auditResult); + std::string getIds()const; + void setIds(const std::string& ids); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string auditIllegalReasons_; + std::string sourceIp_; + std::string auditResult_; + std::string ids_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTITEMREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkAuditContentItemResult.h b/green/include/alibabacloud/green/model/MarkAuditContentItemResult.h new file mode 100644 index 000000000..d85174fa7 --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkAuditContentItemResult.h @@ -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_GREEN_MODEL_MARKAUDITCONTENTITEMRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTITEMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkAuditContentItemResult : public ServiceResult + { + public: + + + MarkAuditContentItemResult(); + explicit MarkAuditContentItemResult(const std::string &payload); + ~MarkAuditContentItemResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTITEMRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkAuditContentRequest.h b/green/include/alibabacloud/green/model/MarkAuditContentRequest.h new file mode 100644 index 000000000..ec9b94059 --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkAuditContentRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkAuditContentRequest : public RpcServiceRequest + { + + public: + MarkAuditContentRequest(); + ~MarkAuditContentRequest(); + + std::string getAuditIllegalReasons()const; + void setAuditIllegalReasons(const std::string& auditIllegalReasons); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getAuditResult()const; + void setAuditResult(const std::string& auditResult); + std::string getIds()const; + void setIds(const std::string& ids); + + private: + std::string auditIllegalReasons_; + std::string sourceIp_; + std::string auditResult_; + std::string ids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkAuditContentResult.h b/green/include/alibabacloud/green/model/MarkAuditContentResult.h new file mode 100644 index 000000000..c015b0f3f --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkAuditContentResult.h @@ -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_GREEN_MODEL_MARKAUDITCONTENTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkAuditContentResult : public ServiceResult + { + public: + + + MarkAuditContentResult(); + explicit MarkAuditContentResult(const std::string &payload); + ~MarkAuditContentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKAUDITCONTENTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkOssResultRequest.h b/green/include/alibabacloud/green/model/MarkOssResultRequest.h new file mode 100644 index 000000000..534bca155 --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkOssResultRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_MARKOSSRESULTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKOSSRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkOssResultRequest : public RpcServiceRequest + { + + public: + MarkOssResultRequest(); + ~MarkOssResultRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + std::string getLang()const; + void setLang(const std::string& lang); + bool getStock()const; + void setStock(bool stock); + std::string getOperation()const; + void setOperation(const std::string& operation); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getScene()const; + void setScene(const std::string& scene); + + private: + std::string sourceIp_; + std::string ids_; + std::string lang_; + bool stock_; + std::string operation_; + std::string resourceType_; + std::string scene_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKOSSRESULTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkOssResultResult.h b/green/include/alibabacloud/green/model/MarkOssResultResult.h new file mode 100644 index 000000000..ad207f4f4 --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkOssResultResult.h @@ -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_GREEN_MODEL_MARKOSSRESULTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKOSSRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkOssResultResult : public ServiceResult + { + public: + + + MarkOssResultResult(); + explicit MarkOssResultResult(const std::string &payload); + ~MarkOssResultResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKOSSRESULTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h b/green/include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h new file mode 100644 index 000000000..9fd2d9f87 --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_MARKWEBSITESCANRESULTREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKWEBSITESCANRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkWebsiteScanResultRequest : public RpcServiceRequest + { + + public: + MarkWebsiteScanResultRequest(); + ~MarkWebsiteScanResultRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string ids_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKWEBSITESCANRESULTREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/MarkWebsiteScanResultResult.h b/green/include/alibabacloud/green/model/MarkWebsiteScanResultResult.h new file mode 100644 index 000000000..70c20dfcf --- /dev/null +++ b/green/include/alibabacloud/green/model/MarkWebsiteScanResultResult.h @@ -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_GREEN_MODEL_MARKWEBSITESCANRESULTRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_MARKWEBSITESCANRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT MarkWebsiteScanResultResult : public ServiceResult + { + public: + + + MarkWebsiteScanResultResult(); + explicit MarkWebsiteScanResultResult(const std::string &payload); + ~MarkWebsiteScanResultResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_MARKWEBSITESCANRESULTRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RefundCdiBagRequest.h b/green/include/alibabacloud/green/model/RefundCdiBagRequest.h new file mode 100644 index 000000000..43b792ed0 --- /dev/null +++ b/green/include/alibabacloud/green/model/RefundCdiBagRequest.h @@ -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_GREEN_MODEL_REFUNDCDIBAGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RefundCdiBagRequest : public RpcServiceRequest + { + + public: + RefundCdiBagRequest(); + ~RefundCdiBagRequest(); + + std::string getResourceOwnerId()const; + void setResourceOwnerId(const std::string& resourceOwnerId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + std::string resourceOwnerId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBAGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RefundCdiBagResult.h b/green/include/alibabacloud/green/model/RefundCdiBagResult.h new file mode 100644 index 000000000..d5462d44a --- /dev/null +++ b/green/include/alibabacloud/green/model/RefundCdiBagResult.h @@ -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_GREEN_MODEL_REFUNDCDIBAGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RefundCdiBagResult : public ServiceResult + { + public: + + + RefundCdiBagResult(); + explicit RefundCdiBagResult(const std::string &payload); + ~RefundCdiBagResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBAGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RefundCdiBaseBagRequest.h b/green/include/alibabacloud/green/model/RefundCdiBaseBagRequest.h new file mode 100644 index 000000000..f99b6ebe5 --- /dev/null +++ b/green/include/alibabacloud/green/model/RefundCdiBaseBagRequest.h @@ -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_GREEN_MODEL_REFUNDCDIBASEBAGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBASEBAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RefundCdiBaseBagRequest : public RpcServiceRequest + { + + public: + RefundCdiBaseBagRequest(); + ~RefundCdiBaseBagRequest(); + + std::string getResourceOwnerId()const; + void setResourceOwnerId(const std::string& resourceOwnerId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + std::string resourceOwnerId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBASEBAGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RefundCdiBaseBagResult.h b/green/include/alibabacloud/green/model/RefundCdiBaseBagResult.h new file mode 100644 index 000000000..96f99a89d --- /dev/null +++ b/green/include/alibabacloud/green/model/RefundCdiBaseBagResult.h @@ -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_GREEN_MODEL_REFUNDCDIBASEBAGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBASEBAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RefundCdiBaseBagResult : public ServiceResult + { + public: + + + RefundCdiBaseBagResult(); + explicit RefundCdiBaseBagResult(const std::string &payload); + ~RefundCdiBaseBagResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_REFUNDCDIBASEBAGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h b/green/include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h new file mode 100644 index 000000000..ca707df62 --- /dev/null +++ b/green/include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h @@ -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_GREEN_MODEL_REFUNDWEBSITEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_REFUNDWEBSITEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RefundWebSiteInstanceRequest : public RpcServiceRequest + { + + public: + RefundWebSiteInstanceRequest(); + ~RefundWebSiteInstanceRequest(); + + std::string getResourceOwnerId()const; + void setResourceOwnerId(const std::string& resourceOwnerId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + std::string resourceOwnerId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_REFUNDWEBSITEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RefundWebSiteInstanceResult.h b/green/include/alibabacloud/green/model/RefundWebSiteInstanceResult.h new file mode 100644 index 000000000..faab760e1 --- /dev/null +++ b/green/include/alibabacloud/green/model/RefundWebSiteInstanceResult.h @@ -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_GREEN_MODEL_REFUNDWEBSITEINSTANCERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_REFUNDWEBSITEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RefundWebSiteInstanceResult : public ServiceResult + { + public: + + + RefundWebSiteInstanceResult(); + explicit RefundWebSiteInstanceResult(const std::string &payload); + ~RefundWebSiteInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_REFUNDWEBSITEINSTANCERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h b/green/include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h new file mode 100644 index 000000000..ad4a69e99 --- /dev/null +++ b/green/include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h @@ -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_GREEN_MODEL_RENEWWEBSITEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_RENEWWEBSITEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RenewWebSiteInstanceRequest : public RpcServiceRequest + { + + public: + RenewWebSiteInstanceRequest(); + ~RenewWebSiteInstanceRequest(); + + int getDuration()const; + void setDuration(int duration); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + int getOrderNum()const; + void setOrderNum(int orderNum); + std::string getCommodityCode()const; + void setCommodityCode(const std::string& commodityCode); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getPricingCycle()const; + void setPricingCycle(const std::string& pricingCycle); + std::string getOrderType()const; + void setOrderType(const std::string& orderType); + + private: + int duration_; + std::string instanceId_; + std::string clientToken_; + int orderNum_; + std::string commodityCode_; + long ownerId_; + std::string pricingCycle_; + std::string orderType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_RENEWWEBSITEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/RenewWebSiteInstanceResult.h b/green/include/alibabacloud/green/model/RenewWebSiteInstanceResult.h new file mode 100644 index 000000000..36729164e --- /dev/null +++ b/green/include/alibabacloud/green/model/RenewWebSiteInstanceResult.h @@ -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_GREEN_MODEL_RENEWWEBSITEINSTANCERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_RENEWWEBSITEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT RenewWebSiteInstanceResult : public ServiceResult + { + public: + + + RenewWebSiteInstanceResult(); + explicit RenewWebSiteInstanceResult(const std::string &payload); + ~RenewWebSiteInstanceResult(); + std::string getMessage()const; + std::string getInstanceId()const; + std::vector getInstanceIds()const; + std::string getOrderId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string instanceId_; + std::vector instanceIds_; + std::string orderId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_RENEWWEBSITEINSTANCERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SampleFeedbackRequest.h b/green/include/alibabacloud/green/model/SampleFeedbackRequest.h new file mode 100644 index 000000000..c99436d88 --- /dev/null +++ b/green/include/alibabacloud/green/model/SampleFeedbackRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_SAMPLEFEEDBACKREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_SAMPLEFEEDBACKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SampleFeedbackRequest : public RoaServiceRequest + { + + public: + SampleFeedbackRequest(); + ~SampleFeedbackRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SAMPLEFEEDBACKREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SampleFeedbackResult.h b/green/include/alibabacloud/green/model/SampleFeedbackResult.h new file mode 100644 index 000000000..06bd41029 --- /dev/null +++ b/green/include/alibabacloud/green/model/SampleFeedbackResult.h @@ -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_GREEN_MODEL_SAMPLEFEEDBACKRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_SAMPLEFEEDBACKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SampleFeedbackResult : public ServiceResult + { + public: + + + SampleFeedbackResult(); + explicit SampleFeedbackResult(const std::string &payload); + ~SampleFeedbackResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SAMPLEFEEDBACKRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h b/green/include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h new file mode 100644 index 000000000..af52c7ef7 --- /dev/null +++ b/green/include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOEMAILREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOEMAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SendVerifyCodeToEmailRequest : public RpcServiceRequest + { + + public: + SendVerifyCodeToEmailRequest(); + ~SendVerifyCodeToEmailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getEmail()const; + void setEmail(const std::string& email); + + private: + std::string sourceIp_; + std::string lang_; + std::string email_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOEMAILREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h b/green/include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h new file mode 100644 index 000000000..13f8be666 --- /dev/null +++ b/green/include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h @@ -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_GREEN_MODEL_SENDVERIFYCODETOEMAILRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOEMAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SendVerifyCodeToEmailResult : public ServiceResult + { + public: + + + SendVerifyCodeToEmailResult(); + explicit SendVerifyCodeToEmailResult(const std::string &payload); + ~SendVerifyCodeToEmailResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOEMAILRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h b/green/include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h new file mode 100644 index 000000000..f60101d14 --- /dev/null +++ b/green/include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOPHONEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOPHONEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SendVerifyCodeToPhoneRequest : public RpcServiceRequest + { + + public: + SendVerifyCodeToPhoneRequest(); + ~SendVerifyCodeToPhoneRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPhone()const; + void setPhone(const std::string& phone); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string phone_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOPHONEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h b/green/include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h new file mode 100644 index 000000000..d5461ecb3 --- /dev/null +++ b/green/include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h @@ -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_GREEN_MODEL_SENDVERIFYCODETOPHONERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOPHONERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SendVerifyCodeToPhoneResult : public ServiceResult + { + public: + + + SendVerifyCodeToPhoneResult(); + explicit SendVerifyCodeToPhoneResult(const std::string &payload); + ~SendVerifyCodeToPhoneResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SENDVERIFYCODETOPHONERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h b/green/include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h new file mode 100644 index 000000000..1e5047e19 --- /dev/null +++ b/green/include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_SENDWEBSITEFEEDBACKREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_SENDWEBSITEFEEDBACKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SendWebsiteFeedbackRequest : public RpcServiceRequest + { + + public: + SendWebsiteFeedbackRequest(); + ~SendWebsiteFeedbackRequest(); + + std::string getFeedback()const; + void setFeedback(const std::string& feedback); + std::string getUrls()const; + void setUrls(const std::string& urls); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string feedback_; + std::string urls_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SENDWEBSITEFEEDBACKREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/SendWebsiteFeedbackResult.h b/green/include/alibabacloud/green/model/SendWebsiteFeedbackResult.h new file mode 100644 index 000000000..38fa416a5 --- /dev/null +++ b/green/include/alibabacloud/green/model/SendWebsiteFeedbackResult.h @@ -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_GREEN_MODEL_SENDWEBSITEFEEDBACKRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_SENDWEBSITEFEEDBACKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT SendWebsiteFeedbackResult : public ServiceResult + { + public: + + + SendWebsiteFeedbackResult(); + explicit SendWebsiteFeedbackResult(const std::string &payload); + ~SendWebsiteFeedbackResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_SENDWEBSITEFEEDBACKRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/TextKeywordFilterRequest.h b/green/include/alibabacloud/green/model/TextKeywordFilterRequest.h new file mode 100644 index 000000000..ca51aba44 --- /dev/null +++ b/green/include/alibabacloud/green/model/TextKeywordFilterRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_TEXTKEYWORDFILTERREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_TEXTKEYWORDFILTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT TextKeywordFilterRequest : public RoaServiceRequest + { + + public: + TextKeywordFilterRequest(); + ~TextKeywordFilterRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_TEXTKEYWORDFILTERREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/TextKeywordFilterResult.h b/green/include/alibabacloud/green/model/TextKeywordFilterResult.h new file mode 100644 index 000000000..113f60f3e --- /dev/null +++ b/green/include/alibabacloud/green/model/TextKeywordFilterResult.h @@ -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_GREEN_MODEL_TEXTKEYWORDFILTERRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_TEXTKEYWORDFILTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT TextKeywordFilterResult : public ServiceResult + { + public: + + + TextKeywordFilterResult(); + explicit TextKeywordFilterResult(const std::string &payload); + ~TextKeywordFilterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_TEXTKEYWORDFILTERRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateAppPackageRequest.h b/green/include/alibabacloud/green/model/UpdateAppPackageRequest.h new file mode 100644 index 000000000..44d722e4c --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateAppPackageRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEAPPPACKAGEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEAPPPACKAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateAppPackageRequest : public RpcServiceRequest + { + + public: + UpdateAppPackageRequest(); + ~UpdateAppPackageRequest(); + + bool getDebug()const; + void setDebug(bool debug); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPackageUrl()const; + void setPackageUrl(const std::string& packageUrl); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getPlatform()const; + void setPlatform(const std::string& platform); + + private: + bool debug_; + std::string sourceIp_; + std::string packageUrl_; + long id_; + std::string lang_; + std::string platform_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEAPPPACKAGEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateAppPackageResult.h b/green/include/alibabacloud/green/model/UpdateAppPackageResult.h new file mode 100644 index 000000000..b0921f9ea --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateAppPackageResult.h @@ -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_GREEN_MODEL_UPDATEAPPPACKAGERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEAPPPACKAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateAppPackageResult : public ServiceResult + { + public: + + + UpdateAppPackageResult(); + explicit UpdateAppPackageResult(const std::string &payload); + ~UpdateAppPackageResult(); + std::string getTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEAPPPACKAGERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateAuditSettingRequest.h b/green/include/alibabacloud/green/model/UpdateAuditSettingRequest.h new file mode 100644 index 000000000..0f8149fa2 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateAuditSettingRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEAUDITSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEAUDITSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateAuditSettingRequest : public RpcServiceRequest + { + + public: + UpdateAuditSettingRequest(); + ~UpdateAuditSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getSeed()const; + void setSeed(const std::string& seed); + std::string getAuditRange()const; + void setAuditRange(const std::string& auditRange); + std::string getCallback()const; + void setCallback(const std::string& callback); + + private: + std::string sourceIp_; + std::string seed_; + std::string auditRange_; + std::string callback_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEAUDITSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateAuditSettingResult.h b/green/include/alibabacloud/green/model/UpdateAuditSettingResult.h new file mode 100644 index 000000000..e6e5246f3 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateAuditSettingResult.h @@ -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_GREEN_MODEL_UPDATEAUDITSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEAUDITSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateAuditSettingResult : public ServiceResult + { + public: + + + UpdateAuditSettingResult(); + explicit UpdateAuditSettingResult(const std::string &payload); + ~UpdateAuditSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEAUDITSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h b/green/include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h new file mode 100644 index 000000000..369e23bd6 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPESETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPESETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateBizTypeSettingRequest : public RpcServiceRequest + { + + public: + UpdateBizTypeSettingRequest(); + ~UpdateBizTypeSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getTerrorism()const; + void setTerrorism(const std::string& terrorism); + std::string getBizTypeName()const; + void setBizTypeName(const std::string& bizTypeName); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getPorn()const; + void setPorn(const std::string& porn); + + private: + std::string sourceIp_; + std::string terrorism_; + std::string bizTypeName_; + std::string resourceType_; + std::string porn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPESETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateBizTypeSettingResult.h b/green/include/alibabacloud/green/model/UpdateBizTypeSettingResult.h new file mode 100644 index 000000000..ddb0b0df1 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateBizTypeSettingResult.h @@ -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_GREEN_MODEL_UPDATEBIZTYPESETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPESETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateBizTypeSettingResult : public ServiceResult + { + public: + + + UpdateBizTypeSettingResult(); + explicit UpdateBizTypeSettingResult(const std::string &payload); + ~UpdateBizTypeSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPESETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h b/green/include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h new file mode 100644 index 000000000..8820aa269 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATECUSTOMOCRTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATECUSTOMOCRTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateCustomOcrTemplateRequest : public RpcServiceRequest + { + + public: + UpdateCustomOcrTemplateRequest(); + ~UpdateCustomOcrTemplateRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getReferArea()const; + void setReferArea(const std::string& referArea); + std::string getRecognizeArea()const; + void setRecognizeArea(const std::string& recognizeArea); + std::string getName()const; + void setName(const std::string& name); + long getId()const; + void setId(long id); + + private: + std::string sourceIp_; + std::string referArea_; + std::string recognizeArea_; + std::string name_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATECUSTOMOCRTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h b/green/include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h new file mode 100644 index 000000000..828fffb8f --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h @@ -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_GREEN_MODEL_UPDATECUSTOMOCRTEMPLATERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATECUSTOMOCRTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateCustomOcrTemplateResult : public ServiceResult + { + public: + + + UpdateCustomOcrTemplateResult(); + explicit UpdateCustomOcrTemplateResult(const std::string &payload); + ~UpdateCustomOcrTemplateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATECUSTOMOCRTEMPLATERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateImageLibRequest.h b/green/include/alibabacloud/green/model/UpdateImageLibRequest.h new file mode 100644 index 000000000..9b8a2d092 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateImageLibRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEIMAGELIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEIMAGELIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateImageLibRequest : public RpcServiceRequest + { + + public: + UpdateImageLibRequest(); + ~UpdateImageLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + bool getEnable()const; + void setEnable(bool enable); + std::string getName()const; + void setName(const std::string& name); + std::string getBizTypes()const; + void setBizTypes(const std::string& bizTypes); + int getId()const; + void setId(int id); + std::string getCategory()const; + void setCategory(const std::string& category); + std::string getScene()const; + void setScene(const std::string& scene); + + private: + std::string sourceIp_; + bool enable_; + std::string name_; + std::string bizTypes_; + int id_; + std::string category_; + std::string scene_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEIMAGELIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateImageLibResult.h b/green/include/alibabacloud/green/model/UpdateImageLibResult.h new file mode 100644 index 000000000..4b4b5e2bb --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateImageLibResult.h @@ -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_GREEN_MODEL_UPDATEIMAGELIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEIMAGELIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateImageLibResult : public ServiceResult + { + public: + + + UpdateImageLibResult(); + explicit UpdateImageLibResult(const std::string &payload); + ~UpdateImageLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEIMAGELIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateKeywordLibRequest.h b/green/include/alibabacloud/green/model/UpdateKeywordLibRequest.h new file mode 100644 index 000000000..ec205d79f --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateKeywordLibRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEKEYWORDLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEKEYWORDLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateKeywordLibRequest : public RpcServiceRequest + { + + public: + UpdateKeywordLibRequest(); + ~UpdateKeywordLibRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + bool getEnable()const; + void setEnable(bool enable); + std::string getName()const; + void setName(const std::string& name); + std::string getBizTypes()const; + void setBizTypes(const std::string& bizTypes); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getMatchMode()const; + void setMatchMode(const std::string& matchMode); + + private: + std::string sourceIp_; + bool enable_; + std::string name_; + std::string bizTypes_; + int id_; + std::string lang_; + std::string matchMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEKEYWORDLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateKeywordLibResult.h b/green/include/alibabacloud/green/model/UpdateKeywordLibResult.h new file mode 100644 index 000000000..68eb42331 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateKeywordLibResult.h @@ -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_GREEN_MODEL_UPDATEKEYWORDLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEKEYWORDLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateKeywordLibResult : public ServiceResult + { + public: + + + UpdateKeywordLibResult(); + explicit UpdateKeywordLibResult(const std::string &payload); + ~UpdateKeywordLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEKEYWORDLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateNotificationSettingRequest.h b/green/include/alibabacloud/green/model/UpdateNotificationSettingRequest.h new file mode 100644 index 000000000..cd066b855 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateNotificationSettingRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATENOTIFICATIONSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATENOTIFICATIONSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateNotificationSettingRequest : public RpcServiceRequest + { + + public: + UpdateNotificationSettingRequest(); + ~UpdateNotificationSettingRequest(); + + std::string getRealtimeMessageList()const; + void setRealtimeMessageList(const std::string& realtimeMessageList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getReminderModeList()const; + void setReminderModeList(const std::string& reminderModeList); + int getScheduleMessageTime()const; + void setScheduleMessageTime(int scheduleMessageTime); + std::string getLang()const; + void setLang(const std::string& lang); + int getScheduleMessageTimeZone()const; + void setScheduleMessageTimeZone(int scheduleMessageTimeZone); + + private: + std::string realtimeMessageList_; + std::string sourceIp_; + std::string reminderModeList_; + int scheduleMessageTime_; + std::string lang_; + int scheduleMessageTimeZone_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATENOTIFICATIONSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateNotificationSettingResult.h b/green/include/alibabacloud/green/model/UpdateNotificationSettingResult.h new file mode 100644 index 000000000..673cb6074 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateNotificationSettingResult.h @@ -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_GREEN_MODEL_UPDATENOTIFICATIONSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATENOTIFICATIONSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateNotificationSettingResult : public ServiceResult + { + public: + + + UpdateNotificationSettingResult(); + explicit UpdateNotificationSettingResult(const std::string &payload); + ~UpdateNotificationSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATENOTIFICATIONSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h b/green/include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h new file mode 100644 index 000000000..e8ee91432 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEOSSCALLBACKSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEOSSCALLBACKSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateOssCallbackSettingRequest : public RpcServiceRequest + { + + public: + UpdateOssCallbackSettingRequest(); + ~UpdateOssCallbackSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + bool getScanCallback()const; + void setScanCallback(bool scanCallback); + std::string getScanCallbackSuggestions()const; + void setScanCallbackSuggestions(const std::string& scanCallbackSuggestions); + std::string getCallbackSeed()const; + void setCallbackSeed(const std::string& callbackSeed); + bool getAuditCallback()const; + void setAuditCallback(bool auditCallback); + std::string getCallbackUrl()const; + void setCallbackUrl(const std::string& callbackUrl); + std::string getServiceModules()const; + void setServiceModules(const std::string& serviceModules); + + private: + std::string sourceIp_; + bool scanCallback_; + std::string scanCallbackSuggestions_; + std::string callbackSeed_; + bool auditCallback_; + std::string callbackUrl_; + std::string serviceModules_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEOSSCALLBACKSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h b/green/include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h new file mode 100644 index 000000000..08b9138a2 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h @@ -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_GREEN_MODEL_UPDATEOSSCALLBACKSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEOSSCALLBACKSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateOssCallbackSettingResult : public ServiceResult + { + public: + + + UpdateOssCallbackSettingResult(); + explicit UpdateOssCallbackSettingResult(const std::string &payload); + ~UpdateOssCallbackSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEOSSCALLBACKSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h b/green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h new file mode 100644 index 000000000..63f95c657 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEOSSINCREMENTCHECKSETTINGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEOSSINCREMENTCHECKSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateOssIncrementCheckSettingRequest : public RpcServiceRequest + { + + public: + UpdateOssIncrementCheckSettingRequest(); + ~UpdateOssIncrementCheckSettingRequest(); + + std::string getImageAutoFreeze()const; + void setImageAutoFreeze(const std::string& imageAutoFreeze); + std::string getVideoSceneList()const; + void setVideoSceneList(const std::string& videoSceneList); + std::string getAutoFreezeType()const; + void setAutoFreezeType(const std::string& autoFreezeType); + std::string getImageSceneList()const; + void setImageSceneList(const std::string& imageSceneList); + std::string getBucketConfigList()const; + void setBucketConfigList(const std::string& bucketConfigList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getImageScanLimit()const; + void setImageScanLimit(const std::string& imageScanLimit); + std::string getVideoAutoFreezeSceneList()const; + void setVideoAutoFreezeSceneList(const std::string& videoAutoFreezeSceneList); + int getVideoFrameInterval()const; + void setVideoFrameInterval(int videoFrameInterval); + int getVideoMaxSize()const; + void setVideoMaxSize(int videoMaxSize); + std::string getLang()const; + void setLang(const std::string& lang); + int getVideoMaxFrames()const; + void setVideoMaxFrames(int videoMaxFrames); + + private: + std::string imageAutoFreeze_; + std::string videoSceneList_; + std::string autoFreezeType_; + std::string imageSceneList_; + std::string bucketConfigList_; + std::string sourceIp_; + std::string imageScanLimit_; + std::string videoAutoFreezeSceneList_; + int videoFrameInterval_; + int videoMaxSize_; + std::string lang_; + int videoMaxFrames_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEOSSINCREMENTCHECKSETTINGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h b/green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h new file mode 100644 index 000000000..122fdba72 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h @@ -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_GREEN_MODEL_UPDATEOSSINCREMENTCHECKSETTINGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEOSSINCREMENTCHECKSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateOssIncrementCheckSettingResult : public ServiceResult + { + public: + + + UpdateOssIncrementCheckSettingResult(); + explicit UpdateOssIncrementCheckSettingResult(const std::string &payload); + ~UpdateOssIncrementCheckSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEOSSINCREMENTCHECKSETTINGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateOssStockStatusRequest.h b/green/include/alibabacloud/green/model/UpdateOssStockStatusRequest.h new file mode 100644 index 000000000..dc8a71d2a --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateOssStockStatusRequest.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEOSSSTOCKSTATUSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEOSSSTOCKSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateOssStockStatusRequest : public RpcServiceRequest + { + + public: + UpdateOssStockStatusRequest(); + ~UpdateOssStockStatusRequest(); + + std::string getImageAutoFreeze()const; + void setImageAutoFreeze(const std::string& imageAutoFreeze); + std::string getResourceTypeList()const; + void setResourceTypeList(const std::string& resourceTypeList); + int getVideoFrameInterval()const; + void setVideoFrameInterval(int videoFrameInterval); + int getVideoMaxSize()const; + void setVideoMaxSize(int videoMaxSize); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getAutoFreezeType()const; + void setAutoFreezeType(const std::string& autoFreezeType); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getBucketConfigList()const; + void setBucketConfigList(const std::string& bucketConfigList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getSceneList()const; + void setSceneList(const std::string& sceneList); + std::string getVideoAutoFreezeSceneList()const; + void setVideoAutoFreezeSceneList(const std::string& videoAutoFreezeSceneList); + std::string getLang()const; + void setLang(const std::string& lang); + int getVideoMaxFrames()const; + void setVideoMaxFrames(int videoMaxFrames); + std::string getOperation()const; + void setOperation(const std::string& operation); + + private: + std::string imageAutoFreeze_; + std::string resourceTypeList_; + int videoFrameInterval_; + int videoMaxSize_; + std::string startDate_; + std::string autoFreezeType_; + std::string endDate_; + std::string bucketConfigList_; + std::string sourceIp_; + std::string sceneList_; + std::string videoAutoFreezeSceneList_; + std::string lang_; + int videoMaxFrames_; + std::string operation_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEOSSSTOCKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateOssStockStatusResult.h b/green/include/alibabacloud/green/model/UpdateOssStockStatusResult.h new file mode 100644 index 000000000..11df76cb1 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateOssStockStatusResult.h @@ -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_GREEN_MODEL_UPDATEOSSSTOCKSTATUSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEOSSSTOCKSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateOssStockStatusResult : public ServiceResult + { + public: + + + UpdateOssStockStatusResult(); + explicit UpdateOssStockStatusResult(const std::string &payload); + ~UpdateOssStockStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEOSSSTOCKSTATUSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h new file mode 100644 index 000000000..fb6f623d5 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEKEYURLREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEKEYURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateWebsiteInstanceKeyUrlRequest : public RpcServiceRequest + { + + public: + UpdateWebsiteInstanceKeyUrlRequest(); + ~UpdateWebsiteInstanceKeyUrlRequest(); + + std::string getUrls()const; + void setUrls(const std::string& urls); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string urls_; + std::string instanceId_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEKEYURLREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h new file mode 100644 index 000000000..c897c047c --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h @@ -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_GREEN_MODEL_UPDATEWEBSITEINSTANCEKEYURLRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEKEYURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateWebsiteInstanceKeyUrlResult : public ServiceResult + { + public: + + + UpdateWebsiteInstanceKeyUrlResult(); + explicit UpdateWebsiteInstanceKeyUrlResult(const std::string &payload); + ~UpdateWebsiteInstanceKeyUrlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEKEYURLRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h new file mode 100644 index 000000000..5f698ddb0 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h @@ -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_GREEN_MODEL_UPDATEWEBSITEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateWebsiteInstanceRequest : public RpcServiceRequest + { + + public: + UpdateWebsiteInstanceRequest(); + ~UpdateWebsiteInstanceRequest(); + + std::string getSiteProtocol()const; + void setSiteProtocol(const std::string& siteProtocol); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getWebsiteScanInterval()const; + void setWebsiteScanInterval(int websiteScanInterval); + std::string getDomain()const; + void setDomain(const std::string& domain); + std::string getIndexPage()const; + void setIndexPage(const std::string& indexPage); + std::string getLang()const; + void setLang(const std::string& lang); + int getIndexPageScanInterval()const; + void setIndexPageScanInterval(int indexPageScanInterval); + + private: + std::string siteProtocol_; + std::string instanceId_; + std::string sourceIp_; + int websiteScanInterval_; + std::string domain_; + std::string indexPage_; + std::string lang_; + int indexPageScanInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h new file mode 100644 index 000000000..7b03b5ecf --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h @@ -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_GREEN_MODEL_UPDATEWEBSITEINSTANCERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateWebsiteInstanceResult : public ServiceResult + { + public: + + + UpdateWebsiteInstanceResult(); + explicit UpdateWebsiteInstanceResult(const std::string &payload); + ~UpdateWebsiteInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h new file mode 100644 index 000000000..f1195d045 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCESTATUSREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCESTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateWebsiteInstanceStatusRequest : public RpcServiceRequest + { + + public: + UpdateWebsiteInstanceStatusRequest(); + ~UpdateWebsiteInstanceStatusRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string instanceId_; + std::string sourceIp_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCESTATUSREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h new file mode 100644 index 000000000..803af313a --- /dev/null +++ b/green/include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h @@ -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_GREEN_MODEL_UPDATEWEBSITEINSTANCESTATUSRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpdateWebsiteInstanceStatusResult : public ServiceResult + { + public: + + + UpdateWebsiteInstanceStatusResult(); + explicit UpdateWebsiteInstanceStatusResult(const std::string &payload); + ~UpdateWebsiteInstanceStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEWEBSITEINSTANCESTATUSRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h b/green/include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h new file mode 100644 index 000000000..f67f9897d --- /dev/null +++ b/green/include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPGRADECDIBASEBAGREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPGRADECDIBASEBAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpgradeCdiBaseBagRequest : public RpcServiceRequest + { + + public: + UpgradeCdiBaseBagRequest(); + ~UpgradeCdiBaseBagRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getCommodityCode()const; + void setCommodityCode(const std::string& commodityCode); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getFlowOutSpec()const; + void setFlowOutSpec(int flowOutSpec); + std::string getOrderType()const; + void setOrderType(const std::string& orderType); + + private: + std::string instanceId_; + std::string clientToken_; + std::string commodityCode_; + long ownerId_; + int flowOutSpec_; + std::string orderType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPGRADECDIBASEBAGREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h b/green/include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h new file mode 100644 index 000000000..11e1830d6 --- /dev/null +++ b/green/include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPGRADECDIBASEBAGRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPGRADECDIBASEBAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UpgradeCdiBaseBagResult : public ServiceResult + { + public: + + + UpgradeCdiBaseBagResult(); + explicit UpgradeCdiBaseBagResult(const std::string &payload); + ~UpgradeCdiBaseBagResult(); + std::string getMessage()const; + std::string getInstanceId()const; + std::string getOrderId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string instanceId_; + std::string orderId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPGRADECDIBASEBAGRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UploadImageToLibRequest.h b/green/include/alibabacloud/green/model/UploadImageToLibRequest.h new file mode 100644 index 000000000..1ecd769fc --- /dev/null +++ b/green/include/alibabacloud/green/model/UploadImageToLibRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_UPLOADIMAGETOLIBREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPLOADIMAGETOLIBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UploadImageToLibRequest : public RpcServiceRequest + { + + public: + UploadImageToLibRequest(); + ~UploadImageToLibRequest(); + + std::string getImages()const; + void setImages(const std::string& images); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getImageLibId()const; + void setImageLibId(int imageLibId); + + private: + std::string images_; + std::string sourceIp_; + int imageLibId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPLOADIMAGETOLIBREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/UploadImageToLibResult.h b/green/include/alibabacloud/green/model/UploadImageToLibResult.h new file mode 100644 index 000000000..8f28db79d --- /dev/null +++ b/green/include/alibabacloud/green/model/UploadImageToLibResult.h @@ -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_GREEN_MODEL_UPLOADIMAGETOLIBRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_UPLOADIMAGETOLIBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT UploadImageToLibResult : public ServiceResult + { + public: + + + UploadImageToLibResult(); + explicit UploadImageToLibResult(const std::string &payload); + ~UploadImageToLibResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_UPLOADIMAGETOLIBRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h b/green/include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h new file mode 100644 index 000000000..fd5b8c9cc --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VERIFYCUSTOMOCRTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYCUSTOMOCRTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyCustomOcrTemplateRequest : public RpcServiceRequest + { + + public: + VerifyCustomOcrTemplateRequest(); + ~VerifyCustomOcrTemplateRequest(); + + std::string getTestImgUrl()const; + void setTestImgUrl(const std::string& testImgUrl); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getId()const; + void setId(long id); + + private: + std::string testImgUrl_; + std::string sourceIp_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYCUSTOMOCRTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h b/green/include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h new file mode 100644 index 000000000..91d63b037 --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VERIFYCUSTOMOCRTEMPLATERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYCUSTOMOCRTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyCustomOcrTemplateResult : public ServiceResult + { + public: + + + VerifyCustomOcrTemplateResult(); + explicit VerifyCustomOcrTemplateResult(const std::string &payload); + ~VerifyCustomOcrTemplateResult(); + std::string getImageUrl()const; + std::string getRecognizeInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::string imageUrl_; + std::string recognizeInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYCUSTOMOCRTEMPLATERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyEmailRequest.h b/green/include/alibabacloud/green/model/VerifyEmailRequest.h new file mode 100644 index 000000000..dc1ec1ae9 --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyEmailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VERIFYEMAILREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYEMAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyEmailRequest : public RpcServiceRequest + { + + public: + VerifyEmailRequest(); + ~VerifyEmailRequest(); + + std::string getVerifyCode()const; + void setVerifyCode(const std::string& verifyCode); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string verifyCode_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYEMAILREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyEmailResult.h b/green/include/alibabacloud/green/model/VerifyEmailResult.h new file mode 100644 index 000000000..d4172c346 --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyEmailResult.h @@ -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_GREEN_MODEL_VERIFYEMAILRESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYEMAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyEmailResult : public ServiceResult + { + public: + + + VerifyEmailResult(); + explicit VerifyEmailResult(const std::string &payload); + ~VerifyEmailResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYEMAILRESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyPhoneRequest.h b/green/include/alibabacloud/green/model/VerifyPhoneRequest.h new file mode 100644 index 000000000..566a4e7f3 --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyPhoneRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VERIFYPHONEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYPHONEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyPhoneRequest : public RpcServiceRequest + { + + public: + VerifyPhoneRequest(); + ~VerifyPhoneRequest(); + + std::string getVerifyCode()const; + void setVerifyCode(const std::string& verifyCode); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPhone()const; + void setPhone(const std::string& phone); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string verifyCode_; + std::string sourceIp_; + std::string phone_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYPHONEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyPhoneResult.h b/green/include/alibabacloud/green/model/VerifyPhoneResult.h new file mode 100644 index 000000000..ed425fce5 --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyPhoneResult.h @@ -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_GREEN_MODEL_VERIFYPHONERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYPHONERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyPhoneResult : public ServiceResult + { + public: + + + VerifyPhoneResult(); + explicit VerifyPhoneResult(const std::string &payload); + ~VerifyPhoneResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYPHONERESULT_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h b/green/include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h new file mode 100644 index 000000000..e85fd4c8b --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_GREEN_MODEL_VERIFYWEBSITEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYWEBSITEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyWebsiteInstanceRequest : public RpcServiceRequest + { + + public: + VerifyWebsiteInstanceRequest(); + ~VerifyWebsiteInstanceRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVerifyMethod()const; + void setVerifyMethod(const std::string& verifyMethod); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string instanceId_; + std::string sourceIp_; + std::string verifyMethod_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYWEBSITEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/green/include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h b/green/include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h new file mode 100644 index 000000000..75dcdabe8 --- /dev/null +++ b/green/include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h @@ -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_GREEN_MODEL_VERIFYWEBSITEINSTANCERESULT_H_ +#define ALIBABACLOUD_GREEN_MODEL_VERIFYWEBSITEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Green + { + namespace Model + { + class ALIBABACLOUD_GREEN_EXPORT VerifyWebsiteInstanceResult : public ServiceResult + { + public: + + + VerifyWebsiteInstanceResult(); + explicit VerifyWebsiteInstanceResult(const std::string &payload); + ~VerifyWebsiteInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_GREEN_MODEL_VERIFYWEBSITEINSTANCERESULT_H_ \ No newline at end of file diff --git a/green/src/GreenClient.cc b/green/src/GreenClient.cc index 809d47e6a..c5204f94d 100755 --- a/green/src/GreenClient.cc +++ b/green/src/GreenClient.cc @@ -28,21 +28,21 @@ namespace } GreenClient::GreenClient(const Credentials &credentials, const ClientConfiguration &configuration) : - RoaServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) { auto locationClient = std::make_shared(credentials, configuration); endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "green"); } GreenClient::GreenClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : - RoaServiceClient(SERVICE_NAME, credentialsProvider, configuration) + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) { auto locationClient = std::make_shared(credentialsProvider, configuration); endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "green"); } GreenClient::GreenClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : - RoaServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) { auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "green"); @@ -51,180 +51,180 @@ GreenClient::GreenClient(const std::string & accessKeyId, const std::string & ac GreenClient::~GreenClient() {} -GreenClient::ImageSyncScanOutcome GreenClient::imageSyncScan(const ImageSyncScanRequest &request) const +GreenClient::DescribeWebsiteIndexPageBaselineOutcome GreenClient::describeWebsiteIndexPageBaseline(const DescribeWebsiteIndexPageBaselineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ImageSyncScanOutcome(endpointOutcome.error()); + return DescribeWebsiteIndexPageBaselineOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ImageSyncScanOutcome(ImageSyncScanResult(outcome.result())); + return DescribeWebsiteIndexPageBaselineOutcome(DescribeWebsiteIndexPageBaselineResult(outcome.result())); else - return ImageSyncScanOutcome(outcome.error()); + return DescribeWebsiteIndexPageBaselineOutcome(outcome.error()); } -void GreenClient::imageSyncScanAsync(const ImageSyncScanRequest& request, const ImageSyncScanAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeWebsiteIndexPageBaselineAsync(const DescribeWebsiteIndexPageBaselineRequest& request, const DescribeWebsiteIndexPageBaselineAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, imageSyncScan(request), context); + handler(this, request, describeWebsiteIndexPageBaseline(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::ImageSyncScanOutcomeCallable GreenClient::imageSyncScanCallable(const ImageSyncScanRequest &request) const +GreenClient::DescribeWebsiteIndexPageBaselineOutcomeCallable GreenClient::describeWebsiteIndexPageBaselineCallable(const DescribeWebsiteIndexPageBaselineRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->imageSyncScan(request); + return this->describeWebsiteIndexPageBaseline(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::UploadCredentialsOutcome GreenClient::uploadCredentials(const UploadCredentialsRequest &request) const +GreenClient::VerifyCustomOcrTemplateOutcome GreenClient::verifyCustomOcrTemplate(const VerifyCustomOcrTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return UploadCredentialsOutcome(endpointOutcome.error()); + return VerifyCustomOcrTemplateOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return UploadCredentialsOutcome(UploadCredentialsResult(outcome.result())); + return VerifyCustomOcrTemplateOutcome(VerifyCustomOcrTemplateResult(outcome.result())); else - return UploadCredentialsOutcome(outcome.error()); + return VerifyCustomOcrTemplateOutcome(outcome.error()); } -void GreenClient::uploadCredentialsAsync(const UploadCredentialsRequest& request, const UploadCredentialsAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::verifyCustomOcrTemplateAsync(const VerifyCustomOcrTemplateRequest& request, const VerifyCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, uploadCredentials(request), context); + handler(this, request, verifyCustomOcrTemplate(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::UploadCredentialsOutcomeCallable GreenClient::uploadCredentialsCallable(const UploadCredentialsRequest &request) const +GreenClient::VerifyCustomOcrTemplateOutcomeCallable GreenClient::verifyCustomOcrTemplateCallable(const VerifyCustomOcrTemplateRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->uploadCredentials(request); + return this->verifyCustomOcrTemplate(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::GetPersonsOutcome GreenClient::getPersons(const GetPersonsRequest &request) const +GreenClient::DescribeOssIncrementCheckSettingOutcome GreenClient::describeOssIncrementCheckSetting(const DescribeOssIncrementCheckSettingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetPersonsOutcome(endpointOutcome.error()); + return DescribeOssIncrementCheckSettingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetPersonsOutcome(GetPersonsResult(outcome.result())); + return DescribeOssIncrementCheckSettingOutcome(DescribeOssIncrementCheckSettingResult(outcome.result())); else - return GetPersonsOutcome(outcome.error()); + return DescribeOssIncrementCheckSettingOutcome(outcome.error()); } -void GreenClient::getPersonsAsync(const GetPersonsRequest& request, const GetPersonsAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeOssIncrementCheckSettingAsync(const DescribeOssIncrementCheckSettingRequest& request, const DescribeOssIncrementCheckSettingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getPersons(request), context); + handler(this, request, describeOssIncrementCheckSetting(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::GetPersonsOutcomeCallable GreenClient::getPersonsCallable(const GetPersonsRequest &request) const +GreenClient::DescribeOssIncrementCheckSettingOutcomeCallable GreenClient::describeOssIncrementCheckSettingCallable(const DescribeOssIncrementCheckSettingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getPersons(request); + return this->describeOssIncrementCheckSetting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::GetPersonOutcome GreenClient::getPerson(const GetPersonRequest &request) const +GreenClient::DescribeWebsiteScanResultOutcome GreenClient::describeWebsiteScanResult(const DescribeWebsiteScanResultRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetPersonOutcome(endpointOutcome.error()); + return DescribeWebsiteScanResultOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetPersonOutcome(GetPersonResult(outcome.result())); + return DescribeWebsiteScanResultOutcome(DescribeWebsiteScanResultResult(outcome.result())); else - return GetPersonOutcome(outcome.error()); + return DescribeWebsiteScanResultOutcome(outcome.error()); } -void GreenClient::getPersonAsync(const GetPersonRequest& request, const GetPersonAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeWebsiteScanResultAsync(const DescribeWebsiteScanResultRequest& request, const DescribeWebsiteScanResultAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getPerson(request), context); + handler(this, request, describeWebsiteScanResult(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::GetPersonOutcomeCallable GreenClient::getPersonCallable(const GetPersonRequest &request) const +GreenClient::DescribeWebsiteScanResultOutcomeCallable GreenClient::describeWebsiteScanResultCallable(const DescribeWebsiteScanResultRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getPerson(request); + return this->describeWebsiteScanResult(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::DeleteFacesOutcome GreenClient::deleteFaces(const DeleteFacesRequest &request) const +GreenClient::UpdateAppPackageOutcome GreenClient::updateAppPackage(const UpdateAppPackageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteFacesOutcome(endpointOutcome.error()); + return UpdateAppPackageOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteFacesOutcome(DeleteFacesResult(outcome.result())); + return UpdateAppPackageOutcome(UpdateAppPackageResult(outcome.result())); else - return DeleteFacesOutcome(outcome.error()); + return UpdateAppPackageOutcome(outcome.error()); } -void GreenClient::deleteFacesAsync(const DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::updateAppPackageAsync(const UpdateAppPackageRequest& request, const UpdateAppPackageAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteFaces(request), context); + handler(this, request, updateAppPackage(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::DeleteFacesOutcomeCallable GreenClient::deleteFacesCallable(const DeleteFacesRequest &request) const +GreenClient::UpdateAppPackageOutcomeCallable GreenClient::updateAppPackageCallable(const UpdateAppPackageRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteFaces(request); + return this->updateAppPackage(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -267,180 +267,72 @@ GreenClient::DeleteVideoDnaGroupOutcomeCallable GreenClient::deleteVideoDnaGroup return task->get_future(); } -GreenClient::AddVideoDnaOutcome GreenClient::addVideoDna(const AddVideoDnaRequest &request) const +GreenClient::UpdateOssCallbackSettingOutcome GreenClient::updateOssCallbackSetting(const UpdateOssCallbackSettingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AddVideoDnaOutcome(endpointOutcome.error()); + return UpdateOssCallbackSettingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AddVideoDnaOutcome(AddVideoDnaResult(outcome.result())); + return UpdateOssCallbackSettingOutcome(UpdateOssCallbackSettingResult(outcome.result())); else - return AddVideoDnaOutcome(outcome.error()); + return UpdateOssCallbackSettingOutcome(outcome.error()); } -void GreenClient::addVideoDnaAsync(const AddVideoDnaRequest& request, const AddVideoDnaAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::updateOssCallbackSettingAsync(const UpdateOssCallbackSettingRequest& request, const UpdateOssCallbackSettingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, addVideoDna(request), context); + handler(this, request, updateOssCallbackSetting(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::AddVideoDnaOutcomeCallable GreenClient::addVideoDnaCallable(const AddVideoDnaRequest &request) const +GreenClient::UpdateOssCallbackSettingOutcomeCallable GreenClient::updateOssCallbackSettingCallable(const UpdateOssCallbackSettingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->addVideoDna(request); + return this->updateOssCallbackSetting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::VideoFeedbackOutcome GreenClient::videoFeedback(const VideoFeedbackRequest &request) const +GreenClient::DescribeWebsiteInstanceKeyUrlOutcome GreenClient::describeWebsiteInstanceKeyUrl(const DescribeWebsiteInstanceKeyUrlRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return VideoFeedbackOutcome(endpointOutcome.error()); + return DescribeWebsiteInstanceKeyUrlOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return VideoFeedbackOutcome(VideoFeedbackResult(outcome.result())); + return DescribeWebsiteInstanceKeyUrlOutcome(DescribeWebsiteInstanceKeyUrlResult(outcome.result())); else - return VideoFeedbackOutcome(outcome.error()); + return DescribeWebsiteInstanceKeyUrlOutcome(outcome.error()); } -void GreenClient::videoFeedbackAsync(const VideoFeedbackRequest& request, const VideoFeedbackAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeWebsiteInstanceKeyUrlAsync(const DescribeWebsiteInstanceKeyUrlRequest& request, const DescribeWebsiteInstanceKeyUrlAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, videoFeedback(request), context); + handler(this, request, describeWebsiteInstanceKeyUrl(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::VideoFeedbackOutcomeCallable GreenClient::videoFeedbackCallable(const VideoFeedbackRequest &request) const +GreenClient::DescribeWebsiteInstanceKeyUrlOutcomeCallable GreenClient::describeWebsiteInstanceKeyUrlCallable(const DescribeWebsiteInstanceKeyUrlRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->videoFeedback(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::DeletePersonOutcome GreenClient::deletePerson(const DeletePersonRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeletePersonOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeletePersonOutcome(DeletePersonResult(outcome.result())); - else - return DeletePersonOutcome(outcome.error()); -} - -void GreenClient::deletePersonAsync(const DeletePersonRequest& request, const DeletePersonAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deletePerson(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::DeletePersonOutcomeCallable GreenClient::deletePersonCallable(const DeletePersonRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deletePerson(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::VideoSyncScanOutcome GreenClient::videoSyncScan(const VideoSyncScanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return VideoSyncScanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return VideoSyncScanOutcome(VideoSyncScanResult(outcome.result())); - else - return VideoSyncScanOutcome(outcome.error()); -} - -void GreenClient::videoSyncScanAsync(const VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, videoSyncScan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::VideoSyncScanOutcomeCallable GreenClient::videoSyncScanCallable(const VideoSyncScanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->videoSyncScan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::VideoAsyncScanResultsOutcome GreenClient::videoAsyncScanResults(const VideoAsyncScanResultsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return VideoAsyncScanResultsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return VideoAsyncScanResultsOutcome(VideoAsyncScanResultsResult(outcome.result())); - else - return VideoAsyncScanResultsOutcome(outcome.error()); -} - -void GreenClient::videoAsyncScanResultsAsync(const VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, videoAsyncScanResults(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::VideoAsyncScanResultsOutcomeCallable GreenClient::videoAsyncScanResultsCallable(const VideoAsyncScanResultsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->videoAsyncScanResults(request); + return this->describeWebsiteInstanceKeyUrl(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -483,36 +375,72 @@ GreenClient::DeleteVideoDnaOutcomeCallable GreenClient::deleteVideoDnaCallable(c return task->get_future(); } -GreenClient::AddGroupsOutcome GreenClient::addGroups(const AddGroupsRequest &request) const +GreenClient::RefundCdiBaseBagOutcome GreenClient::refundCdiBaseBag(const RefundCdiBaseBagRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AddGroupsOutcome(endpointOutcome.error()); + return RefundCdiBaseBagOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AddGroupsOutcome(AddGroupsResult(outcome.result())); + return RefundCdiBaseBagOutcome(RefundCdiBaseBagResult(outcome.result())); else - return AddGroupsOutcome(outcome.error()); + return RefundCdiBaseBagOutcome(outcome.error()); } -void GreenClient::addGroupsAsync(const AddGroupsRequest& request, const AddGroupsAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::refundCdiBaseBagAsync(const RefundCdiBaseBagRequest& request, const RefundCdiBaseBagAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, addGroups(request), context); + handler(this, request, refundCdiBaseBag(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::AddGroupsOutcomeCallable GreenClient::addGroupsCallable(const AddGroupsRequest &request) const +GreenClient::RefundCdiBaseBagOutcomeCallable GreenClient::refundCdiBaseBagCallable(const RefundCdiBaseBagRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->addGroups(request); + return this->refundCdiBaseBag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateBizTypeSettingOutcome GreenClient::updateBizTypeSetting(const UpdateBizTypeSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateBizTypeSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateBizTypeSettingOutcome(UpdateBizTypeSettingResult(outcome.result())); + else + return UpdateBizTypeSettingOutcome(outcome.error()); +} + +void GreenClient::updateBizTypeSettingAsync(const UpdateBizTypeSettingRequest& request, const UpdateBizTypeSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateBizTypeSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateBizTypeSettingOutcomeCallable GreenClient::updateBizTypeSettingCallable(const UpdateBizTypeSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateBizTypeSetting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -555,6 +483,2490 @@ GreenClient::FileAsyncScanOutcomeCallable GreenClient::fileAsyncScanCallable(con return task->get_future(); } +GreenClient::DescribeOssResultItemsOutcome GreenClient::describeOssResultItems(const DescribeOssResultItemsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOssResultItemsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOssResultItemsOutcome(DescribeOssResultItemsResult(outcome.result())); + else + return DescribeOssResultItemsOutcome(outcome.error()); +} + +void GreenClient::describeOssResultItemsAsync(const DescribeOssResultItemsRequest& request, const DescribeOssResultItemsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOssResultItems(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeOssResultItemsOutcomeCallable GreenClient::describeOssResultItemsCallable(const DescribeOssResultItemsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOssResultItems(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateWebsiteInstanceStatusOutcome GreenClient::updateWebsiteInstanceStatus(const UpdateWebsiteInstanceStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWebsiteInstanceStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWebsiteInstanceStatusOutcome(UpdateWebsiteInstanceStatusResult(outcome.result())); + else + return UpdateWebsiteInstanceStatusOutcome(outcome.error()); +} + +void GreenClient::updateWebsiteInstanceStatusAsync(const UpdateWebsiteInstanceStatusRequest& request, const UpdateWebsiteInstanceStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWebsiteInstanceStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateWebsiteInstanceStatusOutcomeCallable GreenClient::updateWebsiteInstanceStatusCallable(const UpdateWebsiteInstanceStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWebsiteInstanceStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeBizTypesOutcome GreenClient::describeBizTypes(const DescribeBizTypesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBizTypesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBizTypesOutcome(DescribeBizTypesResult(outcome.result())); + else + return DescribeBizTypesOutcome(outcome.error()); +} + +void GreenClient::describeBizTypesAsync(const DescribeBizTypesRequest& request, const DescribeBizTypesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBizTypes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeBizTypesOutcomeCallable GreenClient::describeBizTypesCallable(const DescribeBizTypesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBizTypes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::RefundCdiBagOutcome GreenClient::refundCdiBag(const RefundCdiBagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefundCdiBagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefundCdiBagOutcome(RefundCdiBagResult(outcome.result())); + else + return RefundCdiBagOutcome(outcome.error()); +} + +void GreenClient::refundCdiBagAsync(const RefundCdiBagRequest& request, const RefundCdiBagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refundCdiBag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::RefundCdiBagOutcomeCallable GreenClient::refundCdiBagCallable(const RefundCdiBagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refundCdiBag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteImageFromLibOutcome GreenClient::deleteImageFromLib(const DeleteImageFromLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteImageFromLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteImageFromLibOutcome(DeleteImageFromLibResult(outcome.result())); + else + return DeleteImageFromLibOutcome(outcome.error()); +} + +void GreenClient::deleteImageFromLibAsync(const DeleteImageFromLibRequest& request, const DeleteImageFromLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteImageFromLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteImageFromLibOutcomeCallable GreenClient::deleteImageFromLibCallable(const DeleteImageFromLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteImageFromLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateCdiBaseBagOutcome GreenClient::createCdiBaseBag(const CreateCdiBaseBagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdiBaseBagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdiBaseBagOutcome(CreateCdiBaseBagResult(outcome.result())); + else + return CreateCdiBaseBagOutcome(outcome.error()); +} + +void GreenClient::createCdiBaseBagAsync(const CreateCdiBaseBagRequest& request, const CreateCdiBaseBagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdiBaseBag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateCdiBaseBagOutcomeCallable GreenClient::createCdiBaseBagCallable(const CreateCdiBaseBagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdiBaseBag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VerifyPhoneOutcome GreenClient::verifyPhone(const VerifyPhoneRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VerifyPhoneOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VerifyPhoneOutcome(VerifyPhoneResult(outcome.result())); + else + return VerifyPhoneOutcome(outcome.error()); +} + +void GreenClient::verifyPhoneAsync(const VerifyPhoneRequest& request, const VerifyPhoneAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, verifyPhone(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VerifyPhoneOutcomeCallable GreenClient::verifyPhoneCallable(const VerifyPhoneRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->verifyPhone(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ImageDetectionOutcome GreenClient::imageDetection(const ImageDetectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImageDetectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImageDetectionOutcome(ImageDetectionResult(outcome.result())); + else + return ImageDetectionOutcome(outcome.error()); +} + +void GreenClient::imageDetectionAsync(const ImageDetectionRequest& request, const ImageDetectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, imageDetection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ImageDetectionOutcomeCallable GreenClient::imageDetectionCallable(const ImageDetectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->imageDetection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteKeywordLibOutcome GreenClient::deleteKeywordLib(const DeleteKeywordLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteKeywordLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteKeywordLibOutcome(DeleteKeywordLibResult(outcome.result())); + else + return DeleteKeywordLibOutcome(outcome.error()); +} + +void GreenClient::deleteKeywordLibAsync(const DeleteKeywordLibRequest& request, const DeleteKeywordLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteKeywordLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteKeywordLibOutcomeCallable GreenClient::deleteKeywordLibCallable(const DeleteKeywordLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteKeywordLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ImportKeywordsOutcome GreenClient::importKeywords(const ImportKeywordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportKeywordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportKeywordsOutcome(ImportKeywordsResult(outcome.result())); + else + return ImportKeywordsOutcome(outcome.error()); +} + +void GreenClient::importKeywordsAsync(const ImportKeywordsRequest& request, const ImportKeywordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importKeywords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ImportKeywordsOutcomeCallable GreenClient::importKeywordsCallable(const ImportKeywordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importKeywords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VoiceCancelScanOutcome GreenClient::voiceCancelScan(const VoiceCancelScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VoiceCancelScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VoiceCancelScanOutcome(VoiceCancelScanResult(outcome.result())); + else + return VoiceCancelScanOutcome(outcome.error()); +} + +void GreenClient::voiceCancelScanAsync(const VoiceCancelScanRequest& request, const VoiceCancelScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, voiceCancelScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VoiceCancelScanOutcomeCallable GreenClient::voiceCancelScanCallable(const VoiceCancelScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->voiceCancelScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::SendWebsiteFeedbackOutcome GreenClient::sendWebsiteFeedback(const SendWebsiteFeedbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendWebsiteFeedbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendWebsiteFeedbackOutcome(SendWebsiteFeedbackResult(outcome.result())); + else + return SendWebsiteFeedbackOutcome(outcome.error()); +} + +void GreenClient::sendWebsiteFeedbackAsync(const SendWebsiteFeedbackRequest& request, const SendWebsiteFeedbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendWebsiteFeedback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::SendWebsiteFeedbackOutcomeCallable GreenClient::sendWebsiteFeedbackCallable(const SendWebsiteFeedbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendWebsiteFeedback(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeImageFromLibOutcome GreenClient::describeImageFromLib(const DescribeImageFromLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImageFromLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImageFromLibOutcome(DescribeImageFromLibResult(outcome.result())); + else + return DescribeImageFromLibOutcome(outcome.error()); +} + +void GreenClient::describeImageFromLibAsync(const DescribeImageFromLibRequest& request, const DescribeImageFromLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImageFromLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeImageFromLibOutcomeCallable GreenClient::describeImageFromLibCallable(const DescribeImageFromLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImageFromLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::RenewWebSiteInstanceOutcome GreenClient::renewWebSiteInstance(const RenewWebSiteInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RenewWebSiteInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RenewWebSiteInstanceOutcome(RenewWebSiteInstanceResult(outcome.result())); + else + return RenewWebSiteInstanceOutcome(outcome.error()); +} + +void GreenClient::renewWebSiteInstanceAsync(const RenewWebSiteInstanceRequest& request, const RenewWebSiteInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, renewWebSiteInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::RenewWebSiteInstanceOutcomeCallable GreenClient::renewWebSiteInstanceCallable(const RenewWebSiteInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->renewWebSiteInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeViewContentOutcome GreenClient::describeViewContent(const DescribeViewContentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeViewContentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeViewContentOutcome(DescribeViewContentResult(outcome.result())); + else + return DescribeViewContentOutcome(outcome.error()); +} + +void GreenClient::describeViewContentAsync(const DescribeViewContentRequest& request, const DescribeViewContentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeViewContent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeViewContentOutcomeCallable GreenClient::describeViewContentCallable(const DescribeViewContentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeViewContent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VoiceIdentityRegisterOutcome GreenClient::voiceIdentityRegister(const VoiceIdentityRegisterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VoiceIdentityRegisterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VoiceIdentityRegisterOutcome(VoiceIdentityRegisterResult(outcome.result())); + else + return VoiceIdentityRegisterOutcome(outcome.error()); +} + +void GreenClient::voiceIdentityRegisterAsync(const VoiceIdentityRegisterRequest& request, const VoiceIdentityRegisterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, voiceIdentityRegister(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VoiceIdentityRegisterOutcomeCallable GreenClient::voiceIdentityRegisterCallable(const VoiceIdentityRegisterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->voiceIdentityRegister(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeWebsiteStatOutcome GreenClient::describeWebsiteStat(const DescribeWebsiteStatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebsiteStatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebsiteStatOutcome(DescribeWebsiteStatResult(outcome.result())); + else + return DescribeWebsiteStatOutcome(outcome.error()); +} + +void GreenClient::describeWebsiteStatAsync(const DescribeWebsiteStatRequest& request, const DescribeWebsiteStatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebsiteStat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeWebsiteStatOutcomeCallable GreenClient::describeWebsiteStatCallable(const DescribeWebsiteStatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebsiteStat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateNotificationSettingOutcome GreenClient::updateNotificationSetting(const UpdateNotificationSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateNotificationSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateNotificationSettingOutcome(UpdateNotificationSettingResult(outcome.result())); + else + return UpdateNotificationSettingOutcome(outcome.error()); +} + +void GreenClient::updateNotificationSettingAsync(const UpdateNotificationSettingRequest& request, const UpdateNotificationSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateNotificationSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateNotificationSettingOutcomeCallable GreenClient::updateNotificationSettingCallable(const UpdateNotificationSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateNotificationSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeAuditContentItemOutcome GreenClient::describeAuditContentItem(const DescribeAuditContentItemRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAuditContentItemOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAuditContentItemOutcome(DescribeAuditContentItemResult(outcome.result())); + else + return DescribeAuditContentItemOutcome(outcome.error()); +} + +void GreenClient::describeAuditContentItemAsync(const DescribeAuditContentItemRequest& request, const DescribeAuditContentItemAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAuditContentItem(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeAuditContentItemOutcomeCallable GreenClient::describeAuditContentItemCallable(const DescribeAuditContentItemRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAuditContentItem(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::SearchPersonOutcome GreenClient::searchPerson(const SearchPersonRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SearchPersonOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SearchPersonOutcome(SearchPersonResult(outcome.result())); + else + return SearchPersonOutcome(outcome.error()); +} + +void GreenClient::searchPersonAsync(const SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, searchPerson(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::SearchPersonOutcomeCallable GreenClient::searchPersonCallable(const SearchPersonRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->searchPerson(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::MarkOssResultOutcome GreenClient::markOssResult(const MarkOssResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MarkOssResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MarkOssResultOutcome(MarkOssResultResult(outcome.result())); + else + return MarkOssResultOutcome(outcome.error()); +} + +void GreenClient::markOssResultAsync(const MarkOssResultRequest& request, const MarkOssResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, markOssResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::MarkOssResultOutcomeCallable GreenClient::markOssResultCallable(const MarkOssResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->markOssResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeAppInfoOutcome GreenClient::describeAppInfo(const DescribeAppInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAppInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAppInfoOutcome(DescribeAppInfoResult(outcome.result())); + else + return DescribeAppInfoOutcome(outcome.error()); +} + +void GreenClient::describeAppInfoAsync(const DescribeAppInfoRequest& request, const DescribeAppInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAppInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeAppInfoOutcomeCallable GreenClient::describeAppInfoCallable(const DescribeAppInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAppInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddSimilarityImageOutcome GreenClient::addSimilarityImage(const AddSimilarityImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddSimilarityImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddSimilarityImageOutcome(AddSimilarityImageResult(outcome.result())); + else + return AddSimilarityImageOutcome(outcome.error()); +} + +void GreenClient::addSimilarityImageAsync(const AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addSimilarityImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddSimilarityImageOutcomeCallable GreenClient::addSimilarityImageCallable(const AddSimilarityImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addSimilarityImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeCustomOcrTemplateOutcome GreenClient::describeCustomOcrTemplate(const DescribeCustomOcrTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCustomOcrTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCustomOcrTemplateOutcome(DescribeCustomOcrTemplateResult(outcome.result())); + else + return DescribeCustomOcrTemplateOutcome(outcome.error()); +} + +void GreenClient::describeCustomOcrTemplateAsync(const DescribeCustomOcrTemplateRequest& request, const DescribeCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCustomOcrTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeCustomOcrTemplateOutcomeCallable GreenClient::describeCustomOcrTemplateCallable(const DescribeCustomOcrTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCustomOcrTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VoiceIdentityUnregisterOutcome GreenClient::voiceIdentityUnregister(const VoiceIdentityUnregisterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VoiceIdentityUnregisterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VoiceIdentityUnregisterOutcome(VoiceIdentityUnregisterResult(outcome.result())); + else + return VoiceIdentityUnregisterOutcome(outcome.error()); +} + +void GreenClient::voiceIdentityUnregisterAsync(const VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, voiceIdentityUnregister(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VoiceIdentityUnregisterOutcomeCallable GreenClient::voiceIdentityUnregisterCallable(const VoiceIdentityUnregisterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->voiceIdentityUnregister(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteKeywordOutcome GreenClient::deleteKeyword(const DeleteKeywordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteKeywordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteKeywordOutcome(DeleteKeywordResult(outcome.result())); + else + return DeleteKeywordOutcome(outcome.error()); +} + +void GreenClient::deleteKeywordAsync(const DeleteKeywordRequest& request, const DeleteKeywordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteKeyword(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteKeywordOutcomeCallable GreenClient::deleteKeywordCallable(const DeleteKeywordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteKeyword(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateWebSiteInstanceOutcome GreenClient::createWebSiteInstance(const CreateWebSiteInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateWebSiteInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateWebSiteInstanceOutcome(CreateWebSiteInstanceResult(outcome.result())); + else + return CreateWebSiteInstanceOutcome(outcome.error()); +} + +void GreenClient::createWebSiteInstanceAsync(const CreateWebSiteInstanceRequest& request, const CreateWebSiteInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createWebSiteInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateWebSiteInstanceOutcomeCallable GreenClient::createWebSiteInstanceCallable(const CreateWebSiteInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createWebSiteInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ImageSyncScanOutcome GreenClient::imageSyncScan(const ImageSyncScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImageSyncScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImageSyncScanOutcome(ImageSyncScanResult(outcome.result())); + else + return ImageSyncScanOutcome(outcome.error()); +} + +void GreenClient::imageSyncScanAsync(const ImageSyncScanRequest& request, const ImageSyncScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, imageSyncScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ImageSyncScanOutcomeCallable GreenClient::imageSyncScanCallable(const ImageSyncScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->imageSyncScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetPersonOutcome GreenClient::getPerson(const GetPersonRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPersonOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPersonOutcome(GetPersonResult(outcome.result())); + else + return GetPersonOutcome(outcome.error()); +} + +void GreenClient::getPersonAsync(const GetPersonRequest& request, const GetPersonAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPerson(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetPersonOutcomeCallable GreenClient::getPersonCallable(const GetPersonRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPerson(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeWebsiteInstanceIdOutcome GreenClient::describeWebsiteInstanceId(const DescribeWebsiteInstanceIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebsiteInstanceIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebsiteInstanceIdOutcome(DescribeWebsiteInstanceIdResult(outcome.result())); + else + return DescribeWebsiteInstanceIdOutcome(outcome.error()); +} + +void GreenClient::describeWebsiteInstanceIdAsync(const DescribeWebsiteInstanceIdRequest& request, const DescribeWebsiteInstanceIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebsiteInstanceId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeWebsiteInstanceIdOutcomeCallable GreenClient::describeWebsiteInstanceIdCallable(const DescribeWebsiteInstanceIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebsiteInstanceId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::MarkWebsiteScanResultOutcome GreenClient::markWebsiteScanResult(const MarkWebsiteScanResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MarkWebsiteScanResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MarkWebsiteScanResultOutcome(MarkWebsiteScanResultResult(outcome.result())); + else + return MarkWebsiteScanResultOutcome(outcome.error()); +} + +void GreenClient::markWebsiteScanResultAsync(const MarkWebsiteScanResultRequest& request, const MarkWebsiteScanResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, markWebsiteScanResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::MarkWebsiteScanResultOutcomeCallable GreenClient::markWebsiteScanResultCallable(const MarkWebsiteScanResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->markWebsiteScanResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VideoFeedbackOutcome GreenClient::videoFeedback(const VideoFeedbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VideoFeedbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VideoFeedbackOutcome(VideoFeedbackResult(outcome.result())); + else + return VideoFeedbackOutcome(outcome.error()); +} + +void GreenClient::videoFeedbackAsync(const VideoFeedbackRequest& request, const VideoFeedbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, videoFeedback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VideoFeedbackOutcomeCallable GreenClient::videoFeedbackCallable(const VideoFeedbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->videoFeedback(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ExportKeywordsOutcome GreenClient::exportKeywords(const ExportKeywordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportKeywordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportKeywordsOutcome(ExportKeywordsResult(outcome.result())); + else + return ExportKeywordsOutcome(outcome.error()); +} + +void GreenClient::exportKeywordsAsync(const ExportKeywordsRequest& request, const ExportKeywordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportKeywords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ExportKeywordsOutcomeCallable GreenClient::exportKeywordsCallable(const ExportKeywordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportKeywords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::MarkAuditContentOutcome GreenClient::markAuditContent(const MarkAuditContentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MarkAuditContentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MarkAuditContentOutcome(MarkAuditContentResult(outcome.result())); + else + return MarkAuditContentOutcome(outcome.error()); +} + +void GreenClient::markAuditContentAsync(const MarkAuditContentRequest& request, const MarkAuditContentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, markAuditContent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::MarkAuditContentOutcomeCallable GreenClient::markAuditContentCallable(const MarkAuditContentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->markAuditContent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddGroupsOutcome GreenClient::addGroups(const AddGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddGroupsOutcome(AddGroupsResult(outcome.result())); + else + return AddGroupsOutcome(outcome.error()); +} + +void GreenClient::addGroupsAsync(const AddGroupsRequest& request, const AddGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddGroupsOutcomeCallable GreenClient::addGroupsCallable(const AddGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VerifyEmailOutcome GreenClient::verifyEmail(const VerifyEmailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VerifyEmailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VerifyEmailOutcome(VerifyEmailResult(outcome.result())); + else + return VerifyEmailOutcome(outcome.error()); +} + +void GreenClient::verifyEmailAsync(const VerifyEmailRequest& request, const VerifyEmailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, verifyEmail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VerifyEmailOutcomeCallable GreenClient::verifyEmailCallable(const VerifyEmailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->verifyEmail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeWebsiteVerifyInfoOutcome GreenClient::describeWebsiteVerifyInfo(const DescribeWebsiteVerifyInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebsiteVerifyInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebsiteVerifyInfoOutcome(DescribeWebsiteVerifyInfoResult(outcome.result())); + else + return DescribeWebsiteVerifyInfoOutcome(outcome.error()); +} + +void GreenClient::describeWebsiteVerifyInfoAsync(const DescribeWebsiteVerifyInfoRequest& request, const DescribeWebsiteVerifyInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebsiteVerifyInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeWebsiteVerifyInfoOutcomeCallable GreenClient::describeWebsiteVerifyInfoCallable(const DescribeWebsiteVerifyInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebsiteVerifyInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::FileAsyncScanResultsOutcome GreenClient::fileAsyncScanResults(const FileAsyncScanResultsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FileAsyncScanResultsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FileAsyncScanResultsOutcome(FileAsyncScanResultsResult(outcome.result())); + else + return FileAsyncScanResultsOutcome(outcome.error()); +} + +void GreenClient::fileAsyncScanResultsAsync(const FileAsyncScanResultsRequest& request, const FileAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, fileAsyncScanResults(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::FileAsyncScanResultsOutcomeCallable GreenClient::fileAsyncScanResultsCallable(const FileAsyncScanResultsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->fileAsyncScanResults(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeBizTypeSettingOutcome GreenClient::describeBizTypeSetting(const DescribeBizTypeSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBizTypeSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBizTypeSettingOutcome(DescribeBizTypeSettingResult(outcome.result())); + else + return DescribeBizTypeSettingOutcome(outcome.error()); +} + +void GreenClient::describeBizTypeSettingAsync(const DescribeBizTypeSettingRequest& request, const DescribeBizTypeSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBizTypeSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeBizTypeSettingOutcomeCallable GreenClient::describeBizTypeSettingCallable(const DescribeBizTypeSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBizTypeSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeSdkUrlOutcome GreenClient::describeSdkUrl(const DescribeSdkUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSdkUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSdkUrlOutcome(DescribeSdkUrlResult(outcome.result())); + else + return DescribeSdkUrlOutcome(outcome.error()); +} + +void GreenClient::describeSdkUrlAsync(const DescribeSdkUrlRequest& request, const DescribeSdkUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSdkUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeSdkUrlOutcomeCallable GreenClient::describeSdkUrlCallable(const DescribeSdkUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSdkUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetSimilarityLibraryOutcome GreenClient::getSimilarityLibrary(const GetSimilarityLibraryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSimilarityLibraryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSimilarityLibraryOutcome(GetSimilarityLibraryResult(outcome.result())); + else + return GetSimilarityLibraryOutcome(outcome.error()); +} + +void GreenClient::getSimilarityLibraryAsync(const GetSimilarityLibraryRequest& request, const GetSimilarityLibraryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSimilarityLibrary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetSimilarityLibraryOutcomeCallable GreenClient::getSimilarityLibraryCallable(const GetSimilarityLibraryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSimilarityLibrary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeOssIncrementStatsOutcome GreenClient::describeOssIncrementStats(const DescribeOssIncrementStatsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOssIncrementStatsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOssIncrementStatsOutcome(DescribeOssIncrementStatsResult(outcome.result())); + else + return DescribeOssIncrementStatsOutcome(outcome.error()); +} + +void GreenClient::describeOssIncrementStatsAsync(const DescribeOssIncrementStatsRequest& request, const DescribeOssIncrementStatsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOssIncrementStats(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeOssIncrementStatsOutcomeCallable GreenClient::describeOssIncrementStatsCallable(const DescribeOssIncrementStatsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOssIncrementStats(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetSimilarityImageOutcome GreenClient::getSimilarityImage(const GetSimilarityImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSimilarityImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSimilarityImageOutcome(GetSimilarityImageResult(outcome.result())); + else + return GetSimilarityImageOutcome(outcome.error()); +} + +void GreenClient::getSimilarityImageAsync(const GetSimilarityImageRequest& request, const GetSimilarityImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSimilarityImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetSimilarityImageOutcomeCallable GreenClient::getSimilarityImageCallable(const GetSimilarityImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSimilarityImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::SendVerifyCodeToEmailOutcome GreenClient::sendVerifyCodeToEmail(const SendVerifyCodeToEmailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendVerifyCodeToEmailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendVerifyCodeToEmailOutcome(SendVerifyCodeToEmailResult(outcome.result())); + else + return SendVerifyCodeToEmailOutcome(outcome.error()); +} + +void GreenClient::sendVerifyCodeToEmailAsync(const SendVerifyCodeToEmailRequest& request, const SendVerifyCodeToEmailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendVerifyCodeToEmail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::SendVerifyCodeToEmailOutcomeCallable GreenClient::sendVerifyCodeToEmailCallable(const SendVerifyCodeToEmailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendVerifyCodeToEmail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateImageLibOutcome GreenClient::createImageLib(const CreateImageLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateImageLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateImageLibOutcome(CreateImageLibResult(outcome.result())); + else + return CreateImageLibOutcome(outcome.error()); +} + +void GreenClient::createImageLibAsync(const CreateImageLibRequest& request, const CreateImageLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createImageLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateImageLibOutcomeCallable GreenClient::createImageLibCallable(const CreateImageLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createImageLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetFacesOutcome GreenClient::getFaces(const GetFacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFacesOutcome(GetFacesResult(outcome.result())); + else + return GetFacesOutcome(outcome.error()); +} + +void GreenClient::getFacesAsync(const GetFacesRequest& request, const GetFacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetFacesOutcomeCallable GreenClient::getFacesCallable(const GetFacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VoiceAsyncScanOutcome GreenClient::voiceAsyncScan(const VoiceAsyncScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VoiceAsyncScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VoiceAsyncScanOutcome(VoiceAsyncScanResult(outcome.result())); + else + return VoiceAsyncScanOutcome(outcome.error()); +} + +void GreenClient::voiceAsyncScanAsync(const VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, voiceAsyncScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VoiceAsyncScanOutcomeCallable GreenClient::voiceAsyncScanCallable(const VoiceAsyncScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->voiceAsyncScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateCustomOcrTemplateOutcome GreenClient::updateCustomOcrTemplate(const UpdateCustomOcrTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCustomOcrTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCustomOcrTemplateOutcome(UpdateCustomOcrTemplateResult(outcome.result())); + else + return UpdateCustomOcrTemplateOutcome(outcome.error()); +} + +void GreenClient::updateCustomOcrTemplateAsync(const UpdateCustomOcrTemplateRequest& request, const UpdateCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCustomOcrTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateCustomOcrTemplateOutcomeCallable GreenClient::updateCustomOcrTemplateCallable(const UpdateCustomOcrTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCustomOcrTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateAuditSettingOutcome GreenClient::updateAuditSetting(const UpdateAuditSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateAuditSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateAuditSettingOutcome(UpdateAuditSettingResult(outcome.result())); + else + return UpdateAuditSettingOutcome(outcome.error()); +} + +void GreenClient::updateAuditSettingAsync(const UpdateAuditSettingRequest& request, const UpdateAuditSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateAuditSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateAuditSettingOutcomeCallable GreenClient::updateAuditSettingCallable(const UpdateAuditSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateAuditSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetGroupsOutcome GreenClient::getGroups(const GetGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGroupsOutcome(GetGroupsResult(outcome.result())); + else + return GetGroupsOutcome(outcome.error()); +} + +void GreenClient::getGroupsAsync(const GetGroupsRequest& request, const GetGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetGroupsOutcomeCallable GreenClient::getGroupsCallable(const GetGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::TextScanOutcome GreenClient::textScan(const TextScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TextScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TextScanOutcome(TextScanResult(outcome.result())); + else + return TextScanOutcome(outcome.error()); +} + +void GreenClient::textScanAsync(const TextScanRequest& request, const TextScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, textScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::TextScanOutcomeCallable GreenClient::textScanCallable(const TextScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->textScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ExportOssResultOutcome GreenClient::exportOssResult(const ExportOssResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportOssResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportOssResultOutcome(ExportOssResultResult(outcome.result())); + else + return ExportOssResultOutcome(outcome.error()); +} + +void GreenClient::exportOssResultAsync(const ExportOssResultRequest& request, const ExportOssResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportOssResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ExportOssResultOutcomeCallable GreenClient::exportOssResultCallable(const ExportOssResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportOssResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VoiceIdentityStartRegisterOutcome GreenClient::voiceIdentityStartRegister(const VoiceIdentityStartRegisterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VoiceIdentityStartRegisterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VoiceIdentityStartRegisterOutcome(VoiceIdentityStartRegisterResult(outcome.result())); + else + return VoiceIdentityStartRegisterOutcome(outcome.error()); +} + +void GreenClient::voiceIdentityStartRegisterAsync(const VoiceIdentityStartRegisterRequest& request, const VoiceIdentityStartRegisterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, voiceIdentityStartRegister(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VoiceIdentityStartRegisterOutcomeCallable GreenClient::voiceIdentityStartRegisterCallable(const VoiceIdentityStartRegisterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->voiceIdentityStartRegister(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeWebsiteInstanceOutcome GreenClient::describeWebsiteInstance(const DescribeWebsiteInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebsiteInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebsiteInstanceOutcome(DescribeWebsiteInstanceResult(outcome.result())); + else + return DescribeWebsiteInstanceOutcome(outcome.error()); +} + +void GreenClient::describeWebsiteInstanceAsync(const DescribeWebsiteInstanceRequest& request, const DescribeWebsiteInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebsiteInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeWebsiteInstanceOutcomeCallable GreenClient::describeWebsiteInstanceCallable(const DescribeWebsiteInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebsiteInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeImageLibOutcome GreenClient::describeImageLib(const DescribeImageLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImageLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImageLibOutcome(DescribeImageLibResult(outcome.result())); + else + return DescribeImageLibOutcome(outcome.error()); +} + +void GreenClient::describeImageLibAsync(const DescribeImageLibRequest& request, const DescribeImageLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImageLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeImageLibOutcomeCallable GreenClient::describeImageLibCallable(const DescribeImageLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImageLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpgradeCdiBaseBagOutcome GreenClient::upgradeCdiBaseBag(const UpgradeCdiBaseBagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpgradeCdiBaseBagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpgradeCdiBaseBagOutcome(UpgradeCdiBaseBagResult(outcome.result())); + else + return UpgradeCdiBaseBagOutcome(outcome.error()); +} + +void GreenClient::upgradeCdiBaseBagAsync(const UpgradeCdiBaseBagRequest& request, const UpgradeCdiBaseBagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, upgradeCdiBaseBag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpgradeCdiBaseBagOutcomeCallable GreenClient::upgradeCdiBaseBagCallable(const UpgradeCdiBaseBagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->upgradeCdiBaseBag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeUserStatusOutcome GreenClient::describeUserStatus(const DescribeUserStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserStatusOutcome(DescribeUserStatusResult(outcome.result())); + else + return DescribeUserStatusOutcome(outcome.error()); +} + +void GreenClient::describeUserStatusAsync(const DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeUserStatusOutcomeCallable GreenClient::describeUserStatusCallable(const DescribeUserStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetAddVideoDnaResultsOutcome GreenClient::getAddVideoDnaResults(const GetAddVideoDnaResultsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetAddVideoDnaResultsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetAddVideoDnaResultsOutcome(GetAddVideoDnaResultsResult(outcome.result())); + else + return GetAddVideoDnaResultsOutcome(outcome.error()); +} + +void GreenClient::getAddVideoDnaResultsAsync(const GetAddVideoDnaResultsRequest& request, const GetAddVideoDnaResultsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getAddVideoDnaResults(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetAddVideoDnaResultsOutcomeCallable GreenClient::getAddVideoDnaResultsCallable(const GetAddVideoDnaResultsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getAddVideoDnaResults(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeKeywordOutcome GreenClient::describeKeyword(const DescribeKeywordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeKeywordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeKeywordOutcome(DescribeKeywordResult(outcome.result())); + else + return DescribeKeywordOutcome(outcome.error()); +} + +void GreenClient::describeKeywordAsync(const DescribeKeywordRequest& request, const DescribeKeywordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeKeyword(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeKeywordOutcomeCallable GreenClient::describeKeywordCallable(const DescribeKeywordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeKeyword(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddFacesOutcome GreenClient::addFaces(const AddFacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddFacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddFacesOutcome(AddFacesResult(outcome.result())); + else + return AddFacesOutcome(outcome.error()); +} + +void GreenClient::addFacesAsync(const AddFacesRequest& request, const AddFacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addFaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddFacesOutcomeCallable GreenClient::addFacesCallable(const AddFacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addFaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeAuditSettingOutcome GreenClient::describeAuditSetting(const DescribeAuditSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAuditSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAuditSettingOutcome(DescribeAuditSettingResult(outcome.result())); + else + return DescribeAuditSettingOutcome(outcome.error()); +} + +void GreenClient::describeAuditSettingAsync(const DescribeAuditSettingRequest& request, const DescribeAuditSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAuditSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeAuditSettingOutcomeCallable GreenClient::describeAuditSettingCallable(const DescribeAuditSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAuditSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateKeywordLibOutcome GreenClient::createKeywordLib(const CreateKeywordLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateKeywordLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateKeywordLibOutcome(CreateKeywordLibResult(outcome.result())); + else + return CreateKeywordLibOutcome(outcome.error()); +} + +void GreenClient::createKeywordLibAsync(const CreateKeywordLibRequest& request, const CreateKeywordLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createKeywordLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateKeywordLibOutcomeCallable GreenClient::createKeywordLibCallable(const CreateKeywordLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createKeywordLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateOssIncrementCheckSettingOutcome GreenClient::updateOssIncrementCheckSetting(const UpdateOssIncrementCheckSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateOssIncrementCheckSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateOssIncrementCheckSettingOutcome(UpdateOssIncrementCheckSettingResult(outcome.result())); + else + return UpdateOssIncrementCheckSettingOutcome(outcome.error()); +} + +void GreenClient::updateOssIncrementCheckSettingAsync(const UpdateOssIncrementCheckSettingRequest& request, const UpdateOssIncrementCheckSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateOssIncrementCheckSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateOssIncrementCheckSettingOutcomeCallable GreenClient::updateOssIncrementCheckSettingCallable(const UpdateOssIncrementCheckSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateOssIncrementCheckSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UploadCredentialsOutcome GreenClient::uploadCredentials(const UploadCredentialsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadCredentialsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadCredentialsOutcome(UploadCredentialsResult(outcome.result())); + else + return UploadCredentialsOutcome(outcome.error()); +} + +void GreenClient::uploadCredentialsAsync(const UploadCredentialsRequest& request, const UploadCredentialsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadCredentials(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UploadCredentialsOutcomeCallable GreenClient::uploadCredentialsCallable(const UploadCredentialsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadCredentials(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateBizTypeOutcome GreenClient::createBizType(const CreateBizTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateBizTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateBizTypeOutcome(CreateBizTypeResult(outcome.result())); + else + return CreateBizTypeOutcome(outcome.error()); +} + +void GreenClient::createBizTypeAsync(const CreateBizTypeRequest& request, const CreateBizTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createBizType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateBizTypeOutcomeCallable GreenClient::createBizTypeCallable(const CreateBizTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createBizType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::GetPersonsOutcome GreenClient::getPersons(const GetPersonsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPersonsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPersonsOutcome(GetPersonsResult(outcome.result())); + else + return GetPersonsOutcome(outcome.error()); +} + +void GreenClient::getPersonsAsync(const GetPersonsRequest& request, const GetPersonsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPersons(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::GetPersonsOutcomeCallable GreenClient::getPersonsCallable(const GetPersonsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPersons(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteFacesOutcome GreenClient::deleteFaces(const DeleteFacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFacesOutcome(DeleteFacesResult(outcome.result())); + else + return DeleteFacesOutcome(outcome.error()); +} + +void GreenClient::deleteFacesAsync(const DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteFacesOutcomeCallable GreenClient::deleteFacesCallable(const DeleteFacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeletePersonOutcome GreenClient::deletePerson(const DeletePersonRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeletePersonOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeletePersonOutcome(DeletePersonResult(outcome.result())); + else + return DeletePersonOutcome(outcome.error()); +} + +void GreenClient::deletePersonAsync(const DeletePersonRequest& request, const DeletePersonAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deletePerson(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeletePersonOutcomeCallable GreenClient::deletePersonCallable(const DeletePersonRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deletePerson(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::RefundWebSiteInstanceOutcome GreenClient::refundWebSiteInstance(const RefundWebSiteInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefundWebSiteInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefundWebSiteInstanceOutcome(RefundWebSiteInstanceResult(outcome.result())); + else + return RefundWebSiteInstanceOutcome(outcome.error()); +} + +void GreenClient::refundWebSiteInstanceAsync(const RefundWebSiteInstanceRequest& request, const RefundWebSiteInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refundWebSiteInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::RefundWebSiteInstanceOutcomeCallable GreenClient::refundWebSiteInstanceCallable(const RefundWebSiteInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refundWebSiteInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + GreenClient::SetPersonOutcome GreenClient::setPerson(const SetPersonRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,36 +3075,36 @@ GreenClient::TextFeedbackOutcomeCallable GreenClient::textFeedbackCallable(const return task->get_future(); } -GreenClient::FileAsyncScanResultsOutcome GreenClient::fileAsyncScanResults(const FileAsyncScanResultsRequest &request) const +GreenClient::CreateWebsiteIndexPageBaselineOutcome GreenClient::createWebsiteIndexPageBaseline(const CreateWebsiteIndexPageBaselineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return FileAsyncScanResultsOutcome(endpointOutcome.error()); + return CreateWebsiteIndexPageBaselineOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return FileAsyncScanResultsOutcome(FileAsyncScanResultsResult(outcome.result())); + return CreateWebsiteIndexPageBaselineOutcome(CreateWebsiteIndexPageBaselineResult(outcome.result())); else - return FileAsyncScanResultsOutcome(outcome.error()); + return CreateWebsiteIndexPageBaselineOutcome(outcome.error()); } -void GreenClient::fileAsyncScanResultsAsync(const FileAsyncScanResultsRequest& request, const FileAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::createWebsiteIndexPageBaselineAsync(const CreateWebsiteIndexPageBaselineRequest& request, const CreateWebsiteIndexPageBaselineAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, fileAsyncScanResults(request), context); + handler(this, request, createWebsiteIndexPageBaseline(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::FileAsyncScanResultsOutcomeCallable GreenClient::fileAsyncScanResultsCallable(const FileAsyncScanResultsRequest &request) const +GreenClient::CreateWebsiteIndexPageBaselineOutcomeCallable GreenClient::createWebsiteIndexPageBaselineCallable(const CreateWebsiteIndexPageBaselineRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->fileAsyncScanResults(request); + return this->createWebsiteIndexPageBaseline(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -771,72 +3183,108 @@ GreenClient::VoiceIdentityStartCheckOutcomeCallable GreenClient::voiceIdentitySt return task->get_future(); } -GreenClient::AddVideoDnaGroupOutcome GreenClient::addVideoDnaGroup(const AddVideoDnaGroupRequest &request) const +GreenClient::UpdateOssStockStatusOutcome GreenClient::updateOssStockStatus(const UpdateOssStockStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AddVideoDnaGroupOutcome(endpointOutcome.error()); + return UpdateOssStockStatusOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AddVideoDnaGroupOutcome(AddVideoDnaGroupResult(outcome.result())); + return UpdateOssStockStatusOutcome(UpdateOssStockStatusResult(outcome.result())); else - return AddVideoDnaGroupOutcome(outcome.error()); + return UpdateOssStockStatusOutcome(outcome.error()); } -void GreenClient::addVideoDnaGroupAsync(const AddVideoDnaGroupRequest& request, const AddVideoDnaGroupAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::updateOssStockStatusAsync(const UpdateOssStockStatusRequest& request, const UpdateOssStockStatusAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, addVideoDnaGroup(request), context); + handler(this, request, updateOssStockStatus(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::AddVideoDnaGroupOutcomeCallable GreenClient::addVideoDnaGroupCallable(const AddVideoDnaGroupRequest &request) const +GreenClient::UpdateOssStockStatusOutcomeCallable GreenClient::updateOssStockStatusCallable(const UpdateOssStockStatusRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->addVideoDnaGroup(request); + return this->updateOssStockStatus(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::ImageAsyncScanOutcome GreenClient::imageAsyncScan(const ImageAsyncScanRequest &request) const +GreenClient::DescribeKeywordLibOutcome GreenClient::describeKeywordLib(const DescribeKeywordLibRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ImageAsyncScanOutcome(endpointOutcome.error()); + return DescribeKeywordLibOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ImageAsyncScanOutcome(ImageAsyncScanResult(outcome.result())); + return DescribeKeywordLibOutcome(DescribeKeywordLibResult(outcome.result())); else - return ImageAsyncScanOutcome(outcome.error()); + return DescribeKeywordLibOutcome(outcome.error()); } -void GreenClient::imageAsyncScanAsync(const ImageAsyncScanRequest& request, const ImageAsyncScanAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeKeywordLibAsync(const DescribeKeywordLibRequest& request, const DescribeKeywordLibAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, imageAsyncScan(request), context); + handler(this, request, describeKeywordLib(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::ImageAsyncScanOutcomeCallable GreenClient::imageAsyncScanCallable(const ImageAsyncScanRequest &request) const +GreenClient::DescribeKeywordLibOutcomeCallable GreenClient::describeKeywordLibCallable(const DescribeKeywordLibRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->imageAsyncScan(request); + return this->describeKeywordLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeUpdatePackageResultOutcome GreenClient::describeUpdatePackageResult(const DescribeUpdatePackageResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUpdatePackageResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUpdatePackageResultOutcome(DescribeUpdatePackageResultResult(outcome.result())); + else + return DescribeUpdatePackageResultOutcome(outcome.error()); +} + +void GreenClient::describeUpdatePackageResultAsync(const DescribeUpdatePackageResultRequest& request, const DescribeUpdatePackageResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUpdatePackageResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeUpdatePackageResultOutcomeCallable GreenClient::describeUpdatePackageResultCallable(const DescribeUpdatePackageResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUpdatePackageResult(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -879,6 +3327,1158 @@ GreenClient::VideoAsyncScanOutcomeCallable GreenClient::videoAsyncScanCallable(c return task->get_future(); } +GreenClient::DescribeUploadInfoOutcome GreenClient::describeUploadInfo(const DescribeUploadInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUploadInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUploadInfoOutcome(DescribeUploadInfoResult(outcome.result())); + else + return DescribeUploadInfoOutcome(outcome.error()); +} + +void GreenClient::describeUploadInfoAsync(const DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUploadInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeUploadInfoOutcomeCallable GreenClient::describeUploadInfoCallable(const DescribeUploadInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUploadInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ImageScanFeedbackOutcome GreenClient::imageScanFeedback(const ImageScanFeedbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImageScanFeedbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImageScanFeedbackOutcome(ImageScanFeedbackResult(outcome.result())); + else + return ImageScanFeedbackOutcome(outcome.error()); +} + +void GreenClient::imageScanFeedbackAsync(const ImageScanFeedbackRequest& request, const ImageScanFeedbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, imageScanFeedback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ImageScanFeedbackOutcomeCallable GreenClient::imageScanFeedbackCallable(const ImageScanFeedbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->imageScanFeedback(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeOpenApiUsageOutcome GreenClient::describeOpenApiUsage(const DescribeOpenApiUsageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOpenApiUsageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOpenApiUsageOutcome(DescribeOpenApiUsageResult(outcome.result())); + else + return DescribeOpenApiUsageOutcome(outcome.error()); +} + +void GreenClient::describeOpenApiUsageAsync(const DescribeOpenApiUsageRequest& request, const DescribeOpenApiUsageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOpenApiUsage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeOpenApiUsageOutcomeCallable GreenClient::describeOpenApiUsageCallable(const DescribeOpenApiUsageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOpenApiUsage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteSimilarityLibraryOutcome GreenClient::deleteSimilarityLibrary(const DeleteSimilarityLibraryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSimilarityLibraryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSimilarityLibraryOutcome(DeleteSimilarityLibraryResult(outcome.result())); + else + return DeleteSimilarityLibraryOutcome(outcome.error()); +} + +void GreenClient::deleteSimilarityLibraryAsync(const DeleteSimilarityLibraryRequest& request, const DeleteSimilarityLibraryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSimilarityLibrary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteSimilarityLibraryOutcomeCallable GreenClient::deleteSimilarityLibraryCallable(const DeleteSimilarityLibraryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSimilarityLibrary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeOssCallbackSettingOutcome GreenClient::describeOssCallbackSetting(const DescribeOssCallbackSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOssCallbackSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOssCallbackSettingOutcome(DescribeOssCallbackSettingResult(outcome.result())); + else + return DescribeOssCallbackSettingOutcome(outcome.error()); +} + +void GreenClient::describeOssCallbackSettingAsync(const DescribeOssCallbackSettingRequest& request, const DescribeOssCallbackSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOssCallbackSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeOssCallbackSettingOutcomeCallable GreenClient::describeOssCallbackSettingCallable(const DescribeOssCallbackSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOssCallbackSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeImageUploadInfoOutcome GreenClient::describeImageUploadInfo(const DescribeImageUploadInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImageUploadInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImageUploadInfoOutcome(DescribeImageUploadInfoResult(outcome.result())); + else + return DescribeImageUploadInfoOutcome(outcome.error()); +} + +void GreenClient::describeImageUploadInfoAsync(const DescribeImageUploadInfoRequest& request, const DescribeImageUploadInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImageUploadInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeImageUploadInfoOutcomeCallable GreenClient::describeImageUploadInfoCallable(const DescribeImageUploadInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImageUploadInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ImageResultOutcome GreenClient::imageResult(const ImageResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImageResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImageResultOutcome(ImageResultResult(outcome.result())); + else + return ImageResultOutcome(outcome.error()); +} + +void GreenClient::imageResultAsync(const ImageResultRequest& request, const ImageResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, imageResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ImageResultOutcomeCallable GreenClient::imageResultCallable(const ImageResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->imageResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteSimilarityImageOutcome GreenClient::deleteSimilarityImage(const DeleteSimilarityImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSimilarityImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSimilarityImageOutcome(DeleteSimilarityImageResult(outcome.result())); + else + return DeleteSimilarityImageOutcome(outcome.error()); +} + +void GreenClient::deleteSimilarityImageAsync(const DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSimilarityImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteSimilarityImageOutcomeCallable GreenClient::deleteSimilarityImageCallable(const DeleteSimilarityImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSimilarityImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteImageLibOutcome GreenClient::deleteImageLib(const DeleteImageLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteImageLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteImageLibOutcome(DeleteImageLibResult(outcome.result())); + else + return DeleteImageLibOutcome(outcome.error()); +} + +void GreenClient::deleteImageLibAsync(const DeleteImageLibRequest& request, const DeleteImageLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteImageLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteImageLibOutcomeCallable GreenClient::deleteImageLibCallable(const DeleteImageLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteImageLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddPersonOutcome GreenClient::addPerson(const AddPersonRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddPersonOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddPersonOutcome(AddPersonResult(outcome.result())); + else + return AddPersonOutcome(outcome.error()); +} + +void GreenClient::addPersonAsync(const AddPersonRequest& request, const AddPersonAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addPerson(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddPersonOutcomeCallable GreenClient::addPersonCallable(const AddPersonRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addPerson(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ListSimilarityLibrariesOutcome GreenClient::listSimilarityLibraries(const ListSimilarityLibrariesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSimilarityLibrariesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSimilarityLibrariesOutcome(ListSimilarityLibrariesResult(outcome.result())); + else + return ListSimilarityLibrariesOutcome(outcome.error()); +} + +void GreenClient::listSimilarityLibrariesAsync(const ListSimilarityLibrariesRequest& request, const ListSimilarityLibrariesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSimilarityLibraries(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ListSimilarityLibrariesOutcomeCallable GreenClient::listSimilarityLibrariesCallable(const ListSimilarityLibrariesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSimilarityLibraries(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteCustomOcrTemplateOutcome GreenClient::deleteCustomOcrTemplate(const DeleteCustomOcrTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCustomOcrTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCustomOcrTemplateOutcome(DeleteCustomOcrTemplateResult(outcome.result())); + else + return DeleteCustomOcrTemplateOutcome(outcome.error()); +} + +void GreenClient::deleteCustomOcrTemplateAsync(const DeleteCustomOcrTemplateRequest& request, const DeleteCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCustomOcrTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteCustomOcrTemplateOutcomeCallable GreenClient::deleteCustomOcrTemplateCallable(const DeleteCustomOcrTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCustomOcrTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::SampleFeedbackOutcome GreenClient::sampleFeedback(const SampleFeedbackRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SampleFeedbackOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SampleFeedbackOutcome(SampleFeedbackResult(outcome.result())); + else + return SampleFeedbackOutcome(outcome.error()); +} + +void GreenClient::sampleFeedbackAsync(const SampleFeedbackRequest& request, const SampleFeedbackAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sampleFeedback(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::SampleFeedbackOutcomeCallable GreenClient::sampleFeedbackCallable(const SampleFeedbackRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sampleFeedback(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ListSimilarityImagesOutcome GreenClient::listSimilarityImages(const ListSimilarityImagesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSimilarityImagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSimilarityImagesOutcome(ListSimilarityImagesResult(outcome.result())); + else + return ListSimilarityImagesOutcome(outcome.error()); +} + +void GreenClient::listSimilarityImagesAsync(const ListSimilarityImagesRequest& request, const ListSimilarityImagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSimilarityImages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ListSimilarityImagesOutcomeCallable GreenClient::listSimilarityImagesCallable(const ListSimilarityImagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSimilarityImages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::MarkAuditContentItemOutcome GreenClient::markAuditContentItem(const MarkAuditContentItemRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MarkAuditContentItemOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MarkAuditContentItemOutcome(MarkAuditContentItemResult(outcome.result())); + else + return MarkAuditContentItemOutcome(outcome.error()); +} + +void GreenClient::markAuditContentItemAsync(const MarkAuditContentItemRequest& request, const MarkAuditContentItemAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, markAuditContentItem(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::MarkAuditContentItemOutcomeCallable GreenClient::markAuditContentItemCallable(const MarkAuditContentItemRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->markAuditContentItem(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddVideoDnaOutcome GreenClient::addVideoDna(const AddVideoDnaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddVideoDnaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddVideoDnaOutcome(AddVideoDnaResult(outcome.result())); + else + return AddVideoDnaOutcome(outcome.error()); +} + +void GreenClient::addVideoDnaAsync(const AddVideoDnaRequest& request, const AddVideoDnaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addVideoDna(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddVideoDnaOutcomeCallable GreenClient::addVideoDnaCallable(const AddVideoDnaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addVideoDna(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VideoSyncScanOutcome GreenClient::videoSyncScan(const VideoSyncScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VideoSyncScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VideoSyncScanOutcome(VideoSyncScanResult(outcome.result())); + else + return VideoSyncScanOutcome(outcome.error()); +} + +void GreenClient::videoSyncScanAsync(const VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, videoSyncScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VideoSyncScanOutcomeCallable GreenClient::videoSyncScanCallable(const VideoSyncScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->videoSyncScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DeleteNotificationContactsOutcome GreenClient::deleteNotificationContacts(const DeleteNotificationContactsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteNotificationContactsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteNotificationContactsOutcome(DeleteNotificationContactsResult(outcome.result())); + else + return DeleteNotificationContactsOutcome(outcome.error()); +} + +void GreenClient::deleteNotificationContactsAsync(const DeleteNotificationContactsRequest& request, const DeleteNotificationContactsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteNotificationContacts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DeleteNotificationContactsOutcomeCallable GreenClient::deleteNotificationContactsCallable(const DeleteNotificationContactsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteNotificationContacts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::VideoAsyncScanResultsOutcome GreenClient::videoAsyncScanResults(const VideoAsyncScanResultsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VideoAsyncScanResultsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VideoAsyncScanResultsOutcome(VideoAsyncScanResultsResult(outcome.result())); + else + return VideoAsyncScanResultsOutcome(outcome.error()); +} + +void GreenClient::videoAsyncScanResultsAsync(const VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, videoAsyncScanResults(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::VideoAsyncScanResultsOutcomeCallable GreenClient::videoAsyncScanResultsCallable(const VideoAsyncScanResultsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->videoAsyncScanResults(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeOssStockStatusOutcome GreenClient::describeOssStockStatus(const DescribeOssStockStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOssStockStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOssStockStatusOutcome(DescribeOssStockStatusResult(outcome.result())); + else + return DescribeOssStockStatusOutcome(outcome.error()); +} + +void GreenClient::describeOssStockStatusAsync(const DescribeOssStockStatusRequest& request, const DescribeOssStockStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOssStockStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeOssStockStatusOutcomeCallable GreenClient::describeOssStockStatusCallable(const DescribeOssStockStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOssStockStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::TextKeywordFilterOutcome GreenClient::textKeywordFilter(const TextKeywordFilterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TextKeywordFilterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TextKeywordFilterOutcome(TextKeywordFilterResult(outcome.result())); + else + return TextKeywordFilterOutcome(outcome.error()); +} + +void GreenClient::textKeywordFilterAsync(const TextKeywordFilterRequest& request, const TextKeywordFilterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, textKeywordFilter(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::TextKeywordFilterOutcomeCallable GreenClient::textKeywordFilterCallable(const TextKeywordFilterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->textKeywordFilter(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateImageLibOutcome GreenClient::updateImageLib(const UpdateImageLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateImageLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateImageLibOutcome(UpdateImageLibResult(outcome.result())); + else + return UpdateImageLibOutcome(outcome.error()); +} + +void GreenClient::updateImageLibAsync(const UpdateImageLibRequest& request, const UpdateImageLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateImageLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateImageLibOutcomeCallable GreenClient::updateImageLibCallable(const UpdateImageLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateImageLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreatCustomOcrTemplateOutcome GreenClient::creatCustomOcrTemplate(const CreatCustomOcrTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreatCustomOcrTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreatCustomOcrTemplateOutcome(CreatCustomOcrTemplateResult(outcome.result())); + else + return CreatCustomOcrTemplateOutcome(outcome.error()); +} + +void GreenClient::creatCustomOcrTemplateAsync(const CreatCustomOcrTemplateRequest& request, const CreatCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, creatCustomOcrTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreatCustomOcrTemplateOutcomeCallable GreenClient::creatCustomOcrTemplateCallable(const CreatCustomOcrTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->creatCustomOcrTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateKeywordOutcome GreenClient::createKeyword(const CreateKeywordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateKeywordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateKeywordOutcome(CreateKeywordResult(outcome.result())); + else + return CreateKeywordOutcome(outcome.error()); +} + +void GreenClient::createKeywordAsync(const CreateKeywordRequest& request, const CreateKeywordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createKeyword(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateKeywordOutcomeCallable GreenClient::createKeywordCallable(const CreateKeywordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createKeyword(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UploadImageToLibOutcome GreenClient::uploadImageToLib(const UploadImageToLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadImageToLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadImageToLibOutcome(UploadImageToLibResult(outcome.result())); + else + return UploadImageToLibOutcome(outcome.error()); +} + +void GreenClient::uploadImageToLibAsync(const UploadImageToLibRequest& request, const UploadImageToLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadImageToLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UploadImageToLibOutcomeCallable GreenClient::uploadImageToLibCallable(const UploadImageToLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadImageToLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateWebsiteInstanceOutcome GreenClient::updateWebsiteInstance(const UpdateWebsiteInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWebsiteInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWebsiteInstanceOutcome(UpdateWebsiteInstanceResult(outcome.result())); + else + return UpdateWebsiteInstanceOutcome(outcome.error()); +} + +void GreenClient::updateWebsiteInstanceAsync(const UpdateWebsiteInstanceRequest& request, const UpdateWebsiteInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWebsiteInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateWebsiteInstanceOutcomeCallable GreenClient::updateWebsiteInstanceCallable(const UpdateWebsiteInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWebsiteInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::DescribeWebsiteScanResultDetailOutcome GreenClient::describeWebsiteScanResultDetail(const DescribeWebsiteScanResultDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebsiteScanResultDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebsiteScanResultDetailOutcome(DescribeWebsiteScanResultDetailResult(outcome.result())); + else + return DescribeWebsiteScanResultDetailOutcome(outcome.error()); +} + +void GreenClient::describeWebsiteScanResultDetailAsync(const DescribeWebsiteScanResultDetailRequest& request, const DescribeWebsiteScanResultDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebsiteScanResultDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::DescribeWebsiteScanResultDetailOutcomeCallable GreenClient::describeWebsiteScanResultDetailCallable(const DescribeWebsiteScanResultDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebsiteScanResultDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddSimilarityLibraryOutcome GreenClient::addSimilarityLibrary(const AddSimilarityLibraryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddSimilarityLibraryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddSimilarityLibraryOutcome(AddSimilarityLibraryResult(outcome.result())); + else + return AddSimilarityLibraryOutcome(outcome.error()); +} + +void GreenClient::addSimilarityLibraryAsync(const AddSimilarityLibraryRequest& request, const AddSimilarityLibraryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addSimilarityLibrary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddSimilarityLibraryOutcomeCallable GreenClient::addSimilarityLibraryCallable(const AddSimilarityLibraryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addSimilarityLibrary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::AddVideoDnaGroupOutcome GreenClient::addVideoDnaGroup(const AddVideoDnaGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddVideoDnaGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddVideoDnaGroupOutcome(AddVideoDnaGroupResult(outcome.result())); + else + return AddVideoDnaGroupOutcome(outcome.error()); +} + +void GreenClient::addVideoDnaGroupAsync(const AddVideoDnaGroupRequest& request, const AddVideoDnaGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addVideoDnaGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::AddVideoDnaGroupOutcomeCallable GreenClient::addVideoDnaGroupCallable(const AddVideoDnaGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addVideoDnaGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::CreateCdiBagOutcome GreenClient::createCdiBag(const CreateCdiBagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdiBagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdiBagOutcome(CreateCdiBagResult(outcome.result())); + else + return CreateCdiBagOutcome(outcome.error()); +} + +void GreenClient::createCdiBagAsync(const CreateCdiBagRequest& request, const CreateCdiBagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdiBag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::CreateCdiBagOutcomeCallable GreenClient::createCdiBagCallable(const CreateCdiBagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdiBag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::UpdateKeywordLibOutcome GreenClient::updateKeywordLib(const UpdateKeywordLibRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateKeywordLibOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateKeywordLibOutcome(UpdateKeywordLibResult(outcome.result())); + else + return UpdateKeywordLibOutcome(outcome.error()); +} + +void GreenClient::updateKeywordLibAsync(const UpdateKeywordLibRequest& request, const UpdateKeywordLibAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateKeywordLib(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::UpdateKeywordLibOutcomeCallable GreenClient::updateKeywordLibCallable(const UpdateKeywordLibRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateKeywordLib(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +GreenClient::ImageAsyncScanOutcome GreenClient::imageAsyncScan(const ImageAsyncScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImageAsyncScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImageAsyncScanOutcome(ImageAsyncScanResult(outcome.result())); + else + return ImageAsyncScanOutcome(outcome.error()); +} + +void GreenClient::imageAsyncScanAsync(const ImageAsyncScanRequest& request, const ImageAsyncScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, imageAsyncScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +GreenClient::ImageAsyncScanOutcomeCallable GreenClient::imageAsyncScanCallable(const ImageAsyncScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->imageAsyncScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + GreenClient::ImageAsyncScanResultsOutcome GreenClient::imageAsyncScanResults(const ImageAsyncScanResultsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -951,540 +4551,252 @@ GreenClient::VoiceAsyncScanResultsOutcomeCallable GreenClient::voiceAsyncScanRes return task->get_future(); } -GreenClient::GetFacesOutcome GreenClient::getFaces(const GetFacesRequest &request) const +GreenClient::ImageResultsOutcome GreenClient::imageResults(const ImageResultsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetFacesOutcome(endpointOutcome.error()); + return ImageResultsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetFacesOutcome(GetFacesResult(outcome.result())); + return ImageResultsOutcome(ImageResultsResult(outcome.result())); else - return GetFacesOutcome(outcome.error()); + return ImageResultsOutcome(outcome.error()); } -void GreenClient::getFacesAsync(const GetFacesRequest& request, const GetFacesAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::imageResultsAsync(const ImageResultsRequest& request, const ImageResultsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getFaces(request), context); + handler(this, request, imageResults(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::GetFacesOutcomeCallable GreenClient::getFacesCallable(const GetFacesRequest &request) const +GreenClient::ImageResultsOutcomeCallable GreenClient::imageResultsCallable(const ImageResultsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getFaces(request); + return this->imageResults(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::VoiceAsyncScanOutcome GreenClient::voiceAsyncScan(const VoiceAsyncScanRequest &request) const +GreenClient::VerifyWebsiteInstanceOutcome GreenClient::verifyWebsiteInstance(const VerifyWebsiteInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return VoiceAsyncScanOutcome(endpointOutcome.error()); + return VerifyWebsiteInstanceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return VoiceAsyncScanOutcome(VoiceAsyncScanResult(outcome.result())); + return VerifyWebsiteInstanceOutcome(VerifyWebsiteInstanceResult(outcome.result())); else - return VoiceAsyncScanOutcome(outcome.error()); + return VerifyWebsiteInstanceOutcome(outcome.error()); } -void GreenClient::voiceAsyncScanAsync(const VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::verifyWebsiteInstanceAsync(const VerifyWebsiteInstanceRequest& request, const VerifyWebsiteInstanceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, voiceAsyncScan(request), context); + handler(this, request, verifyWebsiteInstance(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::VoiceAsyncScanOutcomeCallable GreenClient::voiceAsyncScanCallable(const VoiceAsyncScanRequest &request) const +GreenClient::VerifyWebsiteInstanceOutcomeCallable GreenClient::verifyWebsiteInstanceCallable(const VerifyWebsiteInstanceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->voiceAsyncScan(request); + return this->verifyWebsiteInstance(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::VoiceCancelScanOutcome GreenClient::voiceCancelScan(const VoiceCancelScanRequest &request) const +GreenClient::UpdateWebsiteInstanceKeyUrlOutcome GreenClient::updateWebsiteInstanceKeyUrl(const UpdateWebsiteInstanceKeyUrlRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return VoiceCancelScanOutcome(endpointOutcome.error()); + return UpdateWebsiteInstanceKeyUrlOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return VoiceCancelScanOutcome(VoiceCancelScanResult(outcome.result())); + return UpdateWebsiteInstanceKeyUrlOutcome(UpdateWebsiteInstanceKeyUrlResult(outcome.result())); else - return VoiceCancelScanOutcome(outcome.error()); + return UpdateWebsiteInstanceKeyUrlOutcome(outcome.error()); } -void GreenClient::voiceCancelScanAsync(const VoiceCancelScanRequest& request, const VoiceCancelScanAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::updateWebsiteInstanceKeyUrlAsync(const UpdateWebsiteInstanceKeyUrlRequest& request, const UpdateWebsiteInstanceKeyUrlAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, voiceCancelScan(request), context); + handler(this, request, updateWebsiteInstanceKeyUrl(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::VoiceCancelScanOutcomeCallable GreenClient::voiceCancelScanCallable(const VoiceCancelScanRequest &request) const +GreenClient::UpdateWebsiteInstanceKeyUrlOutcomeCallable GreenClient::updateWebsiteInstanceKeyUrlCallable(const UpdateWebsiteInstanceKeyUrlRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->voiceCancelScan(request); + return this->updateWebsiteInstanceKeyUrl(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::GetGroupsOutcome GreenClient::getGroups(const GetGroupsRequest &request) const +GreenClient::SendVerifyCodeToPhoneOutcome GreenClient::sendVerifyCodeToPhone(const SendVerifyCodeToPhoneRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetGroupsOutcome(endpointOutcome.error()); + return SendVerifyCodeToPhoneOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetGroupsOutcome(GetGroupsResult(outcome.result())); + return SendVerifyCodeToPhoneOutcome(SendVerifyCodeToPhoneResult(outcome.result())); else - return GetGroupsOutcome(outcome.error()); + return SendVerifyCodeToPhoneOutcome(outcome.error()); } -void GreenClient::getGroupsAsync(const GetGroupsRequest& request, const GetGroupsAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::sendVerifyCodeToPhoneAsync(const SendVerifyCodeToPhoneRequest& request, const SendVerifyCodeToPhoneAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getGroups(request), context); + handler(this, request, sendVerifyCodeToPhone(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::GetGroupsOutcomeCallable GreenClient::getGroupsCallable(const GetGroupsRequest &request) const +GreenClient::SendVerifyCodeToPhoneOutcomeCallable GreenClient::sendVerifyCodeToPhoneCallable(const SendVerifyCodeToPhoneRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getGroups(request); + return this->sendVerifyCodeToPhone(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::TextScanOutcome GreenClient::textScan(const TextScanRequest &request) const +GreenClient::DescribeOssIncrementOverviewOutcome GreenClient::describeOssIncrementOverview(const DescribeOssIncrementOverviewRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return TextScanOutcome(endpointOutcome.error()); + return DescribeOssIncrementOverviewOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return TextScanOutcome(TextScanResult(outcome.result())); + return DescribeOssIncrementOverviewOutcome(DescribeOssIncrementOverviewResult(outcome.result())); else - return TextScanOutcome(outcome.error()); + return DescribeOssIncrementOverviewOutcome(outcome.error()); } -void GreenClient::textScanAsync(const TextScanRequest& request, const TextScanAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeOssIncrementOverviewAsync(const DescribeOssIncrementOverviewRequest& request, const DescribeOssIncrementOverviewAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, textScan(request), context); + handler(this, request, describeOssIncrementOverview(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::TextScanOutcomeCallable GreenClient::textScanCallable(const TextScanRequest &request) const +GreenClient::DescribeOssIncrementOverviewOutcomeCallable GreenClient::describeOssIncrementOverviewCallable(const DescribeOssIncrementOverviewRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->textScan(request); + return this->describeOssIncrementOverview(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::VoiceIdentityRegisterOutcome GreenClient::voiceIdentityRegister(const VoiceIdentityRegisterRequest &request) const +GreenClient::DescribeNotificationSettingOutcome GreenClient::describeNotificationSetting(const DescribeNotificationSettingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return VoiceIdentityRegisterOutcome(endpointOutcome.error()); + return DescribeNotificationSettingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return VoiceIdentityRegisterOutcome(VoiceIdentityRegisterResult(outcome.result())); + return DescribeNotificationSettingOutcome(DescribeNotificationSettingResult(outcome.result())); else - return VoiceIdentityRegisterOutcome(outcome.error()); + return DescribeNotificationSettingOutcome(outcome.error()); } -void GreenClient::voiceIdentityRegisterAsync(const VoiceIdentityRegisterRequest& request, const VoiceIdentityRegisterAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeNotificationSettingAsync(const DescribeNotificationSettingRequest& request, const DescribeNotificationSettingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, voiceIdentityRegister(request), context); + handler(this, request, describeNotificationSetting(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::VoiceIdentityRegisterOutcomeCallable GreenClient::voiceIdentityRegisterCallable(const VoiceIdentityRegisterRequest &request) const +GreenClient::DescribeNotificationSettingOutcomeCallable GreenClient::describeNotificationSettingCallable(const DescribeNotificationSettingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->voiceIdentityRegister(request); + return this->describeNotificationSetting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -GreenClient::ImageScanFeedbackOutcome GreenClient::imageScanFeedback(const ImageScanFeedbackRequest &request) const +GreenClient::DescribeAuditContentOutcome GreenClient::describeAuditContent(const DescribeAuditContentRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ImageScanFeedbackOutcome(endpointOutcome.error()); + return DescribeAuditContentOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ImageScanFeedbackOutcome(ImageScanFeedbackResult(outcome.result())); + return DescribeAuditContentOutcome(DescribeAuditContentResult(outcome.result())); else - return ImageScanFeedbackOutcome(outcome.error()); + return DescribeAuditContentOutcome(outcome.error()); } -void GreenClient::imageScanFeedbackAsync(const ImageScanFeedbackRequest& request, const ImageScanFeedbackAsyncHandler& handler, const std::shared_ptr& context) const +void GreenClient::describeAuditContentAsync(const DescribeAuditContentRequest& request, const DescribeAuditContentAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, imageScanFeedback(request), context); + handler(this, request, describeAuditContent(request), context); }; asyncExecute(new Runnable(fn)); } -GreenClient::ImageScanFeedbackOutcomeCallable GreenClient::imageScanFeedbackCallable(const ImageScanFeedbackRequest &request) const +GreenClient::DescribeAuditContentOutcomeCallable GreenClient::describeAuditContentCallable(const DescribeAuditContentRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->imageScanFeedback(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::VoiceIdentityStartRegisterOutcome GreenClient::voiceIdentityStartRegister(const VoiceIdentityStartRegisterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return VoiceIdentityStartRegisterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return VoiceIdentityStartRegisterOutcome(VoiceIdentityStartRegisterResult(outcome.result())); - else - return VoiceIdentityStartRegisterOutcome(outcome.error()); -} - -void GreenClient::voiceIdentityStartRegisterAsync(const VoiceIdentityStartRegisterRequest& request, const VoiceIdentityStartRegisterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, voiceIdentityStartRegister(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::VoiceIdentityStartRegisterOutcomeCallable GreenClient::voiceIdentityStartRegisterCallable(const VoiceIdentityStartRegisterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->voiceIdentityStartRegister(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::DeleteSimilarityImageOutcome GreenClient::deleteSimilarityImage(const DeleteSimilarityImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteSimilarityImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteSimilarityImageOutcome(DeleteSimilarityImageResult(outcome.result())); - else - return DeleteSimilarityImageOutcome(outcome.error()); -} - -void GreenClient::deleteSimilarityImageAsync(const DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteSimilarityImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::DeleteSimilarityImageOutcomeCallable GreenClient::deleteSimilarityImageCallable(const DeleteSimilarityImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteSimilarityImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::SearchPersonOutcome GreenClient::searchPerson(const SearchPersonRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchPersonOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchPersonOutcome(SearchPersonResult(outcome.result())); - else - return SearchPersonOutcome(outcome.error()); -} - -void GreenClient::searchPersonAsync(const SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchPerson(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::SearchPersonOutcomeCallable GreenClient::searchPersonCallable(const SearchPersonRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchPerson(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::GetAddVideoDnaResultsOutcome GreenClient::getAddVideoDnaResults(const GetAddVideoDnaResultsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetAddVideoDnaResultsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetAddVideoDnaResultsOutcome(GetAddVideoDnaResultsResult(outcome.result())); - else - return GetAddVideoDnaResultsOutcome(outcome.error()); -} - -void GreenClient::getAddVideoDnaResultsAsync(const GetAddVideoDnaResultsRequest& request, const GetAddVideoDnaResultsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getAddVideoDnaResults(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::GetAddVideoDnaResultsOutcomeCallable GreenClient::getAddVideoDnaResultsCallable(const GetAddVideoDnaResultsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getAddVideoDnaResults(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::AddPersonOutcome GreenClient::addPerson(const AddPersonRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddPersonOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddPersonOutcome(AddPersonResult(outcome.result())); - else - return AddPersonOutcome(outcome.error()); -} - -void GreenClient::addPersonAsync(const AddPersonRequest& request, const AddPersonAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addPerson(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::AddPersonOutcomeCallable GreenClient::addPersonCallable(const AddPersonRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addPerson(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::AddFacesOutcome GreenClient::addFaces(const AddFacesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddFacesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddFacesOutcome(AddFacesResult(outcome.result())); - else - return AddFacesOutcome(outcome.error()); -} - -void GreenClient::addFacesAsync(const AddFacesRequest& request, const AddFacesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addFaces(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::AddFacesOutcomeCallable GreenClient::addFacesCallable(const AddFacesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addFaces(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::AddSimilarityImageOutcome GreenClient::addSimilarityImage(const AddSimilarityImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddSimilarityImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddSimilarityImageOutcome(AddSimilarityImageResult(outcome.result())); - else - return AddSimilarityImageOutcome(outcome.error()); -} - -void GreenClient::addSimilarityImageAsync(const AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addSimilarityImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::AddSimilarityImageOutcomeCallable GreenClient::addSimilarityImageCallable(const AddSimilarityImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addSimilarityImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -GreenClient::VoiceIdentityUnregisterOutcome GreenClient::voiceIdentityUnregister(const VoiceIdentityUnregisterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return VoiceIdentityUnregisterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return VoiceIdentityUnregisterOutcome(VoiceIdentityUnregisterResult(outcome.result())); - else - return VoiceIdentityUnregisterOutcome(outcome.error()); -} - -void GreenClient::voiceIdentityUnregisterAsync(const VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, voiceIdentityUnregister(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -GreenClient::VoiceIdentityUnregisterOutcomeCallable GreenClient::voiceIdentityUnregisterCallable(const VoiceIdentityUnregisterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->voiceIdentityUnregister(request); + return this->describeAuditContent(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/green/src/model/AddFacesRequest.cc b/green/src/model/AddFacesRequest.cc index 249a332bc..9b3c3a17f 100755 --- a/green/src/model/AddFacesRequest.cc +++ b/green/src/model/AddFacesRequest.cc @@ -33,7 +33,7 @@ std::string AddFacesRequest::getRegionId()const void AddFacesRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string AddFacesRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string AddFacesRequest::getClientInfo()const void AddFacesRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/AddGroupsRequest.cc b/green/src/model/AddGroupsRequest.cc index 0aec93029..12f137266 100755 --- a/green/src/model/AddGroupsRequest.cc +++ b/green/src/model/AddGroupsRequest.cc @@ -33,7 +33,7 @@ std::string AddGroupsRequest::getRegionId()const void AddGroupsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string AddGroupsRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string AddGroupsRequest::getClientInfo()const void AddGroupsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/AddPersonRequest.cc b/green/src/model/AddPersonRequest.cc index 625daac22..ec6223203 100755 --- a/green/src/model/AddPersonRequest.cc +++ b/green/src/model/AddPersonRequest.cc @@ -33,7 +33,7 @@ std::string AddPersonRequest::getRegionId()const void AddPersonRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string AddPersonRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string AddPersonRequest::getClientInfo()const void AddPersonRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/AddSimilarityImageRequest.cc b/green/src/model/AddSimilarityImageRequest.cc index 6c518a23b..ccf7ce206 100755 --- a/green/src/model/AddSimilarityImageRequest.cc +++ b/green/src/model/AddSimilarityImageRequest.cc @@ -33,6 +33,6 @@ std::string AddSimilarityImageRequest::getClientInfo()const void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/AddSimilarityLibraryRequest.cc b/green/src/model/AddSimilarityLibraryRequest.cc new file mode 100644 index 000000000..dafcdab24 --- /dev/null +++ b/green/src/model/AddSimilarityLibraryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::AddSimilarityLibraryRequest; + +AddSimilarityLibraryRequest::AddSimilarityLibraryRequest() : + RoaServiceRequest("green", "2018-05-09") +{} + +AddSimilarityLibraryRequest::~AddSimilarityLibraryRequest() +{} + +std::string AddSimilarityLibraryRequest::getClientInfo()const +{ + return clientInfo_; +} + +void AddSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo) +{ + clientInfo_ = clientInfo; + setCoreParameter("ClientInfo", clientInfo); +} + diff --git a/green/src/model/AddSimilarityLibraryResult.cc b/green/src/model/AddSimilarityLibraryResult.cc new file mode 100644 index 000000000..a72f16783 --- /dev/null +++ b/green/src/model/AddSimilarityLibraryResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +AddSimilarityLibraryResult::AddSimilarityLibraryResult() : + ServiceResult() +{} + +AddSimilarityLibraryResult::AddSimilarityLibraryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddSimilarityLibraryResult::~AddSimilarityLibraryResult() +{} + +void AddSimilarityLibraryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/AddVideoDnaGroupRequest.cc b/green/src/model/AddVideoDnaGroupRequest.cc index 4999d0794..4a8e92674 100755 --- a/green/src/model/AddVideoDnaGroupRequest.cc +++ b/green/src/model/AddVideoDnaGroupRequest.cc @@ -33,6 +33,6 @@ std::string AddVideoDnaGroupRequest::getClientInfo()const void AddVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/AddVideoDnaRequest.cc b/green/src/model/AddVideoDnaRequest.cc index dd258c724..5b1509c77 100755 --- a/green/src/model/AddVideoDnaRequest.cc +++ b/green/src/model/AddVideoDnaRequest.cc @@ -33,6 +33,6 @@ std::string AddVideoDnaRequest::getClientInfo()const void AddVideoDnaRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/CreatCustomOcrTemplateRequest.cc b/green/src/model/CreatCustomOcrTemplateRequest.cc new file mode 100644 index 000000000..de2458ea5 --- /dev/null +++ b/green/src/model/CreatCustomOcrTemplateRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreatCustomOcrTemplateRequest; + +CreatCustomOcrTemplateRequest::CreatCustomOcrTemplateRequest() : + RpcServiceRequest("green", "2017-08-23", "CreatCustomOcrTemplate") +{} + +CreatCustomOcrTemplateRequest::~CreatCustomOcrTemplateRequest() +{} + +std::string CreatCustomOcrTemplateRequest::getImgUrl()const +{ + return imgUrl_; +} + +void CreatCustomOcrTemplateRequest::setImgUrl(const std::string& imgUrl) +{ + imgUrl_ = imgUrl; + setCoreParameter("ImgUrl", imgUrl); +} + +std::string CreatCustomOcrTemplateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreatCustomOcrTemplateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreatCustomOcrTemplateRequest::getReferArea()const +{ + return referArea_; +} + +void CreatCustomOcrTemplateRequest::setReferArea(const std::string& referArea) +{ + referArea_ = referArea; + setCoreParameter("ReferArea", referArea); +} + +std::string CreatCustomOcrTemplateRequest::getRecognizeArea()const +{ + return recognizeArea_; +} + +void CreatCustomOcrTemplateRequest::setRecognizeArea(const std::string& recognizeArea) +{ + recognizeArea_ = recognizeArea; + setCoreParameter("RecognizeArea", recognizeArea); +} + +std::string CreatCustomOcrTemplateRequest::getName()const +{ + return name_; +} + +void CreatCustomOcrTemplateRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + diff --git a/green/src/model/CreatCustomOcrTemplateResult.cc b/green/src/model/CreatCustomOcrTemplateResult.cc new file mode 100644 index 000000000..26f6d7892 --- /dev/null +++ b/green/src/model/CreatCustomOcrTemplateResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreatCustomOcrTemplateResult::CreatCustomOcrTemplateResult() : + ServiceResult() +{} + +CreatCustomOcrTemplateResult::CreatCustomOcrTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreatCustomOcrTemplateResult::~CreatCustomOcrTemplateResult() +{} + +void CreatCustomOcrTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/CreateBizTypeRequest.cc b/green/src/model/CreateBizTypeRequest.cc new file mode 100644 index 000000000..1809ed807 --- /dev/null +++ b/green/src/model/CreateBizTypeRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateBizTypeRequest; + +CreateBizTypeRequest::CreateBizTypeRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateBizType") +{} + +CreateBizTypeRequest::~CreateBizTypeRequest() +{} + +std::string CreateBizTypeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateBizTypeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateBizTypeRequest::getIndustryInfo()const +{ + return industryInfo_; +} + +void CreateBizTypeRequest::setIndustryInfo(const std::string& industryInfo) +{ + industryInfo_ = industryInfo; + setCoreParameter("IndustryInfo", industryInfo); +} + +std::string CreateBizTypeRequest::getBizTypeName()const +{ + return bizTypeName_; +} + +void CreateBizTypeRequest::setBizTypeName(const std::string& bizTypeName) +{ + bizTypeName_ = bizTypeName; + setCoreParameter("BizTypeName", bizTypeName); +} + +std::string CreateBizTypeRequest::getBizTypeImport()const +{ + return bizTypeImport_; +} + +void CreateBizTypeRequest::setBizTypeImport(const std::string& bizTypeImport) +{ + bizTypeImport_ = bizTypeImport; + setCoreParameter("BizTypeImport", bizTypeImport); +} + diff --git a/green/src/model/CreateBizTypeResult.cc b/green/src/model/CreateBizTypeResult.cc new file mode 100644 index 000000000..8450f61b1 --- /dev/null +++ b/green/src/model/CreateBizTypeResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateBizTypeResult::CreateBizTypeResult() : + ServiceResult() +{} + +CreateBizTypeResult::CreateBizTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateBizTypeResult::~CreateBizTypeResult() +{} + +void CreateBizTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/CreateCdiBagRequest.cc b/green/src/model/CreateCdiBagRequest.cc new file mode 100644 index 000000000..14755cf62 --- /dev/null +++ b/green/src/model/CreateCdiBagRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateCdiBagRequest; + +CreateCdiBagRequest::CreateCdiBagRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateCdiBag") +{} + +CreateCdiBagRequest::~CreateCdiBagRequest() +{} + +std::string CreateCdiBagRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateCdiBagRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +int CreateCdiBagRequest::getOrderNum()const +{ + return orderNum_; +} + +void CreateCdiBagRequest::setOrderNum(int orderNum) +{ + orderNum_ = orderNum; + setCoreParameter("OrderNum", std::to_string(orderNum)); +} + +std::string CreateCdiBagRequest::getCommodityCode()const +{ + return commodityCode_; +} + +void CreateCdiBagRequest::setCommodityCode(const std::string& commodityCode) +{ + commodityCode_ = commodityCode; + setCoreParameter("CommodityCode", commodityCode); +} + +long CreateCdiBagRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateCdiBagRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +int CreateCdiBagRequest::getFlowOutSpec()const +{ + return flowOutSpec_; +} + +void CreateCdiBagRequest::setFlowOutSpec(int flowOutSpec) +{ + flowOutSpec_ = flowOutSpec; + setCoreParameter("FlowOutSpec", std::to_string(flowOutSpec)); +} + +std::string CreateCdiBagRequest::getOrderType()const +{ + return orderType_; +} + +void CreateCdiBagRequest::setOrderType(const std::string& orderType) +{ + orderType_ = orderType; + setCoreParameter("OrderType", orderType); +} + diff --git a/green/src/model/CreateCdiBagResult.cc b/green/src/model/CreateCdiBagResult.cc new file mode 100644 index 000000000..87e9ee7b9 --- /dev/null +++ b/green/src/model/CreateCdiBagResult.cc @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateCdiBagResult::CreateCdiBagResult() : + ServiceResult() +{} + +CreateCdiBagResult::CreateCdiBagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdiBagResult::~CreateCdiBagResult() +{} + +void CreateCdiBagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allInstanceIds = value["InstanceIds"]["String"]; + for (const auto &item : allInstanceIds) + instanceIds_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + +} + +std::string CreateCdiBagResult::getMessage()const +{ + return message_; +} + +std::vector CreateCdiBagResult::getInstanceIds()const +{ + return instanceIds_; +} + +std::string CreateCdiBagResult::getOrderId()const +{ + return orderId_; +} + +std::string CreateCdiBagResult::getCode()const +{ + return code_; +} + diff --git a/green/src/model/CreateCdiBaseBagRequest.cc b/green/src/model/CreateCdiBaseBagRequest.cc new file mode 100644 index 000000000..bc07edacc --- /dev/null +++ b/green/src/model/CreateCdiBaseBagRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateCdiBaseBagRequest; + +CreateCdiBaseBagRequest::CreateCdiBaseBagRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateCdiBaseBag") +{} + +CreateCdiBaseBagRequest::~CreateCdiBaseBagRequest() +{} + +int CreateCdiBaseBagRequest::getDuration()const +{ + return duration_; +} + +void CreateCdiBaseBagRequest::setDuration(int duration) +{ + duration_ = duration; + setCoreParameter("Duration", std::to_string(duration)); +} + +std::string CreateCdiBaseBagRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateCdiBaseBagRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +std::string CreateCdiBaseBagRequest::getCommodityCode()const +{ + return commodityCode_; +} + +void CreateCdiBaseBagRequest::setCommodityCode(const std::string& commodityCode) +{ + commodityCode_ = commodityCode; + setCoreParameter("CommodityCode", commodityCode); +} + +long CreateCdiBaseBagRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateCdiBaseBagRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +int CreateCdiBaseBagRequest::getFlowOutSpec()const +{ + return flowOutSpec_; +} + +void CreateCdiBaseBagRequest::setFlowOutSpec(int flowOutSpec) +{ + flowOutSpec_ = flowOutSpec; + setCoreParameter("FlowOutSpec", std::to_string(flowOutSpec)); +} + +std::string CreateCdiBaseBagRequest::getOrderType()const +{ + return orderType_; +} + +void CreateCdiBaseBagRequest::setOrderType(const std::string& orderType) +{ + orderType_ = orderType; + setCoreParameter("OrderType", orderType); +} + diff --git a/green/src/model/CreateCdiBaseBagResult.cc b/green/src/model/CreateCdiBaseBagResult.cc new file mode 100644 index 000000000..e37da8904 --- /dev/null +++ b/green/src/model/CreateCdiBaseBagResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateCdiBaseBagResult::CreateCdiBaseBagResult() : + ServiceResult() +{} + +CreateCdiBaseBagResult::CreateCdiBaseBagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdiBaseBagResult::~CreateCdiBaseBagResult() +{} + +void CreateCdiBaseBagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + +} + +std::string CreateCdiBaseBagResult::getMessage()const +{ + return message_; +} + +std::string CreateCdiBaseBagResult::getInstanceId()const +{ + return instanceId_; +} + +std::string CreateCdiBaseBagResult::getOrderId()const +{ + return orderId_; +} + +std::string CreateCdiBaseBagResult::getCode()const +{ + return code_; +} + diff --git a/green/src/model/CreateImageLibRequest.cc b/green/src/model/CreateImageLibRequest.cc new file mode 100644 index 000000000..cf3a67391 --- /dev/null +++ b/green/src/model/CreateImageLibRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateImageLibRequest; + +CreateImageLibRequest::CreateImageLibRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateImageLib") +{} + +CreateImageLibRequest::~CreateImageLibRequest() +{} + +std::string CreateImageLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateImageLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +bool CreateImageLibRequest::getEnable()const +{ + return enable_; +} + +void CreateImageLibRequest::setEnable(bool enable) +{ + enable_ = enable; + setCoreParameter("Enable", enable ? "true" : "false"); +} + +std::string CreateImageLibRequest::getName()const +{ + return name_; +} + +void CreateImageLibRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string CreateImageLibRequest::getBizTypes()const +{ + return bizTypes_; +} + +void CreateImageLibRequest::setBizTypes(const std::string& bizTypes) +{ + bizTypes_ = bizTypes; + setCoreParameter("BizTypes", bizTypes); +} + +std::string CreateImageLibRequest::getServiceModule()const +{ + return serviceModule_; +} + +void CreateImageLibRequest::setServiceModule(const std::string& serviceModule) +{ + serviceModule_ = serviceModule; + setCoreParameter("ServiceModule", serviceModule); +} + +std::string CreateImageLibRequest::getCategory()const +{ + return category_; +} + +void CreateImageLibRequest::setCategory(const std::string& category) +{ + category_ = category; + setCoreParameter("Category", category); +} + +std::string CreateImageLibRequest::getScene()const +{ + return scene_; +} + +void CreateImageLibRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + diff --git a/green/src/model/CreateImageLibResult.cc b/green/src/model/CreateImageLibResult.cc new file mode 100644 index 000000000..00dc75b6a --- /dev/null +++ b/green/src/model/CreateImageLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateImageLibResult::CreateImageLibResult() : + ServiceResult() +{} + +CreateImageLibResult::CreateImageLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateImageLibResult::~CreateImageLibResult() +{} + +void CreateImageLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/CreateKeywordLibRequest.cc b/green/src/model/CreateKeywordLibRequest.cc new file mode 100644 index 000000000..3b5285b9b --- /dev/null +++ b/green/src/model/CreateKeywordLibRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateKeywordLibRequest; + +CreateKeywordLibRequest::CreateKeywordLibRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateKeywordLib") +{} + +CreateKeywordLibRequest::~CreateKeywordLibRequest() +{} + +std::string CreateKeywordLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateKeywordLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateKeywordLibRequest::getLibType()const +{ + return libType_; +} + +void CreateKeywordLibRequest::setLibType(const std::string& libType) +{ + libType_ = libType; + setCoreParameter("LibType", libType); +} + +bool CreateKeywordLibRequest::getEnable()const +{ + return enable_; +} + +void CreateKeywordLibRequest::setEnable(bool enable) +{ + enable_ = enable; + setCoreParameter("Enable", enable ? "true" : "false"); +} + +std::string CreateKeywordLibRequest::getName()const +{ + return name_; +} + +void CreateKeywordLibRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string CreateKeywordLibRequest::getBizTypes()const +{ + return bizTypes_; +} + +void CreateKeywordLibRequest::setBizTypes(const std::string& bizTypes) +{ + bizTypes_ = bizTypes; + setCoreParameter("BizTypes", bizTypes); +} + +std::string CreateKeywordLibRequest::getLanguage()const +{ + return language_; +} + +void CreateKeywordLibRequest::setLanguage(const std::string& language) +{ + language_ = language; + setCoreParameter("Language", language); +} + +std::string CreateKeywordLibRequest::getServiceModule()const +{ + return serviceModule_; +} + +void CreateKeywordLibRequest::setServiceModule(const std::string& serviceModule) +{ + serviceModule_ = serviceModule; + setCoreParameter("ServiceModule", serviceModule); +} + +std::string CreateKeywordLibRequest::getLang()const +{ + return lang_; +} + +void CreateKeywordLibRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string CreateKeywordLibRequest::getCategory()const +{ + return category_; +} + +void CreateKeywordLibRequest::setCategory(const std::string& category) +{ + category_ = category; + setCoreParameter("Category", category); +} + +std::string CreateKeywordLibRequest::getMatchMode()const +{ + return matchMode_; +} + +void CreateKeywordLibRequest::setMatchMode(const std::string& matchMode) +{ + matchMode_ = matchMode; + setCoreParameter("MatchMode", matchMode); +} + +std::string CreateKeywordLibRequest::getResourceType()const +{ + return resourceType_; +} + +void CreateKeywordLibRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + diff --git a/green/src/model/CreateKeywordLibResult.cc b/green/src/model/CreateKeywordLibResult.cc new file mode 100644 index 000000000..58e5cc24b --- /dev/null +++ b/green/src/model/CreateKeywordLibResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateKeywordLibResult::CreateKeywordLibResult() : + ServiceResult() +{} + +CreateKeywordLibResult::CreateKeywordLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateKeywordLibResult::~CreateKeywordLibResult() +{} + +void CreateKeywordLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string CreateKeywordLibResult::getId()const +{ + return id_; +} + diff --git a/green/src/model/CreateKeywordRequest.cc b/green/src/model/CreateKeywordRequest.cc new file mode 100644 index 000000000..7a781fc91 --- /dev/null +++ b/green/src/model/CreateKeywordRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateKeywordRequest; + +CreateKeywordRequest::CreateKeywordRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateKeyword") +{} + +CreateKeywordRequest::~CreateKeywordRequest() +{} + +std::string CreateKeywordRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateKeywordRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateKeywordRequest::getKeywords()const +{ + return keywords_; +} + +void CreateKeywordRequest::setKeywords(const std::string& keywords) +{ + keywords_ = keywords; + setCoreParameter("Keywords", keywords); +} + +int CreateKeywordRequest::getKeywordLibId()const +{ + return keywordLibId_; +} + +void CreateKeywordRequest::setKeywordLibId(int keywordLibId) +{ + keywordLibId_ = keywordLibId; + setCoreParameter("KeywordLibId", std::to_string(keywordLibId)); +} + +std::string CreateKeywordRequest::getLang()const +{ + return lang_; +} + +void CreateKeywordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/CreateKeywordResult.cc b/green/src/model/CreateKeywordResult.cc new file mode 100644 index 000000000..349fb6811 --- /dev/null +++ b/green/src/model/CreateKeywordResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateKeywordResult::CreateKeywordResult() : + ServiceResult() +{} + +CreateKeywordResult::CreateKeywordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateKeywordResult::~CreateKeywordResult() +{} + +void CreateKeywordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allInvalidKeywordList = value["InvalidKeywordList"]["StringItem"]; + for (const auto &item : allInvalidKeywordList) + invalidKeywordList_.push_back(item.asString()); + auto allvalidKeywordList = value["validKeywordList"]["StringItem"]; + for (const auto &item : allvalidKeywordList) + validKeywordList_.push_back(item.asString()); + if(!value["SuccessCount"].isNull()) + successCount_ = std::stoi(value["SuccessCount"].asString()); + +} + +std::vector CreateKeywordResult::getInvalidKeywordList()const +{ + return invalidKeywordList_; +} + +int CreateKeywordResult::getSuccessCount()const +{ + return successCount_; +} + +std::vector CreateKeywordResult::getValidKeywordList()const +{ + return validKeywordList_; +} + diff --git a/green/src/model/CreateWebSiteInstanceRequest.cc b/green/src/model/CreateWebSiteInstanceRequest.cc new file mode 100644 index 000000000..f9d96eda7 --- /dev/null +++ b/green/src/model/CreateWebSiteInstanceRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateWebSiteInstanceRequest; + +CreateWebSiteInstanceRequest::CreateWebSiteInstanceRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateWebSiteInstance") +{} + +CreateWebSiteInstanceRequest::~CreateWebSiteInstanceRequest() +{} + +int CreateWebSiteInstanceRequest::getDuration()const +{ + return duration_; +} + +void CreateWebSiteInstanceRequest::setDuration(int duration) +{ + duration_ = duration; + setCoreParameter("Duration", std::to_string(duration)); +} + +std::string CreateWebSiteInstanceRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateWebSiteInstanceRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +int CreateWebSiteInstanceRequest::getOrderNum()const +{ + return orderNum_; +} + +void CreateWebSiteInstanceRequest::setOrderNum(int orderNum) +{ + orderNum_ = orderNum; + setCoreParameter("OrderNum", std::to_string(orderNum)); +} + +long CreateWebSiteInstanceRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateWebSiteInstanceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateWebSiteInstanceRequest::getPricingCycle()const +{ + return pricingCycle_; +} + +void CreateWebSiteInstanceRequest::setPricingCycle(const std::string& pricingCycle) +{ + pricingCycle_ = pricingCycle; + setCoreParameter("PricingCycle", pricingCycle); +} + +std::string CreateWebSiteInstanceRequest::getOrderType()const +{ + return orderType_; +} + +void CreateWebSiteInstanceRequest::setOrderType(const std::string& orderType) +{ + orderType_ = orderType; + setCoreParameter("OrderType", orderType); +} + diff --git a/green/src/model/CreateWebSiteInstanceResult.cc b/green/src/model/CreateWebSiteInstanceResult.cc new file mode 100644 index 000000000..06f4c7b44 --- /dev/null +++ b/green/src/model/CreateWebSiteInstanceResult.cc @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateWebSiteInstanceResult::CreateWebSiteInstanceResult() : + ServiceResult() +{} + +CreateWebSiteInstanceResult::CreateWebSiteInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWebSiteInstanceResult::~CreateWebSiteInstanceResult() +{} + +void CreateWebSiteInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allInstanceIds = value["InstanceIds"]["String"]; + for (const auto &item : allInstanceIds) + instanceIds_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + +} + +std::string CreateWebSiteInstanceResult::getMessage()const +{ + return message_; +} + +std::vector CreateWebSiteInstanceResult::getInstanceIds()const +{ + return instanceIds_; +} + +std::string CreateWebSiteInstanceResult::getOrderId()const +{ + return orderId_; +} + +std::string CreateWebSiteInstanceResult::getCode()const +{ + return code_; +} + diff --git a/green/src/model/CreateWebsiteIndexPageBaselineRequest.cc b/green/src/model/CreateWebsiteIndexPageBaselineRequest.cc new file mode 100644 index 000000000..2f119e37e --- /dev/null +++ b/green/src/model/CreateWebsiteIndexPageBaselineRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::CreateWebsiteIndexPageBaselineRequest; + +CreateWebsiteIndexPageBaselineRequest::CreateWebsiteIndexPageBaselineRequest() : + RpcServiceRequest("green", "2017-08-23", "CreateWebsiteIndexPageBaseline") +{} + +CreateWebsiteIndexPageBaselineRequest::~CreateWebsiteIndexPageBaselineRequest() +{} + +std::string CreateWebsiteIndexPageBaselineRequest::getInstanceId()const +{ + return instanceId_; +} + +void CreateWebsiteIndexPageBaselineRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string CreateWebsiteIndexPageBaselineRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateWebsiteIndexPageBaselineRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateWebsiteIndexPageBaselineRequest::getLang()const +{ + return lang_; +} + +void CreateWebsiteIndexPageBaselineRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/CreateWebsiteIndexPageBaselineResult.cc b/green/src/model/CreateWebsiteIndexPageBaselineResult.cc new file mode 100644 index 000000000..56f574ec5 --- /dev/null +++ b/green/src/model/CreateWebsiteIndexPageBaselineResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +CreateWebsiteIndexPageBaselineResult::CreateWebsiteIndexPageBaselineResult() : + ServiceResult() +{} + +CreateWebsiteIndexPageBaselineResult::CreateWebsiteIndexPageBaselineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWebsiteIndexPageBaselineResult::~CreateWebsiteIndexPageBaselineResult() +{} + +void CreateWebsiteIndexPageBaselineResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteCustomOcrTemplateRequest.cc b/green/src/model/DeleteCustomOcrTemplateRequest.cc new file mode 100644 index 000000000..57f4ab860 --- /dev/null +++ b/green/src/model/DeleteCustomOcrTemplateRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteCustomOcrTemplateRequest; + +DeleteCustomOcrTemplateRequest::DeleteCustomOcrTemplateRequest() : + RpcServiceRequest("green", "2017-08-23", "DeleteCustomOcrTemplate") +{} + +DeleteCustomOcrTemplateRequest::~DeleteCustomOcrTemplateRequest() +{} + +std::string DeleteCustomOcrTemplateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteCustomOcrTemplateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteCustomOcrTemplateRequest::getIds()const +{ + return ids_; +} + +void DeleteCustomOcrTemplateRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + diff --git a/green/src/model/DeleteCustomOcrTemplateResult.cc b/green/src/model/DeleteCustomOcrTemplateResult.cc new file mode 100644 index 000000000..59ff6012b --- /dev/null +++ b/green/src/model/DeleteCustomOcrTemplateResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteCustomOcrTemplateResult::DeleteCustomOcrTemplateResult() : + ServiceResult() +{} + +DeleteCustomOcrTemplateResult::DeleteCustomOcrTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCustomOcrTemplateResult::~DeleteCustomOcrTemplateResult() +{} + +void DeleteCustomOcrTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteFacesRequest.cc b/green/src/model/DeleteFacesRequest.cc index 9aeab19d6..d617131e5 100755 --- a/green/src/model/DeleteFacesRequest.cc +++ b/green/src/model/DeleteFacesRequest.cc @@ -33,7 +33,7 @@ std::string DeleteFacesRequest::getRegionId()const void DeleteFacesRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DeleteFacesRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string DeleteFacesRequest::getClientInfo()const void DeleteFacesRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/DeleteGroupsRequest.cc b/green/src/model/DeleteGroupsRequest.cc index ec06c1837..3abde25ff 100755 --- a/green/src/model/DeleteGroupsRequest.cc +++ b/green/src/model/DeleteGroupsRequest.cc @@ -33,7 +33,7 @@ std::string DeleteGroupsRequest::getRegionId()const void DeleteGroupsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DeleteGroupsRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string DeleteGroupsRequest::getClientInfo()const void DeleteGroupsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/DeleteImageFromLibRequest.cc b/green/src/model/DeleteImageFromLibRequest.cc new file mode 100644 index 000000000..59963127e --- /dev/null +++ b/green/src/model/DeleteImageFromLibRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteImageFromLibRequest; + +DeleteImageFromLibRequest::DeleteImageFromLibRequest() : + RpcServiceRequest("green", "2017-08-23", "DeleteImageFromLib") +{} + +DeleteImageFromLibRequest::~DeleteImageFromLibRequest() +{} + +std::string DeleteImageFromLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteImageFromLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteImageFromLibRequest::getIds()const +{ + return ids_; +} + +void DeleteImageFromLibRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + diff --git a/green/src/model/DeleteImageFromLibResult.cc b/green/src/model/DeleteImageFromLibResult.cc new file mode 100644 index 000000000..19271141f --- /dev/null +++ b/green/src/model/DeleteImageFromLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteImageFromLibResult::DeleteImageFromLibResult() : + ServiceResult() +{} + +DeleteImageFromLibResult::DeleteImageFromLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteImageFromLibResult::~DeleteImageFromLibResult() +{} + +void DeleteImageFromLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteImageLibRequest.cc b/green/src/model/DeleteImageLibRequest.cc new file mode 100644 index 000000000..0fdac1ba1 --- /dev/null +++ b/green/src/model/DeleteImageLibRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteImageLibRequest; + +DeleteImageLibRequest::DeleteImageLibRequest() : + RpcServiceRequest("green", "2017-08-23", "DeleteImageLib") +{} + +DeleteImageLibRequest::~DeleteImageLibRequest() +{} + +std::string DeleteImageLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteImageLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DeleteImageLibRequest::getId()const +{ + return id_; +} + +void DeleteImageLibRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/green/src/model/DeleteImageLibResult.cc b/green/src/model/DeleteImageLibResult.cc new file mode 100644 index 000000000..7c381ab7a --- /dev/null +++ b/green/src/model/DeleteImageLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteImageLibResult::DeleteImageLibResult() : + ServiceResult() +{} + +DeleteImageLibResult::DeleteImageLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteImageLibResult::~DeleteImageLibResult() +{} + +void DeleteImageLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteKeywordLibRequest.cc b/green/src/model/DeleteKeywordLibRequest.cc new file mode 100644 index 000000000..48e4e98ab --- /dev/null +++ b/green/src/model/DeleteKeywordLibRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteKeywordLibRequest; + +DeleteKeywordLibRequest::DeleteKeywordLibRequest() : + RpcServiceRequest("green", "2017-08-23", "DeleteKeywordLib") +{} + +DeleteKeywordLibRequest::~DeleteKeywordLibRequest() +{} + +std::string DeleteKeywordLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteKeywordLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DeleteKeywordLibRequest::getId()const +{ + return id_; +} + +void DeleteKeywordLibRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DeleteKeywordLibRequest::getLang()const +{ + return lang_; +} + +void DeleteKeywordLibRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DeleteKeywordLibResult.cc b/green/src/model/DeleteKeywordLibResult.cc new file mode 100644 index 000000000..829f54e68 --- /dev/null +++ b/green/src/model/DeleteKeywordLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteKeywordLibResult::DeleteKeywordLibResult() : + ServiceResult() +{} + +DeleteKeywordLibResult::DeleteKeywordLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteKeywordLibResult::~DeleteKeywordLibResult() +{} + +void DeleteKeywordLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteKeywordRequest.cc b/green/src/model/DeleteKeywordRequest.cc new file mode 100644 index 000000000..3866f9c10 --- /dev/null +++ b/green/src/model/DeleteKeywordRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteKeywordRequest; + +DeleteKeywordRequest::DeleteKeywordRequest() : + RpcServiceRequest("green", "2017-08-23", "DeleteKeyword") +{} + +DeleteKeywordRequest::~DeleteKeywordRequest() +{} + +std::string DeleteKeywordRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteKeywordRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteKeywordRequest::getKeywords()const +{ + return keywords_; +} + +void DeleteKeywordRequest::setKeywords(const std::string& keywords) +{ + keywords_ = keywords; + setCoreParameter("Keywords", keywords); +} + +std::string DeleteKeywordRequest::getKeywordLibId()const +{ + return keywordLibId_; +} + +void DeleteKeywordRequest::setKeywordLibId(const std::string& keywordLibId) +{ + keywordLibId_ = keywordLibId; + setCoreParameter("KeywordLibId", keywordLibId); +} + +std::string DeleteKeywordRequest::getIds()const +{ + return ids_; +} + +void DeleteKeywordRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + +std::string DeleteKeywordRequest::getLang()const +{ + return lang_; +} + +void DeleteKeywordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DeleteKeywordResult.cc b/green/src/model/DeleteKeywordResult.cc new file mode 100644 index 000000000..fb1cdc388 --- /dev/null +++ b/green/src/model/DeleteKeywordResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteKeywordResult::DeleteKeywordResult() : + ServiceResult() +{} + +DeleteKeywordResult::DeleteKeywordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteKeywordResult::~DeleteKeywordResult() +{} + +void DeleteKeywordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteNotificationContactsRequest.cc b/green/src/model/DeleteNotificationContactsRequest.cc new file mode 100644 index 000000000..46c33e0bb --- /dev/null +++ b/green/src/model/DeleteNotificationContactsRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteNotificationContactsRequest; + +DeleteNotificationContactsRequest::DeleteNotificationContactsRequest() : + RpcServiceRequest("green", "2017-08-23", "DeleteNotificationContacts") +{} + +DeleteNotificationContactsRequest::~DeleteNotificationContactsRequest() +{} + +std::string DeleteNotificationContactsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteNotificationContactsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteNotificationContactsRequest::getLang()const +{ + return lang_; +} + +void DeleteNotificationContactsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DeleteNotificationContactsRequest::getContactTypes()const +{ + return contactTypes_; +} + +void DeleteNotificationContactsRequest::setContactTypes(const std::string& contactTypes) +{ + contactTypes_ = contactTypes; + setCoreParameter("ContactTypes", contactTypes); +} + diff --git a/green/src/model/DeleteNotificationContactsResult.cc b/green/src/model/DeleteNotificationContactsResult.cc new file mode 100644 index 000000000..fad87df0f --- /dev/null +++ b/green/src/model/DeleteNotificationContactsResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteNotificationContactsResult::DeleteNotificationContactsResult() : + ServiceResult() +{} + +DeleteNotificationContactsResult::DeleteNotificationContactsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteNotificationContactsResult::~DeleteNotificationContactsResult() +{} + +void DeleteNotificationContactsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeletePersonRequest.cc b/green/src/model/DeletePersonRequest.cc index 41c8e1593..2746f7961 100755 --- a/green/src/model/DeletePersonRequest.cc +++ b/green/src/model/DeletePersonRequest.cc @@ -33,7 +33,7 @@ std::string DeletePersonRequest::getRegionId()const void DeletePersonRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string DeletePersonRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string DeletePersonRequest::getClientInfo()const void DeletePersonRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/DeleteSimilarityImageRequest.cc b/green/src/model/DeleteSimilarityImageRequest.cc index 914a4f437..3eee4beb9 100755 --- a/green/src/model/DeleteSimilarityImageRequest.cc +++ b/green/src/model/DeleteSimilarityImageRequest.cc @@ -33,6 +33,6 @@ std::string DeleteSimilarityImageRequest::getClientInfo()const void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/DeleteSimilarityLibraryRequest.cc b/green/src/model/DeleteSimilarityLibraryRequest.cc new file mode 100644 index 000000000..7abaa4f85 --- /dev/null +++ b/green/src/model/DeleteSimilarityLibraryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DeleteSimilarityLibraryRequest; + +DeleteSimilarityLibraryRequest::DeleteSimilarityLibraryRequest() : + RoaServiceRequest("green", "2018-05-09") +{} + +DeleteSimilarityLibraryRequest::~DeleteSimilarityLibraryRequest() +{} + +std::string DeleteSimilarityLibraryRequest::getClientInfo()const +{ + return clientInfo_; +} + +void DeleteSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo) +{ + clientInfo_ = clientInfo; + setCoreParameter("ClientInfo", clientInfo); +} + diff --git a/green/src/model/DeleteSimilarityLibraryResult.cc b/green/src/model/DeleteSimilarityLibraryResult.cc new file mode 100644 index 000000000..548d9db73 --- /dev/null +++ b/green/src/model/DeleteSimilarityLibraryResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DeleteSimilarityLibraryResult::DeleteSimilarityLibraryResult() : + ServiceResult() +{} + +DeleteSimilarityLibraryResult::DeleteSimilarityLibraryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSimilarityLibraryResult::~DeleteSimilarityLibraryResult() +{} + +void DeleteSimilarityLibraryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/DeleteVideoDnaGroupRequest.cc b/green/src/model/DeleteVideoDnaGroupRequest.cc index 42471cd54..821f4d79b 100755 --- a/green/src/model/DeleteVideoDnaGroupRequest.cc +++ b/green/src/model/DeleteVideoDnaGroupRequest.cc @@ -33,6 +33,6 @@ std::string DeleteVideoDnaGroupRequest::getClientInfo()const void DeleteVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/DeleteVideoDnaRequest.cc b/green/src/model/DeleteVideoDnaRequest.cc index f2940e3be..227bf3d2a 100755 --- a/green/src/model/DeleteVideoDnaRequest.cc +++ b/green/src/model/DeleteVideoDnaRequest.cc @@ -33,6 +33,6 @@ std::string DeleteVideoDnaRequest::getClientInfo()const void DeleteVideoDnaRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/DescribeAppInfoRequest.cc b/green/src/model/DescribeAppInfoRequest.cc new file mode 100644 index 000000000..17c40b890 --- /dev/null +++ b/green/src/model/DescribeAppInfoRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeAppInfoRequest; + +DescribeAppInfoRequest::DescribeAppInfoRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeAppInfo") +{} + +DescribeAppInfoRequest::~DescribeAppInfoRequest() +{} + +int DescribeAppInfoRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeAppInfoRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeAppInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAppInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeAppInfoRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAppInfoRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeAppInfoRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAppInfoRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAppInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeAppInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAppInfoRequest::getPlatform()const +{ + return platform_; +} + +void DescribeAppInfoRequest::setPlatform(const std::string& platform) +{ + platform_ = platform; + setCoreParameter("Platform", platform); +} + diff --git a/green/src/model/DescribeAppInfoResult.cc b/green/src/model/DescribeAppInfoResult.cc new file mode 100644 index 000000000..b5a361853 --- /dev/null +++ b/green/src/model/DescribeAppInfoResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeAppInfoResult::DescribeAppInfoResult() : + ServiceResult() +{} + +DescribeAppInfoResult::DescribeAppInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAppInfoResult::~DescribeAppInfoResult() +{} + +void DescribeAppInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAppInfoList = value["AppInfoList"]["AppInfo"]; + for (auto value : allAppInfoList) + { + AppInfo appInfoListObject; + if(!value["Id"].isNull()) + appInfoListObject.id = std::stol(value["Id"].asString()); + if(!value["Name"].isNull()) + appInfoListObject.name = value["Name"].asString(); + if(!value["PackageName"].isNull()) + appInfoListObject.packageName = value["PackageName"].asString(); + if(!value["Icon"].isNull()) + appInfoListObject.icon = value["Icon"].asString(); + if(!value["StartDate"].isNull()) + appInfoListObject.startDate = value["StartDate"].asString(); + if(!value["EndDate"].isNull()) + appInfoListObject.endDate = value["EndDate"].asString(); + if(!value["Type"].isNull()) + appInfoListObject.type = std::stoi(value["Type"].asString()); + auto packageInfoNode = value["PackageInfo"]; + if(!packageInfoNode["Version"].isNull()) + appInfoListObject.packageInfo.version = packageInfoNode["Version"].asString(); + auto debugPackageInfoNode = value["DebugPackageInfo"]; + if(!debugPackageInfoNode["Version"].isNull()) + appInfoListObject.debugPackageInfo.version = debugPackageInfoNode["Version"].asString(); + appInfoList_.push_back(appInfoListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeAppInfoResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAppInfoResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAppInfoResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeAppInfoResult::getAppInfoList()const +{ + return appInfoList_; +} + diff --git a/green/src/model/DescribeAuditContentItemRequest.cc b/green/src/model/DescribeAuditContentItemRequest.cc new file mode 100644 index 000000000..e23787caa --- /dev/null +++ b/green/src/model/DescribeAuditContentItemRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeAuditContentItemRequest; + +DescribeAuditContentItemRequest::DescribeAuditContentItemRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeAuditContentItem") +{} + +DescribeAuditContentItemRequest::~DescribeAuditContentItemRequest() +{} + +int DescribeAuditContentItemRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeAuditContentItemRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeAuditContentItemRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAuditContentItemRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeAuditContentItemRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAuditContentItemRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeAuditContentItemRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAuditContentItemRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAuditContentItemRequest::getLang()const +{ + return lang_; +} + +void DescribeAuditContentItemRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAuditContentItemRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeAuditContentItemRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string DescribeAuditContentItemRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeAuditContentItemRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setCoreParameter("TaskId", taskId); +} + diff --git a/green/src/model/DescribeAuditContentItemResult.cc b/green/src/model/DescribeAuditContentItemResult.cc new file mode 100644 index 000000000..18d8e465b --- /dev/null +++ b/green/src/model/DescribeAuditContentItemResult.cc @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeAuditContentItemResult::DescribeAuditContentItemResult() : + ServiceResult() +{} + +DescribeAuditContentItemResult::DescribeAuditContentItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAuditContentItemResult::~DescribeAuditContentItemResult() +{} + +void DescribeAuditContentItemResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAuditContentItemList = value["AuditContentItemList"]["AuditContentItem"]; + for (auto value : allAuditContentItemList) + { + AuditContentItem auditContentItemListObject; + if(!value["ParentTaskId"].isNull()) + auditContentItemListObject.parentTaskId = value["ParentTaskId"].asString(); + if(!value["Content"].isNull()) + auditContentItemListObject.content = value["Content"].asString(); + if(!value["Sn"].isNull()) + auditContentItemListObject.sn = std::stoi(value["Sn"].asString()); + if(!value["StartTime"].isNull()) + auditContentItemListObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + auditContentItemListObject.endTime = value["EndTime"].asString(); + if(!value["Audit"].isNull()) + auditContentItemListObject.audit = std::stoi(value["Audit"].asString()); + if(!value["AuditResult"].isNull()) + auditContentItemListObject.auditResult = value["AuditResult"].asString(); + if(!value["Suggestion"].isNull()) + auditContentItemListObject.suggestion = value["Suggestion"].asString(); + if(!value["Id"].isNull()) + auditContentItemListObject.id = std::stol(value["Id"].asString()); + auto allAuditIllegalReasons = value["AuditIllegalReasons"]["StringItem"]; + for (auto value : allAuditIllegalReasons) + auditContentItemListObject.auditIllegalReasons.push_back(value.asString()); + auditContentItemList_.push_back(auditContentItemListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeAuditContentItemResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeAuditContentItemResult::getAuditContentItemList()const +{ + return auditContentItemList_; +} + +int DescribeAuditContentItemResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAuditContentItemResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/green/src/model/DescribeAuditContentRequest.cc b/green/src/model/DescribeAuditContentRequest.cc new file mode 100644 index 000000000..668a35742 --- /dev/null +++ b/green/src/model/DescribeAuditContentRequest.cc @@ -0,0 +1,225 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeAuditContentRequest; + +DescribeAuditContentRequest::DescribeAuditContentRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeAuditContent") +{} + +DescribeAuditContentRequest::~DescribeAuditContentRequest() +{} + +int DescribeAuditContentRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeAuditContentRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeAuditContentRequest::getKeywordId()const +{ + return keywordId_; +} + +void DescribeAuditContentRequest::setKeywordId(const std::string& keywordId) +{ + keywordId_ = keywordId; + setCoreParameter("KeywordId", keywordId); +} + +std::string DescribeAuditContentRequest::getImageId()const +{ + return imageId_; +} + +void DescribeAuditContentRequest::setImageId(const std::string& imageId) +{ + imageId_ = imageId; + setCoreParameter("ImageId", imageId); +} + +std::string DescribeAuditContentRequest::getSuggestion()const +{ + return suggestion_; +} + +void DescribeAuditContentRequest::setSuggestion(const std::string& suggestion) +{ + suggestion_ = suggestion; + setCoreParameter("Suggestion", suggestion); +} + +int DescribeAuditContentRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAuditContentRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAuditContentRequest::getLabel()const +{ + return label_; +} + +void DescribeAuditContentRequest::setLabel(const std::string& label) +{ + label_ = label; + setCoreParameter("Label", label); +} + +std::string DescribeAuditContentRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeAuditContentRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string DescribeAuditContentRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeAuditContentRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string DescribeAuditContentRequest::getScene()const +{ + return scene_; +} + +void DescribeAuditContentRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + +std::string DescribeAuditContentRequest::getBizType()const +{ + return bizType_; +} + +void DescribeAuditContentRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setCoreParameter("BizType", bizType); +} + +std::string DescribeAuditContentRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeAuditContentRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string DescribeAuditContentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAuditContentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAuditContentRequest::getDataId()const +{ + return dataId_; +} + +void DescribeAuditContentRequest::setDataId(const std::string& dataId) +{ + dataId_ = dataId; + setCoreParameter("DataId", dataId); +} + +std::string DescribeAuditContentRequest::getLibType()const +{ + return libType_; +} + +void DescribeAuditContentRequest::setLibType(const std::string& libType) +{ + libType_ = libType; + setCoreParameter("LibType", libType); +} + +std::string DescribeAuditContentRequest::getAuditResult()const +{ + return auditResult_; +} + +void DescribeAuditContentRequest::setAuditResult(const std::string& auditResult) +{ + auditResult_ = auditResult; + setCoreParameter("AuditResult", auditResult); +} + +int DescribeAuditContentRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAuditContentRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeAuditContentRequest::getLang()const +{ + return lang_; +} + +void DescribeAuditContentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAuditContentRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeAuditContentRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setCoreParameter("TaskId", taskId); +} + diff --git a/green/src/model/DescribeAuditContentResult.cc b/green/src/model/DescribeAuditContentResult.cc new file mode 100644 index 000000000..a6af26956 --- /dev/null +++ b/green/src/model/DescribeAuditContentResult.cc @@ -0,0 +1,130 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeAuditContentResult::DescribeAuditContentResult() : + ServiceResult() +{} + +DescribeAuditContentResult::DescribeAuditContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAuditContentResult::~DescribeAuditContentResult() +{} + +void DescribeAuditContentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAuditContentList = value["AuditContentList"]["AuditContent"]; + for (auto value : allAuditContentList) + { + AuditContent auditContentListObject; + if(!value["TaskId"].isNull()) + auditContentListObject.taskId = value["TaskId"].asString(); + if(!value["DataId"].isNull()) + auditContentListObject.dataId = value["DataId"].asString(); + if(!value["BizType"].isNull()) + auditContentListObject.bizType = value["BizType"].asString(); + if(!value["Content"].isNull()) + auditContentListObject.content = value["Content"].asString(); + if(!value["Url"].isNull()) + auditContentListObject.url = value["Url"].asString(); + if(!value["NewUrl"].isNull()) + auditContentListObject.newUrl = value["NewUrl"].asString(); + if(!value["Thumbnail"].isNull()) + auditContentListObject.thumbnail = value["Thumbnail"].asString(); + if(!value["RequestTime"].isNull()) + auditContentListObject.requestTime = value["RequestTime"].asString(); + if(!value["ScanFinishedTime"].isNull()) + auditContentListObject.scanFinishedTime = value["ScanFinishedTime"].asString(); + if(!value["Audit"].isNull()) + auditContentListObject.audit = std::stoi(value["Audit"].asString()); + if(!value["AuditResult"].isNull()) + auditContentListObject.auditResult = value["AuditResult"].asString(); + if(!value["Suggestion"].isNull()) + auditContentListObject.suggestion = value["Suggestion"].asString(); + if(!value["Id"].isNull()) + auditContentListObject.id = std::stol(value["Id"].asString()); + auto allResults = value["Results"]["Result"]; + for (auto value : allResults) + { + AuditContent::Result resultsObject; + if(!value["Suggestion"].isNull()) + resultsObject.suggestion = value["Suggestion"].asString(); + if(!value["Label"].isNull()) + resultsObject.label = value["Label"].asString(); + if(!value["Scene"].isNull()) + resultsObject.scene = value["Scene"].asString(); + auditContentListObject.results.push_back(resultsObject); + } + auto allFrameResults = value["FrameResults"]["frameResult"]; + for (auto value : allFrameResults) + { + AuditContent::FrameResult frameResultsObject; + if(!value["Url"].isNull()) + frameResultsObject.url = value["Url"].asString(); + if(!value["Offset"].isNull()) + frameResultsObject.offset = std::stoi(value["Offset"].asString()); + if(!value["Label"].isNull()) + frameResultsObject.label = value["Label"].asString(); + auditContentListObject.frameResults.push_back(frameResultsObject); + } + auto allAuditIllegalReasons = value["AuditIllegalReasons"]["StringItem"]; + for (auto value : allAuditIllegalReasons) + auditContentListObject.auditIllegalReasons.push_back(value.asString()); + auditContentList_.push_back(auditContentListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeAuditContentResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAuditContentResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAuditContentResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeAuditContentResult::getAuditContentList()const +{ + return auditContentList_; +} + diff --git a/green/src/model/DescribeAuditSettingRequest.cc b/green/src/model/DescribeAuditSettingRequest.cc new file mode 100644 index 000000000..e46012205 --- /dev/null +++ b/green/src/model/DescribeAuditSettingRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeAuditSettingRequest; + +DescribeAuditSettingRequest::DescribeAuditSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeAuditSetting") +{} + +DescribeAuditSettingRequest::~DescribeAuditSettingRequest() +{} + +std::string DescribeAuditSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAuditSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAuditSettingRequest::getLang()const +{ + return lang_; +} + +void DescribeAuditSettingRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeAuditSettingResult.cc b/green/src/model/DescribeAuditSettingResult.cc new file mode 100644 index 000000000..aa4e8f6ba --- /dev/null +++ b/green/src/model/DescribeAuditSettingResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeAuditSettingResult::DescribeAuditSettingResult() : + ServiceResult() +{} + +DescribeAuditSettingResult::DescribeAuditSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAuditSettingResult::~DescribeAuditSettingResult() +{} + +void DescribeAuditSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto auditRangeNode = value["AuditRange"]; + if(!auditRangeNode["block"].isNull()) + auditRange_.block = auditRangeNode["block"].asString() == "true"; + if(!auditRangeNode["review"].isNull()) + auditRange_.review = auditRangeNode["review"].asString() == "true"; + if(!auditRangeNode["pass"].isNull()) + auditRange_.pass = auditRangeNode["pass"].asString() == "true"; + if(!value["Seed"].isNull()) + seed_ = value["Seed"].asString(); + if(!value["Callback"].isNull()) + callback_ = value["Callback"].asString(); + +} + +DescribeAuditSettingResult::AuditRange DescribeAuditSettingResult::getAuditRange()const +{ + return auditRange_; +} + +std::string DescribeAuditSettingResult::getCallback()const +{ + return callback_; +} + +std::string DescribeAuditSettingResult::getSeed()const +{ + return seed_; +} + diff --git a/green/src/model/DescribeBizTypeSettingRequest.cc b/green/src/model/DescribeBizTypeSettingRequest.cc new file mode 100644 index 000000000..2fe9d8950 --- /dev/null +++ b/green/src/model/DescribeBizTypeSettingRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeBizTypeSettingRequest; + +DescribeBizTypeSettingRequest::DescribeBizTypeSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeBizTypeSetting") +{} + +DescribeBizTypeSettingRequest::~DescribeBizTypeSettingRequest() +{} + +std::string DescribeBizTypeSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBizTypeSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeBizTypeSettingRequest::getBizTypeName()const +{ + return bizTypeName_; +} + +void DescribeBizTypeSettingRequest::setBizTypeName(const std::string& bizTypeName) +{ + bizTypeName_ = bizTypeName; + setCoreParameter("BizTypeName", bizTypeName); +} + +std::string DescribeBizTypeSettingRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeBizTypeSettingRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + diff --git a/green/src/model/DescribeBizTypeSettingResult.cc b/green/src/model/DescribeBizTypeSettingResult.cc new file mode 100644 index 000000000..d1832e5cf --- /dev/null +++ b/green/src/model/DescribeBizTypeSettingResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeBizTypeSettingResult::DescribeBizTypeSettingResult() : + ServiceResult() +{} + +DescribeBizTypeSettingResult::DescribeBizTypeSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBizTypeSettingResult::~DescribeBizTypeSettingResult() +{} + +void DescribeBizTypeSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto terrorismNode = value["Terrorism"]; + auto allCategories = terrorismNode["Categories"]["category"]; + for (auto value : allCategories) + terrorism_.categories.push_back(value.asString()); + auto pornNode = value["Porn"]; + auto allCategories1 = pornNode["Categories"]["category"]; + for (auto value : allCategories1) + porn_.categories1.push_back(value.asString()); + +} + +DescribeBizTypeSettingResult::Terrorism DescribeBizTypeSettingResult::getTerrorism()const +{ + return terrorism_; +} + +DescribeBizTypeSettingResult::Porn DescribeBizTypeSettingResult::getPorn()const +{ + return porn_; +} + diff --git a/green/src/model/DescribeBizTypesRequest.cc b/green/src/model/DescribeBizTypesRequest.cc new file mode 100644 index 000000000..cc7709678 --- /dev/null +++ b/green/src/model/DescribeBizTypesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeBizTypesRequest; + +DescribeBizTypesRequest::DescribeBizTypesRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeBizTypes") +{} + +DescribeBizTypesRequest::~DescribeBizTypesRequest() +{} + +std::string DescribeBizTypesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBizTypesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +bool DescribeBizTypesRequest::getImportFlag()const +{ + return importFlag_; +} + +void DescribeBizTypesRequest::setImportFlag(bool importFlag) +{ + importFlag_ = importFlag; + setCoreParameter("ImportFlag", importFlag ? "true" : "false"); +} + diff --git a/green/src/model/DescribeBizTypesResult.cc b/green/src/model/DescribeBizTypesResult.cc new file mode 100644 index 000000000..59bd50721 --- /dev/null +++ b/green/src/model/DescribeBizTypesResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeBizTypesResult::DescribeBizTypesResult() : + ServiceResult() +{} + +DescribeBizTypesResult::DescribeBizTypesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBizTypesResult::~DescribeBizTypesResult() +{} + +void DescribeBizTypesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBizTypeList = value["BizTypeList"]["item"]; + for (const auto &item : allBizTypeList) + bizTypeList_.push_back(item.asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeBizTypesResult::getBizTypeList()const +{ + return bizTypeList_; +} + +int DescribeBizTypesResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/green/src/model/DescribeCustomOcrTemplateRequest.cc b/green/src/model/DescribeCustomOcrTemplateRequest.cc new file mode 100644 index 000000000..bd702480d --- /dev/null +++ b/green/src/model/DescribeCustomOcrTemplateRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeCustomOcrTemplateRequest; + +DescribeCustomOcrTemplateRequest::DescribeCustomOcrTemplateRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeCustomOcrTemplate") +{} + +DescribeCustomOcrTemplateRequest::~DescribeCustomOcrTemplateRequest() +{} + +std::string DescribeCustomOcrTemplateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCustomOcrTemplateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeCustomOcrTemplateRequest::getIds()const +{ + return ids_; +} + +void DescribeCustomOcrTemplateRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + diff --git a/green/src/model/DescribeCustomOcrTemplateResult.cc b/green/src/model/DescribeCustomOcrTemplateResult.cc new file mode 100644 index 000000000..c6c796ecb --- /dev/null +++ b/green/src/model/DescribeCustomOcrTemplateResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeCustomOcrTemplateResult::DescribeCustomOcrTemplateResult() : + ServiceResult() +{} + +DescribeCustomOcrTemplateResult::DescribeCustomOcrTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCustomOcrTemplateResult::~DescribeCustomOcrTemplateResult() +{} + +void DescribeCustomOcrTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOcrTemplateList = value["OcrTemplateList"]["OcrTemplate"]; + for (auto value : allOcrTemplateList) + { + OcrTemplate ocrTemplateListObject; + if(!value["Id"].isNull()) + ocrTemplateListObject.id = std::stol(value["Id"].asString()); + if(!value["Name"].isNull()) + ocrTemplateListObject.name = value["Name"].asString(); + if(!value["ImgUrl"].isNull()) + ocrTemplateListObject.imgUrl = value["ImgUrl"].asString(); + if(!value["Status"].isNull()) + ocrTemplateListObject.status = std::stoi(value["Status"].asString()); + auto allReferArea = value["ReferArea"]["item"]; + for (auto value : allReferArea) + { + OcrTemplate::Item referAreaObject; + if(!value["Name"].isNull()) + referAreaObject.name = value["Name"].asString(); + if(!value["X"].isNull()) + referAreaObject.x = std::stoi(value["X"].asString()); + if(!value["Y"].isNull()) + referAreaObject.y = std::stoi(value["Y"].asString()); + if(!value["Width"].isNull()) + referAreaObject.width = std::stoi(value["Width"].asString()); + if(!value["Height"].isNull()) + referAreaObject.height = std::stoi(value["Height"].asString()); + ocrTemplateListObject.referArea.push_back(referAreaObject); + } + auto allRecognizeArea = value["RecognizeArea"]["item"]; + for (auto value : allRecognizeArea) + { + OcrTemplate::Item recognizeAreaObject; + if(!value["Name"].isNull()) + recognizeAreaObject.name = value["Name"].asString(); + if(!value["X"].isNull()) + recognizeAreaObject.x = std::stoi(value["X"].asString()); + if(!value["Y"].isNull()) + recognizeAreaObject.y = std::stoi(value["Y"].asString()); + if(!value["Width"].isNull()) + recognizeAreaObject.width = std::stoi(value["Width"].asString()); + if(!value["Height"].isNull()) + recognizeAreaObject.height = std::stoi(value["Height"].asString()); + ocrTemplateListObject.recognizeArea.push_back(recognizeAreaObject); + } + ocrTemplateList_.push_back(ocrTemplateListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeCustomOcrTemplateResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeCustomOcrTemplateResult::getOcrTemplateList()const +{ + return ocrTemplateList_; +} + diff --git a/green/src/model/DescribeImageFromLibRequest.cc b/green/src/model/DescribeImageFromLibRequest.cc new file mode 100644 index 000000000..f57350f3e --- /dev/null +++ b/green/src/model/DescribeImageFromLibRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeImageFromLibRequest; + +DescribeImageFromLibRequest::DescribeImageFromLibRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeImageFromLib") +{} + +DescribeImageFromLibRequest::~DescribeImageFromLibRequest() +{} + +int DescribeImageFromLibRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeImageFromLibRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeImageFromLibRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeImageFromLibRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string DescribeImageFromLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeImageFromLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeImageFromLibRequest::getImageLibId()const +{ + return imageLibId_; +} + +void DescribeImageFromLibRequest::setImageLibId(int imageLibId) +{ + imageLibId_ = imageLibId; + setCoreParameter("ImageLibId", std::to_string(imageLibId)); +} + +int DescribeImageFromLibRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeImageFromLibRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeImageFromLibRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeImageFromLibRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +long DescribeImageFromLibRequest::getId()const +{ + return id_; +} + +void DescribeImageFromLibRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DescribeImageFromLibRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeImageFromLibRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + diff --git a/green/src/model/DescribeImageFromLibResult.cc b/green/src/model/DescribeImageFromLibResult.cc new file mode 100644 index 000000000..cde819b3c --- /dev/null +++ b/green/src/model/DescribeImageFromLibResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeImageFromLibResult::DescribeImageFromLibResult() : + ServiceResult() +{} + +DescribeImageFromLibResult::DescribeImageFromLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImageFromLibResult::~DescribeImageFromLibResult() +{} + +void DescribeImageFromLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allImageFromLibList = value["ImageFromLibList"]["ImageFromLib"]; + for (auto value : allImageFromLibList) + { + ImageFromLib imageFromLibListObject; + if(!value["Image"].isNull()) + imageFromLibListObject.image = value["Image"].asString(); + if(!value["Thumbnail"].isNull()) + imageFromLibListObject.thumbnail = value["Thumbnail"].asString(); + if(!value["Id"].isNull()) + imageFromLibListObject.id = std::stol(value["Id"].asString()); + if(!value["ImageHitCount"].isNull()) + imageFromLibListObject.imageHitCount = std::stol(value["ImageHitCount"].asString()); + if(!value["VideoHitCount"].isNull()) + imageFromLibListObject.videoHitCount = std::stol(value["VideoHitCount"].asString()); + if(!value["CreateTime"].isNull()) + imageFromLibListObject.createTime = value["CreateTime"].asString(); + imageFromLibList_.push_back(imageFromLibListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeImageFromLibResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeImageFromLibResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeImageFromLibResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeImageFromLibResult::getImageFromLibList()const +{ + return imageFromLibList_; +} + diff --git a/green/src/model/DescribeImageLibRequest.cc b/green/src/model/DescribeImageLibRequest.cc new file mode 100644 index 000000000..837371b8c --- /dev/null +++ b/green/src/model/DescribeImageLibRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeImageLibRequest; + +DescribeImageLibRequest::DescribeImageLibRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeImageLib") +{} + +DescribeImageLibRequest::~DescribeImageLibRequest() +{} + +std::string DescribeImageLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeImageLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeImageLibRequest::getServiceModule()const +{ + return serviceModule_; +} + +void DescribeImageLibRequest::setServiceModule(const std::string& serviceModule) +{ + serviceModule_ = serviceModule; + setCoreParameter("ServiceModule", serviceModule); +} + diff --git a/green/src/model/DescribeImageLibResult.cc b/green/src/model/DescribeImageLibResult.cc new file mode 100644 index 000000000..e08d5a2eb --- /dev/null +++ b/green/src/model/DescribeImageLibResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeImageLibResult::DescribeImageLibResult() : + ServiceResult() +{} + +DescribeImageLibResult::DescribeImageLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImageLibResult::~DescribeImageLibResult() +{} + +void DescribeImageLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allImageLibList = value["ImageLibList"]["ImageLib"]; + for (auto value : allImageLibList) + { + ImageLib imageLibListObject; + if(!value["ImageCount"].isNull()) + imageLibListObject.imageCount = std::stoi(value["ImageCount"].asString()); + if(!value["ModifiedTime"].isNull()) + imageLibListObject.modifiedTime = value["ModifiedTime"].asString(); + if(!value["Code"].isNull()) + imageLibListObject.code = value["Code"].asString(); + if(!value["Name"].isNull()) + imageLibListObject.name = value["Name"].asString(); + if(!value["Id"].isNull()) + imageLibListObject.id = std::stoi(value["Id"].asString()); + if(!value["Source"].isNull()) + imageLibListObject.source = value["Source"].asString(); + if(!value["Category"].isNull()) + imageLibListObject.category = value["Category"].asString(); + if(!value["ServiceModule"].isNull()) + imageLibListObject.serviceModule = value["ServiceModule"].asString(); + if(!value["Scene"].isNull()) + imageLibListObject.scene = value["Scene"].asString(); + if(!value["Enable"].isNull()) + imageLibListObject.enable = value["Enable"].asString(); + auto allBizTypes = value["BizTypes"]["StringItem"]; + for (auto value : allBizTypes) + imageLibListObject.bizTypes.push_back(value.asString()); + imageLibList_.push_back(imageLibListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeImageLibResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeImageLibResult::getImageLibList()const +{ + return imageLibList_; +} + diff --git a/green/src/model/DescribeImageUploadInfoRequest.cc b/green/src/model/DescribeImageUploadInfoRequest.cc new file mode 100644 index 000000000..df9827dc0 --- /dev/null +++ b/green/src/model/DescribeImageUploadInfoRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeImageUploadInfoRequest; + +DescribeImageUploadInfoRequest::DescribeImageUploadInfoRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeImageUploadInfo") +{} + +DescribeImageUploadInfoRequest::~DescribeImageUploadInfoRequest() +{} + +std::string DescribeImageUploadInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeImageUploadInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/green/src/model/DescribeImageUploadInfoResult.cc b/green/src/model/DescribeImageUploadInfoResult.cc new file mode 100644 index 000000000..684ff539c --- /dev/null +++ b/green/src/model/DescribeImageUploadInfoResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeImageUploadInfoResult::DescribeImageUploadInfoResult() : + ServiceResult() +{} + +DescribeImageUploadInfoResult::DescribeImageUploadInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImageUploadInfoResult::~DescribeImageUploadInfoResult() +{} + +void DescribeImageUploadInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Accessid"].isNull()) + accessid_ = value["Accessid"].asString(); + if(!value["Policy"].isNull()) + policy_ = value["Policy"].asString(); + if(!value["Signature"].isNull()) + signature_ = value["Signature"].asString(); + if(!value["Folder"].isNull()) + folder_ = value["Folder"].asString(); + if(!value["Host"].isNull()) + host_ = value["Host"].asString(); + if(!value["Expire"].isNull()) + expire_ = std::stoi(value["Expire"].asString()); + +} + +std::string DescribeImageUploadInfoResult::getPolicy()const +{ + return policy_; +} + +int DescribeImageUploadInfoResult::getExpire()const +{ + return expire_; +} + +std::string DescribeImageUploadInfoResult::getAccessid()const +{ + return accessid_; +} + +std::string DescribeImageUploadInfoResult::getSignature()const +{ + return signature_; +} + +std::string DescribeImageUploadInfoResult::getHost()const +{ + return host_; +} + +std::string DescribeImageUploadInfoResult::getFolder()const +{ + return folder_; +} + diff --git a/green/src/model/DescribeKeywordLibRequest.cc b/green/src/model/DescribeKeywordLibRequest.cc new file mode 100644 index 000000000..443063a5c --- /dev/null +++ b/green/src/model/DescribeKeywordLibRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeKeywordLibRequest; + +DescribeKeywordLibRequest::DescribeKeywordLibRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeKeywordLib") +{} + +DescribeKeywordLibRequest::~DescribeKeywordLibRequest() +{} + +std::string DescribeKeywordLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeKeywordLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeKeywordLibRequest::getServiceModule()const +{ + return serviceModule_; +} + +void DescribeKeywordLibRequest::setServiceModule(const std::string& serviceModule) +{ + serviceModule_ = serviceModule; + setCoreParameter("ServiceModule", serviceModule); +} + +std::string DescribeKeywordLibRequest::getLang()const +{ + return lang_; +} + +void DescribeKeywordLibRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeKeywordLibResult.cc b/green/src/model/DescribeKeywordLibResult.cc new file mode 100644 index 000000000..5d2184d78 --- /dev/null +++ b/green/src/model/DescribeKeywordLibResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeKeywordLibResult::DescribeKeywordLibResult() : + ServiceResult() +{} + +DescribeKeywordLibResult::DescribeKeywordLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeKeywordLibResult::~DescribeKeywordLibResult() +{} + +void DescribeKeywordLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allKeywordLibList = value["KeywordLibList"]["KeywordLib"]; + for (auto value : allKeywordLibList) + { + KeywordLib keywordLibListObject; + if(!value["Id"].isNull()) + keywordLibListObject.id = std::stoi(value["Id"].asString()); + if(!value["ModifiedTime"].isNull()) + keywordLibListObject.modifiedTime = value["ModifiedTime"].asString(); + if(!value["Name"].isNull()) + keywordLibListObject.name = value["Name"].asString(); + if(!value["Code"].isNull()) + keywordLibListObject.code = value["Code"].asString(); + if(!value["Count"].isNull()) + keywordLibListObject.count = std::stoi(value["Count"].asString()); + if(!value["Category"].isNull()) + keywordLibListObject.category = value["Category"].asString(); + if(!value["ResourceType"].isNull()) + keywordLibListObject.resourceType = value["ResourceType"].asString(); + if(!value["LibType"].isNull()) + keywordLibListObject.libType = value["LibType"].asString(); + if(!value["Source"].isNull()) + keywordLibListObject.source = value["Source"].asString(); + if(!value["ServiceModule"].isNull()) + keywordLibListObject.serviceModule = value["ServiceModule"].asString(); + if(!value["Language"].isNull()) + keywordLibListObject.language = value["Language"].asString(); + if(!value["MatchMode"].isNull()) + keywordLibListObject.matchMode = value["MatchMode"].asString(); + if(!value["Enable"].isNull()) + keywordLibListObject.enable = value["Enable"].asString() == "true"; + auto allBizTypes = value["BizTypes"]["StringItem"]; + for (auto value : allBizTypes) + keywordLibListObject.bizTypes.push_back(value.asString()); + keywordLibList_.push_back(keywordLibListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeKeywordLibResult::getKeywordLibList()const +{ + return keywordLibList_; +} + +int DescribeKeywordLibResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/green/src/model/DescribeKeywordRequest.cc b/green/src/model/DescribeKeywordRequest.cc new file mode 100644 index 000000000..ebb789a56 --- /dev/null +++ b/green/src/model/DescribeKeywordRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeKeywordRequest; + +DescribeKeywordRequest::DescribeKeywordRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeKeyword") +{} + +DescribeKeywordRequest::~DescribeKeywordRequest() +{} + +int DescribeKeywordRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeKeywordRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeKeywordRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeKeywordRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeKeywordRequest::getKeywordLibId()const +{ + return keywordLibId_; +} + +void DescribeKeywordRequest::setKeywordLibId(int keywordLibId) +{ + keywordLibId_ = keywordLibId; + setCoreParameter("KeywordLibId", std::to_string(keywordLibId)); +} + +int DescribeKeywordRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeKeywordRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeKeywordRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeKeywordRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeKeywordRequest::getLang()const +{ + return lang_; +} + +void DescribeKeywordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeKeywordRequest::getKeyword()const +{ + return keyword_; +} + +void DescribeKeywordRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setCoreParameter("Keyword", keyword); +} + diff --git a/green/src/model/DescribeKeywordResult.cc b/green/src/model/DescribeKeywordResult.cc new file mode 100644 index 000000000..b90ef00a4 --- /dev/null +++ b/green/src/model/DescribeKeywordResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeKeywordResult::DescribeKeywordResult() : + ServiceResult() +{} + +DescribeKeywordResult::DescribeKeywordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeKeywordResult::~DescribeKeywordResult() +{} + +void DescribeKeywordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allKeywordList = value["KeywordList"]["Keyword"]; + for (auto value : allKeywordList) + { + Keyword keywordListObject; + if(!value["Id"].isNull()) + keywordListObject.id = std::stoi(value["Id"].asString()); + if(!value["CreateTime"].isNull()) + keywordListObject.createTime = value["CreateTime"].asString(); + if(!value["Keyword"].isNull()) + keywordListObject.keyword = value["Keyword"].asString(); + if(!value["HitCount"].isNull()) + keywordListObject.hitCount = std::stoi(value["HitCount"].asString()); + keywordList_.push_back(keywordListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeKeywordResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeKeywordResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeKeywordResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeKeywordResult::getKeywordList()const +{ + return keywordList_; +} + diff --git a/green/src/model/DescribeNotificationSettingRequest.cc b/green/src/model/DescribeNotificationSettingRequest.cc new file mode 100644 index 000000000..2f4a34c73 --- /dev/null +++ b/green/src/model/DescribeNotificationSettingRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeNotificationSettingRequest; + +DescribeNotificationSettingRequest::DescribeNotificationSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeNotificationSetting") +{} + +DescribeNotificationSettingRequest::~DescribeNotificationSettingRequest() +{} + +std::string DescribeNotificationSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeNotificationSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeNotificationSettingRequest::getLang()const +{ + return lang_; +} + +void DescribeNotificationSettingRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeNotificationSettingResult.cc b/green/src/model/DescribeNotificationSettingResult.cc new file mode 100644 index 000000000..1b27273c1 --- /dev/null +++ b/green/src/model/DescribeNotificationSettingResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeNotificationSettingResult::DescribeNotificationSettingResult() : + ServiceResult() +{} + +DescribeNotificationSettingResult::DescribeNotificationSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeNotificationSettingResult::~DescribeNotificationSettingResult() +{} + +void DescribeNotificationSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRealtimeMessageList = value["RealtimeMessageList"]["StringItem"]; + for (const auto &item : allRealtimeMessageList) + realtimeMessageList_.push_back(item.asString()); + auto allReminderModeList = value["ReminderModeList"]["StringItem"]; + for (const auto &item : allReminderModeList) + reminderModeList_.push_back(item.asString()); + if(!value["Email"].isNull()) + email_ = value["Email"].asString(); + if(!value["Phone"].isNull()) + phone_ = value["Phone"].asString(); + if(!value["ScheduleMessageTime"].isNull()) + scheduleMessageTime_ = std::stoi(value["ScheduleMessageTime"].asString()); + if(!value["ScheduleMessageTimeZone"].isNull()) + scheduleMessageTimeZone_ = std::stoi(value["ScheduleMessageTimeZone"].asString()); + +} + +std::string DescribeNotificationSettingResult::getEmail()const +{ + return email_; +} + +std::string DescribeNotificationSettingResult::getPhone()const +{ + return phone_; +} + +int DescribeNotificationSettingResult::getScheduleMessageTime()const +{ + return scheduleMessageTime_; +} + +int DescribeNotificationSettingResult::getScheduleMessageTimeZone()const +{ + return scheduleMessageTimeZone_; +} + +std::vector DescribeNotificationSettingResult::getReminderModeList()const +{ + return reminderModeList_; +} + +std::vector DescribeNotificationSettingResult::getRealtimeMessageList()const +{ + return realtimeMessageList_; +} + diff --git a/green/src/model/DescribeOpenApiUsageRequest.cc b/green/src/model/DescribeOpenApiUsageRequest.cc new file mode 100644 index 000000000..63591252b --- /dev/null +++ b/green/src/model/DescribeOpenApiUsageRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOpenApiUsageRequest; + +DescribeOpenApiUsageRequest::DescribeOpenApiUsageRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOpenApiUsage") +{} + +DescribeOpenApiUsageRequest::~DescribeOpenApiUsageRequest() +{} + +std::string DescribeOpenApiUsageRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeOpenApiUsageRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string DescribeOpenApiUsageRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOpenApiUsageRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeOpenApiUsageRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeOpenApiUsageRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string DescribeOpenApiUsageRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeOpenApiUsageRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + diff --git a/green/src/model/DescribeOpenApiUsageResult.cc b/green/src/model/DescribeOpenApiUsageResult.cc new file mode 100644 index 000000000..8954af5f3 --- /dev/null +++ b/green/src/model/DescribeOpenApiUsageResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOpenApiUsageResult::DescribeOpenApiUsageResult() : + ServiceResult() +{} + +DescribeOpenApiUsageResult::DescribeOpenApiUsageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOpenApiUsageResult::~DescribeOpenApiUsageResult() +{} + +void DescribeOpenApiUsageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOpenApiUsageList = value["OpenApiUsageList"]["OpenApiUsage"]; + for (auto value : allOpenApiUsageList) + { + OpenApiUsage openApiUsageListObject; + if(!value["Date"].isNull()) + openApiUsageListObject.date = value["Date"].asString(); + if(!value["ResourceType"].isNull()) + openApiUsageListObject.resourceType = value["ResourceType"].asString(); + if(!value["Scene"].isNull()) + openApiUsageListObject.scene = value["Scene"].asString(); + if(!value["TotalCount"].isNull()) + openApiUsageListObject.totalCount = std::stoi(value["TotalCount"].asString()); + if(!value["PassCount"].isNull()) + openApiUsageListObject.passCount = std::stoi(value["PassCount"].asString()); + if(!value["ReviewCount"].isNull()) + openApiUsageListObject.reviewCount = std::stoi(value["ReviewCount"].asString()); + if(!value["BlockCount"].isNull()) + openApiUsageListObject.blockCount = std::stoi(value["BlockCount"].asString()); + if(!value["InnerTotalCount"].isNull()) + openApiUsageListObject.innerTotalCount = std::stoi(value["InnerTotalCount"].asString()); + if(!value["OuterTotalCount"].isNull()) + openApiUsageListObject.outerTotalCount = std::stoi(value["OuterTotalCount"].asString()); + if(!value["TotalDuration"].isNull()) + openApiUsageListObject.totalDuration = std::stoi(value["TotalDuration"].asString()); + if(!value["PassDuration"].isNull()) + openApiUsageListObject.passDuration = std::stoi(value["PassDuration"].asString()); + if(!value["ReviewDuration"].isNull()) + openApiUsageListObject.reviewDuration = std::stoi(value["ReviewDuration"].asString()); + if(!value["BlockDuration"].isNull()) + openApiUsageListObject.blockDuration = std::stoi(value["BlockDuration"].asString()); + openApiUsageList_.push_back(openApiUsageListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeOpenApiUsageResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeOpenApiUsageResult::getOpenApiUsageList()const +{ + return openApiUsageList_; +} + diff --git a/green/src/model/DescribeOssCallbackSettingRequest.cc b/green/src/model/DescribeOssCallbackSettingRequest.cc new file mode 100644 index 000000000..67252be9b --- /dev/null +++ b/green/src/model/DescribeOssCallbackSettingRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOssCallbackSettingRequest; + +DescribeOssCallbackSettingRequest::DescribeOssCallbackSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOssCallbackSetting") +{} + +DescribeOssCallbackSettingRequest::~DescribeOssCallbackSettingRequest() +{} + +std::string DescribeOssCallbackSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOssCallbackSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/green/src/model/DescribeOssCallbackSettingResult.cc b/green/src/model/DescribeOssCallbackSettingResult.cc new file mode 100644 index 000000000..0f4bf8bf1 --- /dev/null +++ b/green/src/model/DescribeOssCallbackSettingResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOssCallbackSettingResult::DescribeOssCallbackSettingResult() : + ServiceResult() +{} + +DescribeOssCallbackSettingResult::DescribeOssCallbackSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssCallbackSettingResult::~DescribeOssCallbackSettingResult() +{} + +void DescribeOssCallbackSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allScanCallbackSuggestions = value["ScanCallbackSuggestions"]["ScanCallbackSuggestion"]; + for (const auto &item : allScanCallbackSuggestions) + scanCallbackSuggestions_.push_back(item.asString()); + auto allServiceModules = value["ServiceModules"]["ServiceModule"]; + for (const auto &item : allServiceModules) + serviceModules_.push_back(item.asString()); + if(!value["CallbackUrl"].isNull()) + callbackUrl_ = value["CallbackUrl"].asString(); + if(!value["ScanCallback"].isNull()) + scanCallback_ = value["ScanCallback"].asString() == "true"; + if(!value["AuditCallback"].isNull()) + auditCallback_ = value["AuditCallback"].asString() == "true"; + if(!value["CallbackSeed"].isNull()) + callbackSeed_ = value["CallbackSeed"].asString(); + +} + +std::string DescribeOssCallbackSettingResult::getCallbackUrl()const +{ + return callbackUrl_; +} + +std::vector DescribeOssCallbackSettingResult::getScanCallbackSuggestions()const +{ + return scanCallbackSuggestions_; +} + +bool DescribeOssCallbackSettingResult::getAuditCallback()const +{ + return auditCallback_; +} + +bool DescribeOssCallbackSettingResult::getScanCallback()const +{ + return scanCallback_; +} + +std::vector DescribeOssCallbackSettingResult::getServiceModules()const +{ + return serviceModules_; +} + +std::string DescribeOssCallbackSettingResult::getCallbackSeed()const +{ + return callbackSeed_; +} + diff --git a/green/src/model/DescribeOssIncrementCheckSettingRequest.cc b/green/src/model/DescribeOssIncrementCheckSettingRequest.cc new file mode 100644 index 000000000..dfad6c686 --- /dev/null +++ b/green/src/model/DescribeOssIncrementCheckSettingRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOssIncrementCheckSettingRequest; + +DescribeOssIncrementCheckSettingRequest::DescribeOssIncrementCheckSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOssIncrementCheckSetting") +{} + +DescribeOssIncrementCheckSettingRequest::~DescribeOssIncrementCheckSettingRequest() +{} + +std::string DescribeOssIncrementCheckSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOssIncrementCheckSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeOssIncrementCheckSettingRequest::getLang()const +{ + return lang_; +} + +void DescribeOssIncrementCheckSettingRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeOssIncrementCheckSettingResult.cc b/green/src/model/DescribeOssIncrementCheckSettingResult.cc new file mode 100644 index 000000000..61be7322d --- /dev/null +++ b/green/src/model/DescribeOssIncrementCheckSettingResult.cc @@ -0,0 +1,141 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOssIncrementCheckSettingResult::DescribeOssIncrementCheckSettingResult() : + ServiceResult() +{} + +DescribeOssIncrementCheckSettingResult::DescribeOssIncrementCheckSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssIncrementCheckSettingResult::~DescribeOssIncrementCheckSettingResult() +{} + +void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBucketConfigList = value["BucketConfigList"]["BucketConfig"]; + for (auto value : allBucketConfigList) + { + BucketConfig bucketConfigListObject; + if(!value["Selected"].isNull()) + bucketConfigListObject.selected = value["Selected"].asString() == "true"; + if(!value["Bucket"].isNull()) + bucketConfigListObject.bucket = value["Bucket"].asString(); + auto allPrefixes = value["Prefixes"]["Prefix"]; + for (auto value : allPrefixes) + bucketConfigListObject.prefixes.push_back(value.asString()); + bucketConfigList_.push_back(bucketConfigListObject); + } + auto imageAutoFreezeNode = value["ImageAutoFreeze"]; + if(!imageAutoFreezeNode["Enabled"].isNull()) + imageAutoFreeze_.enabled = imageAutoFreezeNode["Enabled"].asString() == "true"; + if(!imageAutoFreezeNode["Porn"].isNull()) + imageAutoFreeze_.porn = imageAutoFreezeNode["Porn"].asString(); + if(!imageAutoFreezeNode["Terrorism"].isNull()) + imageAutoFreeze_.terrorism = imageAutoFreezeNode["Terrorism"].asString(); + auto allImageSceneList = value["ImageSceneList"]["ImageScene"]; + for (const auto &item : allImageSceneList) + imageSceneList_.push_back(item.asString()); + auto allVideoSceneList = value["VideoSceneList"]["VideoScene"]; + for (const auto &item : allVideoSceneList) + videoSceneList_.push_back(item.asString()); + auto allVideoAutoFreezeSceneList = value["VideoAutoFreezeSceneList"]["VideoAutoFreezeScene"]; + for (const auto &item : allVideoAutoFreezeSceneList) + videoAutoFreezeSceneList_.push_back(item.asString()); + if(!value["ImageEnableLimit"].isNull()) + imageEnableLimit_ = value["ImageEnableLimit"].asString() == "true"; + if(!value["ImageScanLimit"].isNull()) + imageScanLimit_ = std::stol(value["ImageScanLimit"].asString()); + if(!value["VideoFrameInterval"].isNull()) + videoFrameInterval_ = std::stoi(value["VideoFrameInterval"].asString()); + if(!value["VideoMaxFrames"].isNull()) + videoMaxFrames_ = std::stoi(value["VideoMaxFrames"].asString()); + if(!value["VideoMaxSize"].isNull()) + videoMaxSize_ = std::stoi(value["VideoMaxSize"].asString()); + if(!value["AutoFreezeType"].isNull()) + autoFreezeType_ = value["AutoFreezeType"].asString(); + +} + +std::vector DescribeOssIncrementCheckSettingResult::getVideoAutoFreezeSceneList()const +{ + return videoAutoFreezeSceneList_; +} + +std::vector DescribeOssIncrementCheckSettingResult::getVideoSceneList()const +{ + return videoSceneList_; +} + +bool DescribeOssIncrementCheckSettingResult::getImageEnableLimit()const +{ + return imageEnableLimit_; +} + +std::vector DescribeOssIncrementCheckSettingResult::getImageSceneList()const +{ + return imageSceneList_; +} + +long DescribeOssIncrementCheckSettingResult::getImageScanLimit()const +{ + return imageScanLimit_; +} + +std::vector DescribeOssIncrementCheckSettingResult::getBucketConfigList()const +{ + return bucketConfigList_; +} + +DescribeOssIncrementCheckSettingResult::ImageAutoFreeze DescribeOssIncrementCheckSettingResult::getImageAutoFreeze()const +{ + return imageAutoFreeze_; +} + +std::string DescribeOssIncrementCheckSettingResult::getAutoFreezeType()const +{ + return autoFreezeType_; +} + +int DescribeOssIncrementCheckSettingResult::getVideoFrameInterval()const +{ + return videoFrameInterval_; +} + +int DescribeOssIncrementCheckSettingResult::getVideoMaxFrames()const +{ + return videoMaxFrames_; +} + +int DescribeOssIncrementCheckSettingResult::getVideoMaxSize()const +{ + return videoMaxSize_; +} + diff --git a/green/src/model/DescribeOssIncrementOverviewRequest.cc b/green/src/model/DescribeOssIncrementOverviewRequest.cc new file mode 100644 index 000000000..8e725f146 --- /dev/null +++ b/green/src/model/DescribeOssIncrementOverviewRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOssIncrementOverviewRequest; + +DescribeOssIncrementOverviewRequest::DescribeOssIncrementOverviewRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOssIncrementOverview") +{} + +DescribeOssIncrementOverviewRequest::~DescribeOssIncrementOverviewRequest() +{} + +std::string DescribeOssIncrementOverviewRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOssIncrementOverviewRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeOssIncrementOverviewRequest::getLang()const +{ + return lang_; +} + +void DescribeOssIncrementOverviewRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeOssIncrementOverviewResult.cc b/green/src/model/DescribeOssIncrementOverviewResult.cc new file mode 100644 index 000000000..b433ac559 --- /dev/null +++ b/green/src/model/DescribeOssIncrementOverviewResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOssIncrementOverviewResult::DescribeOssIncrementOverviewResult() : + ServiceResult() +{} + +DescribeOssIncrementOverviewResult::DescribeOssIncrementOverviewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssIncrementOverviewResult::~DescribeOssIncrementOverviewResult() +{} + +void DescribeOssIncrementOverviewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ImageCount"].isNull()) + imageCount_ = std::stoi(value["ImageCount"].asString()); + if(!value["VideoCount"].isNull()) + videoCount_ = std::stoi(value["VideoCount"].asString()); + if(!value["VideoFrameCount"].isNull()) + videoFrameCount_ = std::stoi(value["VideoFrameCount"].asString()); + if(!value["PornUnhandleCount"].isNull()) + pornUnhandleCount_ = std::stoi(value["PornUnhandleCount"].asString()); + if(!value["TerrorismUnhandleCount"].isNull()) + terrorismUnhandleCount_ = std::stoi(value["TerrorismUnhandleCount"].asString()); + +} + +int DescribeOssIncrementOverviewResult::getImageCount()const +{ + return imageCount_; +} + +int DescribeOssIncrementOverviewResult::getVideoCount()const +{ + return videoCount_; +} + +int DescribeOssIncrementOverviewResult::getPornUnhandleCount()const +{ + return pornUnhandleCount_; +} + +int DescribeOssIncrementOverviewResult::getVideoFrameCount()const +{ + return videoFrameCount_; +} + +int DescribeOssIncrementOverviewResult::getTerrorismUnhandleCount()const +{ + return terrorismUnhandleCount_; +} + diff --git a/green/src/model/DescribeOssIncrementStatsRequest.cc b/green/src/model/DescribeOssIncrementStatsRequest.cc new file mode 100644 index 000000000..1369113f8 --- /dev/null +++ b/green/src/model/DescribeOssIncrementStatsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOssIncrementStatsRequest; + +DescribeOssIncrementStatsRequest::DescribeOssIncrementStatsRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOssIncrementStats") +{} + +DescribeOssIncrementStatsRequest::~DescribeOssIncrementStatsRequest() +{} + +std::string DescribeOssIncrementStatsRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeOssIncrementStatsRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string DescribeOssIncrementStatsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOssIncrementStatsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeOssIncrementStatsRequest::getLang()const +{ + return lang_; +} + +void DescribeOssIncrementStatsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeOssIncrementStatsRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeOssIncrementStatsRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string DescribeOssIncrementStatsRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeOssIncrementStatsRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string DescribeOssIncrementStatsRequest::getScene()const +{ + return scene_; +} + +void DescribeOssIncrementStatsRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + diff --git a/green/src/model/DescribeOssIncrementStatsResult.cc b/green/src/model/DescribeOssIncrementStatsResult.cc new file mode 100644 index 000000000..f8fbfdfa9 --- /dev/null +++ b/green/src/model/DescribeOssIncrementStatsResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOssIncrementStatsResult::DescribeOssIncrementStatsResult() : + ServiceResult() +{} + +DescribeOssIncrementStatsResult::DescribeOssIncrementStatsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssIncrementStatsResult::~DescribeOssIncrementStatsResult() +{} + +void DescribeOssIncrementStatsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allStatList = value["StatList"]["Stat"]; + for (auto value : allStatList) + { + Stat statListObject; + if(!value["ResourceType"].isNull()) + statListObject.resourceType = value["ResourceType"].asString(); + if(!value["Scene"].isNull()) + statListObject.scene = value["Scene"].asString(); + if(!value["Date"].isNull()) + statListObject.date = value["Date"].asString(); + if(!value["TotalCount"].isNull()) + statListObject.totalCount = std::stoi(value["TotalCount"].asString()); + if(!value["PassCount"].isNull()) + statListObject.passCount = std::stoi(value["PassCount"].asString()); + if(!value["ReviewCount"].isNull()) + statListObject.reviewCount = std::stoi(value["ReviewCount"].asString()); + if(!value["BlockCount"].isNull()) + statListObject.blockCount = std::stoi(value["BlockCount"].asString()); + statList_.push_back(statListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeOssIncrementStatsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeOssIncrementStatsResult::getStatList()const +{ + return statList_; +} + diff --git a/green/src/model/DescribeOssResultItemsRequest.cc b/green/src/model/DescribeOssResultItemsRequest.cc new file mode 100644 index 000000000..f8f4f6d4b --- /dev/null +++ b/green/src/model/DescribeOssResultItemsRequest.cc @@ -0,0 +1,203 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOssResultItemsRequest; + +DescribeOssResultItemsRequest::DescribeOssResultItemsRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOssResultItems") +{} + +DescribeOssResultItemsRequest::~DescribeOssResultItemsRequest() +{} + +int DescribeOssResultItemsRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeOssResultItemsRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +float DescribeOssResultItemsRequest::getMinScore()const +{ + return minScore_; +} + +void DescribeOssResultItemsRequest::setMinScore(float minScore) +{ + minScore_ = minScore; + setCoreParameter("MinScore", std::to_string(minScore)); +} + +std::string DescribeOssResultItemsRequest::getSuggestion()const +{ + return suggestion_; +} + +void DescribeOssResultItemsRequest::setSuggestion(const std::string& suggestion) +{ + suggestion_ = suggestion; + setCoreParameter("Suggestion", suggestion); +} + +int DescribeOssResultItemsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeOssResultItemsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +float DescribeOssResultItemsRequest::getMaxScore()const +{ + return maxScore_; +} + +void DescribeOssResultItemsRequest::setMaxScore(float maxScore) +{ + maxScore_ = maxScore; + setCoreParameter("MaxScore", std::to_string(maxScore)); +} + +std::string DescribeOssResultItemsRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeOssResultItemsRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string DescribeOssResultItemsRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeOssResultItemsRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string DescribeOssResultItemsRequest::getScene()const +{ + return scene_; +} + +void DescribeOssResultItemsRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + +std::string DescribeOssResultItemsRequest::getQueryId()const +{ + return queryId_; +} + +void DescribeOssResultItemsRequest::setQueryId(const std::string& queryId) +{ + queryId_ = queryId; + setCoreParameter("QueryId", queryId); +} + +std::string DescribeOssResultItemsRequest::getBucket()const +{ + return bucket_; +} + +void DescribeOssResultItemsRequest::setBucket(const std::string& bucket) +{ + bucket_ = bucket; + setCoreParameter("Bucket", bucket); +} + +std::string DescribeOssResultItemsRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeOssResultItemsRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string DescribeOssResultItemsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOssResultItemsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeOssResultItemsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeOssResultItemsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeOssResultItemsRequest::getLang()const +{ + return lang_; +} + +void DescribeOssResultItemsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +bool DescribeOssResultItemsRequest::getStock()const +{ + return stock_; +} + +void DescribeOssResultItemsRequest::setStock(bool stock) +{ + stock_ = stock; + setCoreParameter("Stock", stock ? "true" : "false"); +} + +std::string DescribeOssResultItemsRequest::getObject()const +{ + return object_; +} + +void DescribeOssResultItemsRequest::setObject(const std::string& object) +{ + object_ = object; + setCoreParameter("Object", object); +} + diff --git a/green/src/model/DescribeOssResultItemsResult.cc b/green/src/model/DescribeOssResultItemsResult.cc new file mode 100644 index 000000000..bbe211533 --- /dev/null +++ b/green/src/model/DescribeOssResultItemsResult.cc @@ -0,0 +1,124 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOssResultItemsResult::DescribeOssResultItemsResult() : + ServiceResult() +{} + +DescribeOssResultItemsResult::DescribeOssResultItemsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssResultItemsResult::~DescribeOssResultItemsResult() +{} + +void DescribeOssResultItemsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allScanResultList = value["ScanResultList"]["ScanResult"]; + for (auto value : allScanResultList) + { + ScanResult scanResultListObject; + if(!value["TaskId"].isNull()) + scanResultListObject.taskId = value["TaskId"].asString(); + if(!value["DataId"].isNull()) + scanResultListObject.dataId = value["DataId"].asString(); + if(!value["NewUrl"].isNull()) + scanResultListObject.newUrl = value["NewUrl"].asString(); + if(!value["Thumbnail"].isNull()) + scanResultListObject.thumbnail = value["Thumbnail"].asString(); + if(!value["RequestTime"].isNull()) + scanResultListObject.requestTime = value["RequestTime"].asString(); + if(!value["ScanFinishedTime"].isNull()) + scanResultListObject.scanFinishedTime = value["ScanFinishedTime"].asString(); + if(!value["CreateTime"].isNull()) + scanResultListObject.createTime = value["CreateTime"].asString(); + if(!value["Suggestion"].isNull()) + scanResultListObject.suggestion = value["Suggestion"].asString(); + if(!value["Id"].isNull()) + scanResultListObject.id = std::stol(value["Id"].asString()); + if(!value["Bucket"].isNull()) + scanResultListObject.bucket = value["Bucket"].asString(); + if(!value["Object"].isNull()) + scanResultListObject.object = value["Object"].asString(); + if(!value["Score"].isNull()) + scanResultListObject.score = value["Score"].asString(); + if(!value["HandleStatus"].isNull()) + scanResultListObject.handleStatus = std::stoi(value["HandleStatus"].asString()); + if(!value["ResourceStatus"].isNull()) + scanResultListObject.resourceStatus = std::stoi(value["ResourceStatus"].asString()); + auto allFrameResults = value["FrameResults"]["FrameResult"]; + for (auto value : allFrameResults) + { + ScanResult::FrameResult frameResultsObject; + if(!value["Thumbnail"].isNull()) + frameResultsObject.thumbnail = value["Thumbnail"].asString(); + if(!value["Offset"].isNull()) + frameResultsObject.offset = std::stoi(value["Offset"].asString()); + if(!value["Url"].isNull()) + frameResultsObject.url = value["Url"].asString(); + scanResultListObject.frameResults.push_back(frameResultsObject); + } + scanResultList_.push_back(scanResultListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["QueryId"].isNull()) + queryId_ = value["QueryId"].asString(); + +} + +int DescribeOssResultItemsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeOssResultItemsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeOssResultItemsResult::getCurrentPage()const +{ + return currentPage_; +} + +std::string DescribeOssResultItemsResult::getQueryId()const +{ + return queryId_; +} + +std::vector DescribeOssResultItemsResult::getScanResultList()const +{ + return scanResultList_; +} + diff --git a/green/src/model/DescribeOssStockStatusRequest.cc b/green/src/model/DescribeOssStockStatusRequest.cc new file mode 100644 index 000000000..cd0e43964 --- /dev/null +++ b/green/src/model/DescribeOssStockStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeOssStockStatusRequest; + +DescribeOssStockStatusRequest::DescribeOssStockStatusRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeOssStockStatus") +{} + +DescribeOssStockStatusRequest::~DescribeOssStockStatusRequest() +{} + +std::string DescribeOssStockStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOssStockStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeOssStockStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeOssStockStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeOssStockStatusResult.cc b/green/src/model/DescribeOssStockStatusResult.cc new file mode 100644 index 000000000..8381c7552 --- /dev/null +++ b/green/src/model/DescribeOssStockStatusResult.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeOssStockStatusResult::DescribeOssStockStatusResult() : + ServiceResult() +{} + +DescribeOssStockStatusResult::DescribeOssStockStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssStockStatusResult::~DescribeOssStockStatusResult() +{} + +void DescribeOssStockStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBucketList = value["BucketList"]["bucket"]; + for (auto value : allBucketList) + { + Bucket bucketListObject; + if(!value["Selected"].isNull()) + bucketListObject.selected = value["Selected"].asString() == "true"; + if(!value["Bucket"].isNull()) + bucketListObject.bucket = value["Bucket"].asString(); + auto allPrefixes = value["Prefixes"]["prefixe"]; + for (auto value : allPrefixes) + bucketListObject.prefixes.push_back(value.asString()); + bucketList_.push_back(bucketListObject); + } + auto allSceneList = value["SceneList"]["scene"]; + for (const auto &item : allSceneList) + sceneList_.push_back(item.asString()); + auto allResouceTypeList = value["ResouceTypeList"]["resourceType"]; + for (const auto &item : allResouceTypeList) + resouceTypeList_.push_back(item.asString()); + if(!value["StockStatus"].isNull()) + stockStatus_ = std::stoi(value["StockStatus"].asString()); + if(!value["FinishedTime"].isNull()) + finishedTime_ = value["FinishedTime"].asString(); + if(!value["ImageTotalCount"].isNull()) + imageTotalCount_ = std::stoi(value["ImageTotalCount"].asString()); + if(!value["ImagePornCount"].isNull()) + imagePornCount_ = std::stoi(value["ImagePornCount"].asString()); + if(!value["ImageTerrorismCount"].isNull()) + imageTerrorismCount_ = std::stoi(value["ImageTerrorismCount"].asString()); + if(!value["VideoTotalCount"].isNull()) + videoTotalCount_ = std::stoi(value["VideoTotalCount"].asString()); + if(!value["VideoPornCount"].isNull()) + videoPornCount_ = std::stoi(value["VideoPornCount"].asString()); + if(!value["VideoTerrorismCount"].isNull()) + videoTerrorismCount_ = std::stoi(value["VideoTerrorismCount"].asString()); + +} + +int DescribeOssStockStatusResult::getImageTerrorismCount()const +{ + return imageTerrorismCount_; +} + +int DescribeOssStockStatusResult::getVideoPornCount()const +{ + return videoPornCount_; +} + +int DescribeOssStockStatusResult::getStockStatus()const +{ + return stockStatus_; +} + +int DescribeOssStockStatusResult::getImagePornCount()const +{ + return imagePornCount_; +} + +int DescribeOssStockStatusResult::getVideoTotalCount()const +{ + return videoTotalCount_; +} + +int DescribeOssStockStatusResult::getImageTotalCount()const +{ + return imageTotalCount_; +} + +std::vector DescribeOssStockStatusResult::getSceneList()const +{ + return sceneList_; +} + +std::vector DescribeOssStockStatusResult::getBucketList()const +{ + return bucketList_; +} + +std::string DescribeOssStockStatusResult::getFinishedTime()const +{ + return finishedTime_; +} + +std::vector DescribeOssStockStatusResult::getResouceTypeList()const +{ + return resouceTypeList_; +} + +int DescribeOssStockStatusResult::getVideoTerrorismCount()const +{ + return videoTerrorismCount_; +} + diff --git a/green/src/model/DescribeSdkUrlRequest.cc b/green/src/model/DescribeSdkUrlRequest.cc new file mode 100644 index 000000000..ab17c2f50 --- /dev/null +++ b/green/src/model/DescribeSdkUrlRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeSdkUrlRequest; + +DescribeSdkUrlRequest::DescribeSdkUrlRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeSdkUrl") +{} + +DescribeSdkUrlRequest::~DescribeSdkUrlRequest() +{} + +bool DescribeSdkUrlRequest::getDebug()const +{ + return debug_; +} + +void DescribeSdkUrlRequest::setDebug(bool debug) +{ + debug_ = debug; + setCoreParameter("Debug", debug ? "true" : "false"); +} + +std::string DescribeSdkUrlRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSdkUrlRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeSdkUrlRequest::getId()const +{ + return id_; +} + +void DescribeSdkUrlRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DescribeSdkUrlRequest::getLang()const +{ + return lang_; +} + +void DescribeSdkUrlRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeSdkUrlResult.cc b/green/src/model/DescribeSdkUrlResult.cc new file mode 100644 index 000000000..f8025711f --- /dev/null +++ b/green/src/model/DescribeSdkUrlResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeSdkUrlResult::DescribeSdkUrlResult() : + ServiceResult() +{} + +DescribeSdkUrlResult::DescribeSdkUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSdkUrlResult::~DescribeSdkUrlResult() +{} + +void DescribeSdkUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["SdkUrl"].isNull()) + sdkUrl_ = value["SdkUrl"].asString(); + +} + +std::string DescribeSdkUrlResult::getSdkUrl()const +{ + return sdkUrl_; +} + diff --git a/green/src/model/DescribeUpdatePackageResultRequest.cc b/green/src/model/DescribeUpdatePackageResultRequest.cc new file mode 100644 index 000000000..95d3f18cd --- /dev/null +++ b/green/src/model/DescribeUpdatePackageResultRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeUpdatePackageResultRequest; + +DescribeUpdatePackageResultRequest::DescribeUpdatePackageResultRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeUpdatePackageResult") +{} + +DescribeUpdatePackageResultRequest::~DescribeUpdatePackageResultRequest() +{} + +std::string DescribeUpdatePackageResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUpdatePackageResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeUpdatePackageResultRequest::getLang()const +{ + return lang_; +} + +void DescribeUpdatePackageResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeUpdatePackageResultRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeUpdatePackageResultRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setCoreParameter("TaskId", taskId); +} + diff --git a/green/src/model/DescribeUpdatePackageResultResult.cc b/green/src/model/DescribeUpdatePackageResultResult.cc new file mode 100644 index 000000000..0bb927134 --- /dev/null +++ b/green/src/model/DescribeUpdatePackageResultResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeUpdatePackageResultResult::DescribeUpdatePackageResultResult() : + ServiceResult() +{} + +DescribeUpdatePackageResultResult::DescribeUpdatePackageResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUpdatePackageResultResult::~DescribeUpdatePackageResultResult() +{} + +void DescribeUpdatePackageResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto appInfoNode = value["AppInfo"]; + if(!appInfoNode["Id"].isNull()) + appInfo_.id = std::stol(appInfoNode["Id"].asString()); + if(!appInfoNode["Name"].isNull()) + appInfo_.name = appInfoNode["Name"].asString(); + if(!appInfoNode["PackageName"].isNull()) + appInfo_.packageName = appInfoNode["PackageName"].asString(); + if(!appInfoNode["Icon"].isNull()) + appInfo_.icon = appInfoNode["Icon"].asString(); + if(!appInfoNode["StartDate"].isNull()) + appInfo_.startDate = appInfoNode["StartDate"].asString(); + if(!appInfoNode["EndDate"].isNull()) + appInfo_.endDate = appInfoNode["EndDate"].asString(); + if(!appInfoNode["Type"].isNull()) + appInfo_.type = std::stoi(appInfoNode["Type"].asString()); + auto packageInfoNode = appInfoNode["PackageInfo"]; + if(!packageInfoNode["Version"].isNull()) + appInfo_.packageInfo.version = packageInfoNode["Version"].asString(); + auto debugPackageInfoNode = appInfoNode["DebugPackageInfo"]; + if(!debugPackageInfoNode["Version"].isNull()) + appInfo_.debugPackageInfo.version = debugPackageInfoNode["Version"].asString(); + +} + +DescribeUpdatePackageResultResult::AppInfo DescribeUpdatePackageResultResult::getAppInfo()const +{ + return appInfo_; +} + diff --git a/green/src/model/DescribeUploadInfoRequest.cc b/green/src/model/DescribeUploadInfoRequest.cc new file mode 100644 index 000000000..8635db64d --- /dev/null +++ b/green/src/model/DescribeUploadInfoRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeUploadInfoRequest; + +DescribeUploadInfoRequest::DescribeUploadInfoRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeUploadInfo") +{} + +DescribeUploadInfoRequest::~DescribeUploadInfoRequest() +{} + +std::string DescribeUploadInfoRequest::getBiz()const +{ + return biz_; +} + +void DescribeUploadInfoRequest::setBiz(const std::string& biz) +{ + biz_ = biz; + setCoreParameter("Biz", biz); +} + +std::string DescribeUploadInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUploadInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeUploadInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeUploadInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeUploadInfoResult.cc b/green/src/model/DescribeUploadInfoResult.cc new file mode 100644 index 000000000..b6e085106 --- /dev/null +++ b/green/src/model/DescribeUploadInfoResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeUploadInfoResult::DescribeUploadInfoResult() : + ServiceResult() +{} + +DescribeUploadInfoResult::DescribeUploadInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUploadInfoResult::~DescribeUploadInfoResult() +{} + +void DescribeUploadInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Accessid"].isNull()) + accessid_ = value["Accessid"].asString(); + if(!value["Policy"].isNull()) + policy_ = value["Policy"].asString(); + if(!value["Signature"].isNull()) + signature_ = value["Signature"].asString(); + if(!value["Folder"].isNull()) + folder_ = value["Folder"].asString(); + if(!value["Host"].isNull()) + host_ = value["Host"].asString(); + if(!value["Expire"].isNull()) + expire_ = std::stoi(value["Expire"].asString()); + +} + +std::string DescribeUploadInfoResult::getPolicy()const +{ + return policy_; +} + +int DescribeUploadInfoResult::getExpire()const +{ + return expire_; +} + +std::string DescribeUploadInfoResult::getAccessid()const +{ + return accessid_; +} + +std::string DescribeUploadInfoResult::getSignature()const +{ + return signature_; +} + +std::string DescribeUploadInfoResult::getHost()const +{ + return host_; +} + +std::string DescribeUploadInfoResult::getFolder()const +{ + return folder_; +} + diff --git a/green/src/model/DescribeUserStatusRequest.cc b/green/src/model/DescribeUserStatusRequest.cc new file mode 100644 index 000000000..a5579f918 --- /dev/null +++ b/green/src/model/DescribeUserStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeUserStatusRequest; + +DescribeUserStatusRequest::DescribeUserStatusRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeUserStatus") +{} + +DescribeUserStatusRequest::~DescribeUserStatusRequest() +{} + +std::string DescribeUserStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUserStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeUserStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeUserStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeUserStatusResult.cc b/green/src/model/DescribeUserStatusResult.cc new file mode 100644 index 000000000..4d060b30a --- /dev/null +++ b/green/src/model/DescribeUserStatusResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeUserStatusResult::DescribeUserStatusResult() : + ServiceResult() +{} + +DescribeUserStatusResult::DescribeUserStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserStatusResult::~DescribeUserStatusResult() +{} + +void DescribeUserStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Buyed"].isNull()) + buyed_ = value["Buyed"].asString() == "true"; + if(!value["InDept"].isNull()) + inDept_ = value["InDept"].asString() == "true"; + if(!value["OpenApiUsed"].isNull()) + openApiUsed_ = value["OpenApiUsed"].asString() == "true"; + if(!value["OpenApiBeginTime"].isNull()) + openApiBeginTime_ = value["OpenApiBeginTime"].asString(); + if(!value["OssCheckStatus"].isNull()) + ossCheckStatus_ = value["OssCheckStatus"].asString(); + if(!value["OssVideoSizeLimit"].isNull()) + ossVideoSizeLimit_ = std::stoi(value["OssVideoSizeLimit"].asString()); + +} + +std::string DescribeUserStatusResult::getOpenApiBeginTime()const +{ + return openApiBeginTime_; +} + +bool DescribeUserStatusResult::getOpenApiUsed()const +{ + return openApiUsed_; +} + +std::string DescribeUserStatusResult::getOssCheckStatus()const +{ + return ossCheckStatus_; +} + +int DescribeUserStatusResult::getOssVideoSizeLimit()const +{ + return ossVideoSizeLimit_; +} + +bool DescribeUserStatusResult::getInDept()const +{ + return inDept_; +} + +bool DescribeUserStatusResult::getBuyed()const +{ + return buyed_; +} + diff --git a/green/src/model/DescribeViewContentRequest.cc b/green/src/model/DescribeViewContentRequest.cc new file mode 100644 index 000000000..25ba736e9 --- /dev/null +++ b/green/src/model/DescribeViewContentRequest.cc @@ -0,0 +1,214 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeViewContentRequest; + +DescribeViewContentRequest::DescribeViewContentRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeViewContent") +{} + +DescribeViewContentRequest::~DescribeViewContentRequest() +{} + +int DescribeViewContentRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeViewContentRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeViewContentRequest::getKeywordId()const +{ + return keywordId_; +} + +void DescribeViewContentRequest::setKeywordId(const std::string& keywordId) +{ + keywordId_ = keywordId; + setCoreParameter("KeywordId", keywordId); +} + +std::string DescribeViewContentRequest::getImageId()const +{ + return imageId_; +} + +void DescribeViewContentRequest::setImageId(const std::string& imageId) +{ + imageId_ = imageId; + setCoreParameter("ImageId", imageId); +} + +std::string DescribeViewContentRequest::getSuggestion()const +{ + return suggestion_; +} + +void DescribeViewContentRequest::setSuggestion(const std::string& suggestion) +{ + suggestion_ = suggestion; + setCoreParameter("Suggestion", suggestion); +} + +int DescribeViewContentRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeViewContentRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeViewContentRequest::getLabel()const +{ + return label_; +} + +void DescribeViewContentRequest::setLabel(const std::string& label) +{ + label_ = label; + setCoreParameter("Label", label); +} + +std::string DescribeViewContentRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeViewContentRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string DescribeViewContentRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeViewContentRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string DescribeViewContentRequest::getScene()const +{ + return scene_; +} + +void DescribeViewContentRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + +std::string DescribeViewContentRequest::getBizType()const +{ + return bizType_; +} + +void DescribeViewContentRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setCoreParameter("BizType", bizType); +} + +std::string DescribeViewContentRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeViewContentRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string DescribeViewContentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeViewContentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeViewContentRequest::getDataId()const +{ + return dataId_; +} + +void DescribeViewContentRequest::setDataId(const std::string& dataId) +{ + dataId_ = dataId; + setCoreParameter("DataId", dataId); +} + +std::string DescribeViewContentRequest::getLibType()const +{ + return libType_; +} + +void DescribeViewContentRequest::setLibType(const std::string& libType) +{ + libType_ = libType; + setCoreParameter("LibType", libType); +} + +std::string DescribeViewContentRequest::getAuditResult()const +{ + return auditResult_; +} + +void DescribeViewContentRequest::setAuditResult(const std::string& auditResult) +{ + auditResult_ = auditResult; + setCoreParameter("AuditResult", auditResult); +} + +int DescribeViewContentRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeViewContentRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeViewContentRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeViewContentRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setCoreParameter("TaskId", taskId); +} + diff --git a/green/src/model/DescribeViewContentResult.cc b/green/src/model/DescribeViewContentResult.cc new file mode 100644 index 000000000..8ec948719 --- /dev/null +++ b/green/src/model/DescribeViewContentResult.cc @@ -0,0 +1,123 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeViewContentResult::DescribeViewContentResult() : + ServiceResult() +{} + +DescribeViewContentResult::DescribeViewContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeViewContentResult::~DescribeViewContentResult() +{} + +void DescribeViewContentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allViewContentList = value["ViewContentList"]["ViewContent"]; + for (auto value : allViewContentList) + { + ViewContent viewContentListObject; + if(!value["TaskId"].isNull()) + viewContentListObject.taskId = value["TaskId"].asString(); + if(!value["DataId"].isNull()) + viewContentListObject.dataId = value["DataId"].asString(); + if(!value["BizType"].isNull()) + viewContentListObject.bizType = value["BizType"].asString(); + if(!value["Content"].isNull()) + viewContentListObject.content = value["Content"].asString(); + if(!value["Url"].isNull()) + viewContentListObject.url = value["Url"].asString(); + if(!value["NewUrl"].isNull()) + viewContentListObject.newUrl = value["NewUrl"].asString(); + if(!value["Thumbnail"].isNull()) + viewContentListObject.thumbnail = value["Thumbnail"].asString(); + if(!value["RequestTime"].isNull()) + viewContentListObject.requestTime = value["RequestTime"].asString(); + if(!value["ScanFinishedTime"].isNull()) + viewContentListObject.scanFinishedTime = value["ScanFinishedTime"].asString(); + if(!value["Suggestion"].isNull()) + viewContentListObject.suggestion = value["Suggestion"].asString(); + if(!value["Id"].isNull()) + viewContentListObject.id = std::stol(value["Id"].asString()); + if(!value["ScanResult"].isNull()) + viewContentListObject.scanResult = value["ScanResult"].asString(); + auto allResults = value["Results"]["Result"]; + for (auto value : allResults) + { + ViewContent::Result resultsObject; + if(!value["Suggestion"].isNull()) + resultsObject.suggestion = value["Suggestion"].asString(); + if(!value["Label"].isNull()) + resultsObject.label = value["Label"].asString(); + if(!value["Scene"].isNull()) + resultsObject.scene = value["Scene"].asString(); + viewContentListObject.results.push_back(resultsObject); + } + auto allFrameResults = value["FrameResults"]["frameResult"]; + for (auto value : allFrameResults) + { + ViewContent::FrameResult frameResultsObject; + if(!value["Url"].isNull()) + frameResultsObject.url = value["Url"].asString(); + if(!value["Offset"].isNull()) + frameResultsObject.offset = std::stoi(value["Offset"].asString()); + viewContentListObject.frameResults.push_back(frameResultsObject); + } + viewContentList_.push_back(viewContentListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeViewContentResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeViewContentResult::getViewContentList()const +{ + return viewContentList_; +} + +int DescribeViewContentResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeViewContentResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/green/src/model/DescribeWebsiteIndexPageBaselineRequest.cc b/green/src/model/DescribeWebsiteIndexPageBaselineRequest.cc new file mode 100644 index 000000000..f65a7ce37 --- /dev/null +++ b/green/src/model/DescribeWebsiteIndexPageBaselineRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteIndexPageBaselineRequest; + +DescribeWebsiteIndexPageBaselineRequest::DescribeWebsiteIndexPageBaselineRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteIndexPageBaseline") +{} + +DescribeWebsiteIndexPageBaselineRequest::~DescribeWebsiteIndexPageBaselineRequest() +{} + +std::string DescribeWebsiteIndexPageBaselineRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeWebsiteIndexPageBaselineRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string DescribeWebsiteIndexPageBaselineRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteIndexPageBaselineRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebsiteIndexPageBaselineRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteIndexPageBaselineRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteIndexPageBaselineResult.cc b/green/src/model/DescribeWebsiteIndexPageBaselineResult.cc new file mode 100644 index 000000000..887039548 --- /dev/null +++ b/green/src/model/DescribeWebsiteIndexPageBaselineResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteIndexPageBaselineResult::DescribeWebsiteIndexPageBaselineResult() : + ServiceResult() +{} + +DescribeWebsiteIndexPageBaselineResult::DescribeWebsiteIndexPageBaselineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteIndexPageBaselineResult::~DescribeWebsiteIndexPageBaselineResult() +{} + +void DescribeWebsiteIndexPageBaselineResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["Snapshot"].isNull()) + snapshot_ = value["Snapshot"].asString(); + if(!value["BaseLineStatus"].isNull()) + baseLineStatus_ = value["BaseLineStatus"].asString(); + +} + +std::string DescribeWebsiteIndexPageBaselineResult::getSnapshot()const +{ + return snapshot_; +} + +std::string DescribeWebsiteIndexPageBaselineResult::getBaseLineStatus()const +{ + return baseLineStatus_; +} + +std::string DescribeWebsiteIndexPageBaselineResult::getCreateTime()const +{ + return createTime_; +} + diff --git a/green/src/model/DescribeWebsiteInstanceIdRequest.cc b/green/src/model/DescribeWebsiteInstanceIdRequest.cc new file mode 100644 index 000000000..92ca3028d --- /dev/null +++ b/green/src/model/DescribeWebsiteInstanceIdRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteInstanceIdRequest; + +DescribeWebsiteInstanceIdRequest::DescribeWebsiteInstanceIdRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteInstanceId") +{} + +DescribeWebsiteInstanceIdRequest::~DescribeWebsiteInstanceIdRequest() +{} + +std::string DescribeWebsiteInstanceIdRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteInstanceIdRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebsiteInstanceIdRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteInstanceIdRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteInstanceIdResult.cc b/green/src/model/DescribeWebsiteInstanceIdResult.cc new file mode 100644 index 000000000..f0c353c79 --- /dev/null +++ b/green/src/model/DescribeWebsiteInstanceIdResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteInstanceIdResult::DescribeWebsiteInstanceIdResult() : + ServiceResult() +{} + +DescribeWebsiteInstanceIdResult::DescribeWebsiteInstanceIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteInstanceIdResult::~DescribeWebsiteInstanceIdResult() +{} + +void DescribeWebsiteInstanceIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWebsiteInstanceIdList = value["WebsiteInstanceIdList"]["WebsiteInstanceId"]; + for (const auto &item : allWebsiteInstanceIdList) + websiteInstanceIdList_.push_back(item.asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebsiteInstanceIdResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeWebsiteInstanceIdResult::getWebsiteInstanceIdList()const +{ + return websiteInstanceIdList_; +} + diff --git a/green/src/model/DescribeWebsiteInstanceKeyUrlRequest.cc b/green/src/model/DescribeWebsiteInstanceKeyUrlRequest.cc new file mode 100644 index 000000000..5779bfe6b --- /dev/null +++ b/green/src/model/DescribeWebsiteInstanceKeyUrlRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteInstanceKeyUrlRequest; + +DescribeWebsiteInstanceKeyUrlRequest::DescribeWebsiteInstanceKeyUrlRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteInstanceKeyUrl") +{} + +DescribeWebsiteInstanceKeyUrlRequest::~DescribeWebsiteInstanceKeyUrlRequest() +{} + +std::string DescribeWebsiteInstanceKeyUrlRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeWebsiteInstanceKeyUrlRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string DescribeWebsiteInstanceKeyUrlRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteInstanceKeyUrlRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebsiteInstanceKeyUrlRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteInstanceKeyUrlRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteInstanceKeyUrlResult.cc b/green/src/model/DescribeWebsiteInstanceKeyUrlResult.cc new file mode 100644 index 000000000..d6ed5a73e --- /dev/null +++ b/green/src/model/DescribeWebsiteInstanceKeyUrlResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteInstanceKeyUrlResult::DescribeWebsiteInstanceKeyUrlResult() : + ServiceResult() +{} + +DescribeWebsiteInstanceKeyUrlResult::DescribeWebsiteInstanceKeyUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteInstanceKeyUrlResult::~DescribeWebsiteInstanceKeyUrlResult() +{} + +void DescribeWebsiteInstanceKeyUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWebsiteInstanceKeyUrlList = value["WebsiteInstanceKeyUrlList"]["WebsiteInstanceKeyUrl"]; + for (const auto &item : allWebsiteInstanceKeyUrlList) + websiteInstanceKeyUrlList_.push_back(item.asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebsiteInstanceKeyUrlResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeWebsiteInstanceKeyUrlResult::getWebsiteInstanceKeyUrlList()const +{ + return websiteInstanceKeyUrlList_; +} + diff --git a/green/src/model/DescribeWebsiteInstanceRequest.cc b/green/src/model/DescribeWebsiteInstanceRequest.cc new file mode 100644 index 000000000..59c17052d --- /dev/null +++ b/green/src/model/DescribeWebsiteInstanceRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteInstanceRequest; + +DescribeWebsiteInstanceRequest::DescribeWebsiteInstanceRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteInstance") +{} + +DescribeWebsiteInstanceRequest::~DescribeWebsiteInstanceRequest() +{} + +int DescribeWebsiteInstanceRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeWebsiteInstanceRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeWebsiteInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeWebsiteInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string DescribeWebsiteInstanceRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteInstanceRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeWebsiteInstanceRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWebsiteInstanceRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeWebsiteInstanceRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWebsiteInstanceRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWebsiteInstanceRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteInstanceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteInstanceResult.cc b/green/src/model/DescribeWebsiteInstanceResult.cc new file mode 100644 index 000000000..f0d6cb3d1 --- /dev/null +++ b/green/src/model/DescribeWebsiteInstanceResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteInstanceResult::DescribeWebsiteInstanceResult() : + ServiceResult() +{} + +DescribeWebsiteInstanceResult::DescribeWebsiteInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteInstanceResult::~DescribeWebsiteInstanceResult() +{} + +void DescribeWebsiteInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWebsiteInstanceList = value["WebsiteInstanceList"]["WebsiteInstance"]; + for (auto value : allWebsiteInstanceList) + { + WebsiteInstance websiteInstanceListObject; + if(!value["Protocol"].isNull()) + websiteInstanceListObject.protocol = value["Protocol"].asString(); + if(!value["InstanceId"].isNull()) + websiteInstanceListObject.instanceId = value["InstanceId"].asString(); + if(!value["WebsiteScanInterval"].isNull()) + websiteInstanceListObject.websiteScanInterval = std::stoi(value["WebsiteScanInterval"].asString()); + if(!value["Domain"].isNull()) + websiteInstanceListObject.domain = value["Domain"].asString(); + if(!value["BuyTime"].isNull()) + websiteInstanceListObject.buyTime = value["BuyTime"].asString(); + if(!value["IndexPageScanInterval"].isNull()) + websiteInstanceListObject.indexPageScanInterval = std::stoi(value["IndexPageScanInterval"].asString()); + if(!value["IndexPage"].isNull()) + websiteInstanceListObject.indexPage = value["IndexPage"].asString(); + if(!value["ExpiredTime"].isNull()) + websiteInstanceListObject.expiredTime = value["ExpiredTime"].asString(); + if(!value["Status"].isNull()) + websiteInstanceListObject.status = value["Status"].asString(); + websiteInstanceList_.push_back(websiteInstanceListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebsiteInstanceResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWebsiteInstanceResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWebsiteInstanceResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWebsiteInstanceResult::getWebsiteInstanceList()const +{ + return websiteInstanceList_; +} + diff --git a/green/src/model/DescribeWebsiteScanResultDetailRequest.cc b/green/src/model/DescribeWebsiteScanResultDetailRequest.cc new file mode 100644 index 000000000..ffcaf3875 --- /dev/null +++ b/green/src/model/DescribeWebsiteScanResultDetailRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteScanResultDetailRequest; + +DescribeWebsiteScanResultDetailRequest::DescribeWebsiteScanResultDetailRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteScanResultDetail") +{} + +DescribeWebsiteScanResultDetailRequest::~DescribeWebsiteScanResultDetailRequest() +{} + +std::string DescribeWebsiteScanResultDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteScanResultDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeWebsiteScanResultDetailRequest::getId()const +{ + return id_; +} + +void DescribeWebsiteScanResultDetailRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DescribeWebsiteScanResultDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteScanResultDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeWebsiteScanResultDetailRequest::getResourceType()const +{ + return resourceType_; +} + +void DescribeWebsiteScanResultDetailRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + diff --git a/green/src/model/DescribeWebsiteScanResultDetailResult.cc b/green/src/model/DescribeWebsiteScanResultDetailResult.cc new file mode 100644 index 000000000..6be404f4b --- /dev/null +++ b/green/src/model/DescribeWebsiteScanResultDetailResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteScanResultDetailResult::DescribeWebsiteScanResultDetailResult() : + ServiceResult() +{} + +DescribeWebsiteScanResultDetailResult::DescribeWebsiteScanResultDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteScanResultDetailResult::~DescribeWebsiteScanResultDetailResult() +{} + +void DescribeWebsiteScanResultDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allImageScanResults = value["ImageScanResults"]["ImageScanResult"]; + for (auto value : allImageScanResults) + { + ImageScanResult imageScanResultsObject; + if(!value["Url"].isNull()) + imageScanResultsObject.url = value["Url"].asString(); + auto allLabels = value["Labels"]["StringItem"]; + for (auto value : allLabels) + imageScanResultsObject.labels.push_back(value.asString()); + imageScanResults_.push_back(imageScanResultsObject); + } + auto allHitKeywords = value["HitKeywords"]["StringItem"]; + for (const auto &item : allHitKeywords) + hitKeywords_.push_back(item.asString()); + if(!value["Baseline"].isNull()) + baseline_ = value["Baseline"].asString(); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + if(!value["TamperedSource"].isNull()) + tamperedSource_ = value["TamperedSource"].asString(); + if(!value["ResourceType"].isNull()) + resourceType_ = value["ResourceType"].asString(); + +} + +std::vector DescribeWebsiteScanResultDetailResult::getHitKeywords()const +{ + return hitKeywords_; +} + +std::vector DescribeWebsiteScanResultDetailResult::getImageScanResults()const +{ + return imageScanResults_; +} + +std::string DescribeWebsiteScanResultDetailResult::getContent()const +{ + return content_; +} + +std::string DescribeWebsiteScanResultDetailResult::getResourceType()const +{ + return resourceType_; +} + +std::string DescribeWebsiteScanResultDetailResult::getBaseline()const +{ + return baseline_; +} + +std::string DescribeWebsiteScanResultDetailResult::getTamperedSource()const +{ + return tamperedSource_; +} + diff --git a/green/src/model/DescribeWebsiteScanResultRequest.cc b/green/src/model/DescribeWebsiteScanResultRequest.cc new file mode 100644 index 000000000..d9ac9254f --- /dev/null +++ b/green/src/model/DescribeWebsiteScanResultRequest.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteScanResultRequest; + +DescribeWebsiteScanResultRequest::DescribeWebsiteScanResultRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteScanResult") +{} + +DescribeWebsiteScanResultRequest::~DescribeWebsiteScanResultRequest() +{} + +int DescribeWebsiteScanResultRequest::getTotalCount()const +{ + return totalCount_; +} + +void DescribeWebsiteScanResultRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +std::string DescribeWebsiteScanResultRequest::getSubServiceModule()const +{ + return subServiceModule_; +} + +void DescribeWebsiteScanResultRequest::setSubServiceModule(const std::string& subServiceModule) +{ + subServiceModule_ = subServiceModule; + setCoreParameter("SubServiceModule", subServiceModule); +} + +std::string DescribeWebsiteScanResultRequest::getSiteUrl()const +{ + return siteUrl_; +} + +void DescribeWebsiteScanResultRequest::setSiteUrl(const std::string& siteUrl) +{ + siteUrl_ = siteUrl; + setCoreParameter("SiteUrl", siteUrl); +} + +std::string DescribeWebsiteScanResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteScanResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebsiteScanResultRequest::getHandleStatus()const +{ + return handleStatus_; +} + +void DescribeWebsiteScanResultRequest::setHandleStatus(const std::string& handleStatus) +{ + handleStatus_ = handleStatus; + setCoreParameter("HandleStatus", handleStatus); +} + +std::string DescribeWebsiteScanResultRequest::getDomain()const +{ + return domain_; +} + +void DescribeWebsiteScanResultRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setCoreParameter("Domain", domain); +} + +int DescribeWebsiteScanResultRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWebsiteScanResultRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeWebsiteScanResultRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWebsiteScanResultRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWebsiteScanResultRequest::getLabel()const +{ + return label_; +} + +void DescribeWebsiteScanResultRequest::setLabel(const std::string& label) +{ + label_ = label; + setCoreParameter("Label", label); +} + +std::string DescribeWebsiteScanResultRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteScanResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteScanResultResult.cc b/green/src/model/DescribeWebsiteScanResultResult.cc new file mode 100644 index 000000000..05fba277e --- /dev/null +++ b/green/src/model/DescribeWebsiteScanResultResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteScanResultResult::DescribeWebsiteScanResultResult() : + ServiceResult() +{} + +DescribeWebsiteScanResultResult::DescribeWebsiteScanResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteScanResultResult::~DescribeWebsiteScanResultResult() +{} + +void DescribeWebsiteScanResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWebsiteScanResultList = value["WebsiteScanResultList"]["WebsiteScanResult"]; + for (auto value : allWebsiteScanResultList) + { + WebsiteScanResult websiteScanResultListObject; + if(!value["InstanceId"].isNull()) + websiteScanResultListObject.instanceId = value["InstanceId"].asString(); + if(!value["ScanTime"].isNull()) + websiteScanResultListObject.scanTime = value["ScanTime"].asString(); + if(!value["Domain"].isNull()) + websiteScanResultListObject.domain = value["Domain"].asString(); + if(!value["SourceRiskCount"].isNull()) + websiteScanResultListObject.sourceRiskCount = std::stoi(value["SourceRiskCount"].asString()); + if(!value["ImageRiskCount"].isNull()) + websiteScanResultListObject.imageRiskCount = std::stoi(value["ImageRiskCount"].asString()); + if(!value["HandleStatus"].isNull()) + websiteScanResultListObject.handleStatus = std::stoi(value["HandleStatus"].asString()); + if(!value["Id"].isNull()) + websiteScanResultListObject.id = std::stoi(value["Id"].asString()); + if(!value["TextRiskCount"].isNull()) + websiteScanResultListObject.textRiskCount = std::stoi(value["TextRiskCount"].asString()); + if(!value["TaskId"].isNull()) + websiteScanResultListObject.taskId = value["TaskId"].asString(); + if(!value["Url"].isNull()) + websiteScanResultListObject.url = value["Url"].asString(); + auto allLabels = value["Labels"]["StringItem"]; + for (auto value : allLabels) + websiteScanResultListObject.labels.push_back(value.asString()); + websiteScanResultList_.push_back(websiteScanResultListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebsiteScanResultResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWebsiteScanResultResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWebsiteScanResultResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWebsiteScanResultResult::getWebsiteScanResultList()const +{ + return websiteScanResultList_; +} + diff --git a/green/src/model/DescribeWebsiteStatRequest.cc b/green/src/model/DescribeWebsiteStatRequest.cc new file mode 100644 index 000000000..12963367c --- /dev/null +++ b/green/src/model/DescribeWebsiteStatRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteStatRequest; + +DescribeWebsiteStatRequest::DescribeWebsiteStatRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteStat") +{} + +DescribeWebsiteStatRequest::~DescribeWebsiteStatRequest() +{} + +std::string DescribeWebsiteStatRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteStatRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebsiteStatRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteStatRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteStatResult.cc b/green/src/model/DescribeWebsiteStatResult.cc new file mode 100644 index 000000000..25ca77f52 --- /dev/null +++ b/green/src/model/DescribeWebsiteStatResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteStatResult::DescribeWebsiteStatResult() : + ServiceResult() +{} + +DescribeWebsiteStatResult::DescribeWebsiteStatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteStatResult::~DescribeWebsiteStatResult() +{} + +void DescribeWebsiteStatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWebsiteStatList = value["WebsiteStatList"]["WebsiteStat"]; + for (auto value : allWebsiteStatList) + { + WebsiteStat websiteStatListObject; + if(!value["SubServiceModule"].isNull()) + websiteStatListObject.subServiceModule = value["SubServiceModule"].asString(); + if(!value["InstanceCount"].isNull()) + websiteStatListObject.instanceCount = std::stoi(value["InstanceCount"].asString()); + if(!value["ScanCount"].isNull()) + websiteStatListObject.scanCount = std::stoi(value["ScanCount"].asString()); + if(!value["RiskCount"].isNull()) + websiteStatListObject.riskCount = std::stoi(value["RiskCount"].asString()); + websiteStatList_.push_back(websiteStatListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeWebsiteStatResult::getWebsiteStatList()const +{ + return websiteStatList_; +} + +int DescribeWebsiteStatResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/green/src/model/DescribeWebsiteVerifyInfoRequest.cc b/green/src/model/DescribeWebsiteVerifyInfoRequest.cc new file mode 100644 index 000000000..50858f486 --- /dev/null +++ b/green/src/model/DescribeWebsiteVerifyInfoRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::DescribeWebsiteVerifyInfoRequest; + +DescribeWebsiteVerifyInfoRequest::DescribeWebsiteVerifyInfoRequest() : + RpcServiceRequest("green", "2017-08-23", "DescribeWebsiteVerifyInfo") +{} + +DescribeWebsiteVerifyInfoRequest::~DescribeWebsiteVerifyInfoRequest() +{} + +std::string DescribeWebsiteVerifyInfoRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeWebsiteVerifyInfoRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string DescribeWebsiteVerifyInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebsiteVerifyInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebsiteVerifyInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeWebsiteVerifyInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/DescribeWebsiteVerifyInfoResult.cc b/green/src/model/DescribeWebsiteVerifyInfoResult.cc new file mode 100644 index 000000000..5e8cd81b1 --- /dev/null +++ b/green/src/model/DescribeWebsiteVerifyInfoResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +DescribeWebsiteVerifyInfoResult::DescribeWebsiteVerifyInfoResult() : + ServiceResult() +{} + +DescribeWebsiteVerifyInfoResult::DescribeWebsiteVerifyInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebsiteVerifyInfoResult::~DescribeWebsiteVerifyInfoResult() +{} + +void DescribeWebsiteVerifyInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Cname"].isNull()) + cname_ = value["Cname"].asString(); + if(!value["HostFile"].isNull()) + hostFile_ = value["HostFile"].asString(); + if(!value["IndexPage"].isNull()) + indexPage_ = value["IndexPage"].asString(); + if(!value["Domain"].isNull()) + domain_ = value["Domain"].asString(); + if(!value["VerifyMethod"].isNull()) + verifyMethod_ = value["VerifyMethod"].asString(); + if(!value["Protocol"].isNull()) + protocol_ = value["Protocol"].asString(); + +} + +std::string DescribeWebsiteVerifyInfoResult::getVerifyMethod()const +{ + return verifyMethod_; +} + +std::string DescribeWebsiteVerifyInfoResult::getDomain()const +{ + return domain_; +} + +std::string DescribeWebsiteVerifyInfoResult::getProtocol()const +{ + return protocol_; +} + +std::string DescribeWebsiteVerifyInfoResult::getCname()const +{ + return cname_; +} + +std::string DescribeWebsiteVerifyInfoResult::getHostFile()const +{ + return hostFile_; +} + +std::string DescribeWebsiteVerifyInfoResult::getIndexPage()const +{ + return indexPage_; +} + diff --git a/green/src/model/ExportKeywordsRequest.cc b/green/src/model/ExportKeywordsRequest.cc new file mode 100644 index 000000000..09bc79bbd --- /dev/null +++ b/green/src/model/ExportKeywordsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::ExportKeywordsRequest; + +ExportKeywordsRequest::ExportKeywordsRequest() : + RpcServiceRequest("green", "2017-08-23", "ExportKeywords") +{} + +ExportKeywordsRequest::~ExportKeywordsRequest() +{} + +std::string ExportKeywordsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExportKeywordsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long ExportKeywordsRequest::getKeywordLibId()const +{ + return keywordLibId_; +} + +void ExportKeywordsRequest::setKeywordLibId(long keywordLibId) +{ + keywordLibId_ = keywordLibId; + setCoreParameter("KeywordLibId", std::to_string(keywordLibId)); +} + diff --git a/green/src/model/ExportKeywordsResult.cc b/green/src/model/ExportKeywordsResult.cc new file mode 100644 index 000000000..72f67894b --- /dev/null +++ b/green/src/model/ExportKeywordsResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ExportKeywordsResult::ExportKeywordsResult() : + ServiceResult() +{} + +ExportKeywordsResult::ExportKeywordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportKeywordsResult::~ExportKeywordsResult() +{} + +void ExportKeywordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DownloadUrl"].isNull()) + downloadUrl_ = value["DownloadUrl"].asString(); + +} + +std::string ExportKeywordsResult::getDownloadUrl()const +{ + return downloadUrl_; +} + diff --git a/green/src/model/ExportOssResultRequest.cc b/green/src/model/ExportOssResultRequest.cc new file mode 100644 index 000000000..48092e0e6 --- /dev/null +++ b/green/src/model/ExportOssResultRequest.cc @@ -0,0 +1,181 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ExportOssResultRequest; + +ExportOssResultRequest::ExportOssResultRequest() : + RpcServiceRequest("green", "2017-08-23", "ExportOssResult") +{} + +ExportOssResultRequest::~ExportOssResultRequest() +{} + +int ExportOssResultRequest::getTotalCount()const +{ + return totalCount_; +} + +void ExportOssResultRequest::setTotalCount(int totalCount) +{ + totalCount_ = totalCount; + setCoreParameter("TotalCount", std::to_string(totalCount)); +} + +float ExportOssResultRequest::getMinScore()const +{ + return minScore_; +} + +void ExportOssResultRequest::setMinScore(float minScore) +{ + minScore_ = minScore; + setCoreParameter("MinScore", std::to_string(minScore)); +} + +std::string ExportOssResultRequest::getSuggestion()const +{ + return suggestion_; +} + +void ExportOssResultRequest::setSuggestion(const std::string& suggestion) +{ + suggestion_ = suggestion; + setCoreParameter("Suggestion", suggestion); +} + +int ExportOssResultRequest::getCurrentPage()const +{ + return currentPage_; +} + +void ExportOssResultRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +float ExportOssResultRequest::getMaxScore()const +{ + return maxScore_; +} + +void ExportOssResultRequest::setMaxScore(float maxScore) +{ + maxScore_ = maxScore; + setCoreParameter("MaxScore", std::to_string(maxScore)); +} + +std::string ExportOssResultRequest::getStartDate()const +{ + return startDate_; +} + +void ExportOssResultRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string ExportOssResultRequest::getResourceType()const +{ + return resourceType_; +} + +void ExportOssResultRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string ExportOssResultRequest::getScene()const +{ + return scene_; +} + +void ExportOssResultRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + +std::string ExportOssResultRequest::getBucket()const +{ + return bucket_; +} + +void ExportOssResultRequest::setBucket(const std::string& bucket) +{ + bucket_ = bucket; + setCoreParameter("Bucket", bucket); +} + +std::string ExportOssResultRequest::getEndDate()const +{ + return endDate_; +} + +void ExportOssResultRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string ExportOssResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExportOssResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int ExportOssResultRequest::getPageSize()const +{ + return pageSize_; +} + +void ExportOssResultRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string ExportOssResultRequest::getLang()const +{ + return lang_; +} + +void ExportOssResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +bool ExportOssResultRequest::getStock()const +{ + return stock_; +} + +void ExportOssResultRequest::setStock(bool stock) +{ + stock_ = stock; + setCoreParameter("Stock", stock ? "true" : "false"); +} + diff --git a/green/src/model/ExportOssResultResult.cc b/green/src/model/ExportOssResultResult.cc new file mode 100644 index 000000000..39a3a9f90 --- /dev/null +++ b/green/src/model/ExportOssResultResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ExportOssResultResult::ExportOssResultResult() : + ServiceResult() +{} + +ExportOssResultResult::ExportOssResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportOssResultResult::~ExportOssResultResult() +{} + +void ExportOssResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["FileUrl"].isNull()) + fileUrl_ = value["FileUrl"].asString(); + +} + +std::string ExportOssResultResult::getFileUrl()const +{ + return fileUrl_; +} + diff --git a/green/src/model/FileAsyncScanRequest.cc b/green/src/model/FileAsyncScanRequest.cc index 42675c5b7..c9cdb8608 100755 --- a/green/src/model/FileAsyncScanRequest.cc +++ b/green/src/model/FileAsyncScanRequest.cc @@ -33,6 +33,6 @@ std::string FileAsyncScanRequest::getClientInfo()const void FileAsyncScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/FileAsyncScanResultsRequest.cc b/green/src/model/FileAsyncScanResultsRequest.cc index a63a91448..635156eeb 100755 --- a/green/src/model/FileAsyncScanResultsRequest.cc +++ b/green/src/model/FileAsyncScanResultsRequest.cc @@ -33,6 +33,6 @@ std::string FileAsyncScanResultsRequest::getClientInfo()const void FileAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/GetAddVideoDnaResultsRequest.cc b/green/src/model/GetAddVideoDnaResultsRequest.cc index f92e61f26..d9d4942f2 100755 --- a/green/src/model/GetAddVideoDnaResultsRequest.cc +++ b/green/src/model/GetAddVideoDnaResultsRequest.cc @@ -33,6 +33,6 @@ std::string GetAddVideoDnaResultsRequest::getClientInfo()const void GetAddVideoDnaResultsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/GetFacesRequest.cc b/green/src/model/GetFacesRequest.cc index ef926a6ad..55c731d00 100755 --- a/green/src/model/GetFacesRequest.cc +++ b/green/src/model/GetFacesRequest.cc @@ -33,7 +33,7 @@ std::string GetFacesRequest::getRegionId()const void GetFacesRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string GetFacesRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string GetFacesRequest::getClientInfo()const void GetFacesRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/GetGroupsRequest.cc b/green/src/model/GetGroupsRequest.cc index 9c145c915..f19b2942e 100755 --- a/green/src/model/GetGroupsRequest.cc +++ b/green/src/model/GetGroupsRequest.cc @@ -33,7 +33,7 @@ std::string GetGroupsRequest::getRegionId()const void GetGroupsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string GetGroupsRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string GetGroupsRequest::getClientInfo()const void GetGroupsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/GetPersonRequest.cc b/green/src/model/GetPersonRequest.cc index 1f6021b67..999c2491f 100755 --- a/green/src/model/GetPersonRequest.cc +++ b/green/src/model/GetPersonRequest.cc @@ -33,7 +33,7 @@ std::string GetPersonRequest::getRegionId()const void GetPersonRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string GetPersonRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string GetPersonRequest::getClientInfo()const void GetPersonRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/GetPersonsRequest.cc b/green/src/model/GetPersonsRequest.cc index 15fcab2da..4d36f3df3 100755 --- a/green/src/model/GetPersonsRequest.cc +++ b/green/src/model/GetPersonsRequest.cc @@ -33,7 +33,7 @@ std::string GetPersonsRequest::getRegionId()const void GetPersonsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string GetPersonsRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string GetPersonsRequest::getClientInfo()const void GetPersonsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/GetSimilarityImageRequest.cc b/green/src/model/GetSimilarityImageRequest.cc new file mode 100644 index 000000000..d6061c6e7 --- /dev/null +++ b/green/src/model/GetSimilarityImageRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::GetSimilarityImageRequest; + +GetSimilarityImageRequest::GetSimilarityImageRequest() : + RoaServiceRequest("green", "2018-05-09") +{} + +GetSimilarityImageRequest::~GetSimilarityImageRequest() +{} + +std::string GetSimilarityImageRequest::getClientInfo()const +{ + return clientInfo_; +} + +void GetSimilarityImageRequest::setClientInfo(const std::string& clientInfo) +{ + clientInfo_ = clientInfo; + setCoreParameter("ClientInfo", clientInfo); +} + diff --git a/green/src/model/GetSimilarityImageResult.cc b/green/src/model/GetSimilarityImageResult.cc new file mode 100644 index 000000000..0a4094e64 --- /dev/null +++ b/green/src/model/GetSimilarityImageResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +GetSimilarityImageResult::GetSimilarityImageResult() : + ServiceResult() +{} + +GetSimilarityImageResult::GetSimilarityImageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSimilarityImageResult::~GetSimilarityImageResult() +{} + +void GetSimilarityImageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/GetSimilarityLibraryRequest.cc b/green/src/model/GetSimilarityLibraryRequest.cc new file mode 100644 index 000000000..7bbec470f --- /dev/null +++ b/green/src/model/GetSimilarityLibraryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::GetSimilarityLibraryRequest; + +GetSimilarityLibraryRequest::GetSimilarityLibraryRequest() : + RoaServiceRequest("green", "2018-05-09") +{} + +GetSimilarityLibraryRequest::~GetSimilarityLibraryRequest() +{} + +std::string GetSimilarityLibraryRequest::getClientInfo()const +{ + return clientInfo_; +} + +void GetSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo) +{ + clientInfo_ = clientInfo; + setCoreParameter("ClientInfo", clientInfo); +} + diff --git a/green/src/model/GetSimilarityLibraryResult.cc b/green/src/model/GetSimilarityLibraryResult.cc new file mode 100644 index 000000000..d281e4e00 --- /dev/null +++ b/green/src/model/GetSimilarityLibraryResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +GetSimilarityLibraryResult::GetSimilarityLibraryResult() : + ServiceResult() +{} + +GetSimilarityLibraryResult::GetSimilarityLibraryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSimilarityLibraryResult::~GetSimilarityLibraryResult() +{} + +void GetSimilarityLibraryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/ImageAsyncScanRequest.cc b/green/src/model/ImageAsyncScanRequest.cc index 2680588ae..da8ed50c0 100755 --- a/green/src/model/ImageAsyncScanRequest.cc +++ b/green/src/model/ImageAsyncScanRequest.cc @@ -33,6 +33,6 @@ std::string ImageAsyncScanRequest::getClientInfo()const void ImageAsyncScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/ImageAsyncScanResultsRequest.cc b/green/src/model/ImageAsyncScanResultsRequest.cc index 75b5cfb6c..c922db165 100755 --- a/green/src/model/ImageAsyncScanResultsRequest.cc +++ b/green/src/model/ImageAsyncScanResultsRequest.cc @@ -33,6 +33,6 @@ std::string ImageAsyncScanResultsRequest::getClientInfo()const void ImageAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/ImageDetectionRequest.cc b/green/src/model/ImageDetectionRequest.cc new file mode 100644 index 000000000..f33924020 --- /dev/null +++ b/green/src/model/ImageDetectionRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ImageDetectionRequest; + +ImageDetectionRequest::ImageDetectionRequest() : + RoaServiceRequest("green", "2016-12-22") +{} + +ImageDetectionRequest::~ImageDetectionRequest() +{} + diff --git a/green/src/model/ImageDetectionResult.cc b/green/src/model/ImageDetectionResult.cc new file mode 100644 index 000000000..9461096bd --- /dev/null +++ b/green/src/model/ImageDetectionResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ImageDetectionResult::ImageDetectionResult() : + ServiceResult() +{} + +ImageDetectionResult::ImageDetectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImageDetectionResult::~ImageDetectionResult() +{} + +void ImageDetectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/ImageResultRequest.cc b/green/src/model/ImageResultRequest.cc new file mode 100644 index 000000000..c476c249f --- /dev/null +++ b/green/src/model/ImageResultRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ImageResultRequest; + +ImageResultRequest::ImageResultRequest() : + RoaServiceRequest("green", "2016-12-22") +{} + +ImageResultRequest::~ImageResultRequest() +{} + +std::string ImageResultRequest::getTaskid()const +{ + return taskid_; +} + +void ImageResultRequest::setTaskid(const std::string& taskid) +{ + taskid_ = taskid; + setCoreParameter("Taskid", taskid); +} + diff --git a/green/src/model/ImageResultResult.cc b/green/src/model/ImageResultResult.cc new file mode 100644 index 000000000..1fce59881 --- /dev/null +++ b/green/src/model/ImageResultResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ImageResultResult::ImageResultResult() : + ServiceResult() +{} + +ImageResultResult::ImageResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImageResultResult::~ImageResultResult() +{} + +void ImageResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/ImageResultsRequest.cc b/green/src/model/ImageResultsRequest.cc new file mode 100644 index 000000000..daacbefef --- /dev/null +++ b/green/src/model/ImageResultsRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ImageResultsRequest; + +ImageResultsRequest::ImageResultsRequest() : + RoaServiceRequest("green", "2016-12-22") +{} + +ImageResultsRequest::~ImageResultsRequest() +{} + diff --git a/green/src/model/ImageResultsResult.cc b/green/src/model/ImageResultsResult.cc new file mode 100644 index 000000000..602e15b05 --- /dev/null +++ b/green/src/model/ImageResultsResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ImageResultsResult::ImageResultsResult() : + ServiceResult() +{} + +ImageResultsResult::ImageResultsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImageResultsResult::~ImageResultsResult() +{} + +void ImageResultsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/ImageScanFeedbackRequest.cc b/green/src/model/ImageScanFeedbackRequest.cc index c072aa0a7..d7863320f 100755 --- a/green/src/model/ImageScanFeedbackRequest.cc +++ b/green/src/model/ImageScanFeedbackRequest.cc @@ -33,6 +33,6 @@ std::string ImageScanFeedbackRequest::getClientInfo()const void ImageScanFeedbackRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/ImageSyncScanRequest.cc b/green/src/model/ImageSyncScanRequest.cc index 41630061e..c5528f3eb 100755 --- a/green/src/model/ImageSyncScanRequest.cc +++ b/green/src/model/ImageSyncScanRequest.cc @@ -33,6 +33,6 @@ std::string ImageSyncScanRequest::getClientInfo()const void ImageSyncScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/ImportKeywordsRequest.cc b/green/src/model/ImportKeywordsRequest.cc new file mode 100644 index 000000000..2e43cbb33 --- /dev/null +++ b/green/src/model/ImportKeywordsRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ImportKeywordsRequest; + +ImportKeywordsRequest::ImportKeywordsRequest() : + RpcServiceRequest("green", "2017-08-23", "ImportKeywords") +{} + +ImportKeywordsRequest::~ImportKeywordsRequest() +{} + +std::string ImportKeywordsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ImportKeywordsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int ImportKeywordsRequest::getKeywordLibId()const +{ + return keywordLibId_; +} + +void ImportKeywordsRequest::setKeywordLibId(int keywordLibId) +{ + keywordLibId_ = keywordLibId; + setCoreParameter("KeywordLibId", std::to_string(keywordLibId)); +} + +std::string ImportKeywordsRequest::getKeywordsObject()const +{ + return keywordsObject_; +} + +void ImportKeywordsRequest::setKeywordsObject(const std::string& keywordsObject) +{ + keywordsObject_ = keywordsObject; + setCoreParameter("KeywordsObject", keywordsObject); +} + diff --git a/green/src/model/ImportKeywordsResult.cc b/green/src/model/ImportKeywordsResult.cc new file mode 100644 index 000000000..53bd17f36 --- /dev/null +++ b/green/src/model/ImportKeywordsResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ImportKeywordsResult::ImportKeywordsResult() : + ServiceResult() +{} + +ImportKeywordsResult::ImportKeywordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportKeywordsResult::~ImportKeywordsResult() +{} + +void ImportKeywordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allInvalidKeywordList = value["InvalidKeywordList"]["StringItem"]; + for (const auto &item : allInvalidKeywordList) + invalidKeywordList_.push_back(item.asString()); + auto allvalidKeywordList = value["validKeywordList"]["StringItem"]; + for (const auto &item : allvalidKeywordList) + validKeywordList_.push_back(item.asString()); + if(!value["SuccessCount"].isNull()) + successCount_ = std::stoi(value["SuccessCount"].asString()); + +} + +std::vector ImportKeywordsResult::getInvalidKeywordList()const +{ + return invalidKeywordList_; +} + +int ImportKeywordsResult::getSuccessCount()const +{ + return successCount_; +} + +std::vector ImportKeywordsResult::getValidKeywordList()const +{ + return validKeywordList_; +} + diff --git a/green/src/model/ListSimilarityImagesRequest.cc b/green/src/model/ListSimilarityImagesRequest.cc new file mode 100644 index 000000000..4ab24a988 --- /dev/null +++ b/green/src/model/ListSimilarityImagesRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ListSimilarityImagesRequest; + +ListSimilarityImagesRequest::ListSimilarityImagesRequest() : + RoaServiceRequest("green", "2018-05-09") +{} + +ListSimilarityImagesRequest::~ListSimilarityImagesRequest() +{} + +std::string ListSimilarityImagesRequest::getClientInfo()const +{ + return clientInfo_; +} + +void ListSimilarityImagesRequest::setClientInfo(const std::string& clientInfo) +{ + clientInfo_ = clientInfo; + setCoreParameter("ClientInfo", clientInfo); +} + diff --git a/green/src/model/ListSimilarityImagesResult.cc b/green/src/model/ListSimilarityImagesResult.cc new file mode 100644 index 000000000..66953ba44 --- /dev/null +++ b/green/src/model/ListSimilarityImagesResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ListSimilarityImagesResult::ListSimilarityImagesResult() : + ServiceResult() +{} + +ListSimilarityImagesResult::ListSimilarityImagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSimilarityImagesResult::~ListSimilarityImagesResult() +{} + +void ListSimilarityImagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/ListSimilarityLibrariesRequest.cc b/green/src/model/ListSimilarityLibrariesRequest.cc new file mode 100644 index 000000000..e34a5a6fd --- /dev/null +++ b/green/src/model/ListSimilarityLibrariesRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::ListSimilarityLibrariesRequest; + +ListSimilarityLibrariesRequest::ListSimilarityLibrariesRequest() : + RoaServiceRequest("green", "2018-05-09") +{} + +ListSimilarityLibrariesRequest::~ListSimilarityLibrariesRequest() +{} + +std::string ListSimilarityLibrariesRequest::getClientInfo()const +{ + return clientInfo_; +} + +void ListSimilarityLibrariesRequest::setClientInfo(const std::string& clientInfo) +{ + clientInfo_ = clientInfo; + setCoreParameter("ClientInfo", clientInfo); +} + diff --git a/green/src/model/ListSimilarityLibrariesResult.cc b/green/src/model/ListSimilarityLibrariesResult.cc new file mode 100644 index 000000000..b54596963 --- /dev/null +++ b/green/src/model/ListSimilarityLibrariesResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +ListSimilarityLibrariesResult::ListSimilarityLibrariesResult() : + ServiceResult() +{} + +ListSimilarityLibrariesResult::ListSimilarityLibrariesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSimilarityLibrariesResult::~ListSimilarityLibrariesResult() +{} + +void ListSimilarityLibrariesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/MarkAuditContentItemRequest.cc b/green/src/model/MarkAuditContentItemRequest.cc new file mode 100644 index 000000000..fd5e48b18 --- /dev/null +++ b/green/src/model/MarkAuditContentItemRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::MarkAuditContentItemRequest; + +MarkAuditContentItemRequest::MarkAuditContentItemRequest() : + RpcServiceRequest("green", "2017-08-23", "MarkAuditContentItem") +{} + +MarkAuditContentItemRequest::~MarkAuditContentItemRequest() +{} + +std::string MarkAuditContentItemRequest::getAuditIllegalReasons()const +{ + return auditIllegalReasons_; +} + +void MarkAuditContentItemRequest::setAuditIllegalReasons(const std::string& auditIllegalReasons) +{ + auditIllegalReasons_ = auditIllegalReasons; + setCoreParameter("AuditIllegalReasons", auditIllegalReasons); +} + +std::string MarkAuditContentItemRequest::getSourceIp()const +{ + return sourceIp_; +} + +void MarkAuditContentItemRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string MarkAuditContentItemRequest::getAuditResult()const +{ + return auditResult_; +} + +void MarkAuditContentItemRequest::setAuditResult(const std::string& auditResult) +{ + auditResult_ = auditResult; + setCoreParameter("AuditResult", auditResult); +} + +std::string MarkAuditContentItemRequest::getIds()const +{ + return ids_; +} + +void MarkAuditContentItemRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + +std::string MarkAuditContentItemRequest::getLang()const +{ + return lang_; +} + +void MarkAuditContentItemRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/MarkAuditContentItemResult.cc b/green/src/model/MarkAuditContentItemResult.cc new file mode 100644 index 000000000..deb88c495 --- /dev/null +++ b/green/src/model/MarkAuditContentItemResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +MarkAuditContentItemResult::MarkAuditContentItemResult() : + ServiceResult() +{} + +MarkAuditContentItemResult::MarkAuditContentItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MarkAuditContentItemResult::~MarkAuditContentItemResult() +{} + +void MarkAuditContentItemResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/MarkAuditContentRequest.cc b/green/src/model/MarkAuditContentRequest.cc new file mode 100644 index 000000000..ccd223e89 --- /dev/null +++ b/green/src/model/MarkAuditContentRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::MarkAuditContentRequest; + +MarkAuditContentRequest::MarkAuditContentRequest() : + RpcServiceRequest("green", "2017-08-23", "MarkAuditContent") +{} + +MarkAuditContentRequest::~MarkAuditContentRequest() +{} + +std::string MarkAuditContentRequest::getAuditIllegalReasons()const +{ + return auditIllegalReasons_; +} + +void MarkAuditContentRequest::setAuditIllegalReasons(const std::string& auditIllegalReasons) +{ + auditIllegalReasons_ = auditIllegalReasons; + setCoreParameter("AuditIllegalReasons", auditIllegalReasons); +} + +std::string MarkAuditContentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void MarkAuditContentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string MarkAuditContentRequest::getAuditResult()const +{ + return auditResult_; +} + +void MarkAuditContentRequest::setAuditResult(const std::string& auditResult) +{ + auditResult_ = auditResult; + setCoreParameter("AuditResult", auditResult); +} + +std::string MarkAuditContentRequest::getIds()const +{ + return ids_; +} + +void MarkAuditContentRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + diff --git a/green/src/model/MarkAuditContentResult.cc b/green/src/model/MarkAuditContentResult.cc new file mode 100644 index 000000000..111d0ee00 --- /dev/null +++ b/green/src/model/MarkAuditContentResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +MarkAuditContentResult::MarkAuditContentResult() : + ServiceResult() +{} + +MarkAuditContentResult::MarkAuditContentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MarkAuditContentResult::~MarkAuditContentResult() +{} + +void MarkAuditContentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/MarkOssResultRequest.cc b/green/src/model/MarkOssResultRequest.cc new file mode 100644 index 000000000..13621bc35 --- /dev/null +++ b/green/src/model/MarkOssResultRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::MarkOssResultRequest; + +MarkOssResultRequest::MarkOssResultRequest() : + RpcServiceRequest("green", "2017-08-23", "MarkOssResult") +{} + +MarkOssResultRequest::~MarkOssResultRequest() +{} + +std::string MarkOssResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void MarkOssResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string MarkOssResultRequest::getIds()const +{ + return ids_; +} + +void MarkOssResultRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + +std::string MarkOssResultRequest::getLang()const +{ + return lang_; +} + +void MarkOssResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +bool MarkOssResultRequest::getStock()const +{ + return stock_; +} + +void MarkOssResultRequest::setStock(bool stock) +{ + stock_ = stock; + setCoreParameter("Stock", stock ? "true" : "false"); +} + +std::string MarkOssResultRequest::getOperation()const +{ + return operation_; +} + +void MarkOssResultRequest::setOperation(const std::string& operation) +{ + operation_ = operation; + setCoreParameter("Operation", operation); +} + +std::string MarkOssResultRequest::getResourceType()const +{ + return resourceType_; +} + +void MarkOssResultRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string MarkOssResultRequest::getScene()const +{ + return scene_; +} + +void MarkOssResultRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + diff --git a/green/src/model/MarkOssResultResult.cc b/green/src/model/MarkOssResultResult.cc new file mode 100644 index 000000000..3033b3039 --- /dev/null +++ b/green/src/model/MarkOssResultResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +MarkOssResultResult::MarkOssResultResult() : + ServiceResult() +{} + +MarkOssResultResult::MarkOssResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MarkOssResultResult::~MarkOssResultResult() +{} + +void MarkOssResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/MarkWebsiteScanResultRequest.cc b/green/src/model/MarkWebsiteScanResultRequest.cc new file mode 100644 index 000000000..20bbc3925 --- /dev/null +++ b/green/src/model/MarkWebsiteScanResultRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::MarkWebsiteScanResultRequest; + +MarkWebsiteScanResultRequest::MarkWebsiteScanResultRequest() : + RpcServiceRequest("green", "2017-08-23", "MarkWebsiteScanResult") +{} + +MarkWebsiteScanResultRequest::~MarkWebsiteScanResultRequest() +{} + +std::string MarkWebsiteScanResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void MarkWebsiteScanResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string MarkWebsiteScanResultRequest::getIds()const +{ + return ids_; +} + +void MarkWebsiteScanResultRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + +std::string MarkWebsiteScanResultRequest::getLang()const +{ + return lang_; +} + +void MarkWebsiteScanResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/MarkWebsiteScanResultResult.cc b/green/src/model/MarkWebsiteScanResultResult.cc new file mode 100644 index 000000000..e025fe32e --- /dev/null +++ b/green/src/model/MarkWebsiteScanResultResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +MarkWebsiteScanResultResult::MarkWebsiteScanResultResult() : + ServiceResult() +{} + +MarkWebsiteScanResultResult::MarkWebsiteScanResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MarkWebsiteScanResultResult::~MarkWebsiteScanResultResult() +{} + +void MarkWebsiteScanResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/RefundCdiBagRequest.cc b/green/src/model/RefundCdiBagRequest.cc new file mode 100644 index 000000000..278bc6416 --- /dev/null +++ b/green/src/model/RefundCdiBagRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::RefundCdiBagRequest; + +RefundCdiBagRequest::RefundCdiBagRequest() : + RpcServiceRequest("green", "2017-08-23", "RefundCdiBag") +{} + +RefundCdiBagRequest::~RefundCdiBagRequest() +{} + +std::string RefundCdiBagRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RefundCdiBagRequest::setResourceOwnerId(const std::string& resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", resourceOwnerId); +} + +std::string RefundCdiBagRequest::getInstanceId()const +{ + return instanceId_; +} + +void RefundCdiBagRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + diff --git a/green/src/model/RefundCdiBagResult.cc b/green/src/model/RefundCdiBagResult.cc new file mode 100644 index 000000000..c2ad6d2bf --- /dev/null +++ b/green/src/model/RefundCdiBagResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +RefundCdiBagResult::RefundCdiBagResult() : + ServiceResult() +{} + +RefundCdiBagResult::RefundCdiBagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefundCdiBagResult::~RefundCdiBagResult() +{} + +void RefundCdiBagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/RefundCdiBaseBagRequest.cc b/green/src/model/RefundCdiBaseBagRequest.cc new file mode 100644 index 000000000..bd2852dba --- /dev/null +++ b/green/src/model/RefundCdiBaseBagRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::RefundCdiBaseBagRequest; + +RefundCdiBaseBagRequest::RefundCdiBaseBagRequest() : + RpcServiceRequest("green", "2017-08-23", "RefundCdiBaseBag") +{} + +RefundCdiBaseBagRequest::~RefundCdiBaseBagRequest() +{} + +std::string RefundCdiBaseBagRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RefundCdiBaseBagRequest::setResourceOwnerId(const std::string& resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", resourceOwnerId); +} + +std::string RefundCdiBaseBagRequest::getInstanceId()const +{ + return instanceId_; +} + +void RefundCdiBaseBagRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + diff --git a/green/src/model/RefundCdiBaseBagResult.cc b/green/src/model/RefundCdiBaseBagResult.cc new file mode 100644 index 000000000..33e5be482 --- /dev/null +++ b/green/src/model/RefundCdiBaseBagResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +RefundCdiBaseBagResult::RefundCdiBaseBagResult() : + ServiceResult() +{} + +RefundCdiBaseBagResult::RefundCdiBaseBagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefundCdiBaseBagResult::~RefundCdiBaseBagResult() +{} + +void RefundCdiBaseBagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/RefundWebSiteInstanceRequest.cc b/green/src/model/RefundWebSiteInstanceRequest.cc new file mode 100644 index 000000000..e9f75c314 --- /dev/null +++ b/green/src/model/RefundWebSiteInstanceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Green::Model::RefundWebSiteInstanceRequest; + +RefundWebSiteInstanceRequest::RefundWebSiteInstanceRequest() : + RpcServiceRequest("green", "2017-08-23", "RefundWebSiteInstance") +{} + +RefundWebSiteInstanceRequest::~RefundWebSiteInstanceRequest() +{} + +std::string RefundWebSiteInstanceRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RefundWebSiteInstanceRequest::setResourceOwnerId(const std::string& resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", resourceOwnerId); +} + +std::string RefundWebSiteInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void RefundWebSiteInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + diff --git a/green/src/model/RefundWebSiteInstanceResult.cc b/green/src/model/RefundWebSiteInstanceResult.cc new file mode 100644 index 000000000..e077096f2 --- /dev/null +++ b/green/src/model/RefundWebSiteInstanceResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +RefundWebSiteInstanceResult::RefundWebSiteInstanceResult() : + ServiceResult() +{} + +RefundWebSiteInstanceResult::RefundWebSiteInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefundWebSiteInstanceResult::~RefundWebSiteInstanceResult() +{} + +void RefundWebSiteInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/RenewWebSiteInstanceRequest.cc b/green/src/model/RenewWebSiteInstanceRequest.cc new file mode 100644 index 000000000..2a50432b5 --- /dev/null +++ b/green/src/model/RenewWebSiteInstanceRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::RenewWebSiteInstanceRequest; + +RenewWebSiteInstanceRequest::RenewWebSiteInstanceRequest() : + RpcServiceRequest("green", "2017-08-23", "RenewWebSiteInstance") +{} + +RenewWebSiteInstanceRequest::~RenewWebSiteInstanceRequest() +{} + +int RenewWebSiteInstanceRequest::getDuration()const +{ + return duration_; +} + +void RenewWebSiteInstanceRequest::setDuration(int duration) +{ + duration_ = duration; + setCoreParameter("Duration", std::to_string(duration)); +} + +std::string RenewWebSiteInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void RenewWebSiteInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string RenewWebSiteInstanceRequest::getClientToken()const +{ + return clientToken_; +} + +void RenewWebSiteInstanceRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +int RenewWebSiteInstanceRequest::getOrderNum()const +{ + return orderNum_; +} + +void RenewWebSiteInstanceRequest::setOrderNum(int orderNum) +{ + orderNum_ = orderNum; + setCoreParameter("OrderNum", std::to_string(orderNum)); +} + +std::string RenewWebSiteInstanceRequest::getCommodityCode()const +{ + return commodityCode_; +} + +void RenewWebSiteInstanceRequest::setCommodityCode(const std::string& commodityCode) +{ + commodityCode_ = commodityCode; + setCoreParameter("CommodityCode", commodityCode); +} + +long RenewWebSiteInstanceRequest::getOwnerId()const +{ + return ownerId_; +} + +void RenewWebSiteInstanceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string RenewWebSiteInstanceRequest::getPricingCycle()const +{ + return pricingCycle_; +} + +void RenewWebSiteInstanceRequest::setPricingCycle(const std::string& pricingCycle) +{ + pricingCycle_ = pricingCycle; + setCoreParameter("PricingCycle", pricingCycle); +} + +std::string RenewWebSiteInstanceRequest::getOrderType()const +{ + return orderType_; +} + +void RenewWebSiteInstanceRequest::setOrderType(const std::string& orderType) +{ + orderType_ = orderType; + setCoreParameter("OrderType", orderType); +} + diff --git a/green/src/model/RenewWebSiteInstanceResult.cc b/green/src/model/RenewWebSiteInstanceResult.cc new file mode 100644 index 000000000..75f032a17 --- /dev/null +++ b/green/src/model/RenewWebSiteInstanceResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +RenewWebSiteInstanceResult::RenewWebSiteInstanceResult() : + ServiceResult() +{} + +RenewWebSiteInstanceResult::RenewWebSiteInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RenewWebSiteInstanceResult::~RenewWebSiteInstanceResult() +{} + +void RenewWebSiteInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allInstanceIds = value["InstanceIds"]["String"]; + for (const auto &item : allInstanceIds) + instanceIds_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + +} + +std::string RenewWebSiteInstanceResult::getMessage()const +{ + return message_; +} + +std::string RenewWebSiteInstanceResult::getInstanceId()const +{ + return instanceId_; +} + +std::vector RenewWebSiteInstanceResult::getInstanceIds()const +{ + return instanceIds_; +} + +std::string RenewWebSiteInstanceResult::getOrderId()const +{ + return orderId_; +} + +std::string RenewWebSiteInstanceResult::getCode()const +{ + return code_; +} + diff --git a/green/src/model/SampleFeedbackRequest.cc b/green/src/model/SampleFeedbackRequest.cc new file mode 100644 index 000000000..398a02f84 --- /dev/null +++ b/green/src/model/SampleFeedbackRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::SampleFeedbackRequest; + +SampleFeedbackRequest::SampleFeedbackRequest() : + RoaServiceRequest("green", "2016-12-22") +{} + +SampleFeedbackRequest::~SampleFeedbackRequest() +{} + diff --git a/green/src/model/SampleFeedbackResult.cc b/green/src/model/SampleFeedbackResult.cc new file mode 100644 index 000000000..1b76b45ef --- /dev/null +++ b/green/src/model/SampleFeedbackResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +SampleFeedbackResult::SampleFeedbackResult() : + ServiceResult() +{} + +SampleFeedbackResult::SampleFeedbackResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SampleFeedbackResult::~SampleFeedbackResult() +{} + +void SampleFeedbackResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/SearchPersonRequest.cc b/green/src/model/SearchPersonRequest.cc index 3f3621062..465056415 100755 --- a/green/src/model/SearchPersonRequest.cc +++ b/green/src/model/SearchPersonRequest.cc @@ -33,7 +33,7 @@ std::string SearchPersonRequest::getRegionId()const void SearchPersonRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SearchPersonRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string SearchPersonRequest::getClientInfo()const void SearchPersonRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/SendVerifyCodeToEmailRequest.cc b/green/src/model/SendVerifyCodeToEmailRequest.cc new file mode 100644 index 000000000..a22ea0f59 --- /dev/null +++ b/green/src/model/SendVerifyCodeToEmailRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::SendVerifyCodeToEmailRequest; + +SendVerifyCodeToEmailRequest::SendVerifyCodeToEmailRequest() : + RpcServiceRequest("green", "2017-08-23", "SendVerifyCodeToEmail") +{} + +SendVerifyCodeToEmailRequest::~SendVerifyCodeToEmailRequest() +{} + +std::string SendVerifyCodeToEmailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SendVerifyCodeToEmailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string SendVerifyCodeToEmailRequest::getLang()const +{ + return lang_; +} + +void SendVerifyCodeToEmailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string SendVerifyCodeToEmailRequest::getEmail()const +{ + return email_; +} + +void SendVerifyCodeToEmailRequest::setEmail(const std::string& email) +{ + email_ = email; + setCoreParameter("Email", email); +} + diff --git a/green/src/model/SendVerifyCodeToEmailResult.cc b/green/src/model/SendVerifyCodeToEmailResult.cc new file mode 100644 index 000000000..3cad587ba --- /dev/null +++ b/green/src/model/SendVerifyCodeToEmailResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +SendVerifyCodeToEmailResult::SendVerifyCodeToEmailResult() : + ServiceResult() +{} + +SendVerifyCodeToEmailResult::SendVerifyCodeToEmailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendVerifyCodeToEmailResult::~SendVerifyCodeToEmailResult() +{} + +void SendVerifyCodeToEmailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/SendVerifyCodeToPhoneRequest.cc b/green/src/model/SendVerifyCodeToPhoneRequest.cc new file mode 100644 index 000000000..49ad2a4ee --- /dev/null +++ b/green/src/model/SendVerifyCodeToPhoneRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::SendVerifyCodeToPhoneRequest; + +SendVerifyCodeToPhoneRequest::SendVerifyCodeToPhoneRequest() : + RpcServiceRequest("green", "2017-08-23", "SendVerifyCodeToPhone") +{} + +SendVerifyCodeToPhoneRequest::~SendVerifyCodeToPhoneRequest() +{} + +std::string SendVerifyCodeToPhoneRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SendVerifyCodeToPhoneRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string SendVerifyCodeToPhoneRequest::getPhone()const +{ + return phone_; +} + +void SendVerifyCodeToPhoneRequest::setPhone(const std::string& phone) +{ + phone_ = phone; + setCoreParameter("Phone", phone); +} + +std::string SendVerifyCodeToPhoneRequest::getLang()const +{ + return lang_; +} + +void SendVerifyCodeToPhoneRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/SendVerifyCodeToPhoneResult.cc b/green/src/model/SendVerifyCodeToPhoneResult.cc new file mode 100644 index 000000000..f1d42643b --- /dev/null +++ b/green/src/model/SendVerifyCodeToPhoneResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +SendVerifyCodeToPhoneResult::SendVerifyCodeToPhoneResult() : + ServiceResult() +{} + +SendVerifyCodeToPhoneResult::SendVerifyCodeToPhoneResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendVerifyCodeToPhoneResult::~SendVerifyCodeToPhoneResult() +{} + +void SendVerifyCodeToPhoneResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/SendWebsiteFeedbackRequest.cc b/green/src/model/SendWebsiteFeedbackRequest.cc new file mode 100644 index 000000000..cf4f8da36 --- /dev/null +++ b/green/src/model/SendWebsiteFeedbackRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::SendWebsiteFeedbackRequest; + +SendWebsiteFeedbackRequest::SendWebsiteFeedbackRequest() : + RpcServiceRequest("green", "2017-08-23", "SendWebsiteFeedback") +{} + +SendWebsiteFeedbackRequest::~SendWebsiteFeedbackRequest() +{} + +std::string SendWebsiteFeedbackRequest::getFeedback()const +{ + return feedback_; +} + +void SendWebsiteFeedbackRequest::setFeedback(const std::string& feedback) +{ + feedback_ = feedback; + setCoreParameter("Feedback", feedback); +} + +std::string SendWebsiteFeedbackRequest::getUrls()const +{ + return urls_; +} + +void SendWebsiteFeedbackRequest::setUrls(const std::string& urls) +{ + urls_ = urls; + setCoreParameter("Urls", urls); +} + +std::string SendWebsiteFeedbackRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SendWebsiteFeedbackRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string SendWebsiteFeedbackRequest::getLang()const +{ + return lang_; +} + +void SendWebsiteFeedbackRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/SendWebsiteFeedbackResult.cc b/green/src/model/SendWebsiteFeedbackResult.cc new file mode 100644 index 000000000..4b74a2c5b --- /dev/null +++ b/green/src/model/SendWebsiteFeedbackResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +SendWebsiteFeedbackResult::SendWebsiteFeedbackResult() : + ServiceResult() +{} + +SendWebsiteFeedbackResult::SendWebsiteFeedbackResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendWebsiteFeedbackResult::~SendWebsiteFeedbackResult() +{} + +void SendWebsiteFeedbackResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/SetPersonRequest.cc b/green/src/model/SetPersonRequest.cc index f912d0602..580a7dba6 100755 --- a/green/src/model/SetPersonRequest.cc +++ b/green/src/model/SetPersonRequest.cc @@ -33,7 +33,7 @@ std::string SetPersonRequest::getRegionId()const void SetPersonRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string SetPersonRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string SetPersonRequest::getClientInfo()const void SetPersonRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/TextFeedbackRequest.cc b/green/src/model/TextFeedbackRequest.cc index 3cede7fc9..240caf075 100755 --- a/green/src/model/TextFeedbackRequest.cc +++ b/green/src/model/TextFeedbackRequest.cc @@ -33,6 +33,6 @@ std::string TextFeedbackRequest::getClientInfo()const void TextFeedbackRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/TextKeywordFilterRequest.cc b/green/src/model/TextKeywordFilterRequest.cc new file mode 100644 index 000000000..e0e69921b --- /dev/null +++ b/green/src/model/TextKeywordFilterRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::TextKeywordFilterRequest; + +TextKeywordFilterRequest::TextKeywordFilterRequest() : + RoaServiceRequest("green", "2016-12-22") +{} + +TextKeywordFilterRequest::~TextKeywordFilterRequest() +{} + diff --git a/green/src/model/TextKeywordFilterResult.cc b/green/src/model/TextKeywordFilterResult.cc new file mode 100644 index 000000000..c3debc343 --- /dev/null +++ b/green/src/model/TextKeywordFilterResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +TextKeywordFilterResult::TextKeywordFilterResult() : + ServiceResult() +{} + +TextKeywordFilterResult::TextKeywordFilterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TextKeywordFilterResult::~TextKeywordFilterResult() +{} + +void TextKeywordFilterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/TextScanRequest.cc b/green/src/model/TextScanRequest.cc index 08859f7bc..83ad8a77e 100755 --- a/green/src/model/TextScanRequest.cc +++ b/green/src/model/TextScanRequest.cc @@ -33,6 +33,6 @@ std::string TextScanRequest::getClientInfo()const void TextScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/UpdateAppPackageRequest.cc b/green/src/model/UpdateAppPackageRequest.cc new file mode 100644 index 000000000..5467e9b7e --- /dev/null +++ b/green/src/model/UpdateAppPackageRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateAppPackageRequest; + +UpdateAppPackageRequest::UpdateAppPackageRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateAppPackage") +{} + +UpdateAppPackageRequest::~UpdateAppPackageRequest() +{} + +bool UpdateAppPackageRequest::getDebug()const +{ + return debug_; +} + +void UpdateAppPackageRequest::setDebug(bool debug) +{ + debug_ = debug; + setCoreParameter("Debug", debug ? "true" : "false"); +} + +std::string UpdateAppPackageRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateAppPackageRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateAppPackageRequest::getPackageUrl()const +{ + return packageUrl_; +} + +void UpdateAppPackageRequest::setPackageUrl(const std::string& packageUrl) +{ + packageUrl_ = packageUrl; + setCoreParameter("PackageUrl", packageUrl); +} + +long UpdateAppPackageRequest::getId()const +{ + return id_; +} + +void UpdateAppPackageRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string UpdateAppPackageRequest::getLang()const +{ + return lang_; +} + +void UpdateAppPackageRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string UpdateAppPackageRequest::getPlatform()const +{ + return platform_; +} + +void UpdateAppPackageRequest::setPlatform(const std::string& platform) +{ + platform_ = platform; + setCoreParameter("Platform", platform); +} + diff --git a/green/src/model/UpdateAppPackageResult.cc b/green/src/model/UpdateAppPackageResult.cc new file mode 100644 index 000000000..4505d787d --- /dev/null +++ b/green/src/model/UpdateAppPackageResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateAppPackageResult::UpdateAppPackageResult() : + ServiceResult() +{} + +UpdateAppPackageResult::UpdateAppPackageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateAppPackageResult::~UpdateAppPackageResult() +{} + +void UpdateAppPackageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + +} + +std::string UpdateAppPackageResult::getTaskId()const +{ + return taskId_; +} + diff --git a/green/src/model/UpdateAuditSettingRequest.cc b/green/src/model/UpdateAuditSettingRequest.cc new file mode 100644 index 000000000..3f9cf30df --- /dev/null +++ b/green/src/model/UpdateAuditSettingRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateAuditSettingRequest; + +UpdateAuditSettingRequest::UpdateAuditSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateAuditSetting") +{} + +UpdateAuditSettingRequest::~UpdateAuditSettingRequest() +{} + +std::string UpdateAuditSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateAuditSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateAuditSettingRequest::getSeed()const +{ + return seed_; +} + +void UpdateAuditSettingRequest::setSeed(const std::string& seed) +{ + seed_ = seed; + setCoreParameter("Seed", seed); +} + +std::string UpdateAuditSettingRequest::getAuditRange()const +{ + return auditRange_; +} + +void UpdateAuditSettingRequest::setAuditRange(const std::string& auditRange) +{ + auditRange_ = auditRange; + setCoreParameter("AuditRange", auditRange); +} + +std::string UpdateAuditSettingRequest::getCallback()const +{ + return callback_; +} + +void UpdateAuditSettingRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setCoreParameter("Callback", callback); +} + diff --git a/green/src/model/UpdateAuditSettingResult.cc b/green/src/model/UpdateAuditSettingResult.cc new file mode 100644 index 000000000..ffc094082 --- /dev/null +++ b/green/src/model/UpdateAuditSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateAuditSettingResult::UpdateAuditSettingResult() : + ServiceResult() +{} + +UpdateAuditSettingResult::UpdateAuditSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateAuditSettingResult::~UpdateAuditSettingResult() +{} + +void UpdateAuditSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateBizTypeSettingRequest.cc b/green/src/model/UpdateBizTypeSettingRequest.cc new file mode 100644 index 000000000..bc65fa998 --- /dev/null +++ b/green/src/model/UpdateBizTypeSettingRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateBizTypeSettingRequest; + +UpdateBizTypeSettingRequest::UpdateBizTypeSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateBizTypeSetting") +{} + +UpdateBizTypeSettingRequest::~UpdateBizTypeSettingRequest() +{} + +std::string UpdateBizTypeSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateBizTypeSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateBizTypeSettingRequest::getTerrorism()const +{ + return terrorism_; +} + +void UpdateBizTypeSettingRequest::setTerrorism(const std::string& terrorism) +{ + terrorism_ = terrorism; + setCoreParameter("Terrorism", terrorism); +} + +std::string UpdateBizTypeSettingRequest::getBizTypeName()const +{ + return bizTypeName_; +} + +void UpdateBizTypeSettingRequest::setBizTypeName(const std::string& bizTypeName) +{ + bizTypeName_ = bizTypeName; + setCoreParameter("BizTypeName", bizTypeName); +} + +std::string UpdateBizTypeSettingRequest::getResourceType()const +{ + return resourceType_; +} + +void UpdateBizTypeSettingRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string UpdateBizTypeSettingRequest::getPorn()const +{ + return porn_; +} + +void UpdateBizTypeSettingRequest::setPorn(const std::string& porn) +{ + porn_ = porn; + setCoreParameter("Porn", porn); +} + diff --git a/green/src/model/UpdateBizTypeSettingResult.cc b/green/src/model/UpdateBizTypeSettingResult.cc new file mode 100644 index 000000000..b0c342892 --- /dev/null +++ b/green/src/model/UpdateBizTypeSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateBizTypeSettingResult::UpdateBizTypeSettingResult() : + ServiceResult() +{} + +UpdateBizTypeSettingResult::UpdateBizTypeSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateBizTypeSettingResult::~UpdateBizTypeSettingResult() +{} + +void UpdateBizTypeSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateCustomOcrTemplateRequest.cc b/green/src/model/UpdateCustomOcrTemplateRequest.cc new file mode 100644 index 000000000..c8b379c1d --- /dev/null +++ b/green/src/model/UpdateCustomOcrTemplateRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateCustomOcrTemplateRequest; + +UpdateCustomOcrTemplateRequest::UpdateCustomOcrTemplateRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateCustomOcrTemplate") +{} + +UpdateCustomOcrTemplateRequest::~UpdateCustomOcrTemplateRequest() +{} + +std::string UpdateCustomOcrTemplateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateCustomOcrTemplateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateCustomOcrTemplateRequest::getReferArea()const +{ + return referArea_; +} + +void UpdateCustomOcrTemplateRequest::setReferArea(const std::string& referArea) +{ + referArea_ = referArea; + setCoreParameter("ReferArea", referArea); +} + +std::string UpdateCustomOcrTemplateRequest::getRecognizeArea()const +{ + return recognizeArea_; +} + +void UpdateCustomOcrTemplateRequest::setRecognizeArea(const std::string& recognizeArea) +{ + recognizeArea_ = recognizeArea; + setCoreParameter("RecognizeArea", recognizeArea); +} + +std::string UpdateCustomOcrTemplateRequest::getName()const +{ + return name_; +} + +void UpdateCustomOcrTemplateRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +long UpdateCustomOcrTemplateRequest::getId()const +{ + return id_; +} + +void UpdateCustomOcrTemplateRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/green/src/model/UpdateCustomOcrTemplateResult.cc b/green/src/model/UpdateCustomOcrTemplateResult.cc new file mode 100644 index 000000000..cfda71d86 --- /dev/null +++ b/green/src/model/UpdateCustomOcrTemplateResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateCustomOcrTemplateResult::UpdateCustomOcrTemplateResult() : + ServiceResult() +{} + +UpdateCustomOcrTemplateResult::UpdateCustomOcrTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCustomOcrTemplateResult::~UpdateCustomOcrTemplateResult() +{} + +void UpdateCustomOcrTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateImageLibRequest.cc b/green/src/model/UpdateImageLibRequest.cc new file mode 100644 index 000000000..2c005de05 --- /dev/null +++ b/green/src/model/UpdateImageLibRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateImageLibRequest; + +UpdateImageLibRequest::UpdateImageLibRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateImageLib") +{} + +UpdateImageLibRequest::~UpdateImageLibRequest() +{} + +std::string UpdateImageLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateImageLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +bool UpdateImageLibRequest::getEnable()const +{ + return enable_; +} + +void UpdateImageLibRequest::setEnable(bool enable) +{ + enable_ = enable; + setCoreParameter("Enable", enable ? "true" : "false"); +} + +std::string UpdateImageLibRequest::getName()const +{ + return name_; +} + +void UpdateImageLibRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string UpdateImageLibRequest::getBizTypes()const +{ + return bizTypes_; +} + +void UpdateImageLibRequest::setBizTypes(const std::string& bizTypes) +{ + bizTypes_ = bizTypes; + setCoreParameter("BizTypes", bizTypes); +} + +int UpdateImageLibRequest::getId()const +{ + return id_; +} + +void UpdateImageLibRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string UpdateImageLibRequest::getCategory()const +{ + return category_; +} + +void UpdateImageLibRequest::setCategory(const std::string& category) +{ + category_ = category; + setCoreParameter("Category", category); +} + +std::string UpdateImageLibRequest::getScene()const +{ + return scene_; +} + +void UpdateImageLibRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setCoreParameter("Scene", scene); +} + diff --git a/green/src/model/UpdateImageLibResult.cc b/green/src/model/UpdateImageLibResult.cc new file mode 100644 index 000000000..5ad341069 --- /dev/null +++ b/green/src/model/UpdateImageLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateImageLibResult::UpdateImageLibResult() : + ServiceResult() +{} + +UpdateImageLibResult::UpdateImageLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateImageLibResult::~UpdateImageLibResult() +{} + +void UpdateImageLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateKeywordLibRequest.cc b/green/src/model/UpdateKeywordLibRequest.cc new file mode 100644 index 000000000..8cf7fba13 --- /dev/null +++ b/green/src/model/UpdateKeywordLibRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateKeywordLibRequest; + +UpdateKeywordLibRequest::UpdateKeywordLibRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateKeywordLib") +{} + +UpdateKeywordLibRequest::~UpdateKeywordLibRequest() +{} + +std::string UpdateKeywordLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateKeywordLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +bool UpdateKeywordLibRequest::getEnable()const +{ + return enable_; +} + +void UpdateKeywordLibRequest::setEnable(bool enable) +{ + enable_ = enable; + setCoreParameter("Enable", enable ? "true" : "false"); +} + +std::string UpdateKeywordLibRequest::getName()const +{ + return name_; +} + +void UpdateKeywordLibRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string UpdateKeywordLibRequest::getBizTypes()const +{ + return bizTypes_; +} + +void UpdateKeywordLibRequest::setBizTypes(const std::string& bizTypes) +{ + bizTypes_ = bizTypes; + setCoreParameter("BizTypes", bizTypes); +} + +int UpdateKeywordLibRequest::getId()const +{ + return id_; +} + +void UpdateKeywordLibRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string UpdateKeywordLibRequest::getLang()const +{ + return lang_; +} + +void UpdateKeywordLibRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string UpdateKeywordLibRequest::getMatchMode()const +{ + return matchMode_; +} + +void UpdateKeywordLibRequest::setMatchMode(const std::string& matchMode) +{ + matchMode_ = matchMode; + setCoreParameter("MatchMode", matchMode); +} + diff --git a/green/src/model/UpdateKeywordLibResult.cc b/green/src/model/UpdateKeywordLibResult.cc new file mode 100644 index 000000000..1ac2b96bd --- /dev/null +++ b/green/src/model/UpdateKeywordLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateKeywordLibResult::UpdateKeywordLibResult() : + ServiceResult() +{} + +UpdateKeywordLibResult::UpdateKeywordLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateKeywordLibResult::~UpdateKeywordLibResult() +{} + +void UpdateKeywordLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateNotificationSettingRequest.cc b/green/src/model/UpdateNotificationSettingRequest.cc new file mode 100644 index 000000000..991f8787d --- /dev/null +++ b/green/src/model/UpdateNotificationSettingRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateNotificationSettingRequest; + +UpdateNotificationSettingRequest::UpdateNotificationSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateNotificationSetting") +{} + +UpdateNotificationSettingRequest::~UpdateNotificationSettingRequest() +{} + +std::string UpdateNotificationSettingRequest::getRealtimeMessageList()const +{ + return realtimeMessageList_; +} + +void UpdateNotificationSettingRequest::setRealtimeMessageList(const std::string& realtimeMessageList) +{ + realtimeMessageList_ = realtimeMessageList; + setCoreParameter("RealtimeMessageList", realtimeMessageList); +} + +std::string UpdateNotificationSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateNotificationSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateNotificationSettingRequest::getReminderModeList()const +{ + return reminderModeList_; +} + +void UpdateNotificationSettingRequest::setReminderModeList(const std::string& reminderModeList) +{ + reminderModeList_ = reminderModeList; + setCoreParameter("ReminderModeList", reminderModeList); +} + +int UpdateNotificationSettingRequest::getScheduleMessageTime()const +{ + return scheduleMessageTime_; +} + +void UpdateNotificationSettingRequest::setScheduleMessageTime(int scheduleMessageTime) +{ + scheduleMessageTime_ = scheduleMessageTime; + setCoreParameter("ScheduleMessageTime", std::to_string(scheduleMessageTime)); +} + +std::string UpdateNotificationSettingRequest::getLang()const +{ + return lang_; +} + +void UpdateNotificationSettingRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateNotificationSettingRequest::getScheduleMessageTimeZone()const +{ + return scheduleMessageTimeZone_; +} + +void UpdateNotificationSettingRequest::setScheduleMessageTimeZone(int scheduleMessageTimeZone) +{ + scheduleMessageTimeZone_ = scheduleMessageTimeZone; + setCoreParameter("ScheduleMessageTimeZone", std::to_string(scheduleMessageTimeZone)); +} + diff --git a/green/src/model/UpdateNotificationSettingResult.cc b/green/src/model/UpdateNotificationSettingResult.cc new file mode 100644 index 000000000..00e930392 --- /dev/null +++ b/green/src/model/UpdateNotificationSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateNotificationSettingResult::UpdateNotificationSettingResult() : + ServiceResult() +{} + +UpdateNotificationSettingResult::UpdateNotificationSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateNotificationSettingResult::~UpdateNotificationSettingResult() +{} + +void UpdateNotificationSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateOssCallbackSettingRequest.cc b/green/src/model/UpdateOssCallbackSettingRequest.cc new file mode 100644 index 000000000..89363e63f --- /dev/null +++ b/green/src/model/UpdateOssCallbackSettingRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateOssCallbackSettingRequest; + +UpdateOssCallbackSettingRequest::UpdateOssCallbackSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateOssCallbackSetting") +{} + +UpdateOssCallbackSettingRequest::~UpdateOssCallbackSettingRequest() +{} + +std::string UpdateOssCallbackSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateOssCallbackSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +bool UpdateOssCallbackSettingRequest::getScanCallback()const +{ + return scanCallback_; +} + +void UpdateOssCallbackSettingRequest::setScanCallback(bool scanCallback) +{ + scanCallback_ = scanCallback; + setCoreParameter("ScanCallback", scanCallback ? "true" : "false"); +} + +std::string UpdateOssCallbackSettingRequest::getScanCallbackSuggestions()const +{ + return scanCallbackSuggestions_; +} + +void UpdateOssCallbackSettingRequest::setScanCallbackSuggestions(const std::string& scanCallbackSuggestions) +{ + scanCallbackSuggestions_ = scanCallbackSuggestions; + setCoreParameter("ScanCallbackSuggestions", scanCallbackSuggestions); +} + +std::string UpdateOssCallbackSettingRequest::getCallbackSeed()const +{ + return callbackSeed_; +} + +void UpdateOssCallbackSettingRequest::setCallbackSeed(const std::string& callbackSeed) +{ + callbackSeed_ = callbackSeed; + setCoreParameter("CallbackSeed", callbackSeed); +} + +bool UpdateOssCallbackSettingRequest::getAuditCallback()const +{ + return auditCallback_; +} + +void UpdateOssCallbackSettingRequest::setAuditCallback(bool auditCallback) +{ + auditCallback_ = auditCallback; + setCoreParameter("AuditCallback", auditCallback ? "true" : "false"); +} + +std::string UpdateOssCallbackSettingRequest::getCallbackUrl()const +{ + return callbackUrl_; +} + +void UpdateOssCallbackSettingRequest::setCallbackUrl(const std::string& callbackUrl) +{ + callbackUrl_ = callbackUrl; + setCoreParameter("CallbackUrl", callbackUrl); +} + +std::string UpdateOssCallbackSettingRequest::getServiceModules()const +{ + return serviceModules_; +} + +void UpdateOssCallbackSettingRequest::setServiceModules(const std::string& serviceModules) +{ + serviceModules_ = serviceModules; + setCoreParameter("ServiceModules", serviceModules); +} + diff --git a/green/src/model/UpdateOssCallbackSettingResult.cc b/green/src/model/UpdateOssCallbackSettingResult.cc new file mode 100644 index 000000000..7b7bcc07b --- /dev/null +++ b/green/src/model/UpdateOssCallbackSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateOssCallbackSettingResult::UpdateOssCallbackSettingResult() : + ServiceResult() +{} + +UpdateOssCallbackSettingResult::UpdateOssCallbackSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateOssCallbackSettingResult::~UpdateOssCallbackSettingResult() +{} + +void UpdateOssCallbackSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateOssIncrementCheckSettingRequest.cc b/green/src/model/UpdateOssIncrementCheckSettingRequest.cc new file mode 100644 index 000000000..4b3e68f4f --- /dev/null +++ b/green/src/model/UpdateOssIncrementCheckSettingRequest.cc @@ -0,0 +1,159 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateOssIncrementCheckSettingRequest; + +UpdateOssIncrementCheckSettingRequest::UpdateOssIncrementCheckSettingRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateOssIncrementCheckSetting") +{} + +UpdateOssIncrementCheckSettingRequest::~UpdateOssIncrementCheckSettingRequest() +{} + +std::string UpdateOssIncrementCheckSettingRequest::getImageAutoFreeze()const +{ + return imageAutoFreeze_; +} + +void UpdateOssIncrementCheckSettingRequest::setImageAutoFreeze(const std::string& imageAutoFreeze) +{ + imageAutoFreeze_ = imageAutoFreeze; + setCoreParameter("ImageAutoFreeze", imageAutoFreeze); +} + +std::string UpdateOssIncrementCheckSettingRequest::getVideoSceneList()const +{ + return videoSceneList_; +} + +void UpdateOssIncrementCheckSettingRequest::setVideoSceneList(const std::string& videoSceneList) +{ + videoSceneList_ = videoSceneList; + setCoreParameter("VideoSceneList", videoSceneList); +} + +std::string UpdateOssIncrementCheckSettingRequest::getAutoFreezeType()const +{ + return autoFreezeType_; +} + +void UpdateOssIncrementCheckSettingRequest::setAutoFreezeType(const std::string& autoFreezeType) +{ + autoFreezeType_ = autoFreezeType; + setCoreParameter("AutoFreezeType", autoFreezeType); +} + +std::string UpdateOssIncrementCheckSettingRequest::getImageSceneList()const +{ + return imageSceneList_; +} + +void UpdateOssIncrementCheckSettingRequest::setImageSceneList(const std::string& imageSceneList) +{ + imageSceneList_ = imageSceneList; + setCoreParameter("ImageSceneList", imageSceneList); +} + +std::string UpdateOssIncrementCheckSettingRequest::getBucketConfigList()const +{ + return bucketConfigList_; +} + +void UpdateOssIncrementCheckSettingRequest::setBucketConfigList(const std::string& bucketConfigList) +{ + bucketConfigList_ = bucketConfigList; + setCoreParameter("BucketConfigList", bucketConfigList); +} + +std::string UpdateOssIncrementCheckSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateOssIncrementCheckSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateOssIncrementCheckSettingRequest::getImageScanLimit()const +{ + return imageScanLimit_; +} + +void UpdateOssIncrementCheckSettingRequest::setImageScanLimit(const std::string& imageScanLimit) +{ + imageScanLimit_ = imageScanLimit; + setCoreParameter("ImageScanLimit", imageScanLimit); +} + +std::string UpdateOssIncrementCheckSettingRequest::getVideoAutoFreezeSceneList()const +{ + return videoAutoFreezeSceneList_; +} + +void UpdateOssIncrementCheckSettingRequest::setVideoAutoFreezeSceneList(const std::string& videoAutoFreezeSceneList) +{ + videoAutoFreezeSceneList_ = videoAutoFreezeSceneList; + setCoreParameter("VideoAutoFreezeSceneList", videoAutoFreezeSceneList); +} + +int UpdateOssIncrementCheckSettingRequest::getVideoFrameInterval()const +{ + return videoFrameInterval_; +} + +void UpdateOssIncrementCheckSettingRequest::setVideoFrameInterval(int videoFrameInterval) +{ + videoFrameInterval_ = videoFrameInterval; + setCoreParameter("VideoFrameInterval", std::to_string(videoFrameInterval)); +} + +int UpdateOssIncrementCheckSettingRequest::getVideoMaxSize()const +{ + return videoMaxSize_; +} + +void UpdateOssIncrementCheckSettingRequest::setVideoMaxSize(int videoMaxSize) +{ + videoMaxSize_ = videoMaxSize; + setCoreParameter("VideoMaxSize", std::to_string(videoMaxSize)); +} + +std::string UpdateOssIncrementCheckSettingRequest::getLang()const +{ + return lang_; +} + +void UpdateOssIncrementCheckSettingRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateOssIncrementCheckSettingRequest::getVideoMaxFrames()const +{ + return videoMaxFrames_; +} + +void UpdateOssIncrementCheckSettingRequest::setVideoMaxFrames(int videoMaxFrames) +{ + videoMaxFrames_ = videoMaxFrames; + setCoreParameter("VideoMaxFrames", std::to_string(videoMaxFrames)); +} + diff --git a/green/src/model/UpdateOssIncrementCheckSettingResult.cc b/green/src/model/UpdateOssIncrementCheckSettingResult.cc new file mode 100644 index 000000000..bed193a9d --- /dev/null +++ b/green/src/model/UpdateOssIncrementCheckSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateOssIncrementCheckSettingResult::UpdateOssIncrementCheckSettingResult() : + ServiceResult() +{} + +UpdateOssIncrementCheckSettingResult::UpdateOssIncrementCheckSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateOssIncrementCheckSettingResult::~UpdateOssIncrementCheckSettingResult() +{} + +void UpdateOssIncrementCheckSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateOssStockStatusRequest.cc b/green/src/model/UpdateOssStockStatusRequest.cc new file mode 100644 index 000000000..eda574fdd --- /dev/null +++ b/green/src/model/UpdateOssStockStatusRequest.cc @@ -0,0 +1,181 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateOssStockStatusRequest; + +UpdateOssStockStatusRequest::UpdateOssStockStatusRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateOssStockStatus") +{} + +UpdateOssStockStatusRequest::~UpdateOssStockStatusRequest() +{} + +std::string UpdateOssStockStatusRequest::getImageAutoFreeze()const +{ + return imageAutoFreeze_; +} + +void UpdateOssStockStatusRequest::setImageAutoFreeze(const std::string& imageAutoFreeze) +{ + imageAutoFreeze_ = imageAutoFreeze; + setCoreParameter("ImageAutoFreeze", imageAutoFreeze); +} + +std::string UpdateOssStockStatusRequest::getResourceTypeList()const +{ + return resourceTypeList_; +} + +void UpdateOssStockStatusRequest::setResourceTypeList(const std::string& resourceTypeList) +{ + resourceTypeList_ = resourceTypeList; + setCoreParameter("ResourceTypeList", resourceTypeList); +} + +int UpdateOssStockStatusRequest::getVideoFrameInterval()const +{ + return videoFrameInterval_; +} + +void UpdateOssStockStatusRequest::setVideoFrameInterval(int videoFrameInterval) +{ + videoFrameInterval_ = videoFrameInterval; + setCoreParameter("VideoFrameInterval", std::to_string(videoFrameInterval)); +} + +int UpdateOssStockStatusRequest::getVideoMaxSize()const +{ + return videoMaxSize_; +} + +void UpdateOssStockStatusRequest::setVideoMaxSize(int videoMaxSize) +{ + videoMaxSize_ = videoMaxSize; + setCoreParameter("VideoMaxSize", std::to_string(videoMaxSize)); +} + +std::string UpdateOssStockStatusRequest::getStartDate()const +{ + return startDate_; +} + +void UpdateOssStockStatusRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setCoreParameter("StartDate", startDate); +} + +std::string UpdateOssStockStatusRequest::getAutoFreezeType()const +{ + return autoFreezeType_; +} + +void UpdateOssStockStatusRequest::setAutoFreezeType(const std::string& autoFreezeType) +{ + autoFreezeType_ = autoFreezeType; + setCoreParameter("AutoFreezeType", autoFreezeType); +} + +std::string UpdateOssStockStatusRequest::getEndDate()const +{ + return endDate_; +} + +void UpdateOssStockStatusRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setCoreParameter("EndDate", endDate); +} + +std::string UpdateOssStockStatusRequest::getBucketConfigList()const +{ + return bucketConfigList_; +} + +void UpdateOssStockStatusRequest::setBucketConfigList(const std::string& bucketConfigList) +{ + bucketConfigList_ = bucketConfigList; + setCoreParameter("BucketConfigList", bucketConfigList); +} + +std::string UpdateOssStockStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateOssStockStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateOssStockStatusRequest::getSceneList()const +{ + return sceneList_; +} + +void UpdateOssStockStatusRequest::setSceneList(const std::string& sceneList) +{ + sceneList_ = sceneList; + setCoreParameter("SceneList", sceneList); +} + +std::string UpdateOssStockStatusRequest::getVideoAutoFreezeSceneList()const +{ + return videoAutoFreezeSceneList_; +} + +void UpdateOssStockStatusRequest::setVideoAutoFreezeSceneList(const std::string& videoAutoFreezeSceneList) +{ + videoAutoFreezeSceneList_ = videoAutoFreezeSceneList; + setCoreParameter("VideoAutoFreezeSceneList", videoAutoFreezeSceneList); +} + +std::string UpdateOssStockStatusRequest::getLang()const +{ + return lang_; +} + +void UpdateOssStockStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateOssStockStatusRequest::getVideoMaxFrames()const +{ + return videoMaxFrames_; +} + +void UpdateOssStockStatusRequest::setVideoMaxFrames(int videoMaxFrames) +{ + videoMaxFrames_ = videoMaxFrames; + setCoreParameter("VideoMaxFrames", std::to_string(videoMaxFrames)); +} + +std::string UpdateOssStockStatusRequest::getOperation()const +{ + return operation_; +} + +void UpdateOssStockStatusRequest::setOperation(const std::string& operation) +{ + operation_ = operation; + setCoreParameter("Operation", operation); +} + diff --git a/green/src/model/UpdateOssStockStatusResult.cc b/green/src/model/UpdateOssStockStatusResult.cc new file mode 100644 index 000000000..a64af9688 --- /dev/null +++ b/green/src/model/UpdateOssStockStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateOssStockStatusResult::UpdateOssStockStatusResult() : + ServiceResult() +{} + +UpdateOssStockStatusResult::UpdateOssStockStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateOssStockStatusResult::~UpdateOssStockStatusResult() +{} + +void UpdateOssStockStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateWebsiteInstanceKeyUrlRequest.cc b/green/src/model/UpdateWebsiteInstanceKeyUrlRequest.cc new file mode 100644 index 000000000..6b699ea8c --- /dev/null +++ b/green/src/model/UpdateWebsiteInstanceKeyUrlRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateWebsiteInstanceKeyUrlRequest; + +UpdateWebsiteInstanceKeyUrlRequest::UpdateWebsiteInstanceKeyUrlRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateWebsiteInstanceKeyUrl") +{} + +UpdateWebsiteInstanceKeyUrlRequest::~UpdateWebsiteInstanceKeyUrlRequest() +{} + +std::string UpdateWebsiteInstanceKeyUrlRequest::getUrls()const +{ + return urls_; +} + +void UpdateWebsiteInstanceKeyUrlRequest::setUrls(const std::string& urls) +{ + urls_ = urls; + setCoreParameter("Urls", urls); +} + +std::string UpdateWebsiteInstanceKeyUrlRequest::getInstanceId()const +{ + return instanceId_; +} + +void UpdateWebsiteInstanceKeyUrlRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string UpdateWebsiteInstanceKeyUrlRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateWebsiteInstanceKeyUrlRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateWebsiteInstanceKeyUrlRequest::getLang()const +{ + return lang_; +} + +void UpdateWebsiteInstanceKeyUrlRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/UpdateWebsiteInstanceKeyUrlResult.cc b/green/src/model/UpdateWebsiteInstanceKeyUrlResult.cc new file mode 100644 index 000000000..9f7f25835 --- /dev/null +++ b/green/src/model/UpdateWebsiteInstanceKeyUrlResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateWebsiteInstanceKeyUrlResult::UpdateWebsiteInstanceKeyUrlResult() : + ServiceResult() +{} + +UpdateWebsiteInstanceKeyUrlResult::UpdateWebsiteInstanceKeyUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWebsiteInstanceKeyUrlResult::~UpdateWebsiteInstanceKeyUrlResult() +{} + +void UpdateWebsiteInstanceKeyUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateWebsiteInstanceRequest.cc b/green/src/model/UpdateWebsiteInstanceRequest.cc new file mode 100644 index 000000000..1fd9034f2 --- /dev/null +++ b/green/src/model/UpdateWebsiteInstanceRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateWebsiteInstanceRequest; + +UpdateWebsiteInstanceRequest::UpdateWebsiteInstanceRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateWebsiteInstance") +{} + +UpdateWebsiteInstanceRequest::~UpdateWebsiteInstanceRequest() +{} + +std::string UpdateWebsiteInstanceRequest::getSiteProtocol()const +{ + return siteProtocol_; +} + +void UpdateWebsiteInstanceRequest::setSiteProtocol(const std::string& siteProtocol) +{ + siteProtocol_ = siteProtocol; + setCoreParameter("SiteProtocol", siteProtocol); +} + +std::string UpdateWebsiteInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void UpdateWebsiteInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string UpdateWebsiteInstanceRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateWebsiteInstanceRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int UpdateWebsiteInstanceRequest::getWebsiteScanInterval()const +{ + return websiteScanInterval_; +} + +void UpdateWebsiteInstanceRequest::setWebsiteScanInterval(int websiteScanInterval) +{ + websiteScanInterval_ = websiteScanInterval; + setCoreParameter("WebsiteScanInterval", std::to_string(websiteScanInterval)); +} + +std::string UpdateWebsiteInstanceRequest::getDomain()const +{ + return domain_; +} + +void UpdateWebsiteInstanceRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setCoreParameter("Domain", domain); +} + +std::string UpdateWebsiteInstanceRequest::getIndexPage()const +{ + return indexPage_; +} + +void UpdateWebsiteInstanceRequest::setIndexPage(const std::string& indexPage) +{ + indexPage_ = indexPage; + setCoreParameter("IndexPage", indexPage); +} + +std::string UpdateWebsiteInstanceRequest::getLang()const +{ + return lang_; +} + +void UpdateWebsiteInstanceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateWebsiteInstanceRequest::getIndexPageScanInterval()const +{ + return indexPageScanInterval_; +} + +void UpdateWebsiteInstanceRequest::setIndexPageScanInterval(int indexPageScanInterval) +{ + indexPageScanInterval_ = indexPageScanInterval; + setCoreParameter("IndexPageScanInterval", std::to_string(indexPageScanInterval)); +} + diff --git a/green/src/model/UpdateWebsiteInstanceResult.cc b/green/src/model/UpdateWebsiteInstanceResult.cc new file mode 100644 index 000000000..7a333e09a --- /dev/null +++ b/green/src/model/UpdateWebsiteInstanceResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateWebsiteInstanceResult::UpdateWebsiteInstanceResult() : + ServiceResult() +{} + +UpdateWebsiteInstanceResult::UpdateWebsiteInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWebsiteInstanceResult::~UpdateWebsiteInstanceResult() +{} + +void UpdateWebsiteInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpdateWebsiteInstanceStatusRequest.cc b/green/src/model/UpdateWebsiteInstanceStatusRequest.cc new file mode 100644 index 000000000..7cee7f226 --- /dev/null +++ b/green/src/model/UpdateWebsiteInstanceStatusRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpdateWebsiteInstanceStatusRequest; + +UpdateWebsiteInstanceStatusRequest::UpdateWebsiteInstanceStatusRequest() : + RpcServiceRequest("green", "2017-08-23", "UpdateWebsiteInstanceStatus") +{} + +UpdateWebsiteInstanceStatusRequest::~UpdateWebsiteInstanceStatusRequest() +{} + +std::string UpdateWebsiteInstanceStatusRequest::getInstanceId()const +{ + return instanceId_; +} + +void UpdateWebsiteInstanceStatusRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string UpdateWebsiteInstanceStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateWebsiteInstanceStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateWebsiteInstanceStatusRequest::getLang()const +{ + return lang_; +} + +void UpdateWebsiteInstanceStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string UpdateWebsiteInstanceStatusRequest::getStatus()const +{ + return status_; +} + +void UpdateWebsiteInstanceStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/green/src/model/UpdateWebsiteInstanceStatusResult.cc b/green/src/model/UpdateWebsiteInstanceStatusResult.cc new file mode 100644 index 000000000..1a028855e --- /dev/null +++ b/green/src/model/UpdateWebsiteInstanceStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpdateWebsiteInstanceStatusResult::UpdateWebsiteInstanceStatusResult() : + ServiceResult() +{} + +UpdateWebsiteInstanceStatusResult::UpdateWebsiteInstanceStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWebsiteInstanceStatusResult::~UpdateWebsiteInstanceStatusResult() +{} + +void UpdateWebsiteInstanceStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/UpgradeCdiBaseBagRequest.cc b/green/src/model/UpgradeCdiBaseBagRequest.cc new file mode 100644 index 000000000..c902c3828 --- /dev/null +++ b/green/src/model/UpgradeCdiBaseBagRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UpgradeCdiBaseBagRequest; + +UpgradeCdiBaseBagRequest::UpgradeCdiBaseBagRequest() : + RpcServiceRequest("green", "2017-08-23", "UpgradeCdiBaseBag") +{} + +UpgradeCdiBaseBagRequest::~UpgradeCdiBaseBagRequest() +{} + +std::string UpgradeCdiBaseBagRequest::getInstanceId()const +{ + return instanceId_; +} + +void UpgradeCdiBaseBagRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string UpgradeCdiBaseBagRequest::getClientToken()const +{ + return clientToken_; +} + +void UpgradeCdiBaseBagRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +std::string UpgradeCdiBaseBagRequest::getCommodityCode()const +{ + return commodityCode_; +} + +void UpgradeCdiBaseBagRequest::setCommodityCode(const std::string& commodityCode) +{ + commodityCode_ = commodityCode; + setCoreParameter("CommodityCode", commodityCode); +} + +long UpgradeCdiBaseBagRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpgradeCdiBaseBagRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +int UpgradeCdiBaseBagRequest::getFlowOutSpec()const +{ + return flowOutSpec_; +} + +void UpgradeCdiBaseBagRequest::setFlowOutSpec(int flowOutSpec) +{ + flowOutSpec_ = flowOutSpec; + setCoreParameter("FlowOutSpec", std::to_string(flowOutSpec)); +} + +std::string UpgradeCdiBaseBagRequest::getOrderType()const +{ + return orderType_; +} + +void UpgradeCdiBaseBagRequest::setOrderType(const std::string& orderType) +{ + orderType_ = orderType; + setCoreParameter("OrderType", orderType); +} + diff --git a/green/src/model/UpgradeCdiBaseBagResult.cc b/green/src/model/UpgradeCdiBaseBagResult.cc new file mode 100644 index 000000000..88dfbe21f --- /dev/null +++ b/green/src/model/UpgradeCdiBaseBagResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UpgradeCdiBaseBagResult::UpgradeCdiBaseBagResult() : + ServiceResult() +{} + +UpgradeCdiBaseBagResult::UpgradeCdiBaseBagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpgradeCdiBaseBagResult::~UpgradeCdiBaseBagResult() +{} + +void UpgradeCdiBaseBagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + +} + +std::string UpgradeCdiBaseBagResult::getMessage()const +{ + return message_; +} + +std::string UpgradeCdiBaseBagResult::getInstanceId()const +{ + return instanceId_; +} + +std::string UpgradeCdiBaseBagResult::getOrderId()const +{ + return orderId_; +} + +std::string UpgradeCdiBaseBagResult::getCode()const +{ + return code_; +} + diff --git a/green/src/model/UploadCredentialsRequest.cc b/green/src/model/UploadCredentialsRequest.cc index ba2d637f0..173d40e3e 100755 --- a/green/src/model/UploadCredentialsRequest.cc +++ b/green/src/model/UploadCredentialsRequest.cc @@ -33,7 +33,7 @@ std::string UploadCredentialsRequest::getRegionId()const void UploadCredentialsRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string UploadCredentialsRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string UploadCredentialsRequest::getClientInfo()const void UploadCredentialsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/UploadImageToLibRequest.cc b/green/src/model/UploadImageToLibRequest.cc new file mode 100644 index 000000000..09503c9a4 --- /dev/null +++ b/green/src/model/UploadImageToLibRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::UploadImageToLibRequest; + +UploadImageToLibRequest::UploadImageToLibRequest() : + RpcServiceRequest("green", "2017-08-23", "UploadImageToLib") +{} + +UploadImageToLibRequest::~UploadImageToLibRequest() +{} + +std::string UploadImageToLibRequest::getImages()const +{ + return images_; +} + +void UploadImageToLibRequest::setImages(const std::string& images) +{ + images_ = images; + setCoreParameter("Images", images); +} + +std::string UploadImageToLibRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UploadImageToLibRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int UploadImageToLibRequest::getImageLibId()const +{ + return imageLibId_; +} + +void UploadImageToLibRequest::setImageLibId(int imageLibId) +{ + imageLibId_ = imageLibId; + setCoreParameter("ImageLibId", std::to_string(imageLibId)); +} + diff --git a/green/src/model/UploadImageToLibResult.cc b/green/src/model/UploadImageToLibResult.cc new file mode 100644 index 000000000..9eb112c20 --- /dev/null +++ b/green/src/model/UploadImageToLibResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +UploadImageToLibResult::UploadImageToLibResult() : + ServiceResult() +{} + +UploadImageToLibResult::UploadImageToLibResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadImageToLibResult::~UploadImageToLibResult() +{} + +void UploadImageToLibResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/VerifyCustomOcrTemplateRequest.cc b/green/src/model/VerifyCustomOcrTemplateRequest.cc new file mode 100644 index 000000000..b44b20b4b --- /dev/null +++ b/green/src/model/VerifyCustomOcrTemplateRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::VerifyCustomOcrTemplateRequest; + +VerifyCustomOcrTemplateRequest::VerifyCustomOcrTemplateRequest() : + RpcServiceRequest("green", "2017-08-23", "VerifyCustomOcrTemplate") +{} + +VerifyCustomOcrTemplateRequest::~VerifyCustomOcrTemplateRequest() +{} + +std::string VerifyCustomOcrTemplateRequest::getTestImgUrl()const +{ + return testImgUrl_; +} + +void VerifyCustomOcrTemplateRequest::setTestImgUrl(const std::string& testImgUrl) +{ + testImgUrl_ = testImgUrl; + setCoreParameter("TestImgUrl", testImgUrl); +} + +std::string VerifyCustomOcrTemplateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void VerifyCustomOcrTemplateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long VerifyCustomOcrTemplateRequest::getId()const +{ + return id_; +} + +void VerifyCustomOcrTemplateRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/green/src/model/VerifyCustomOcrTemplateResult.cc b/green/src/model/VerifyCustomOcrTemplateResult.cc new file mode 100644 index 000000000..7af010f19 --- /dev/null +++ b/green/src/model/VerifyCustomOcrTemplateResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +VerifyCustomOcrTemplateResult::VerifyCustomOcrTemplateResult() : + ServiceResult() +{} + +VerifyCustomOcrTemplateResult::VerifyCustomOcrTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyCustomOcrTemplateResult::~VerifyCustomOcrTemplateResult() +{} + +void VerifyCustomOcrTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecognizeInfo"].isNull()) + recognizeInfo_ = value["RecognizeInfo"].asString(); + if(!value["ImageUrl"].isNull()) + imageUrl_ = value["ImageUrl"].asString(); + +} + +std::string VerifyCustomOcrTemplateResult::getImageUrl()const +{ + return imageUrl_; +} + +std::string VerifyCustomOcrTemplateResult::getRecognizeInfo()const +{ + return recognizeInfo_; +} + diff --git a/green/src/model/VerifyEmailRequest.cc b/green/src/model/VerifyEmailRequest.cc new file mode 100644 index 000000000..c0bc94f70 --- /dev/null +++ b/green/src/model/VerifyEmailRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::VerifyEmailRequest; + +VerifyEmailRequest::VerifyEmailRequest() : + RpcServiceRequest("green", "2017-08-23", "VerifyEmail") +{} + +VerifyEmailRequest::~VerifyEmailRequest() +{} + +std::string VerifyEmailRequest::getVerifyCode()const +{ + return verifyCode_; +} + +void VerifyEmailRequest::setVerifyCode(const std::string& verifyCode) +{ + verifyCode_ = verifyCode; + setCoreParameter("VerifyCode", verifyCode); +} + +std::string VerifyEmailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void VerifyEmailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string VerifyEmailRequest::getLang()const +{ + return lang_; +} + +void VerifyEmailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/VerifyEmailResult.cc b/green/src/model/VerifyEmailResult.cc new file mode 100644 index 000000000..d1c27cd4a --- /dev/null +++ b/green/src/model/VerifyEmailResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +VerifyEmailResult::VerifyEmailResult() : + ServiceResult() +{} + +VerifyEmailResult::VerifyEmailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyEmailResult::~VerifyEmailResult() +{} + +void VerifyEmailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/VerifyPhoneRequest.cc b/green/src/model/VerifyPhoneRequest.cc new file mode 100644 index 000000000..1fa4f1fcb --- /dev/null +++ b/green/src/model/VerifyPhoneRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::VerifyPhoneRequest; + +VerifyPhoneRequest::VerifyPhoneRequest() : + RpcServiceRequest("green", "2017-08-23", "VerifyPhone") +{} + +VerifyPhoneRequest::~VerifyPhoneRequest() +{} + +std::string VerifyPhoneRequest::getVerifyCode()const +{ + return verifyCode_; +} + +void VerifyPhoneRequest::setVerifyCode(const std::string& verifyCode) +{ + verifyCode_ = verifyCode; + setCoreParameter("VerifyCode", verifyCode); +} + +std::string VerifyPhoneRequest::getSourceIp()const +{ + return sourceIp_; +} + +void VerifyPhoneRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string VerifyPhoneRequest::getPhone()const +{ + return phone_; +} + +void VerifyPhoneRequest::setPhone(const std::string& phone) +{ + phone_ = phone; + setCoreParameter("Phone", phone); +} + +std::string VerifyPhoneRequest::getLang()const +{ + return lang_; +} + +void VerifyPhoneRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/VerifyPhoneResult.cc b/green/src/model/VerifyPhoneResult.cc new file mode 100644 index 000000000..1ccf3ed4b --- /dev/null +++ b/green/src/model/VerifyPhoneResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +VerifyPhoneResult::VerifyPhoneResult() : + ServiceResult() +{} + +VerifyPhoneResult::VerifyPhoneResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyPhoneResult::~VerifyPhoneResult() +{} + +void VerifyPhoneResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/VerifyWebsiteInstanceRequest.cc b/green/src/model/VerifyWebsiteInstanceRequest.cc new file mode 100644 index 000000000..7a38daa01 --- /dev/null +++ b/green/src/model/VerifyWebsiteInstanceRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Green::Model::VerifyWebsiteInstanceRequest; + +VerifyWebsiteInstanceRequest::VerifyWebsiteInstanceRequest() : + RpcServiceRequest("green", "2017-08-23", "VerifyWebsiteInstance") +{} + +VerifyWebsiteInstanceRequest::~VerifyWebsiteInstanceRequest() +{} + +std::string VerifyWebsiteInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void VerifyWebsiteInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string VerifyWebsiteInstanceRequest::getSourceIp()const +{ + return sourceIp_; +} + +void VerifyWebsiteInstanceRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string VerifyWebsiteInstanceRequest::getVerifyMethod()const +{ + return verifyMethod_; +} + +void VerifyWebsiteInstanceRequest::setVerifyMethod(const std::string& verifyMethod) +{ + verifyMethod_ = verifyMethod; + setCoreParameter("VerifyMethod", verifyMethod); +} + +std::string VerifyWebsiteInstanceRequest::getLang()const +{ + return lang_; +} + +void VerifyWebsiteInstanceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/green/src/model/VerifyWebsiteInstanceResult.cc b/green/src/model/VerifyWebsiteInstanceResult.cc new file mode 100644 index 000000000..ebdd42de3 --- /dev/null +++ b/green/src/model/VerifyWebsiteInstanceResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Green; +using namespace AlibabaCloud::Green::Model; + +VerifyWebsiteInstanceResult::VerifyWebsiteInstanceResult() : + ServiceResult() +{} + +VerifyWebsiteInstanceResult::VerifyWebsiteInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VerifyWebsiteInstanceResult::~VerifyWebsiteInstanceResult() +{} + +void VerifyWebsiteInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/green/src/model/VideoAsyncScanRequest.cc b/green/src/model/VideoAsyncScanRequest.cc index 084eeb98a..6eff6ff15 100755 --- a/green/src/model/VideoAsyncScanRequest.cc +++ b/green/src/model/VideoAsyncScanRequest.cc @@ -33,6 +33,6 @@ std::string VideoAsyncScanRequest::getClientInfo()const void VideoAsyncScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VideoAsyncScanResultsRequest.cc b/green/src/model/VideoAsyncScanResultsRequest.cc index 44a1ac475..7b8a4a338 100755 --- a/green/src/model/VideoAsyncScanResultsRequest.cc +++ b/green/src/model/VideoAsyncScanResultsRequest.cc @@ -33,6 +33,6 @@ std::string VideoAsyncScanResultsRequest::getClientInfo()const void VideoAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VideoFeedbackRequest.cc b/green/src/model/VideoFeedbackRequest.cc index eef6115e9..35d93bcd6 100755 --- a/green/src/model/VideoFeedbackRequest.cc +++ b/green/src/model/VideoFeedbackRequest.cc @@ -33,6 +33,6 @@ std::string VideoFeedbackRequest::getClientInfo()const void VideoFeedbackRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VideoSyncScanRequest.cc b/green/src/model/VideoSyncScanRequest.cc index fe295fcb3..aed97184d 100755 --- a/green/src/model/VideoSyncScanRequest.cc +++ b/green/src/model/VideoSyncScanRequest.cc @@ -33,6 +33,6 @@ std::string VideoSyncScanRequest::getClientInfo()const void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceAsyncScanRequest.cc b/green/src/model/VoiceAsyncScanRequest.cc index edc8ed246..d527ab1b9 100755 --- a/green/src/model/VoiceAsyncScanRequest.cc +++ b/green/src/model/VoiceAsyncScanRequest.cc @@ -33,6 +33,6 @@ std::string VoiceAsyncScanRequest::getClientInfo()const void VoiceAsyncScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceAsyncScanResultsRequest.cc b/green/src/model/VoiceAsyncScanResultsRequest.cc index 8a0573fa3..d12e0855a 100755 --- a/green/src/model/VoiceAsyncScanResultsRequest.cc +++ b/green/src/model/VoiceAsyncScanResultsRequest.cc @@ -33,6 +33,6 @@ std::string VoiceAsyncScanResultsRequest::getClientInfo()const void VoiceAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceCancelScanRequest.cc b/green/src/model/VoiceCancelScanRequest.cc index 7acdd3de0..70e3227d3 100755 --- a/green/src/model/VoiceCancelScanRequest.cc +++ b/green/src/model/VoiceCancelScanRequest.cc @@ -33,6 +33,6 @@ std::string VoiceCancelScanRequest::getClientInfo()const void VoiceCancelScanRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceIdentityCheckRequest.cc b/green/src/model/VoiceIdentityCheckRequest.cc index 0db259e02..3ab5e1e5c 100755 --- a/green/src/model/VoiceIdentityCheckRequest.cc +++ b/green/src/model/VoiceIdentityCheckRequest.cc @@ -33,7 +33,7 @@ std::string VoiceIdentityCheckRequest::getRegionId()const void VoiceIdentityCheckRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string VoiceIdentityCheckRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string VoiceIdentityCheckRequest::getClientInfo()const void VoiceIdentityCheckRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceIdentityRegisterRequest.cc b/green/src/model/VoiceIdentityRegisterRequest.cc index 8693e9961..64684885a 100755 --- a/green/src/model/VoiceIdentityRegisterRequest.cc +++ b/green/src/model/VoiceIdentityRegisterRequest.cc @@ -33,7 +33,7 @@ std::string VoiceIdentityRegisterRequest::getRegionId()const void VoiceIdentityRegisterRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string VoiceIdentityRegisterRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string VoiceIdentityRegisterRequest::getClientInfo()const void VoiceIdentityRegisterRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceIdentityStartCheckRequest.cc b/green/src/model/VoiceIdentityStartCheckRequest.cc index 5fae3719a..870ed85a3 100755 --- a/green/src/model/VoiceIdentityStartCheckRequest.cc +++ b/green/src/model/VoiceIdentityStartCheckRequest.cc @@ -33,7 +33,7 @@ std::string VoiceIdentityStartCheckRequest::getRegionId()const void VoiceIdentityStartCheckRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string VoiceIdentityStartCheckRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string VoiceIdentityStartCheckRequest::getClientInfo()const void VoiceIdentityStartCheckRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceIdentityStartRegisterRequest.cc b/green/src/model/VoiceIdentityStartRegisterRequest.cc index f4245221e..193c84b9e 100755 --- a/green/src/model/VoiceIdentityStartRegisterRequest.cc +++ b/green/src/model/VoiceIdentityStartRegisterRequest.cc @@ -33,7 +33,7 @@ std::string VoiceIdentityStartRegisterRequest::getRegionId()const void VoiceIdentityStartRegisterRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string VoiceIdentityStartRegisterRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string VoiceIdentityStartRegisterRequest::getClientInfo()const void VoiceIdentityStartRegisterRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); } diff --git a/green/src/model/VoiceIdentityUnregisterRequest.cc b/green/src/model/VoiceIdentityUnregisterRequest.cc index 9696a308c..65d4061c1 100755 --- a/green/src/model/VoiceIdentityUnregisterRequest.cc +++ b/green/src/model/VoiceIdentityUnregisterRequest.cc @@ -33,7 +33,7 @@ std::string VoiceIdentityUnregisterRequest::getRegionId()const void VoiceIdentityUnregisterRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; - setParameter("RegionId", regionId); + setCoreParameter("RegionId", regionId); } std::string VoiceIdentityUnregisterRequest::getClientInfo()const @@ -44,6 +44,6 @@ std::string VoiceIdentityUnregisterRequest::getClientInfo()const void VoiceIdentityUnregisterRequest::setClientInfo(const std::string& clientInfo) { clientInfo_ = clientInfo; - setParameter("ClientInfo", clientInfo); + setCoreParameter("ClientInfo", clientInfo); }