Support manual scan interface.

This commit is contained in:
sdk-team
2020-12-04 07:19:58 +00:00
parent 990c6f8efd
commit 295143d70a
54 changed files with 2357 additions and 23 deletions

View File

@@ -1,3 +1,6 @@
2020-12-04 Version: patch
- Support manual scan interface.
2020-12-04 Version: patch
- ReportInstancesStatus OpenAPI supports IssueCategory parameter.

View File

@@ -97,6 +97,8 @@ set(green_public_header_model
include/alibabacloud/green/model/DescribeBizTypeSettingResult.h
include/alibabacloud/green/model/DescribeBizTypesRequest.h
include/alibabacloud/green/model/DescribeBizTypesResult.h
include/alibabacloud/green/model/DescribeCloudMonitorServicesRequest.h
include/alibabacloud/green/model/DescribeCloudMonitorServicesResult.h
include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h
include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h
include/alibabacloud/green/model/DescribeImageFromLibRequest.h
@@ -183,6 +185,10 @@ set(green_public_header_model
include/alibabacloud/green/model/GetSimilarityImageResult.h
include/alibabacloud/green/model/GetSimilarityLibraryRequest.h
include/alibabacloud/green/model/GetSimilarityLibraryResult.h
include/alibabacloud/green/model/ImageAsyncManualScanRequest.h
include/alibabacloud/green/model/ImageAsyncManualScanResult.h
include/alibabacloud/green/model/ImageAsyncManualScanResultsRequest.h
include/alibabacloud/green/model/ImageAsyncManualScanResultsResult.h
include/alibabacloud/green/model/ImageAsyncScanRequest.h
include/alibabacloud/green/model/ImageAsyncScanResult.h
include/alibabacloud/green/model/ImageAsyncScanResultsRequest.h
@@ -237,6 +243,10 @@ set(green_public_header_model
include/alibabacloud/green/model/SendWebsiteFeedbackResult.h
include/alibabacloud/green/model/SetPersonRequest.h
include/alibabacloud/green/model/SetPersonResult.h
include/alibabacloud/green/model/TextAsyncManualScanRequest.h
include/alibabacloud/green/model/TextAsyncManualScanResult.h
include/alibabacloud/green/model/TextAsyncManualScanResultsRequest.h
include/alibabacloud/green/model/TextAsyncManualScanResultsResult.h
include/alibabacloud/green/model/TextFeedbackRequest.h
include/alibabacloud/green/model/TextFeedbackResult.h
include/alibabacloud/green/model/TextKeywordFilterRequest.h
@@ -291,6 +301,10 @@ set(green_public_header_model
include/alibabacloud/green/model/VerifyPhoneResult.h
include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h
include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h
include/alibabacloud/green/model/VideoAsyncManualScanRequest.h
include/alibabacloud/green/model/VideoAsyncManualScanResult.h
include/alibabacloud/green/model/VideoAsyncManualScanResultsRequest.h
include/alibabacloud/green/model/VideoAsyncManualScanResultsResult.h
include/alibabacloud/green/model/VideoAsyncScanRequest.h
include/alibabacloud/green/model/VideoAsyncScanResult.h
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
@@ -305,6 +319,10 @@ set(green_public_header_model
include/alibabacloud/green/model/VodAsyncScanResult.h
include/alibabacloud/green/model/VodAsyncScanResultsRequest.h
include/alibabacloud/green/model/VodAsyncScanResultsResult.h
include/alibabacloud/green/model/VoiceAsyncManualScanRequest.h
include/alibabacloud/green/model/VoiceAsyncManualScanResult.h
include/alibabacloud/green/model/VoiceAsyncManualScanResultsRequest.h
include/alibabacloud/green/model/VoiceAsyncManualScanResultsResult.h
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
include/alibabacloud/green/model/VoiceAsyncScanResult.h
include/alibabacloud/green/model/VoiceAsyncScanResultsRequest.h
@@ -408,6 +426,8 @@ set(green_src
src/model/DescribeBizTypeSettingResult.cc
src/model/DescribeBizTypesRequest.cc
src/model/DescribeBizTypesResult.cc
src/model/DescribeCloudMonitorServicesRequest.cc
src/model/DescribeCloudMonitorServicesResult.cc
src/model/DescribeCustomOcrTemplateRequest.cc
src/model/DescribeCustomOcrTemplateResult.cc
src/model/DescribeImageFromLibRequest.cc
@@ -494,6 +514,10 @@ set(green_src
src/model/GetSimilarityImageResult.cc
src/model/GetSimilarityLibraryRequest.cc
src/model/GetSimilarityLibraryResult.cc
src/model/ImageAsyncManualScanRequest.cc
src/model/ImageAsyncManualScanResult.cc
src/model/ImageAsyncManualScanResultsRequest.cc
src/model/ImageAsyncManualScanResultsResult.cc
src/model/ImageAsyncScanRequest.cc
src/model/ImageAsyncScanResult.cc
src/model/ImageAsyncScanResultsRequest.cc
@@ -548,6 +572,10 @@ set(green_src
src/model/SendWebsiteFeedbackResult.cc
src/model/SetPersonRequest.cc
src/model/SetPersonResult.cc
src/model/TextAsyncManualScanRequest.cc
src/model/TextAsyncManualScanResult.cc
src/model/TextAsyncManualScanResultsRequest.cc
src/model/TextAsyncManualScanResultsResult.cc
src/model/TextFeedbackRequest.cc
src/model/TextFeedbackResult.cc
src/model/TextKeywordFilterRequest.cc
@@ -602,6 +630,10 @@ set(green_src
src/model/VerifyPhoneResult.cc
src/model/VerifyWebsiteInstanceRequest.cc
src/model/VerifyWebsiteInstanceResult.cc
src/model/VideoAsyncManualScanRequest.cc
src/model/VideoAsyncManualScanResult.cc
src/model/VideoAsyncManualScanResultsRequest.cc
src/model/VideoAsyncManualScanResultsResult.cc
src/model/VideoAsyncScanRequest.cc
src/model/VideoAsyncScanResult.cc
src/model/VideoAsyncScanResultsRequest.cc
@@ -616,6 +648,10 @@ set(green_src
src/model/VodAsyncScanResult.cc
src/model/VodAsyncScanResultsRequest.cc
src/model/VodAsyncScanResultsResult.cc
src/model/VoiceAsyncManualScanRequest.cc
src/model/VoiceAsyncManualScanResult.cc
src/model/VoiceAsyncManualScanResultsRequest.cc
src/model/VoiceAsyncManualScanResultsResult.cc
src/model/VoiceAsyncScanRequest.cc
src/model/VoiceAsyncScanResult.cc
src/model/VoiceAsyncScanResultsRequest.cc

View File

@@ -98,6 +98,8 @@
#include "model/DescribeBizTypeSettingResult.h"
#include "model/DescribeBizTypesRequest.h"
#include "model/DescribeBizTypesResult.h"
#include "model/DescribeCloudMonitorServicesRequest.h"
#include "model/DescribeCloudMonitorServicesResult.h"
#include "model/DescribeCustomOcrTemplateRequest.h"
#include "model/DescribeCustomOcrTemplateResult.h"
#include "model/DescribeImageFromLibRequest.h"
@@ -184,6 +186,10 @@
#include "model/GetSimilarityImageResult.h"
#include "model/GetSimilarityLibraryRequest.h"
#include "model/GetSimilarityLibraryResult.h"
#include "model/ImageAsyncManualScanRequest.h"
#include "model/ImageAsyncManualScanResult.h"
#include "model/ImageAsyncManualScanResultsRequest.h"
#include "model/ImageAsyncManualScanResultsResult.h"
#include "model/ImageAsyncScanRequest.h"
#include "model/ImageAsyncScanResult.h"
#include "model/ImageAsyncScanResultsRequest.h"
@@ -238,6 +244,10 @@
#include "model/SendWebsiteFeedbackResult.h"
#include "model/SetPersonRequest.h"
#include "model/SetPersonResult.h"
#include "model/TextAsyncManualScanRequest.h"
#include "model/TextAsyncManualScanResult.h"
#include "model/TextAsyncManualScanResultsRequest.h"
#include "model/TextAsyncManualScanResultsResult.h"
#include "model/TextFeedbackRequest.h"
#include "model/TextFeedbackResult.h"
#include "model/TextKeywordFilterRequest.h"
@@ -292,6 +302,10 @@
#include "model/VerifyPhoneResult.h"
#include "model/VerifyWebsiteInstanceRequest.h"
#include "model/VerifyWebsiteInstanceResult.h"
#include "model/VideoAsyncManualScanRequest.h"
#include "model/VideoAsyncManualScanResult.h"
#include "model/VideoAsyncManualScanResultsRequest.h"
#include "model/VideoAsyncManualScanResultsResult.h"
#include "model/VideoAsyncScanRequest.h"
#include "model/VideoAsyncScanResult.h"
#include "model/VideoAsyncScanResultsRequest.h"
@@ -306,6 +320,10 @@
#include "model/VodAsyncScanResult.h"
#include "model/VodAsyncScanResultsRequest.h"
#include "model/VodAsyncScanResultsResult.h"
#include "model/VoiceAsyncManualScanRequest.h"
#include "model/VoiceAsyncManualScanResult.h"
#include "model/VoiceAsyncManualScanResultsRequest.h"
#include "model/VoiceAsyncManualScanResultsResult.h"
#include "model/VoiceAsyncScanRequest.h"
#include "model/VoiceAsyncScanResult.h"
#include "model/VoiceAsyncScanResultsRequest.h"
@@ -453,6 +471,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeBizTypesResult> DescribeBizTypesOutcome;
typedef std::future<DescribeBizTypesOutcome> DescribeBizTypesOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypesRequest&, const DescribeBizTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeCloudMonitorServicesResult> DescribeCloudMonitorServicesOutcome;
typedef std::future<DescribeCloudMonitorServicesOutcome> DescribeCloudMonitorServicesOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DescribeCloudMonitorServicesRequest&, const DescribeCloudMonitorServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCloudMonitorServicesAsyncHandler;
typedef Outcome<Error, Model::DescribeCustomOcrTemplateResult> DescribeCustomOcrTemplateOutcome;
typedef std::future<DescribeCustomOcrTemplateOutcome> DescribeCustomOcrTemplateOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::DescribeCustomOcrTemplateRequest&, const DescribeCustomOcrTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomOcrTemplateAsyncHandler;
@@ -582,6 +603,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSimilarityLibraryResult> GetSimilarityLibraryOutcome;
typedef std::future<GetSimilarityLibraryOutcome> GetSimilarityLibraryOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::GetSimilarityLibraryRequest&, const GetSimilarityLibraryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSimilarityLibraryAsyncHandler;
typedef Outcome<Error, Model::ImageAsyncManualScanResult> ImageAsyncManualScanOutcome;
typedef std::future<ImageAsyncManualScanOutcome> ImageAsyncManualScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::ImageAsyncManualScanRequest&, const ImageAsyncManualScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageAsyncManualScanAsyncHandler;
typedef Outcome<Error, Model::ImageAsyncManualScanResultsResult> ImageAsyncManualScanResultsOutcome;
typedef std::future<ImageAsyncManualScanResultsOutcome> ImageAsyncManualScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::ImageAsyncManualScanResultsRequest&, const ImageAsyncManualScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageAsyncManualScanResultsAsyncHandler;
typedef Outcome<Error, Model::ImageAsyncScanResult> ImageAsyncScanOutcome;
typedef std::future<ImageAsyncScanOutcome> ImageAsyncScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::ImageAsyncScanRequest&, const ImageAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageAsyncScanAsyncHandler;
@@ -663,6 +690,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetPersonResult> SetPersonOutcome;
typedef std::future<SetPersonOutcome> SetPersonOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::SetPersonRequest&, const SetPersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetPersonAsyncHandler;
typedef Outcome<Error, Model::TextAsyncManualScanResult> TextAsyncManualScanOutcome;
typedef std::future<TextAsyncManualScanOutcome> TextAsyncManualScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::TextAsyncManualScanRequest&, const TextAsyncManualScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextAsyncManualScanAsyncHandler;
typedef Outcome<Error, Model::TextAsyncManualScanResultsResult> TextAsyncManualScanResultsOutcome;
typedef std::future<TextAsyncManualScanResultsOutcome> TextAsyncManualScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::TextAsyncManualScanResultsRequest&, const TextAsyncManualScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextAsyncManualScanResultsAsyncHandler;
typedef Outcome<Error, Model::TextFeedbackResult> TextFeedbackOutcome;
typedef std::future<TextFeedbackOutcome> TextFeedbackOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::TextFeedbackRequest&, const TextFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextFeedbackAsyncHandler;
@@ -744,6 +777,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VerifyWebsiteInstanceResult> VerifyWebsiteInstanceOutcome;
typedef std::future<VerifyWebsiteInstanceOutcome> VerifyWebsiteInstanceOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VerifyWebsiteInstanceRequest&, const VerifyWebsiteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyWebsiteInstanceAsyncHandler;
typedef Outcome<Error, Model::VideoAsyncManualScanResult> VideoAsyncManualScanOutcome;
typedef std::future<VideoAsyncManualScanOutcome> VideoAsyncManualScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoAsyncManualScanRequest&, const VideoAsyncManualScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoAsyncManualScanAsyncHandler;
typedef Outcome<Error, Model::VideoAsyncManualScanResultsResult> VideoAsyncManualScanResultsOutcome;
typedef std::future<VideoAsyncManualScanResultsOutcome> VideoAsyncManualScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoAsyncManualScanResultsRequest&, const VideoAsyncManualScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoAsyncManualScanResultsAsyncHandler;
typedef Outcome<Error, Model::VideoAsyncScanResult> VideoAsyncScanOutcome;
typedef std::future<VideoAsyncScanOutcome> VideoAsyncScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoAsyncScanRequest&, const VideoAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoAsyncScanAsyncHandler;
@@ -765,6 +804,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VodAsyncScanResultsResult> VodAsyncScanResultsOutcome;
typedef std::future<VodAsyncScanResultsOutcome> VodAsyncScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VodAsyncScanResultsRequest&, const VodAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VodAsyncScanResultsAsyncHandler;
typedef Outcome<Error, Model::VoiceAsyncManualScanResult> VoiceAsyncManualScanOutcome;
typedef std::future<VoiceAsyncManualScanOutcome> VoiceAsyncManualScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceAsyncManualScanRequest&, const VoiceAsyncManualScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceAsyncManualScanAsyncHandler;
typedef Outcome<Error, Model::VoiceAsyncManualScanResultsResult> VoiceAsyncManualScanResultsOutcome;
typedef std::future<VoiceAsyncManualScanResultsOutcome> VoiceAsyncManualScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceAsyncManualScanResultsRequest&, const VoiceAsyncManualScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceAsyncManualScanResultsAsyncHandler;
typedef Outcome<Error, Model::VoiceAsyncScanResult> VoiceAsyncScanOutcome;
typedef std::future<VoiceAsyncScanOutcome> VoiceAsyncScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VoiceAsyncScanRequest&, const VoiceAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceAsyncScanAsyncHandler;
@@ -920,6 +965,9 @@ namespace AlibabaCloud
DescribeBizTypesOutcome describeBizTypes(const Model::DescribeBizTypesRequest &request)const;
void describeBizTypesAsync(const Model::DescribeBizTypesRequest& request, const DescribeBizTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBizTypesOutcomeCallable describeBizTypesCallable(const Model::DescribeBizTypesRequest& request) const;
DescribeCloudMonitorServicesOutcome describeCloudMonitorServices(const Model::DescribeCloudMonitorServicesRequest &request)const;
void describeCloudMonitorServicesAsync(const Model::DescribeCloudMonitorServicesRequest& request, const DescribeCloudMonitorServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCloudMonitorServicesOutcomeCallable describeCloudMonitorServicesCallable(const Model::DescribeCloudMonitorServicesRequest& request) const;
DescribeCustomOcrTemplateOutcome describeCustomOcrTemplate(const Model::DescribeCustomOcrTemplateRequest &request)const;
void describeCustomOcrTemplateAsync(const Model::DescribeCustomOcrTemplateRequest& request, const DescribeCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCustomOcrTemplateOutcomeCallable describeCustomOcrTemplateCallable(const Model::DescribeCustomOcrTemplateRequest& request) const;
@@ -1049,6 +1097,12 @@ namespace AlibabaCloud
GetSimilarityLibraryOutcome getSimilarityLibrary(const Model::GetSimilarityLibraryRequest &request)const;
void getSimilarityLibraryAsync(const Model::GetSimilarityLibraryRequest& request, const GetSimilarityLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSimilarityLibraryOutcomeCallable getSimilarityLibraryCallable(const Model::GetSimilarityLibraryRequest& request) const;
ImageAsyncManualScanOutcome imageAsyncManualScan(const Model::ImageAsyncManualScanRequest &request)const;
void imageAsyncManualScanAsync(const Model::ImageAsyncManualScanRequest& request, const ImageAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImageAsyncManualScanOutcomeCallable imageAsyncManualScanCallable(const Model::ImageAsyncManualScanRequest& request) const;
ImageAsyncManualScanResultsOutcome imageAsyncManualScanResults(const Model::ImageAsyncManualScanResultsRequest &request)const;
void imageAsyncManualScanResultsAsync(const Model::ImageAsyncManualScanResultsRequest& request, const ImageAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImageAsyncManualScanResultsOutcomeCallable imageAsyncManualScanResultsCallable(const Model::ImageAsyncManualScanResultsRequest& request) const;
ImageAsyncScanOutcome imageAsyncScan(const Model::ImageAsyncScanRequest &request)const;
void imageAsyncScanAsync(const Model::ImageAsyncScanRequest& request, const ImageAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImageAsyncScanOutcomeCallable imageAsyncScanCallable(const Model::ImageAsyncScanRequest& request) const;
@@ -1130,6 +1184,12 @@ namespace AlibabaCloud
SetPersonOutcome setPerson(const Model::SetPersonRequest &request)const;
void setPersonAsync(const Model::SetPersonRequest& request, const SetPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetPersonOutcomeCallable setPersonCallable(const Model::SetPersonRequest& request) const;
TextAsyncManualScanOutcome textAsyncManualScan(const Model::TextAsyncManualScanRequest &request)const;
void textAsyncManualScanAsync(const Model::TextAsyncManualScanRequest& request, const TextAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TextAsyncManualScanOutcomeCallable textAsyncManualScanCallable(const Model::TextAsyncManualScanRequest& request) const;
TextAsyncManualScanResultsOutcome textAsyncManualScanResults(const Model::TextAsyncManualScanResultsRequest &request)const;
void textAsyncManualScanResultsAsync(const Model::TextAsyncManualScanResultsRequest& request, const TextAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TextAsyncManualScanResultsOutcomeCallable textAsyncManualScanResultsCallable(const Model::TextAsyncManualScanResultsRequest& request) const;
TextFeedbackOutcome textFeedback(const Model::TextFeedbackRequest &request)const;
void textFeedbackAsync(const Model::TextFeedbackRequest& request, const TextFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TextFeedbackOutcomeCallable textFeedbackCallable(const Model::TextFeedbackRequest& request) const;
@@ -1211,6 +1271,12 @@ namespace AlibabaCloud
VerifyWebsiteInstanceOutcome verifyWebsiteInstance(const Model::VerifyWebsiteInstanceRequest &request)const;
void verifyWebsiteInstanceAsync(const Model::VerifyWebsiteInstanceRequest& request, const VerifyWebsiteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyWebsiteInstanceOutcomeCallable verifyWebsiteInstanceCallable(const Model::VerifyWebsiteInstanceRequest& request) const;
VideoAsyncManualScanOutcome videoAsyncManualScan(const Model::VideoAsyncManualScanRequest &request)const;
void videoAsyncManualScanAsync(const Model::VideoAsyncManualScanRequest& request, const VideoAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoAsyncManualScanOutcomeCallable videoAsyncManualScanCallable(const Model::VideoAsyncManualScanRequest& request) const;
VideoAsyncManualScanResultsOutcome videoAsyncManualScanResults(const Model::VideoAsyncManualScanResultsRequest &request)const;
void videoAsyncManualScanResultsAsync(const Model::VideoAsyncManualScanResultsRequest& request, const VideoAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoAsyncManualScanResultsOutcomeCallable videoAsyncManualScanResultsCallable(const Model::VideoAsyncManualScanResultsRequest& request) const;
VideoAsyncScanOutcome videoAsyncScan(const Model::VideoAsyncScanRequest &request)const;
void videoAsyncScanAsync(const Model::VideoAsyncScanRequest& request, const VideoAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoAsyncScanOutcomeCallable videoAsyncScanCallable(const Model::VideoAsyncScanRequest& request) const;
@@ -1232,6 +1298,12 @@ namespace AlibabaCloud
VodAsyncScanResultsOutcome vodAsyncScanResults(const Model::VodAsyncScanResultsRequest &request)const;
void vodAsyncScanResultsAsync(const Model::VodAsyncScanResultsRequest& request, const VodAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VodAsyncScanResultsOutcomeCallable vodAsyncScanResultsCallable(const Model::VodAsyncScanResultsRequest& request) const;
VoiceAsyncManualScanOutcome voiceAsyncManualScan(const Model::VoiceAsyncManualScanRequest &request)const;
void voiceAsyncManualScanAsync(const Model::VoiceAsyncManualScanRequest& request, const VoiceAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceAsyncManualScanOutcomeCallable voiceAsyncManualScanCallable(const Model::VoiceAsyncManualScanRequest& request) const;
VoiceAsyncManualScanResultsOutcome voiceAsyncManualScanResults(const Model::VoiceAsyncManualScanResultsRequest &request)const;
void voiceAsyncManualScanResultsAsync(const Model::VoiceAsyncManualScanResultsRequest& request, const VoiceAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceAsyncManualScanResultsOutcomeCallable voiceAsyncManualScanResultsCallable(const Model::VoiceAsyncManualScanResultsRequest& request) const;
VoiceAsyncScanOutcome voiceAsyncScan(const Model::VoiceAsyncScanRequest &request)const;
void voiceAsyncScanAsync(const Model::VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VoiceAsyncScanOutcomeCallable voiceAsyncScanCallable(const Model::VoiceAsyncScanRequest& request) const;

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
std::string getKeywords()const;
void setKeywords(const std::string& keywords);
int getKeywordLibId()const;
void setKeywordLibId(int keywordLibId);
long getKeywordLibId()const;
void setKeywordLibId(long keywordLibId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
@@ -46,7 +46,7 @@ namespace AlibabaCloud
private:
std::string keywords_;
int keywordLibId_;
long keywordLibId_;
std::string sourceIp_;
std::string lang_;

View File

@@ -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_DESCRIBECLOUDMONITORSERVICESREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECLOUDMONITORSERVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeCloudMonitorServicesRequest : public RpcServiceRequest
{
public:
DescribeCloudMonitorServicesRequest();
~DescribeCloudMonitorServicesRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getPage()const;
void setPage(const std::string& page);
private:
std::string sourceIp_;
std::string pageSize_;
std::string page_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECLOUDMONITORSERVICESREQUEST_H_

View File

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

View File

@@ -40,6 +40,11 @@ namespace AlibabaCloud
bool enabled;
std::string porn;
};
struct AudioAntispamFreezeConfig
{
std::string type;
std::string value;
};
struct BucketConfig
{
std::string bucket;
@@ -51,12 +56,16 @@ namespace AlibabaCloud
DescribeOssIncrementCheckSettingResult();
explicit DescribeOssIncrementCheckSettingResult(const std::string &payload);
~DescribeOssIncrementCheckSettingResult();
int getAudioMaxSize()const;
std::vector<std::string> getVideoAutoFreezeSceneList()const;
AudioAntispamFreezeConfig getAudioAntispamFreezeConfig()const;
std::string getCallbackId()const;
long getImageScanLimit()const;
ImageAutoFreeze getImageAutoFreeze()const;
std::vector<BucketConfig> getBucketConfigList()const;
std::vector<std::string> getAudioSceneList()const;
int getVideoFrameInterval()const;
bool getAudioAutoFreezeOpened()const;
std::vector<std::string> getVideoSceneList()const;
bool getImageEnableLimit()const;
std::vector<std::string> getImageSceneList()const;
@@ -68,12 +77,16 @@ namespace AlibabaCloud
protected:
void parse(const std::string &payload);
private:
int audioMaxSize_;
std::vector<std::string> videoAutoFreezeSceneList_;
AudioAntispamFreezeConfig audioAntispamFreezeConfig_;
std::string callbackId_;
long imageScanLimit_;
ImageAutoFreeze imageAutoFreeze_;
std::vector<BucketConfig> bucketConfigList_;
std::vector<std::string> audioSceneList_;
int videoFrameInterval_;
bool audioAutoFreezeOpened_;
std::vector<std::string> videoSceneList_;
bool imageEnableLimit_;
std::vector<std::string> imageSceneList_;

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
int getVoiceAntispamUnhandleCount()const;
int getPornUnhandleCount()const;
int getLiveUnhandleCount()const;
int getAudioCount()const;
int getVideoFrameCount()const;
int getTerrorismUnhandleCount()const;
int getAdUnhandleCount()const;
@@ -54,6 +55,7 @@ namespace AlibabaCloud
int voiceAntispamUnhandleCount_;
int pornUnhandleCount_;
int liveUnhandleCount_;
int audioCount_;
int videoFrameCount_;
int terrorismUnhandleCount_;
int adUnhandleCount_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DescribeOssStockStatusRequest();
~DescribeOssStockStatusRequest();
long getStockTaskId()const;
void setStockTaskId(long stockTaskId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
long stockTaskId_;
std::string sourceIp_;
std::string lang_;

View File

@@ -43,30 +43,44 @@ namespace AlibabaCloud
DescribeOssStockStatusResult();
explicit DescribeOssStockStatusResult(const std::string &payload);
~DescribeOssStockStatusResult();
int getAudioTotalCount()const;
int getImageTerrorismCount()const;
int getVideoPornCount()const;
int getStockStatus()const;
int getImagePornCount()const;
int getVideoTotalCount()const;
int getImageTotalCount()const;
int getAudioAntispamCount()const;
std::vector<std::string> getSceneList()const;
int getImageAdCount()const;
int getVideoLiveCount()const;
std::vector<Bucket> getBucketList()const;
std::string getFinishedTime()const;
int getStockStatus()const;
int getVideoTotalCount()const;
int getImageTotalCount()const;
int getImageLiveCount()const;
int getVideoAdCount()const;
int getVideoVoiceAntispamCount()const;
std::vector<std::string> getResouceTypeList()const;
int getVideoTerrorismCount()const;
protected:
void parse(const std::string &payload);
private:
int audioTotalCount_;
int imageTerrorismCount_;
int videoPornCount_;
int stockStatus_;
int imagePornCount_;
int videoTotalCount_;
int imageTotalCount_;
int audioAntispamCount_;
std::vector<std::string> sceneList_;
int imageAdCount_;
int videoLiveCount_;
std::vector<Bucket> bucketList_;
std::string finishedTime_;
int stockStatus_;
int videoTotalCount_;
int imageTotalCount_;
int imageLiveCount_;
int videoAdCount_;
int videoVoiceAntispamCount_;
std::vector<std::string> resouceTypeList_;
int videoTerrorismCount_;

View File

@@ -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_IMAGEASYNCMANUALSCANREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_IMAGEASYNCMANUALSCANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT ImageAsyncManualScanRequest : public RoaServiceRequest
{
public:
ImageAsyncManualScanRequest();
~ImageAsyncManualScanRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGEASYNCMANUALSCANREQUEST_H_

View File

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

View File

@@ -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_IMAGEASYNCMANUALSCANRESULTSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_IMAGEASYNCMANUALSCANRESULTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT ImageAsyncManualScanResultsRequest : public RoaServiceRequest
{
public:
ImageAsyncManualScanResultsRequest();
~ImageAsyncManualScanResultsRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_IMAGEASYNCMANUALSCANRESULTSREQUEST_H_

View File

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

View File

@@ -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_TEXTASYNCMANUALSCANREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_TEXTASYNCMANUALSCANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT TextAsyncManualScanRequest : public RoaServiceRequest
{
public:
TextAsyncManualScanRequest();
~TextAsyncManualScanRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_TEXTASYNCMANUALSCANREQUEST_H_

View File

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

View File

@@ -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_TEXTASYNCMANUALSCANRESULTSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_TEXTASYNCMANUALSCANRESULTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT TextAsyncManualScanResultsRequest : public RoaServiceRequest
{
public:
TextAsyncManualScanResultsRequest();
~TextAsyncManualScanResultsRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_TEXTASYNCMANUALSCANRESULTSREQUEST_H_

View File

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

View File

@@ -39,8 +39,12 @@ namespace AlibabaCloud
void setVideoSceneList(const std::string& videoSceneList);
std::string getImageSceneList()const;
void setImageSceneList(const std::string& imageSceneList);
std::string getAudioSceneList()const;
void setAudioSceneList(const std::string& audioSceneList);
int getVideoFrameInterval()const;
void setVideoFrameInterval(int videoFrameInterval);
bool getAudioAutoFreezeOpened()const;
void setAudioAutoFreezeOpened(bool audioAutoFreezeOpened);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getCallbackId()const;
@@ -49,10 +53,14 @@ namespace AlibabaCloud
void setImageScanLimit(const std::string& imageScanLimit);
std::string getVideoAutoFreezeSceneList()const;
void setVideoAutoFreezeSceneList(const std::string& videoAutoFreezeSceneList);
int getAudioMaxSize()const;
void setAudioMaxSize(int audioMaxSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getImageAutoFreeze()const;
void setImageAutoFreeze(const std::string& imageAutoFreeze);
std::string getAudioAntispamFreezeConfig()const;
void setAudioAntispamFreezeConfig(const std::string& audioAntispamFreezeConfig);
int getVideoMaxSize()const;
void setVideoMaxSize(int videoMaxSize);
std::string getAutoFreezeType()const;
@@ -65,13 +73,17 @@ namespace AlibabaCloud
private:
std::string videoSceneList_;
std::string imageSceneList_;
std::string audioSceneList_;
int videoFrameInterval_;
bool audioAutoFreezeOpened_;
std::string sourceIp_;
std::string callbackId_;
std::string imageScanLimit_;
std::string videoAutoFreezeSceneList_;
int audioMaxSize_;
std::string lang_;
std::string imageAutoFreeze_;
std::string audioAntispamFreezeConfig_;
int videoMaxSize_;
std::string autoFreezeType_;
std::string bucketConfigList_;

View File

@@ -45,10 +45,14 @@ namespace AlibabaCloud
void setSourceIp(const std::string& sourceIp);
std::string getVideoAutoFreezeSceneList()const;
void setVideoAutoFreezeSceneList(const std::string& videoAutoFreezeSceneList);
int getAudioMaxSize()const;
void setAudioMaxSize(int audioMaxSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getImageAutoFreeze()const;
void setImageAutoFreeze(const std::string& imageAutoFreeze);
std::string getAudioAutoFreezeSceneList()const;
void setAudioAutoFreezeSceneList(const std::string& audioAutoFreezeSceneList);
int getVideoMaxSize()const;
void setVideoMaxSize(int videoMaxSize);
std::string getAutoFreezeType()const;
@@ -70,8 +74,10 @@ namespace AlibabaCloud
std::string startDate_;
std::string sourceIp_;
std::string videoAutoFreezeSceneList_;
int audioMaxSize_;
std::string lang_;
std::string imageAutoFreeze_;
std::string audioAutoFreezeSceneList_;
int videoMaxSize_;
std::string autoFreezeType_;
std::string endDate_;

View File

@@ -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_VIDEOASYNCMANUALSCANREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VIDEOASYNCMANUALSCANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VideoAsyncManualScanRequest : public RoaServiceRequest
{
public:
VideoAsyncManualScanRequest();
~VideoAsyncManualScanRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VIDEOASYNCMANUALSCANREQUEST_H_

View File

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

View File

@@ -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_VIDEOASYNCMANUALSCANRESULTSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VIDEOASYNCMANUALSCANRESULTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VideoAsyncManualScanResultsRequest : public RoaServiceRequest
{
public:
VideoAsyncManualScanResultsRequest();
~VideoAsyncManualScanResultsRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VIDEOASYNCMANUALSCANRESULTSREQUEST_H_

View File

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

View File

@@ -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_VOICEASYNCMANUALSCANREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEASYNCMANUALSCANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceAsyncManualScanRequest : public RoaServiceRequest
{
public:
VoiceAsyncManualScanRequest();
~VoiceAsyncManualScanRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEASYNCMANUALSCANREQUEST_H_

View File

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

View File

@@ -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_VOICEASYNCMANUALSCANRESULTSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_VOICEASYNCMANUALSCANRESULTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT VoiceAsyncManualScanResultsRequest : public RoaServiceRequest
{
public:
VoiceAsyncManualScanResultsRequest();
~VoiceAsyncManualScanResultsRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICEASYNCMANUALSCANRESULTSREQUEST_H_

View File

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

View File

@@ -1419,6 +1419,42 @@ GreenClient::DescribeBizTypesOutcomeCallable GreenClient::describeBizTypesCallab
return task->get_future();
}
GreenClient::DescribeCloudMonitorServicesOutcome GreenClient::describeCloudMonitorServices(const DescribeCloudMonitorServicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCloudMonitorServicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCloudMonitorServicesOutcome(DescribeCloudMonitorServicesResult(outcome.result()));
else
return DescribeCloudMonitorServicesOutcome(outcome.error());
}
void GreenClient::describeCloudMonitorServicesAsync(const DescribeCloudMonitorServicesRequest& request, const DescribeCloudMonitorServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCloudMonitorServices(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::DescribeCloudMonitorServicesOutcomeCallable GreenClient::describeCloudMonitorServicesCallable(const DescribeCloudMonitorServicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCloudMonitorServicesOutcome()>>(
[this, request]()
{
return this->describeCloudMonitorServices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::DescribeCustomOcrTemplateOutcome GreenClient::describeCustomOcrTemplate(const DescribeCustomOcrTemplateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2967,6 +3003,78 @@ GreenClient::GetSimilarityLibraryOutcomeCallable GreenClient::getSimilarityLibra
return task->get_future();
}
GreenClient::ImageAsyncManualScanOutcome GreenClient::imageAsyncManualScan(const ImageAsyncManualScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ImageAsyncManualScanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ImageAsyncManualScanOutcome(ImageAsyncManualScanResult(outcome.result()));
else
return ImageAsyncManualScanOutcome(outcome.error());
}
void GreenClient::imageAsyncManualScanAsync(const ImageAsyncManualScanRequest& request, const ImageAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, imageAsyncManualScan(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::ImageAsyncManualScanOutcomeCallable GreenClient::imageAsyncManualScanCallable(const ImageAsyncManualScanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ImageAsyncManualScanOutcome()>>(
[this, request]()
{
return this->imageAsyncManualScan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::ImageAsyncManualScanResultsOutcome GreenClient::imageAsyncManualScanResults(const ImageAsyncManualScanResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ImageAsyncManualScanResultsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ImageAsyncManualScanResultsOutcome(ImageAsyncManualScanResultsResult(outcome.result()));
else
return ImageAsyncManualScanResultsOutcome(outcome.error());
}
void GreenClient::imageAsyncManualScanResultsAsync(const ImageAsyncManualScanResultsRequest& request, const ImageAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, imageAsyncManualScanResults(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::ImageAsyncManualScanResultsOutcomeCallable GreenClient::imageAsyncManualScanResultsCallable(const ImageAsyncManualScanResultsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ImageAsyncManualScanResultsOutcome()>>(
[this, request]()
{
return this->imageAsyncManualScanResults(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::ImageAsyncScanOutcome GreenClient::imageAsyncScan(const ImageAsyncScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3939,6 +4047,78 @@ GreenClient::SetPersonOutcomeCallable GreenClient::setPersonCallable(const SetPe
return task->get_future();
}
GreenClient::TextAsyncManualScanOutcome GreenClient::textAsyncManualScan(const TextAsyncManualScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TextAsyncManualScanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TextAsyncManualScanOutcome(TextAsyncManualScanResult(outcome.result()));
else
return TextAsyncManualScanOutcome(outcome.error());
}
void GreenClient::textAsyncManualScanAsync(const TextAsyncManualScanRequest& request, const TextAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, textAsyncManualScan(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::TextAsyncManualScanOutcomeCallable GreenClient::textAsyncManualScanCallable(const TextAsyncManualScanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TextAsyncManualScanOutcome()>>(
[this, request]()
{
return this->textAsyncManualScan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::TextAsyncManualScanResultsOutcome GreenClient::textAsyncManualScanResults(const TextAsyncManualScanResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TextAsyncManualScanResultsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TextAsyncManualScanResultsOutcome(TextAsyncManualScanResultsResult(outcome.result()));
else
return TextAsyncManualScanResultsOutcome(outcome.error());
}
void GreenClient::textAsyncManualScanResultsAsync(const TextAsyncManualScanResultsRequest& request, const TextAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, textAsyncManualScanResults(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::TextAsyncManualScanResultsOutcomeCallable GreenClient::textAsyncManualScanResultsCallable(const TextAsyncManualScanResultsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TextAsyncManualScanResultsOutcome()>>(
[this, request]()
{
return this->textAsyncManualScanResults(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::TextFeedbackOutcome GreenClient::textFeedback(const TextFeedbackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4911,6 +5091,78 @@ GreenClient::VerifyWebsiteInstanceOutcomeCallable GreenClient::verifyWebsiteInst
return task->get_future();
}
GreenClient::VideoAsyncManualScanOutcome GreenClient::videoAsyncManualScan(const VideoAsyncManualScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VideoAsyncManualScanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VideoAsyncManualScanOutcome(VideoAsyncManualScanResult(outcome.result()));
else
return VideoAsyncManualScanOutcome(outcome.error());
}
void GreenClient::videoAsyncManualScanAsync(const VideoAsyncManualScanRequest& request, const VideoAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, videoAsyncManualScan(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VideoAsyncManualScanOutcomeCallable GreenClient::videoAsyncManualScanCallable(const VideoAsyncManualScanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VideoAsyncManualScanOutcome()>>(
[this, request]()
{
return this->videoAsyncManualScan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::VideoAsyncManualScanResultsOutcome GreenClient::videoAsyncManualScanResults(const VideoAsyncManualScanResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VideoAsyncManualScanResultsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VideoAsyncManualScanResultsOutcome(VideoAsyncManualScanResultsResult(outcome.result()));
else
return VideoAsyncManualScanResultsOutcome(outcome.error());
}
void GreenClient::videoAsyncManualScanResultsAsync(const VideoAsyncManualScanResultsRequest& request, const VideoAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, videoAsyncManualScanResults(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VideoAsyncManualScanResultsOutcomeCallable GreenClient::videoAsyncManualScanResultsCallable(const VideoAsyncManualScanResultsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VideoAsyncManualScanResultsOutcome()>>(
[this, request]()
{
return this->videoAsyncManualScanResults(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::VideoAsyncScanOutcome GreenClient::videoAsyncScan(const VideoAsyncScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5163,6 +5415,78 @@ GreenClient::VodAsyncScanResultsOutcomeCallable GreenClient::vodAsyncScanResults
return task->get_future();
}
GreenClient::VoiceAsyncManualScanOutcome GreenClient::voiceAsyncManualScan(const VoiceAsyncManualScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceAsyncManualScanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceAsyncManualScanOutcome(VoiceAsyncManualScanResult(outcome.result()));
else
return VoiceAsyncManualScanOutcome(outcome.error());
}
void GreenClient::voiceAsyncManualScanAsync(const VoiceAsyncManualScanRequest& request, const VoiceAsyncManualScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceAsyncManualScan(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceAsyncManualScanOutcomeCallable GreenClient::voiceAsyncManualScanCallable(const VoiceAsyncManualScanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceAsyncManualScanOutcome()>>(
[this, request]()
{
return this->voiceAsyncManualScan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::VoiceAsyncManualScanResultsOutcome GreenClient::voiceAsyncManualScanResults(const VoiceAsyncManualScanResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VoiceAsyncManualScanResultsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VoiceAsyncManualScanResultsOutcome(VoiceAsyncManualScanResultsResult(outcome.result()));
else
return VoiceAsyncManualScanResultsOutcome(outcome.error());
}
void GreenClient::voiceAsyncManualScanResultsAsync(const VoiceAsyncManualScanResultsRequest& request, const VoiceAsyncManualScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, voiceAsyncManualScanResults(request), context);
};
asyncExecute(new Runnable(fn));
}
GreenClient::VoiceAsyncManualScanResultsOutcomeCallable GreenClient::voiceAsyncManualScanResultsCallable(const VoiceAsyncManualScanResultsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VoiceAsyncManualScanResultsOutcome()>>(
[this, request]()
{
return this->voiceAsyncManualScanResults(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
GreenClient::VoiceAsyncScanOutcome GreenClient::voiceAsyncScan(const VoiceAsyncScanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -38,12 +38,12 @@ void CreateKeywordRequest::setKeywords(const std::string& keywords)
setParameter("Keywords", keywords);
}
int CreateKeywordRequest::getKeywordLibId()const
long CreateKeywordRequest::getKeywordLibId()const
{
return keywordLibId_;
}
void CreateKeywordRequest::setKeywordLibId(int keywordLibId)
void CreateKeywordRequest::setKeywordLibId(long keywordLibId)
{
keywordLibId_ = keywordLibId;
setParameter("KeywordLibId", std::to_string(keywordLibId));

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/DescribeCloudMonitorServicesRequest.h>
using AlibabaCloud::Green::Model::DescribeCloudMonitorServicesRequest;
DescribeCloudMonitorServicesRequest::DescribeCloudMonitorServicesRequest() :
RpcServiceRequest("green", "2017-08-23", "DescribeCloudMonitorServices")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCloudMonitorServicesRequest::~DescribeCloudMonitorServicesRequest()
{}
std::string DescribeCloudMonitorServicesRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeCloudMonitorServicesRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeCloudMonitorServicesRequest::getPageSize()const
{
return pageSize_;
}
void DescribeCloudMonitorServicesRequest::setPageSize(const std::string& pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", pageSize);
}
std::string DescribeCloudMonitorServicesRequest::getPage()const
{
return page_;
}
void DescribeCloudMonitorServicesRequest::setPage(const std::string& page)
{
page_ = page;
setParameter("Page", page);
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/DescribeCloudMonitorServicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
DescribeCloudMonitorServicesResult::DescribeCloudMonitorServicesResult() :
ServiceResult()
{}
DescribeCloudMonitorServicesResult::DescribeCloudMonitorServicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCloudMonitorServicesResult::~DescribeCloudMonitorServicesResult()
{}
void DescribeCloudMonitorServicesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["StringItem"];
for (const auto &item : allItems)
items_.push_back(item.asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int DescribeCloudMonitorServicesResult::getTotalCount()const
{
return totalCount_;
}
std::vector<std::string> DescribeCloudMonitorServicesResult::getItems()const
{
return items_;
}

View File

@@ -63,6 +63,11 @@ void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
imageAutoFreeze_.ad = imageAutoFreezeNode["Ad"].asString();
if(!imageAutoFreezeNode["Live"].isNull())
imageAutoFreeze_.live = imageAutoFreezeNode["Live"].asString();
auto audioAntispamFreezeConfigNode = value["AudioAntispamFreezeConfig"];
if(!audioAntispamFreezeConfigNode["Type"].isNull())
audioAntispamFreezeConfig_.type = audioAntispamFreezeConfigNode["Type"].asString();
if(!audioAntispamFreezeConfigNode["Value"].isNull())
audioAntispamFreezeConfig_.value = audioAntispamFreezeConfigNode["Value"].asString();
auto allImageSceneList = value["ImageSceneList"]["ImageScene"];
for (const auto &item : allImageSceneList)
imageSceneList_.push_back(item.asString());
@@ -72,6 +77,9 @@ void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
auto allVideoAutoFreezeSceneList = value["VideoAutoFreezeSceneList"]["VideoAutoFreezeScene"];
for (const auto &item : allVideoAutoFreezeSceneList)
videoAutoFreezeSceneList_.push_back(item.asString());
auto allAudioSceneList = value["AudioSceneList"]["AudioScene"];
for (const auto &item : allAudioSceneList)
audioSceneList_.push_back(item.asString());
if(!value["ImageEnableLimit"].isNull())
imageEnableLimit_ = value["ImageEnableLimit"].asString() == "true";
if(!value["ImageScanLimit"].isNull())
@@ -88,14 +96,28 @@ void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
callbackId_ = value["CallbackId"].asString();
if(!value["CallbackName"].isNull())
callbackName_ = value["CallbackName"].asString();
if(!value["AudioMaxSize"].isNull())
audioMaxSize_ = std::stoi(value["AudioMaxSize"].asString());
if(!value["AudioAutoFreezeOpened"].isNull())
audioAutoFreezeOpened_ = value["AudioAutoFreezeOpened"].asString() == "true";
}
int DescribeOssIncrementCheckSettingResult::getAudioMaxSize()const
{
return audioMaxSize_;
}
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getVideoAutoFreezeSceneList()const
{
return videoAutoFreezeSceneList_;
}
DescribeOssIncrementCheckSettingResult::AudioAntispamFreezeConfig DescribeOssIncrementCheckSettingResult::getAudioAntispamFreezeConfig()const
{
return audioAntispamFreezeConfig_;
}
std::string DescribeOssIncrementCheckSettingResult::getCallbackId()const
{
return callbackId_;
@@ -116,11 +138,21 @@ DescribeOssIncrementCheckSettingResult::ImageAutoFreeze DescribeOssIncrementChec
return imageAutoFreeze_;
}
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getAudioSceneList()const
{
return audioSceneList_;
}
int DescribeOssIncrementCheckSettingResult::getVideoFrameInterval()const
{
return videoFrameInterval_;
}
bool DescribeOssIncrementCheckSettingResult::getAudioAutoFreezeOpened()const
{
return audioAutoFreezeOpened_;
}
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getVideoSceneList()const
{
return videoSceneList_;

View File

@@ -55,6 +55,8 @@ void DescribeOssIncrementOverviewResult::parse(const std::string &payload)
liveUnhandleCount_ = std::stoi(value["LiveUnhandleCount"].asString());
if(!value["VoiceAntispamUnhandleCount"].isNull())
voiceAntispamUnhandleCount_ = std::stoi(value["VoiceAntispamUnhandleCount"].asString());
if(!value["AudioCount"].isNull())
audioCount_ = std::stoi(value["AudioCount"].asString());
}
@@ -83,6 +85,11 @@ int DescribeOssIncrementOverviewResult::getLiveUnhandleCount()const
return liveUnhandleCount_;
}
int DescribeOssIncrementOverviewResult::getAudioCount()const
{
return audioCount_;
}
int DescribeOssIncrementOverviewResult::getVideoFrameCount()const
{
return videoFrameCount_;

View File

@@ -27,6 +27,17 @@ DescribeOssStockStatusRequest::DescribeOssStockStatusRequest() :
DescribeOssStockStatusRequest::~DescribeOssStockStatusRequest()
{}
long DescribeOssStockStatusRequest::getStockTaskId()const
{
return stockTaskId_;
}
void DescribeOssStockStatusRequest::setStockTaskId(long stockTaskId)
{
stockTaskId_ = stockTaskId;
setParameter("StockTaskId", std::to_string(stockTaskId));
}
std::string DescribeOssStockStatusRequest::getSourceIp()const
{
return sourceIp_;

View File

@@ -68,15 +68,34 @@ void DescribeOssStockStatusResult::parse(const std::string &payload)
imagePornCount_ = std::stoi(value["ImagePornCount"].asString());
if(!value["ImageTerrorismCount"].isNull())
imageTerrorismCount_ = std::stoi(value["ImageTerrorismCount"].asString());
if(!value["ImageAdCount"].isNull())
imageAdCount_ = std::stoi(value["ImageAdCount"].asString());
if(!value["ImageLiveCount"].isNull())
imageLiveCount_ = std::stoi(value["ImageLiveCount"].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());
if(!value["VideoAdCount"].isNull())
videoAdCount_ = std::stoi(value["VideoAdCount"].asString());
if(!value["VideoLiveCount"].isNull())
videoLiveCount_ = std::stoi(value["VideoLiveCount"].asString());
if(!value["VideoVoiceAntispamCount"].isNull())
videoVoiceAntispamCount_ = std::stoi(value["VideoVoiceAntispamCount"].asString());
if(!value["AudioTotalCount"].isNull())
audioTotalCount_ = std::stoi(value["AudioTotalCount"].asString());
if(!value["AudioAntispamCount"].isNull())
audioAntispamCount_ = std::stoi(value["AudioAntispamCount"].asString());
}
int DescribeOssStockStatusResult::getAudioTotalCount()const
{
return audioTotalCount_;
}
int DescribeOssStockStatusResult::getImageTerrorismCount()const
{
return imageTerrorismCount_;
@@ -87,24 +106,14 @@ int DescribeOssStockStatusResult::getVideoPornCount()const
return videoPornCount_;
}
int DescribeOssStockStatusResult::getStockStatus()const
{
return stockStatus_;
}
int DescribeOssStockStatusResult::getImagePornCount()const
{
return imagePornCount_;
}
int DescribeOssStockStatusResult::getVideoTotalCount()const
int DescribeOssStockStatusResult::getAudioAntispamCount()const
{
return videoTotalCount_;
}
int DescribeOssStockStatusResult::getImageTotalCount()const
{
return imageTotalCount_;
return audioAntispamCount_;
}
std::vector<std::string> DescribeOssStockStatusResult::getSceneList()const
@@ -112,6 +121,16 @@ std::vector<std::string> DescribeOssStockStatusResult::getSceneList()const
return sceneList_;
}
int DescribeOssStockStatusResult::getImageAdCount()const
{
return imageAdCount_;
}
int DescribeOssStockStatusResult::getVideoLiveCount()const
{
return videoLiveCount_;
}
std::vector<DescribeOssStockStatusResult::Bucket> DescribeOssStockStatusResult::getBucketList()const
{
return bucketList_;
@@ -122,6 +141,36 @@ std::string DescribeOssStockStatusResult::getFinishedTime()const
return finishedTime_;
}
int DescribeOssStockStatusResult::getStockStatus()const
{
return stockStatus_;
}
int DescribeOssStockStatusResult::getVideoTotalCount()const
{
return videoTotalCount_;
}
int DescribeOssStockStatusResult::getImageTotalCount()const
{
return imageTotalCount_;
}
int DescribeOssStockStatusResult::getImageLiveCount()const
{
return imageLiveCount_;
}
int DescribeOssStockStatusResult::getVideoAdCount()const
{
return videoAdCount_;
}
int DescribeOssStockStatusResult::getVideoVoiceAntispamCount()const
{
return videoVoiceAntispamCount_;
}
std::vector<std::string> DescribeOssStockStatusResult::getResouceTypeList()const
{
return resouceTypeList_;

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/ImageAsyncManualScanRequest.h>
using AlibabaCloud::Green::Model::ImageAsyncManualScanRequest;
ImageAsyncManualScanRequest::ImageAsyncManualScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/image/manual/asyncScan");
setMethod(HttpRequest::Method::Post);
}
ImageAsyncManualScanRequest::~ImageAsyncManualScanRequest()
{}
std::string ImageAsyncManualScanRequest::getClientInfo()const
{
return clientInfo_;
}
void ImageAsyncManualScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/ImageAsyncManualScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
ImageAsyncManualScanResult::ImageAsyncManualScanResult() :
ServiceResult()
{}
ImageAsyncManualScanResult::ImageAsyncManualScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ImageAsyncManualScanResult::~ImageAsyncManualScanResult()
{}
void ImageAsyncManualScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/ImageAsyncManualScanResultsRequest.h>
using AlibabaCloud::Green::Model::ImageAsyncManualScanResultsRequest;
ImageAsyncManualScanResultsRequest::ImageAsyncManualScanResultsRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/image/manual/scan/results");
setMethod(HttpRequest::Method::Post);
}
ImageAsyncManualScanResultsRequest::~ImageAsyncManualScanResultsRequest()
{}
std::string ImageAsyncManualScanResultsRequest::getClientInfo()const
{
return clientInfo_;
}
void ImageAsyncManualScanResultsRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/ImageAsyncManualScanResultsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
ImageAsyncManualScanResultsResult::ImageAsyncManualScanResultsResult() :
ServiceResult()
{}
ImageAsyncManualScanResultsResult::ImageAsyncManualScanResultsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ImageAsyncManualScanResultsResult::~ImageAsyncManualScanResultsResult()
{}
void ImageAsyncManualScanResultsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/TextAsyncManualScanRequest.h>
using AlibabaCloud::Green::Model::TextAsyncManualScanRequest;
TextAsyncManualScanRequest::TextAsyncManualScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/text/manual/asyncScan");
setMethod(HttpRequest::Method::Post);
}
TextAsyncManualScanRequest::~TextAsyncManualScanRequest()
{}
std::string TextAsyncManualScanRequest::getClientInfo()const
{
return clientInfo_;
}
void TextAsyncManualScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/TextAsyncManualScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
TextAsyncManualScanResult::TextAsyncManualScanResult() :
ServiceResult()
{}
TextAsyncManualScanResult::TextAsyncManualScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TextAsyncManualScanResult::~TextAsyncManualScanResult()
{}
void TextAsyncManualScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/TextAsyncManualScanResultsRequest.h>
using AlibabaCloud::Green::Model::TextAsyncManualScanResultsRequest;
TextAsyncManualScanResultsRequest::TextAsyncManualScanResultsRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/text/manual/scan/results");
setMethod(HttpRequest::Method::Post);
}
TextAsyncManualScanResultsRequest::~TextAsyncManualScanResultsRequest()
{}
std::string TextAsyncManualScanResultsRequest::getClientInfo()const
{
return clientInfo_;
}
void TextAsyncManualScanResultsRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/TextAsyncManualScanResultsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
TextAsyncManualScanResultsResult::TextAsyncManualScanResultsResult() :
ServiceResult()
{}
TextAsyncManualScanResultsResult::TextAsyncManualScanResultsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TextAsyncManualScanResultsResult::~TextAsyncManualScanResultsResult()
{}
void TextAsyncManualScanResultsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -49,6 +49,17 @@ void UpdateOssIncrementCheckSettingRequest::setImageSceneList(const std::string&
setParameter("ImageSceneList", imageSceneList);
}
std::string UpdateOssIncrementCheckSettingRequest::getAudioSceneList()const
{
return audioSceneList_;
}
void UpdateOssIncrementCheckSettingRequest::setAudioSceneList(const std::string& audioSceneList)
{
audioSceneList_ = audioSceneList;
setParameter("AudioSceneList", audioSceneList);
}
int UpdateOssIncrementCheckSettingRequest::getVideoFrameInterval()const
{
return videoFrameInterval_;
@@ -60,6 +71,17 @@ void UpdateOssIncrementCheckSettingRequest::setVideoFrameInterval(int videoFrame
setParameter("VideoFrameInterval", std::to_string(videoFrameInterval));
}
bool UpdateOssIncrementCheckSettingRequest::getAudioAutoFreezeOpened()const
{
return audioAutoFreezeOpened_;
}
void UpdateOssIncrementCheckSettingRequest::setAudioAutoFreezeOpened(bool audioAutoFreezeOpened)
{
audioAutoFreezeOpened_ = audioAutoFreezeOpened;
setParameter("AudioAutoFreezeOpened", audioAutoFreezeOpened ? "true" : "false");
}
std::string UpdateOssIncrementCheckSettingRequest::getSourceIp()const
{
return sourceIp_;
@@ -104,6 +126,17 @@ void UpdateOssIncrementCheckSettingRequest::setVideoAutoFreezeSceneList(const st
setParameter("VideoAutoFreezeSceneList", videoAutoFreezeSceneList);
}
int UpdateOssIncrementCheckSettingRequest::getAudioMaxSize()const
{
return audioMaxSize_;
}
void UpdateOssIncrementCheckSettingRequest::setAudioMaxSize(int audioMaxSize)
{
audioMaxSize_ = audioMaxSize;
setParameter("AudioMaxSize", std::to_string(audioMaxSize));
}
std::string UpdateOssIncrementCheckSettingRequest::getLang()const
{
return lang_;
@@ -126,6 +159,17 @@ void UpdateOssIncrementCheckSettingRequest::setImageAutoFreeze(const std::string
setParameter("ImageAutoFreeze", imageAutoFreeze);
}
std::string UpdateOssIncrementCheckSettingRequest::getAudioAntispamFreezeConfig()const
{
return audioAntispamFreezeConfig_;
}
void UpdateOssIncrementCheckSettingRequest::setAudioAntispamFreezeConfig(const std::string& audioAntispamFreezeConfig)
{
audioAntispamFreezeConfig_ = audioAntispamFreezeConfig;
setParameter("AudioAntispamFreezeConfig", audioAntispamFreezeConfig);
}
int UpdateOssIncrementCheckSettingRequest::getVideoMaxSize()const
{
return videoMaxSize_;

View File

@@ -82,6 +82,17 @@ void UpdateOssStockStatusRequest::setVideoAutoFreezeSceneList(const std::string&
setParameter("VideoAutoFreezeSceneList", videoAutoFreezeSceneList);
}
int UpdateOssStockStatusRequest::getAudioMaxSize()const
{
return audioMaxSize_;
}
void UpdateOssStockStatusRequest::setAudioMaxSize(int audioMaxSize)
{
audioMaxSize_ = audioMaxSize;
setParameter("AudioMaxSize", std::to_string(audioMaxSize));
}
std::string UpdateOssStockStatusRequest::getLang()const
{
return lang_;
@@ -104,6 +115,17 @@ void UpdateOssStockStatusRequest::setImageAutoFreeze(const std::string& imageAut
setParameter("ImageAutoFreeze", imageAutoFreeze);
}
std::string UpdateOssStockStatusRequest::getAudioAutoFreezeSceneList()const
{
return audioAutoFreezeSceneList_;
}
void UpdateOssStockStatusRequest::setAudioAutoFreezeSceneList(const std::string& audioAutoFreezeSceneList)
{
audioAutoFreezeSceneList_ = audioAutoFreezeSceneList;
setParameter("AudioAutoFreezeSceneList", audioAutoFreezeSceneList);
}
int UpdateOssStockStatusRequest::getVideoMaxSize()const
{
return videoMaxSize_;

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VideoAsyncManualScanRequest.h>
using AlibabaCloud::Green::Model::VideoAsyncManualScanRequest;
VideoAsyncManualScanRequest::VideoAsyncManualScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/video/manual/asyncScan");
setMethod(HttpRequest::Method::Post);
}
VideoAsyncManualScanRequest::~VideoAsyncManualScanRequest()
{}
std::string VideoAsyncManualScanRequest::getClientInfo()const
{
return clientInfo_;
}
void VideoAsyncManualScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VideoAsyncManualScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VideoAsyncManualScanResult::VideoAsyncManualScanResult() :
ServiceResult()
{}
VideoAsyncManualScanResult::VideoAsyncManualScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VideoAsyncManualScanResult::~VideoAsyncManualScanResult()
{}
void VideoAsyncManualScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VideoAsyncManualScanResultsRequest.h>
using AlibabaCloud::Green::Model::VideoAsyncManualScanResultsRequest;
VideoAsyncManualScanResultsRequest::VideoAsyncManualScanResultsRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/video/manual/scan/results");
setMethod(HttpRequest::Method::Post);
}
VideoAsyncManualScanResultsRequest::~VideoAsyncManualScanResultsRequest()
{}
std::string VideoAsyncManualScanResultsRequest::getClientInfo()const
{
return clientInfo_;
}
void VideoAsyncManualScanResultsRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VideoAsyncManualScanResultsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VideoAsyncManualScanResultsResult::VideoAsyncManualScanResultsResult() :
ServiceResult()
{}
VideoAsyncManualScanResultsResult::VideoAsyncManualScanResultsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VideoAsyncManualScanResultsResult::~VideoAsyncManualScanResultsResult()
{}
void VideoAsyncManualScanResultsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VoiceAsyncManualScanRequest.h>
using AlibabaCloud::Green::Model::VoiceAsyncManualScanRequest;
VoiceAsyncManualScanRequest::VoiceAsyncManualScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/voice/manual/asyncScan");
setMethod(HttpRequest::Method::Post);
}
VoiceAsyncManualScanRequest::~VoiceAsyncManualScanRequest()
{}
std::string VoiceAsyncManualScanRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceAsyncManualScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VoiceAsyncManualScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceAsyncManualScanResult::VoiceAsyncManualScanResult() :
ServiceResult()
{}
VoiceAsyncManualScanResult::VoiceAsyncManualScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceAsyncManualScanResult::~VoiceAsyncManualScanResult()
{}
void VoiceAsyncManualScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VoiceAsyncManualScanResultsRequest.h>
using AlibabaCloud::Green::Model::VoiceAsyncManualScanResultsRequest;
VoiceAsyncManualScanResultsRequest::VoiceAsyncManualScanResultsRequest() :
RoaServiceRequest("green", "2018-05-09")
{
setResourcePath("/green/voice/manual/scan/results");
setMethod(HttpRequest::Method::Post);
}
VoiceAsyncManualScanResultsRequest::~VoiceAsyncManualScanResultsRequest()
{}
std::string VoiceAsyncManualScanResultsRequest::getClientInfo()const
{
return clientInfo_;
}
void VoiceAsyncManualScanResultsRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VoiceAsyncManualScanResultsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VoiceAsyncManualScanResultsResult::VoiceAsyncManualScanResultsResult() :
ServiceResult()
{}
VoiceAsyncManualScanResultsResult::VoiceAsyncManualScanResultsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VoiceAsyncManualScanResultsResult::~VoiceAsyncManualScanResultsResult()
{}
void VoiceAsyncManualScanResultsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}