Add Voice Synchronous Scan API.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2020-08-03 Version: 1.36.550
|
||||||
|
- Add Voice Synchronous Scan API.
|
||||||
|
|
||||||
2020-08-03 Version: 1.36.549
|
2020-08-03 Version: 1.36.549
|
||||||
- Add ExtractPedestrianFeatureAttribute.
|
- Add ExtractPedestrianFeatureAttribute.
|
||||||
|
|
||||||
|
|||||||
@@ -93,8 +93,12 @@ set(green_public_header_model
|
|||||||
include/alibabacloud/green/model/DescribeAuditRangeResult.h
|
include/alibabacloud/green/model/DescribeAuditRangeResult.h
|
||||||
include/alibabacloud/green/model/DescribeAuditSettingRequest.h
|
include/alibabacloud/green/model/DescribeAuditSettingRequest.h
|
||||||
include/alibabacloud/green/model/DescribeAuditSettingResult.h
|
include/alibabacloud/green/model/DescribeAuditSettingResult.h
|
||||||
|
include/alibabacloud/green/model/DescribeBizTypeImageLibRequest.h
|
||||||
|
include/alibabacloud/green/model/DescribeBizTypeImageLibResult.h
|
||||||
include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h
|
include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h
|
||||||
include/alibabacloud/green/model/DescribeBizTypeSettingResult.h
|
include/alibabacloud/green/model/DescribeBizTypeSettingResult.h
|
||||||
|
include/alibabacloud/green/model/DescribeBizTypeTextLibRequest.h
|
||||||
|
include/alibabacloud/green/model/DescribeBizTypeTextLibResult.h
|
||||||
include/alibabacloud/green/model/DescribeBizTypesRequest.h
|
include/alibabacloud/green/model/DescribeBizTypesRequest.h
|
||||||
include/alibabacloud/green/model/DescribeBizTypesResult.h
|
include/alibabacloud/green/model/DescribeBizTypesResult.h
|
||||||
include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h
|
include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h
|
||||||
@@ -241,8 +245,12 @@ set(green_public_header_model
|
|||||||
include/alibabacloud/green/model/UpdateAuditRangeResult.h
|
include/alibabacloud/green/model/UpdateAuditRangeResult.h
|
||||||
include/alibabacloud/green/model/UpdateAuditSettingRequest.h
|
include/alibabacloud/green/model/UpdateAuditSettingRequest.h
|
||||||
include/alibabacloud/green/model/UpdateAuditSettingResult.h
|
include/alibabacloud/green/model/UpdateAuditSettingResult.h
|
||||||
|
include/alibabacloud/green/model/UpdateBizTypeImageLibRequest.h
|
||||||
|
include/alibabacloud/green/model/UpdateBizTypeImageLibResult.h
|
||||||
include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h
|
include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h
|
||||||
include/alibabacloud/green/model/UpdateBizTypeSettingResult.h
|
include/alibabacloud/green/model/UpdateBizTypeSettingResult.h
|
||||||
|
include/alibabacloud/green/model/UpdateBizTypeTextLibRequest.h
|
||||||
|
include/alibabacloud/green/model/UpdateBizTypeTextLibResult.h
|
||||||
include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h
|
include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h
|
||||||
include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h
|
include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h
|
||||||
include/alibabacloud/green/model/UpdateImageLibRequest.h
|
include/alibabacloud/green/model/UpdateImageLibRequest.h
|
||||||
@@ -302,7 +310,9 @@ set(green_public_header_model
|
|||||||
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
|
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
|
||||||
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
|
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
|
||||||
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
|
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
|
||||||
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h )
|
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h
|
||||||
|
include/alibabacloud/green/model/VoiceSyncScanRequest.h
|
||||||
|
include/alibabacloud/green/model/VoiceSyncScanResult.h )
|
||||||
|
|
||||||
set(green_src
|
set(green_src
|
||||||
src/GreenClient.cc
|
src/GreenClient.cc
|
||||||
@@ -378,8 +388,12 @@ set(green_src
|
|||||||
src/model/DescribeAuditRangeResult.cc
|
src/model/DescribeAuditRangeResult.cc
|
||||||
src/model/DescribeAuditSettingRequest.cc
|
src/model/DescribeAuditSettingRequest.cc
|
||||||
src/model/DescribeAuditSettingResult.cc
|
src/model/DescribeAuditSettingResult.cc
|
||||||
|
src/model/DescribeBizTypeImageLibRequest.cc
|
||||||
|
src/model/DescribeBizTypeImageLibResult.cc
|
||||||
src/model/DescribeBizTypeSettingRequest.cc
|
src/model/DescribeBizTypeSettingRequest.cc
|
||||||
src/model/DescribeBizTypeSettingResult.cc
|
src/model/DescribeBizTypeSettingResult.cc
|
||||||
|
src/model/DescribeBizTypeTextLibRequest.cc
|
||||||
|
src/model/DescribeBizTypeTextLibResult.cc
|
||||||
src/model/DescribeBizTypesRequest.cc
|
src/model/DescribeBizTypesRequest.cc
|
||||||
src/model/DescribeBizTypesResult.cc
|
src/model/DescribeBizTypesResult.cc
|
||||||
src/model/DescribeCustomOcrTemplateRequest.cc
|
src/model/DescribeCustomOcrTemplateRequest.cc
|
||||||
@@ -526,8 +540,12 @@ set(green_src
|
|||||||
src/model/UpdateAuditRangeResult.cc
|
src/model/UpdateAuditRangeResult.cc
|
||||||
src/model/UpdateAuditSettingRequest.cc
|
src/model/UpdateAuditSettingRequest.cc
|
||||||
src/model/UpdateAuditSettingResult.cc
|
src/model/UpdateAuditSettingResult.cc
|
||||||
|
src/model/UpdateBizTypeImageLibRequest.cc
|
||||||
|
src/model/UpdateBizTypeImageLibResult.cc
|
||||||
src/model/UpdateBizTypeSettingRequest.cc
|
src/model/UpdateBizTypeSettingRequest.cc
|
||||||
src/model/UpdateBizTypeSettingResult.cc
|
src/model/UpdateBizTypeSettingResult.cc
|
||||||
|
src/model/UpdateBizTypeTextLibRequest.cc
|
||||||
|
src/model/UpdateBizTypeTextLibResult.cc
|
||||||
src/model/UpdateCustomOcrTemplateRequest.cc
|
src/model/UpdateCustomOcrTemplateRequest.cc
|
||||||
src/model/UpdateCustomOcrTemplateResult.cc
|
src/model/UpdateCustomOcrTemplateResult.cc
|
||||||
src/model/UpdateImageLibRequest.cc
|
src/model/UpdateImageLibRequest.cc
|
||||||
@@ -587,7 +605,9 @@ set(green_src
|
|||||||
src/model/VoiceIdentityStartRegisterRequest.cc
|
src/model/VoiceIdentityStartRegisterRequest.cc
|
||||||
src/model/VoiceIdentityStartRegisterResult.cc
|
src/model/VoiceIdentityStartRegisterResult.cc
|
||||||
src/model/VoiceIdentityUnregisterRequest.cc
|
src/model/VoiceIdentityUnregisterRequest.cc
|
||||||
src/model/VoiceIdentityUnregisterResult.cc )
|
src/model/VoiceIdentityUnregisterResult.cc
|
||||||
|
src/model/VoiceSyncScanRequest.cc
|
||||||
|
src/model/VoiceSyncScanResult.cc )
|
||||||
|
|
||||||
add_library(green ${LIB_TYPE}
|
add_library(green ${LIB_TYPE}
|
||||||
${green_public_header}
|
${green_public_header}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include <future>
|
#include <future>
|
||||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||||
#include <alibabacloud/core/EndpointProvider.h>
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
#include <alibabacloud/core/RpcServiceClient.h>
|
#include <alibabacloud/core/RoaServiceClient.h>
|
||||||
#include "GreenExport.h"
|
#include "GreenExport.h"
|
||||||
#include "model/AddFacesRequest.h"
|
#include "model/AddFacesRequest.h"
|
||||||
#include "model/AddFacesResult.h"
|
#include "model/AddFacesResult.h"
|
||||||
@@ -94,8 +94,12 @@
|
|||||||
#include "model/DescribeAuditRangeResult.h"
|
#include "model/DescribeAuditRangeResult.h"
|
||||||
#include "model/DescribeAuditSettingRequest.h"
|
#include "model/DescribeAuditSettingRequest.h"
|
||||||
#include "model/DescribeAuditSettingResult.h"
|
#include "model/DescribeAuditSettingResult.h"
|
||||||
|
#include "model/DescribeBizTypeImageLibRequest.h"
|
||||||
|
#include "model/DescribeBizTypeImageLibResult.h"
|
||||||
#include "model/DescribeBizTypeSettingRequest.h"
|
#include "model/DescribeBizTypeSettingRequest.h"
|
||||||
#include "model/DescribeBizTypeSettingResult.h"
|
#include "model/DescribeBizTypeSettingResult.h"
|
||||||
|
#include "model/DescribeBizTypeTextLibRequest.h"
|
||||||
|
#include "model/DescribeBizTypeTextLibResult.h"
|
||||||
#include "model/DescribeBizTypesRequest.h"
|
#include "model/DescribeBizTypesRequest.h"
|
||||||
#include "model/DescribeBizTypesResult.h"
|
#include "model/DescribeBizTypesResult.h"
|
||||||
#include "model/DescribeCustomOcrTemplateRequest.h"
|
#include "model/DescribeCustomOcrTemplateRequest.h"
|
||||||
@@ -242,8 +246,12 @@
|
|||||||
#include "model/UpdateAuditRangeResult.h"
|
#include "model/UpdateAuditRangeResult.h"
|
||||||
#include "model/UpdateAuditSettingRequest.h"
|
#include "model/UpdateAuditSettingRequest.h"
|
||||||
#include "model/UpdateAuditSettingResult.h"
|
#include "model/UpdateAuditSettingResult.h"
|
||||||
|
#include "model/UpdateBizTypeImageLibRequest.h"
|
||||||
|
#include "model/UpdateBizTypeImageLibResult.h"
|
||||||
#include "model/UpdateBizTypeSettingRequest.h"
|
#include "model/UpdateBizTypeSettingRequest.h"
|
||||||
#include "model/UpdateBizTypeSettingResult.h"
|
#include "model/UpdateBizTypeSettingResult.h"
|
||||||
|
#include "model/UpdateBizTypeTextLibRequest.h"
|
||||||
|
#include "model/UpdateBizTypeTextLibResult.h"
|
||||||
#include "model/UpdateCustomOcrTemplateRequest.h"
|
#include "model/UpdateCustomOcrTemplateRequest.h"
|
||||||
#include "model/UpdateCustomOcrTemplateResult.h"
|
#include "model/UpdateCustomOcrTemplateResult.h"
|
||||||
#include "model/UpdateImageLibRequest.h"
|
#include "model/UpdateImageLibRequest.h"
|
||||||
@@ -304,13 +312,15 @@
|
|||||||
#include "model/VoiceIdentityStartRegisterResult.h"
|
#include "model/VoiceIdentityStartRegisterResult.h"
|
||||||
#include "model/VoiceIdentityUnregisterRequest.h"
|
#include "model/VoiceIdentityUnregisterRequest.h"
|
||||||
#include "model/VoiceIdentityUnregisterResult.h"
|
#include "model/VoiceIdentityUnregisterResult.h"
|
||||||
|
#include "model/VoiceSyncScanRequest.h"
|
||||||
|
#include "model/VoiceSyncScanResult.h"
|
||||||
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Green
|
namespace Green
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_GREEN_EXPORT GreenClient : public RpcServiceClient
|
class ALIBABACLOUD_GREEN_EXPORT GreenClient : public RoaServiceClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef Outcome<Error, Model::AddFacesResult> AddFacesOutcome;
|
typedef Outcome<Error, Model::AddFacesResult> AddFacesOutcome;
|
||||||
@@ -421,9 +431,15 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeAuditSettingResult> DescribeAuditSettingOutcome;
|
typedef Outcome<Error, Model::DescribeAuditSettingResult> DescribeAuditSettingOutcome;
|
||||||
typedef std::future<DescribeAuditSettingOutcome> DescribeAuditSettingOutcomeCallable;
|
typedef std::future<DescribeAuditSettingOutcome> DescribeAuditSettingOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::DescribeAuditSettingRequest&, const DescribeAuditSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditSettingAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::DescribeAuditSettingRequest&, const DescribeAuditSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditSettingAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeBizTypeImageLibResult> DescribeBizTypeImageLibOutcome;
|
||||||
|
typedef std::future<DescribeBizTypeImageLibOutcome> DescribeBizTypeImageLibOutcomeCallable;
|
||||||
|
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypeImageLibRequest&, const DescribeBizTypeImageLibOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypeImageLibAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeBizTypeSettingResult> DescribeBizTypeSettingOutcome;
|
typedef Outcome<Error, Model::DescribeBizTypeSettingResult> DescribeBizTypeSettingOutcome;
|
||||||
typedef std::future<DescribeBizTypeSettingOutcome> DescribeBizTypeSettingOutcomeCallable;
|
typedef std::future<DescribeBizTypeSettingOutcome> DescribeBizTypeSettingOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypeSettingRequest&, const DescribeBizTypeSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypeSettingAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypeSettingRequest&, const DescribeBizTypeSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypeSettingAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeBizTypeTextLibResult> DescribeBizTypeTextLibOutcome;
|
||||||
|
typedef std::future<DescribeBizTypeTextLibOutcome> DescribeBizTypeTextLibOutcomeCallable;
|
||||||
|
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypeTextLibRequest&, const DescribeBizTypeTextLibOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypeTextLibAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeBizTypesResult> DescribeBizTypesOutcome;
|
typedef Outcome<Error, Model::DescribeBizTypesResult> DescribeBizTypesOutcome;
|
||||||
typedef std::future<DescribeBizTypesOutcome> DescribeBizTypesOutcomeCallable;
|
typedef std::future<DescribeBizTypesOutcome> DescribeBizTypesOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypesRequest&, const DescribeBizTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypesAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::DescribeBizTypesRequest&, const DescribeBizTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBizTypesAsyncHandler;
|
||||||
@@ -643,9 +659,15 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UpdateAuditSettingResult> UpdateAuditSettingOutcome;
|
typedef Outcome<Error, Model::UpdateAuditSettingResult> UpdateAuditSettingOutcome;
|
||||||
typedef std::future<UpdateAuditSettingOutcome> UpdateAuditSettingOutcomeCallable;
|
typedef std::future<UpdateAuditSettingOutcome> UpdateAuditSettingOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::UpdateAuditSettingRequest&, const UpdateAuditSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAuditSettingAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::UpdateAuditSettingRequest&, const UpdateAuditSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAuditSettingAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateBizTypeImageLibResult> UpdateBizTypeImageLibOutcome;
|
||||||
|
typedef std::future<UpdateBizTypeImageLibOutcome> UpdateBizTypeImageLibOutcomeCallable;
|
||||||
|
typedef std::function<void(const GreenClient*, const Model::UpdateBizTypeImageLibRequest&, const UpdateBizTypeImageLibOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBizTypeImageLibAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateBizTypeSettingResult> UpdateBizTypeSettingOutcome;
|
typedef Outcome<Error, Model::UpdateBizTypeSettingResult> UpdateBizTypeSettingOutcome;
|
||||||
typedef std::future<UpdateBizTypeSettingOutcome> UpdateBizTypeSettingOutcomeCallable;
|
typedef std::future<UpdateBizTypeSettingOutcome> UpdateBizTypeSettingOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::UpdateBizTypeSettingRequest&, const UpdateBizTypeSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBizTypeSettingAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::UpdateBizTypeSettingRequest&, const UpdateBizTypeSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBizTypeSettingAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateBizTypeTextLibResult> UpdateBizTypeTextLibOutcome;
|
||||||
|
typedef std::future<UpdateBizTypeTextLibOutcome> UpdateBizTypeTextLibOutcomeCallable;
|
||||||
|
typedef std::function<void(const GreenClient*, const Model::UpdateBizTypeTextLibRequest&, const UpdateBizTypeTextLibOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBizTypeTextLibAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateCustomOcrTemplateResult> UpdateCustomOcrTemplateOutcome;
|
typedef Outcome<Error, Model::UpdateCustomOcrTemplateResult> UpdateCustomOcrTemplateOutcome;
|
||||||
typedef std::future<UpdateCustomOcrTemplateOutcome> UpdateCustomOcrTemplateOutcomeCallable;
|
typedef std::future<UpdateCustomOcrTemplateOutcome> UpdateCustomOcrTemplateOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::UpdateCustomOcrTemplateRequest&, const UpdateCustomOcrTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomOcrTemplateAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::UpdateCustomOcrTemplateRequest&, const UpdateCustomOcrTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomOcrTemplateAsyncHandler;
|
||||||
@@ -736,6 +758,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::VoiceIdentityUnregisterResult> VoiceIdentityUnregisterOutcome;
|
typedef Outcome<Error, Model::VoiceIdentityUnregisterResult> VoiceIdentityUnregisterOutcome;
|
||||||
typedef std::future<VoiceIdentityUnregisterOutcome> VoiceIdentityUnregisterOutcomeCallable;
|
typedef std::future<VoiceIdentityUnregisterOutcome> VoiceIdentityUnregisterOutcomeCallable;
|
||||||
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityUnregisterRequest&, const VoiceIdentityUnregisterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityUnregisterAsyncHandler;
|
typedef std::function<void(const GreenClient*, const Model::VoiceIdentityUnregisterRequest&, const VoiceIdentityUnregisterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceIdentityUnregisterAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::VoiceSyncScanResult> VoiceSyncScanOutcome;
|
||||||
|
typedef std::future<VoiceSyncScanOutcome> VoiceSyncScanOutcomeCallable;
|
||||||
|
typedef std::function<void(const GreenClient*, const Model::VoiceSyncScanRequest&, const VoiceSyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceSyncScanAsyncHandler;
|
||||||
|
|
||||||
GreenClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
GreenClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
GreenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
GreenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
@@ -849,9 +874,15 @@ namespace AlibabaCloud
|
|||||||
DescribeAuditSettingOutcome describeAuditSetting(const Model::DescribeAuditSettingRequest &request)const;
|
DescribeAuditSettingOutcome describeAuditSetting(const Model::DescribeAuditSettingRequest &request)const;
|
||||||
void describeAuditSettingAsync(const Model::DescribeAuditSettingRequest& request, const DescribeAuditSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeAuditSettingAsync(const Model::DescribeAuditSettingRequest& request, const DescribeAuditSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeAuditSettingOutcomeCallable describeAuditSettingCallable(const Model::DescribeAuditSettingRequest& request) const;
|
DescribeAuditSettingOutcomeCallable describeAuditSettingCallable(const Model::DescribeAuditSettingRequest& request) const;
|
||||||
|
DescribeBizTypeImageLibOutcome describeBizTypeImageLib(const Model::DescribeBizTypeImageLibRequest &request)const;
|
||||||
|
void describeBizTypeImageLibAsync(const Model::DescribeBizTypeImageLibRequest& request, const DescribeBizTypeImageLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeBizTypeImageLibOutcomeCallable describeBizTypeImageLibCallable(const Model::DescribeBizTypeImageLibRequest& request) const;
|
||||||
DescribeBizTypeSettingOutcome describeBizTypeSetting(const Model::DescribeBizTypeSettingRequest &request)const;
|
DescribeBizTypeSettingOutcome describeBizTypeSetting(const Model::DescribeBizTypeSettingRequest &request)const;
|
||||||
void describeBizTypeSettingAsync(const Model::DescribeBizTypeSettingRequest& request, const DescribeBizTypeSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeBizTypeSettingAsync(const Model::DescribeBizTypeSettingRequest& request, const DescribeBizTypeSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeBizTypeSettingOutcomeCallable describeBizTypeSettingCallable(const Model::DescribeBizTypeSettingRequest& request) const;
|
DescribeBizTypeSettingOutcomeCallable describeBizTypeSettingCallable(const Model::DescribeBizTypeSettingRequest& request) const;
|
||||||
|
DescribeBizTypeTextLibOutcome describeBizTypeTextLib(const Model::DescribeBizTypeTextLibRequest &request)const;
|
||||||
|
void describeBizTypeTextLibAsync(const Model::DescribeBizTypeTextLibRequest& request, const DescribeBizTypeTextLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeBizTypeTextLibOutcomeCallable describeBizTypeTextLibCallable(const Model::DescribeBizTypeTextLibRequest& request) const;
|
||||||
DescribeBizTypesOutcome describeBizTypes(const Model::DescribeBizTypesRequest &request)const;
|
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;
|
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;
|
DescribeBizTypesOutcomeCallable describeBizTypesCallable(const Model::DescribeBizTypesRequest& request) const;
|
||||||
@@ -1071,9 +1102,15 @@ namespace AlibabaCloud
|
|||||||
UpdateAuditSettingOutcome updateAuditSetting(const Model::UpdateAuditSettingRequest &request)const;
|
UpdateAuditSettingOutcome updateAuditSetting(const Model::UpdateAuditSettingRequest &request)const;
|
||||||
void updateAuditSettingAsync(const Model::UpdateAuditSettingRequest& request, const UpdateAuditSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateAuditSettingAsync(const Model::UpdateAuditSettingRequest& request, const UpdateAuditSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateAuditSettingOutcomeCallable updateAuditSettingCallable(const Model::UpdateAuditSettingRequest& request) const;
|
UpdateAuditSettingOutcomeCallable updateAuditSettingCallable(const Model::UpdateAuditSettingRequest& request) const;
|
||||||
|
UpdateBizTypeImageLibOutcome updateBizTypeImageLib(const Model::UpdateBizTypeImageLibRequest &request)const;
|
||||||
|
void updateBizTypeImageLibAsync(const Model::UpdateBizTypeImageLibRequest& request, const UpdateBizTypeImageLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateBizTypeImageLibOutcomeCallable updateBizTypeImageLibCallable(const Model::UpdateBizTypeImageLibRequest& request) const;
|
||||||
UpdateBizTypeSettingOutcome updateBizTypeSetting(const Model::UpdateBizTypeSettingRequest &request)const;
|
UpdateBizTypeSettingOutcome updateBizTypeSetting(const Model::UpdateBizTypeSettingRequest &request)const;
|
||||||
void updateBizTypeSettingAsync(const Model::UpdateBizTypeSettingRequest& request, const UpdateBizTypeSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateBizTypeSettingAsync(const Model::UpdateBizTypeSettingRequest& request, const UpdateBizTypeSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateBizTypeSettingOutcomeCallable updateBizTypeSettingCallable(const Model::UpdateBizTypeSettingRequest& request) const;
|
UpdateBizTypeSettingOutcomeCallable updateBizTypeSettingCallable(const Model::UpdateBizTypeSettingRequest& request) const;
|
||||||
|
UpdateBizTypeTextLibOutcome updateBizTypeTextLib(const Model::UpdateBizTypeTextLibRequest &request)const;
|
||||||
|
void updateBizTypeTextLibAsync(const Model::UpdateBizTypeTextLibRequest& request, const UpdateBizTypeTextLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateBizTypeTextLibOutcomeCallable updateBizTypeTextLibCallable(const Model::UpdateBizTypeTextLibRequest& request) const;
|
||||||
UpdateCustomOcrTemplateOutcome updateCustomOcrTemplate(const Model::UpdateCustomOcrTemplateRequest &request)const;
|
UpdateCustomOcrTemplateOutcome updateCustomOcrTemplate(const Model::UpdateCustomOcrTemplateRequest &request)const;
|
||||||
void updateCustomOcrTemplateAsync(const Model::UpdateCustomOcrTemplateRequest& request, const UpdateCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateCustomOcrTemplateAsync(const Model::UpdateCustomOcrTemplateRequest& request, const UpdateCustomOcrTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateCustomOcrTemplateOutcomeCallable updateCustomOcrTemplateCallable(const Model::UpdateCustomOcrTemplateRequest& request) const;
|
UpdateCustomOcrTemplateOutcomeCallable updateCustomOcrTemplateCallable(const Model::UpdateCustomOcrTemplateRequest& request) const;
|
||||||
@@ -1164,6 +1201,9 @@ namespace AlibabaCloud
|
|||||||
VoiceIdentityUnregisterOutcome voiceIdentityUnregister(const Model::VoiceIdentityUnregisterRequest &request)const;
|
VoiceIdentityUnregisterOutcome voiceIdentityUnregister(const Model::VoiceIdentityUnregisterRequest &request)const;
|
||||||
void voiceIdentityUnregisterAsync(const Model::VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void voiceIdentityUnregisterAsync(const Model::VoiceIdentityUnregisterRequest& request, const VoiceIdentityUnregisterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
VoiceIdentityUnregisterOutcomeCallable voiceIdentityUnregisterCallable(const Model::VoiceIdentityUnregisterRequest& request) const;
|
VoiceIdentityUnregisterOutcomeCallable voiceIdentityUnregisterCallable(const Model::VoiceIdentityUnregisterRequest& request) const;
|
||||||
|
VoiceSyncScanOutcome voiceSyncScan(const Model::VoiceSyncScanRequest &request)const;
|
||||||
|
void voiceSyncScanAsync(const Model::VoiceSyncScanRequest& request, const VoiceSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
VoiceSyncScanOutcomeCallable voiceSyncScanCallable(const Model::VoiceSyncScanRequest& request) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
std::string getBizTypeImport()const;
|
std::string getBizTypeImport()const;
|
||||||
void setBizTypeImport(const std::string& bizTypeImport);
|
void setBizTypeImport(const std::string& bizTypeImport);
|
||||||
|
bool getCiteTemplate()const;
|
||||||
|
void setCiteTemplate(bool citeTemplate);
|
||||||
std::string getSourceIp()const;
|
std::string getSourceIp()const;
|
||||||
void setSourceIp(const std::string& sourceIp);
|
void setSourceIp(const std::string& sourceIp);
|
||||||
std::string getIndustryInfo()const;
|
std::string getIndustryInfo()const;
|
||||||
@@ -46,6 +48,7 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string bizTypeImport_;
|
std::string bizTypeImport_;
|
||||||
|
bool citeTemplate_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string industryInfo_;
|
std::string industryInfo_;
|
||||||
std::string bizTypeName_;
|
std::string bizTypeName_;
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPEIMAGELIBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPEIMAGELIBREQUEST_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 DescribeBizTypeImageLibRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeBizTypeImageLibRequest();
|
||||||
|
~DescribeBizTypeImageLibRequest();
|
||||||
|
|
||||||
|
std::string getResourceType()const;
|
||||||
|
void setResourceType(const std::string& resourceType);
|
||||||
|
std::string getScene()const;
|
||||||
|
void setScene(const std::string& scene);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getBizTypeName()const;
|
||||||
|
void setBizTypeName(const std::string& bizTypeName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceType_;
|
||||||
|
std::string scene_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string bizTypeName_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPEIMAGELIBREQUEST_H_
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPEIMAGELIBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPEIMAGELIBRESULT_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 DescribeBizTypeImageLibResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Black
|
||||||
|
{
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item> all;
|
||||||
|
std::vector<Item> selected;
|
||||||
|
};
|
||||||
|
struct Review
|
||||||
|
{
|
||||||
|
struct Item3
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item3> selected1;
|
||||||
|
std::vector<Item> all2;
|
||||||
|
};
|
||||||
|
struct White
|
||||||
|
{
|
||||||
|
struct Item6
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item6> selected4;
|
||||||
|
std::vector<Item> all5;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult();
|
||||||
|
explicit DescribeBizTypeImageLibResult(const std::string &payload);
|
||||||
|
~DescribeBizTypeImageLibResult();
|
||||||
|
White getWhite()const;
|
||||||
|
Black getBlack()const;
|
||||||
|
Review getReview()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
White white_;
|
||||||
|
Black black_;
|
||||||
|
Review review_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPEIMAGELIBRESULT_H_
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPETEXTLIBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPETEXTLIBREQUEST_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 DescribeBizTypeTextLibRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeBizTypeTextLibRequest();
|
||||||
|
~DescribeBizTypeTextLibRequest();
|
||||||
|
|
||||||
|
std::string getResourceType()const;
|
||||||
|
void setResourceType(const std::string& resourceType);
|
||||||
|
std::string getScene()const;
|
||||||
|
void setScene(const std::string& scene);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getBizTypeName()const;
|
||||||
|
void setBizTypeName(const std::string& bizTypeName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceType_;
|
||||||
|
std::string scene_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string bizTypeName_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPETEXTLIBREQUEST_H_
|
||||||
@@ -0,0 +1,112 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR 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_DESCRIBEBIZTYPETEXTLIBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPETEXTLIBRESULT_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 DescribeBizTypeTextLibResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Black
|
||||||
|
{
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item> all;
|
||||||
|
std::vector<Item> selected;
|
||||||
|
};
|
||||||
|
struct Review
|
||||||
|
{
|
||||||
|
struct Item3
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item3> selected1;
|
||||||
|
std::vector<Item> all2;
|
||||||
|
};
|
||||||
|
struct Ignore
|
||||||
|
{
|
||||||
|
struct Item6
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item6> selected4;
|
||||||
|
std::vector<Item> all5;
|
||||||
|
};
|
||||||
|
struct White
|
||||||
|
{
|
||||||
|
struct Item9
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
std::string code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::vector<Item9> selected7;
|
||||||
|
std::vector<Item> all8;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult();
|
||||||
|
explicit DescribeBizTypeTextLibResult(const std::string &payload);
|
||||||
|
~DescribeBizTypeTextLibResult();
|
||||||
|
Ignore getIgnore()const;
|
||||||
|
White getWhite()const;
|
||||||
|
Black getBlack()const;
|
||||||
|
Review getReview()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
Ignore ignore_;
|
||||||
|
White white_;
|
||||||
|
Black black_;
|
||||||
|
Review review_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPETEXTLIBRESULT_H_
|
||||||
@@ -34,7 +34,9 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct ImageAutoFreeze
|
struct ImageAutoFreeze
|
||||||
{
|
{
|
||||||
|
std::string ad;
|
||||||
std::string terrorism;
|
std::string terrorism;
|
||||||
|
std::string live;
|
||||||
bool enabled;
|
bool enabled;
|
||||||
std::string porn;
|
std::string porn;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -36,8 +36,10 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string sourceBizType;
|
std::string sourceBizType;
|
||||||
bool gray;
|
bool gray;
|
||||||
|
bool citeTemplate;
|
||||||
std::string bizType;
|
std::string bizType;
|
||||||
std::string source;
|
std::string source;
|
||||||
|
std::string industryInfo;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPEIMAGELIBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPEIMAGELIBREQUEST_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 UpdateBizTypeImageLibRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateBizTypeImageLibRequest();
|
||||||
|
~UpdateBizTypeImageLibRequest();
|
||||||
|
|
||||||
|
std::string getScene()const;
|
||||||
|
void setScene(const std::string& scene);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getWhite()const;
|
||||||
|
void setWhite(const std::string& white);
|
||||||
|
std::string getReview()const;
|
||||||
|
void setReview(const std::string& review);
|
||||||
|
std::string getBizTypeName()const;
|
||||||
|
void setBizTypeName(const std::string& bizTypeName);
|
||||||
|
std::string getBlack()const;
|
||||||
|
void setBlack(const std::string& black);
|
||||||
|
std::string getResourceType()const;
|
||||||
|
void setResourceType(const std::string& resourceType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string scene_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string white_;
|
||||||
|
std::string review_;
|
||||||
|
std::string bizTypeName_;
|
||||||
|
std::string black_;
|
||||||
|
std::string resourceType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPEIMAGELIBREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPEIMAGELIBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPEIMAGELIBRESULT_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 UpdateBizTypeImageLibResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateBizTypeImageLibResult();
|
||||||
|
explicit UpdateBizTypeImageLibResult(const std::string &payload);
|
||||||
|
~UpdateBizTypeImageLibResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPEIMAGELIBRESULT_H_
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPETEXTLIBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPETEXTLIBREQUEST_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 UpdateBizTypeTextLibRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateBizTypeTextLibRequest();
|
||||||
|
~UpdateBizTypeTextLibRequest();
|
||||||
|
|
||||||
|
std::string getScene()const;
|
||||||
|
void setScene(const std::string& scene);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getWhite()const;
|
||||||
|
void setWhite(const std::string& white);
|
||||||
|
std::string getReview()const;
|
||||||
|
void setReview(const std::string& review);
|
||||||
|
std::string getIgnore()const;
|
||||||
|
void setIgnore(const std::string& ignore);
|
||||||
|
std::string getBizTypeName()const;
|
||||||
|
void setBizTypeName(const std::string& bizTypeName);
|
||||||
|
std::string getBlack()const;
|
||||||
|
void setBlack(const std::string& black);
|
||||||
|
std::string getResourceType()const;
|
||||||
|
void setResourceType(const std::string& resourceType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string scene_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string white_;
|
||||||
|
std::string review_;
|
||||||
|
std::string ignore_;
|
||||||
|
std::string bizTypeName_;
|
||||||
|
std::string black_;
|
||||||
|
std::string resourceType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPETEXTLIBREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPETEXTLIBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPETEXTLIBRESULT_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 UpdateBizTypeTextLibResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateBizTypeTextLibResult();
|
||||||
|
explicit UpdateBizTypeTextLibResult(const std::string &payload);
|
||||||
|
~UpdateBizTypeTextLibResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_UPDATEBIZTYPETEXTLIBRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_GREEN_MODEL_VOICESYNCSCANREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_VOICESYNCSCANREQUEST_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 VoiceSyncScanRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
VoiceSyncScanRequest();
|
||||||
|
~VoiceSyncScanRequest();
|
||||||
|
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::string getClientInfo()const;
|
||||||
|
void setClientInfo(const std::string& clientInfo);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string regionId_;
|
||||||
|
std::string clientInfo_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICESYNCSCANREQUEST_H_
|
||||||
49
green/include/alibabacloud/green/model/VoiceSyncScanResult.h
Normal file
49
green/include/alibabacloud/green/model/VoiceSyncScanResult.h
Normal 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_VOICESYNCSCANRESULT_H_
|
||||||
|
#define ALIBABACLOUD_GREEN_MODEL_VOICESYNCSCANRESULT_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 VoiceSyncScanResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
VoiceSyncScanResult();
|
||||||
|
explicit VoiceSyncScanResult(const std::string &payload);
|
||||||
|
~VoiceSyncScanResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_GREEN_MODEL_VOICESYNCSCANRESULT_H_
|
||||||
@@ -28,21 +28,21 @@ namespace
|
|||||||
}
|
}
|
||||||
|
|
||||||
GreenClient::GreenClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
GreenClient::GreenClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
RoaServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "green");
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "green");
|
||||||
}
|
}
|
||||||
|
|
||||||
GreenClient::GreenClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
GreenClient::GreenClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
RoaServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "green");
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "green");
|
||||||
}
|
}
|
||||||
|
|
||||||
GreenClient::GreenClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
GreenClient::GreenClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
RoaServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "green");
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "green");
|
||||||
@@ -1347,6 +1347,42 @@ GreenClient::DescribeAuditSettingOutcomeCallable GreenClient::describeAuditSetti
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GreenClient::DescribeBizTypeImageLibOutcome GreenClient::describeBizTypeImageLib(const DescribeBizTypeImageLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeBizTypeImageLibOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeBizTypeImageLibOutcome(DescribeBizTypeImageLibResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeBizTypeImageLibOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void GreenClient::describeBizTypeImageLibAsync(const DescribeBizTypeImageLibRequest& request, const DescribeBizTypeImageLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeBizTypeImageLib(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
GreenClient::DescribeBizTypeImageLibOutcomeCallable GreenClient::describeBizTypeImageLibCallable(const DescribeBizTypeImageLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeBizTypeImageLibOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeBizTypeImageLib(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
GreenClient::DescribeBizTypeSettingOutcome GreenClient::describeBizTypeSetting(const DescribeBizTypeSettingRequest &request) const
|
GreenClient::DescribeBizTypeSettingOutcome GreenClient::describeBizTypeSetting(const DescribeBizTypeSettingRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1383,6 +1419,42 @@ GreenClient::DescribeBizTypeSettingOutcomeCallable GreenClient::describeBizTypeS
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GreenClient::DescribeBizTypeTextLibOutcome GreenClient::describeBizTypeTextLib(const DescribeBizTypeTextLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeBizTypeTextLibOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeBizTypeTextLibOutcome(DescribeBizTypeTextLibResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeBizTypeTextLibOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void GreenClient::describeBizTypeTextLibAsync(const DescribeBizTypeTextLibRequest& request, const DescribeBizTypeTextLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeBizTypeTextLib(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
GreenClient::DescribeBizTypeTextLibOutcomeCallable GreenClient::describeBizTypeTextLibCallable(const DescribeBizTypeTextLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeBizTypeTextLibOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeBizTypeTextLib(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
GreenClient::DescribeBizTypesOutcome GreenClient::describeBizTypes(const DescribeBizTypesRequest &request) const
|
GreenClient::DescribeBizTypesOutcome GreenClient::describeBizTypes(const DescribeBizTypesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4011,6 +4083,42 @@ GreenClient::UpdateAuditSettingOutcomeCallable GreenClient::updateAuditSettingCa
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GreenClient::UpdateBizTypeImageLibOutcome GreenClient::updateBizTypeImageLib(const UpdateBizTypeImageLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateBizTypeImageLibOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateBizTypeImageLibOutcome(UpdateBizTypeImageLibResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateBizTypeImageLibOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void GreenClient::updateBizTypeImageLibAsync(const UpdateBizTypeImageLibRequest& request, const UpdateBizTypeImageLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateBizTypeImageLib(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
GreenClient::UpdateBizTypeImageLibOutcomeCallable GreenClient::updateBizTypeImageLibCallable(const UpdateBizTypeImageLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateBizTypeImageLibOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateBizTypeImageLib(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
GreenClient::UpdateBizTypeSettingOutcome GreenClient::updateBizTypeSetting(const UpdateBizTypeSettingRequest &request) const
|
GreenClient::UpdateBizTypeSettingOutcome GreenClient::updateBizTypeSetting(const UpdateBizTypeSettingRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4047,6 +4155,42 @@ GreenClient::UpdateBizTypeSettingOutcomeCallable GreenClient::updateBizTypeSetti
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GreenClient::UpdateBizTypeTextLibOutcome GreenClient::updateBizTypeTextLib(const UpdateBizTypeTextLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateBizTypeTextLibOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateBizTypeTextLibOutcome(UpdateBizTypeTextLibResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateBizTypeTextLibOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void GreenClient::updateBizTypeTextLibAsync(const UpdateBizTypeTextLibRequest& request, const UpdateBizTypeTextLibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateBizTypeTextLib(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
GreenClient::UpdateBizTypeTextLibOutcomeCallable GreenClient::updateBizTypeTextLibCallable(const UpdateBizTypeTextLibRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateBizTypeTextLibOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateBizTypeTextLib(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
GreenClient::UpdateCustomOcrTemplateOutcome GreenClient::updateCustomOcrTemplate(const UpdateCustomOcrTemplateRequest &request) const
|
GreenClient::UpdateCustomOcrTemplateOutcome GreenClient::updateCustomOcrTemplate(const UpdateCustomOcrTemplateRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -5127,3 +5271,39 @@ GreenClient::VoiceIdentityUnregisterOutcomeCallable GreenClient::voiceIdentityUn
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GreenClient::VoiceSyncScanOutcome GreenClient::voiceSyncScan(const VoiceSyncScanRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return VoiceSyncScanOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return VoiceSyncScanOutcome(VoiceSyncScanResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return VoiceSyncScanOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void GreenClient::voiceSyncScanAsync(const VoiceSyncScanRequest& request, const VoiceSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, voiceSyncScan(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
GreenClient::VoiceSyncScanOutcomeCallable GreenClient::voiceSyncScanCallable(const VoiceSyncScanRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<VoiceSyncScanOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->voiceSyncScan(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddFacesRequest;
|
|||||||
|
|
||||||
AddFacesRequest::AddFacesRequest() :
|
AddFacesRequest::AddFacesRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/face/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddFacesRequest::~AddFacesRequest()
|
AddFacesRequest::~AddFacesRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string AddFacesRequest::getRegionId()const
|
|||||||
void AddFacesRequest::setRegionId(const std::string& regionId)
|
void AddFacesRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string AddFacesRequest::getClientInfo()const
|
std::string AddFacesRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string AddFacesRequest::getClientInfo()const
|
|||||||
void AddFacesRequest::setClientInfo(const std::string& clientInfo)
|
void AddFacesRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddGroupsRequest;
|
|||||||
|
|
||||||
AddGroupsRequest::AddGroupsRequest() :
|
AddGroupsRequest::AddGroupsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/person/groups/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddGroupsRequest::~AddGroupsRequest()
|
AddGroupsRequest::~AddGroupsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string AddGroupsRequest::getRegionId()const
|
|||||||
void AddGroupsRequest::setRegionId(const std::string& regionId)
|
void AddGroupsRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string AddGroupsRequest::getClientInfo()const
|
std::string AddGroupsRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string AddGroupsRequest::getClientInfo()const
|
|||||||
void AddGroupsRequest::setClientInfo(const std::string& clientInfo)
|
void AddGroupsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddPersonRequest;
|
|||||||
|
|
||||||
AddPersonRequest::AddPersonRequest() :
|
AddPersonRequest::AddPersonRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/person/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddPersonRequest::~AddPersonRequest()
|
AddPersonRequest::~AddPersonRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string AddPersonRequest::getRegionId()const
|
|||||||
void AddPersonRequest::setRegionId(const std::string& regionId)
|
void AddPersonRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string AddPersonRequest::getClientInfo()const
|
std::string AddPersonRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string AddPersonRequest::getClientInfo()const
|
|||||||
void AddPersonRequest::setClientInfo(const std::string& clientInfo)
|
void AddPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddSimilarityImageRequest;
|
|||||||
|
|
||||||
AddSimilarityImageRequest::AddSimilarityImageRequest() :
|
AddSimilarityImageRequest::AddSimilarityImageRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/image/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddSimilarityImageRequest::~AddSimilarityImageRequest()
|
AddSimilarityImageRequest::~AddSimilarityImageRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string AddSimilarityImageRequest::getClientInfo()const
|
|||||||
void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddSimilarityLibraryRequest;
|
|||||||
|
|
||||||
AddSimilarityLibraryRequest::AddSimilarityLibraryRequest() :
|
AddSimilarityLibraryRequest::AddSimilarityLibraryRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/library/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddSimilarityLibraryRequest::~AddSimilarityLibraryRequest()
|
AddSimilarityLibraryRequest::~AddSimilarityLibraryRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string AddSimilarityLibraryRequest::getClientInfo()const
|
|||||||
void AddSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
void AddSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddVideoDnaGroupRequest;
|
|||||||
|
|
||||||
AddVideoDnaGroupRequest::AddVideoDnaGroupRequest() :
|
AddVideoDnaGroupRequest::AddVideoDnaGroupRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/dna/group/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddVideoDnaGroupRequest::~AddVideoDnaGroupRequest()
|
AddVideoDnaGroupRequest::~AddVideoDnaGroupRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string AddVideoDnaGroupRequest::getClientInfo()const
|
|||||||
void AddVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
|
void AddVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::AddVideoDnaRequest;
|
|||||||
|
|
||||||
AddVideoDnaRequest::AddVideoDnaRequest() :
|
AddVideoDnaRequest::AddVideoDnaRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/dna/add");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
AddVideoDnaRequest::~AddVideoDnaRequest()
|
AddVideoDnaRequest::~AddVideoDnaRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string AddVideoDnaRequest::getClientInfo()const
|
|||||||
void AddVideoDnaRequest::setClientInfo(const std::string& clientInfo)
|
void AddVideoDnaRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,17 @@ void CreateBizTypeRequest::setBizTypeImport(const std::string& bizTypeImport)
|
|||||||
setParameter("BizTypeImport", bizTypeImport);
|
setParameter("BizTypeImport", bizTypeImport);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CreateBizTypeRequest::getCiteTemplate()const
|
||||||
|
{
|
||||||
|
return citeTemplate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateBizTypeRequest::setCiteTemplate(bool citeTemplate)
|
||||||
|
{
|
||||||
|
citeTemplate_ = citeTemplate;
|
||||||
|
setParameter("CiteTemplate", citeTemplate ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateBizTypeRequest::getSourceIp()const
|
std::string CreateBizTypeRequest::getSourceIp()const
|
||||||
{
|
{
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteFacesRequest;
|
|||||||
|
|
||||||
DeleteFacesRequest::DeleteFacesRequest() :
|
DeleteFacesRequest::DeleteFacesRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/face/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeleteFacesRequest::~DeleteFacesRequest()
|
DeleteFacesRequest::~DeleteFacesRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string DeleteFacesRequest::getRegionId()const
|
|||||||
void DeleteFacesRequest::setRegionId(const std::string& regionId)
|
void DeleteFacesRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteFacesRequest::getClientInfo()const
|
std::string DeleteFacesRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string DeleteFacesRequest::getClientInfo()const
|
|||||||
void DeleteFacesRequest::setClientInfo(const std::string& clientInfo)
|
void DeleteFacesRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteGroupsRequest;
|
|||||||
|
|
||||||
DeleteGroupsRequest::DeleteGroupsRequest() :
|
DeleteGroupsRequest::DeleteGroupsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/person/groups/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeleteGroupsRequest::~DeleteGroupsRequest()
|
DeleteGroupsRequest::~DeleteGroupsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string DeleteGroupsRequest::getRegionId()const
|
|||||||
void DeleteGroupsRequest::setRegionId(const std::string& regionId)
|
void DeleteGroupsRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteGroupsRequest::getClientInfo()const
|
std::string DeleteGroupsRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string DeleteGroupsRequest::getClientInfo()const
|
|||||||
void DeleteGroupsRequest::setClientInfo(const std::string& clientInfo)
|
void DeleteGroupsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeletePersonRequest;
|
|||||||
|
|
||||||
DeletePersonRequest::DeletePersonRequest() :
|
DeletePersonRequest::DeletePersonRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/person/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeletePersonRequest::~DeletePersonRequest()
|
DeletePersonRequest::~DeletePersonRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string DeletePersonRequest::getRegionId()const
|
|||||||
void DeletePersonRequest::setRegionId(const std::string& regionId)
|
void DeletePersonRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeletePersonRequest::getClientInfo()const
|
std::string DeletePersonRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string DeletePersonRequest::getClientInfo()const
|
|||||||
void DeletePersonRequest::setClientInfo(const std::string& clientInfo)
|
void DeletePersonRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteSimilarityImageRequest;
|
|||||||
|
|
||||||
DeleteSimilarityImageRequest::DeleteSimilarityImageRequest() :
|
DeleteSimilarityImageRequest::DeleteSimilarityImageRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/image/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeleteSimilarityImageRequest::~DeleteSimilarityImageRequest()
|
DeleteSimilarityImageRequest::~DeleteSimilarityImageRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string DeleteSimilarityImageRequest::getClientInfo()const
|
|||||||
void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteSimilarityLibraryRequest;
|
|||||||
|
|
||||||
DeleteSimilarityLibraryRequest::DeleteSimilarityLibraryRequest() :
|
DeleteSimilarityLibraryRequest::DeleteSimilarityLibraryRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/library/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeleteSimilarityLibraryRequest::~DeleteSimilarityLibraryRequest()
|
DeleteSimilarityLibraryRequest::~DeleteSimilarityLibraryRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string DeleteSimilarityLibraryRequest::getClientInfo()const
|
|||||||
void DeleteSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
void DeleteSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteVideoDnaGroupRequest;
|
|||||||
|
|
||||||
DeleteVideoDnaGroupRequest::DeleteVideoDnaGroupRequest() :
|
DeleteVideoDnaGroupRequest::DeleteVideoDnaGroupRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/dna/group/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeleteVideoDnaGroupRequest::~DeleteVideoDnaGroupRequest()
|
DeleteVideoDnaGroupRequest::~DeleteVideoDnaGroupRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string DeleteVideoDnaGroupRequest::getClientInfo()const
|
|||||||
void DeleteVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
|
void DeleteVideoDnaGroupRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DeleteVideoDnaRequest;
|
|||||||
|
|
||||||
DeleteVideoDnaRequest::DeleteVideoDnaRequest() :
|
DeleteVideoDnaRequest::DeleteVideoDnaRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/dna/delete");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DeleteVideoDnaRequest::~DeleteVideoDnaRequest()
|
DeleteVideoDnaRequest::~DeleteVideoDnaRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string DeleteVideoDnaRequest::getClientInfo()const
|
|||||||
void DeleteVideoDnaRequest::setClientInfo(const std::string& clientInfo)
|
void DeleteVideoDnaRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
73
green/src/model/DescribeBizTypeImageLibRequest.cc
Normal file
73
green/src/model/DescribeBizTypeImageLibRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/green/model/DescribeBizTypeImageLibRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Green::Model::DescribeBizTypeImageLibRequest;
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibRequest::DescribeBizTypeImageLibRequest() :
|
||||||
|
RpcServiceRequest("green", "2017-08-23", "DescribeBizTypeImageLib")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibRequest::~DescribeBizTypeImageLibRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeImageLibRequest::getResourceType()const
|
||||||
|
{
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeImageLibRequest::setResourceType(const std::string& resourceType)
|
||||||
|
{
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter("ResourceType", resourceType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeImageLibRequest::getScene()const
|
||||||
|
{
|
||||||
|
return scene_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeImageLibRequest::setScene(const std::string& scene)
|
||||||
|
{
|
||||||
|
scene_ = scene;
|
||||||
|
setParameter("Scene", scene);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeImageLibRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeImageLibRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeImageLibRequest::getBizTypeName()const
|
||||||
|
{
|
||||||
|
return bizTypeName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeImageLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||||
|
{
|
||||||
|
bizTypeName_ = bizTypeName;
|
||||||
|
setParameter("BizTypeName", bizTypeName);
|
||||||
|
}
|
||||||
|
|
||||||
122
green/src/model/DescribeBizTypeImageLibResult.cc
Normal file
122
green/src/model/DescribeBizTypeImageLibResult.cc
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES 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/DescribeBizTypeImageLibResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Green;
|
||||||
|
using namespace AlibabaCloud::Green::Model;
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult::DescribeBizTypeImageLibResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult::DescribeBizTypeImageLibResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult::~DescribeBizTypeImageLibResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeBizTypeImageLibResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto blackNode = value["Black"];
|
||||||
|
auto allSelectedNode = blackNode["Selected"]["item"];
|
||||||
|
for (auto blackNodeSelecteditem : allSelectedNode)
|
||||||
|
{
|
||||||
|
Black::Item itemObject;
|
||||||
|
if(!blackNodeSelecteditem["Name"].isNull())
|
||||||
|
itemObject.name = blackNodeSelecteditem["Name"].asString();
|
||||||
|
if(!blackNodeSelecteditem["Code"].isNull())
|
||||||
|
itemObject.code = blackNodeSelecteditem["Code"].asString();
|
||||||
|
black_.selected.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto allAllNode = blackNode["All"]["item"];
|
||||||
|
for (auto blackNodeAllitem : allAllNode)
|
||||||
|
{
|
||||||
|
Black::Item itemObject;
|
||||||
|
if(!blackNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = blackNodeAllitem["Name"].asString();
|
||||||
|
if(!blackNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = blackNodeAllitem["Code"].asString();
|
||||||
|
black_.all.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto reviewNode = value["Review"];
|
||||||
|
auto allSelected1Node = reviewNode["Selected"]["item"];
|
||||||
|
for (auto reviewNodeSelecteditem : allSelected1Node)
|
||||||
|
{
|
||||||
|
Review::Item3 item3Object;
|
||||||
|
if(!reviewNodeSelecteditem["Name"].isNull())
|
||||||
|
item3Object.name = reviewNodeSelecteditem["Name"].asString();
|
||||||
|
if(!reviewNodeSelecteditem["Code"].isNull())
|
||||||
|
item3Object.code = reviewNodeSelecteditem["Code"].asString();
|
||||||
|
review_.selected1.push_back(item3Object);
|
||||||
|
}
|
||||||
|
auto allAll2Node = reviewNode["All"]["item"];
|
||||||
|
for (auto reviewNodeAllitem : allAll2Node)
|
||||||
|
{
|
||||||
|
Review::Item itemObject;
|
||||||
|
if(!reviewNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = reviewNodeAllitem["Name"].asString();
|
||||||
|
if(!reviewNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = reviewNodeAllitem["Code"].asString();
|
||||||
|
review_.all2.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto whiteNode = value["White"];
|
||||||
|
auto allSelected4Node = whiteNode["Selected"]["item"];
|
||||||
|
for (auto whiteNodeSelecteditem : allSelected4Node)
|
||||||
|
{
|
||||||
|
White::Item6 item6Object;
|
||||||
|
if(!whiteNodeSelecteditem["Name"].isNull())
|
||||||
|
item6Object.name = whiteNodeSelecteditem["Name"].asString();
|
||||||
|
if(!whiteNodeSelecteditem["Code"].isNull())
|
||||||
|
item6Object.code = whiteNodeSelecteditem["Code"].asString();
|
||||||
|
white_.selected4.push_back(item6Object);
|
||||||
|
}
|
||||||
|
auto allAll5Node = whiteNode["All"]["item"];
|
||||||
|
for (auto whiteNodeAllitem : allAll5Node)
|
||||||
|
{
|
||||||
|
White::Item itemObject;
|
||||||
|
if(!whiteNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = whiteNodeAllitem["Name"].asString();
|
||||||
|
if(!whiteNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = whiteNodeAllitem["Code"].asString();
|
||||||
|
white_.all5.push_back(itemObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult::White DescribeBizTypeImageLibResult::getWhite()const
|
||||||
|
{
|
||||||
|
return white_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult::Black DescribeBizTypeImageLibResult::getBlack()const
|
||||||
|
{
|
||||||
|
return black_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeImageLibResult::Review DescribeBizTypeImageLibResult::getReview()const
|
||||||
|
{
|
||||||
|
return review_;
|
||||||
|
}
|
||||||
|
|
||||||
73
green/src/model/DescribeBizTypeTextLibRequest.cc
Normal file
73
green/src/model/DescribeBizTypeTextLibRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/green/model/DescribeBizTypeTextLibRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Green::Model::DescribeBizTypeTextLibRequest;
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibRequest::DescribeBizTypeTextLibRequest() :
|
||||||
|
RpcServiceRequest("green", "2017-08-23", "DescribeBizTypeTextLib")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibRequest::~DescribeBizTypeTextLibRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeTextLibRequest::getResourceType()const
|
||||||
|
{
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeTextLibRequest::setResourceType(const std::string& resourceType)
|
||||||
|
{
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter("ResourceType", resourceType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeTextLibRequest::getScene()const
|
||||||
|
{
|
||||||
|
return scene_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeTextLibRequest::setScene(const std::string& scene)
|
||||||
|
{
|
||||||
|
scene_ = scene;
|
||||||
|
setParameter("Scene", scene);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeTextLibRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeTextLibRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeBizTypeTextLibRequest::getBizTypeName()const
|
||||||
|
{
|
||||||
|
return bizTypeName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeBizTypeTextLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||||
|
{
|
||||||
|
bizTypeName_ = bizTypeName;
|
||||||
|
setParameter("BizTypeName", bizTypeName);
|
||||||
|
}
|
||||||
|
|
||||||
148
green/src/model/DescribeBizTypeTextLibResult.cc
Normal file
148
green/src/model/DescribeBizTypeTextLibResult.cc
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/green/model/DescribeBizTypeTextLibResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Green;
|
||||||
|
using namespace AlibabaCloud::Green::Model;
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::DescribeBizTypeTextLibResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::DescribeBizTypeTextLibResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::~DescribeBizTypeTextLibResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeBizTypeTextLibResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto blackNode = value["Black"];
|
||||||
|
auto allSelectedNode = blackNode["Selected"]["item"];
|
||||||
|
for (auto blackNodeSelecteditem : allSelectedNode)
|
||||||
|
{
|
||||||
|
Black::Item itemObject;
|
||||||
|
if(!blackNodeSelecteditem["Name"].isNull())
|
||||||
|
itemObject.name = blackNodeSelecteditem["Name"].asString();
|
||||||
|
if(!blackNodeSelecteditem["Code"].isNull())
|
||||||
|
itemObject.code = blackNodeSelecteditem["Code"].asString();
|
||||||
|
black_.selected.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto allAllNode = blackNode["All"]["item"];
|
||||||
|
for (auto blackNodeAllitem : allAllNode)
|
||||||
|
{
|
||||||
|
Black::Item itemObject;
|
||||||
|
if(!blackNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = blackNodeAllitem["Name"].asString();
|
||||||
|
if(!blackNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = blackNodeAllitem["Code"].asString();
|
||||||
|
black_.all.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto reviewNode = value["Review"];
|
||||||
|
auto allSelected1Node = reviewNode["Selected"]["item"];
|
||||||
|
for (auto reviewNodeSelecteditem : allSelected1Node)
|
||||||
|
{
|
||||||
|
Review::Item3 item3Object;
|
||||||
|
if(!reviewNodeSelecteditem["Name"].isNull())
|
||||||
|
item3Object.name = reviewNodeSelecteditem["Name"].asString();
|
||||||
|
if(!reviewNodeSelecteditem["Code"].isNull())
|
||||||
|
item3Object.code = reviewNodeSelecteditem["Code"].asString();
|
||||||
|
review_.selected1.push_back(item3Object);
|
||||||
|
}
|
||||||
|
auto allAll2Node = reviewNode["All"]["item"];
|
||||||
|
for (auto reviewNodeAllitem : allAll2Node)
|
||||||
|
{
|
||||||
|
Review::Item itemObject;
|
||||||
|
if(!reviewNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = reviewNodeAllitem["Name"].asString();
|
||||||
|
if(!reviewNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = reviewNodeAllitem["Code"].asString();
|
||||||
|
review_.all2.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto ignoreNode = value["Ignore"];
|
||||||
|
auto allSelected4Node = ignoreNode["Selected"]["item"];
|
||||||
|
for (auto ignoreNodeSelecteditem : allSelected4Node)
|
||||||
|
{
|
||||||
|
Ignore::Item6 item6Object;
|
||||||
|
if(!ignoreNodeSelecteditem["Name"].isNull())
|
||||||
|
item6Object.name = ignoreNodeSelecteditem["Name"].asString();
|
||||||
|
if(!ignoreNodeSelecteditem["Code"].isNull())
|
||||||
|
item6Object.code = ignoreNodeSelecteditem["Code"].asString();
|
||||||
|
ignore_.selected4.push_back(item6Object);
|
||||||
|
}
|
||||||
|
auto allAll5Node = ignoreNode["All"]["item"];
|
||||||
|
for (auto ignoreNodeAllitem : allAll5Node)
|
||||||
|
{
|
||||||
|
Ignore::Item itemObject;
|
||||||
|
if(!ignoreNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = ignoreNodeAllitem["Name"].asString();
|
||||||
|
if(!ignoreNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = ignoreNodeAllitem["Code"].asString();
|
||||||
|
ignore_.all5.push_back(itemObject);
|
||||||
|
}
|
||||||
|
auto whiteNode = value["White"];
|
||||||
|
auto allSelected7Node = whiteNode["Selected"]["item"];
|
||||||
|
for (auto whiteNodeSelecteditem : allSelected7Node)
|
||||||
|
{
|
||||||
|
White::Item9 item9Object;
|
||||||
|
if(!whiteNodeSelecteditem["Name"].isNull())
|
||||||
|
item9Object.name = whiteNodeSelecteditem["Name"].asString();
|
||||||
|
if(!whiteNodeSelecteditem["Code"].isNull())
|
||||||
|
item9Object.code = whiteNodeSelecteditem["Code"].asString();
|
||||||
|
white_.selected7.push_back(item9Object);
|
||||||
|
}
|
||||||
|
auto allAll8Node = whiteNode["All"]["item"];
|
||||||
|
for (auto whiteNodeAllitem : allAll8Node)
|
||||||
|
{
|
||||||
|
White::Item itemObject;
|
||||||
|
if(!whiteNodeAllitem["Name"].isNull())
|
||||||
|
itemObject.name = whiteNodeAllitem["Name"].asString();
|
||||||
|
if(!whiteNodeAllitem["Code"].isNull())
|
||||||
|
itemObject.code = whiteNodeAllitem["Code"].asString();
|
||||||
|
white_.all8.push_back(itemObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::Ignore DescribeBizTypeTextLibResult::getIgnore()const
|
||||||
|
{
|
||||||
|
return ignore_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::White DescribeBizTypeTextLibResult::getWhite()const
|
||||||
|
{
|
||||||
|
return white_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::Black DescribeBizTypeTextLibResult::getBlack()const
|
||||||
|
{
|
||||||
|
return black_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeBizTypeTextLibResult::Review DescribeBizTypeTextLibResult::getReview()const
|
||||||
|
{
|
||||||
|
return review_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -59,6 +59,10 @@ void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
|
|||||||
imageAutoFreeze_.porn = imageAutoFreezeNode["Porn"].asString();
|
imageAutoFreeze_.porn = imageAutoFreezeNode["Porn"].asString();
|
||||||
if(!imageAutoFreezeNode["Terrorism"].isNull())
|
if(!imageAutoFreezeNode["Terrorism"].isNull())
|
||||||
imageAutoFreeze_.terrorism = imageAutoFreezeNode["Terrorism"].asString();
|
imageAutoFreeze_.terrorism = imageAutoFreezeNode["Terrorism"].asString();
|
||||||
|
if(!imageAutoFreezeNode["Ad"].isNull())
|
||||||
|
imageAutoFreeze_.ad = imageAutoFreezeNode["Ad"].asString();
|
||||||
|
if(!imageAutoFreezeNode["Live"].isNull())
|
||||||
|
imageAutoFreeze_.live = imageAutoFreezeNode["Live"].asString();
|
||||||
auto allImageSceneList = value["ImageSceneList"]["ImageScene"];
|
auto allImageSceneList = value["ImageSceneList"]["ImageScene"];
|
||||||
for (const auto &item : allImageSceneList)
|
for (const auto &item : allImageSceneList)
|
||||||
imageSceneList_.push_back(item.asString());
|
imageSceneList_.push_back(item.asString());
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ void DescribeUserBizTypesResult::parse(const std::string &payload)
|
|||||||
bizTypeListObject.gray = valueBizTypeListitem["Gray"].asString() == "true";
|
bizTypeListObject.gray = valueBizTypeListitem["Gray"].asString() == "true";
|
||||||
if(!valueBizTypeListitem["Source"].isNull())
|
if(!valueBizTypeListitem["Source"].isNull())
|
||||||
bizTypeListObject.source = valueBizTypeListitem["Source"].asString();
|
bizTypeListObject.source = valueBizTypeListitem["Source"].asString();
|
||||||
|
if(!valueBizTypeListitem["CiteTemplate"].isNull())
|
||||||
|
bizTypeListObject.citeTemplate = valueBizTypeListitem["CiteTemplate"].asString() == "true";
|
||||||
|
if(!valueBizTypeListitem["IndustryInfo"].isNull())
|
||||||
|
bizTypeListObject.industryInfo = valueBizTypeListitem["IndustryInfo"].asString();
|
||||||
bizTypeList_.push_back(bizTypeListObject);
|
bizTypeList_.push_back(bizTypeListObject);
|
||||||
}
|
}
|
||||||
auto allBizTypeListImportNode = value["BizTypeListImport"]["item"];
|
auto allBizTypeListImportNode = value["BizTypeListImport"]["item"];
|
||||||
@@ -65,6 +69,10 @@ void DescribeUserBizTypesResult::parse(const std::string &payload)
|
|||||||
bizTypeListImportObject.gray = valueBizTypeListImportitem["Gray"].asString() == "true";
|
bizTypeListImportObject.gray = valueBizTypeListImportitem["Gray"].asString() == "true";
|
||||||
if(!valueBizTypeListImportitem["Source"].isNull())
|
if(!valueBizTypeListImportitem["Source"].isNull())
|
||||||
bizTypeListImportObject.source = valueBizTypeListImportitem["Source"].asString();
|
bizTypeListImportObject.source = valueBizTypeListImportitem["Source"].asString();
|
||||||
|
if(!valueBizTypeListImportitem["CiteTemplate"].isNull())
|
||||||
|
bizTypeListImportObject.citeTemplate = valueBizTypeListImportitem["CiteTemplate"].asString() == "true";
|
||||||
|
if(!valueBizTypeListImportitem["IndustryInfo"].isNull())
|
||||||
|
bizTypeListImportObject.industryInfo = valueBizTypeListImportitem["IndustryInfo"].asString();
|
||||||
bizTypeListImport_.push_back(bizTypeListImportObject);
|
bizTypeListImport_.push_back(bizTypeListImportObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::DetectFaceRequest;
|
|||||||
|
|
||||||
DetectFaceRequest::DetectFaceRequest() :
|
DetectFaceRequest::DetectFaceRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/face/detect");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DetectFaceRequest::~DetectFaceRequest()
|
DetectFaceRequest::~DetectFaceRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string DetectFaceRequest::getClientInfo()const
|
|||||||
void DetectFaceRequest::setClientInfo(const std::string& clientInfo)
|
void DetectFaceRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::FileAsyncScanRequest;
|
|||||||
|
|
||||||
FileAsyncScanRequest::FileAsyncScanRequest() :
|
FileAsyncScanRequest::FileAsyncScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/file/asyncscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
FileAsyncScanRequest::~FileAsyncScanRequest()
|
FileAsyncScanRequest::~FileAsyncScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string FileAsyncScanRequest::getClientInfo()const
|
|||||||
void FileAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
void FileAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::FileAsyncScanResultsRequest;
|
|||||||
|
|
||||||
FileAsyncScanResultsRequest::FileAsyncScanResultsRequest() :
|
FileAsyncScanResultsRequest::FileAsyncScanResultsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/file/results");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
FileAsyncScanResultsRequest::~FileAsyncScanResultsRequest()
|
FileAsyncScanResultsRequest::~FileAsyncScanResultsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string FileAsyncScanResultsRequest::getClientInfo()const
|
|||||||
void FileAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
void FileAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetAddVideoDnaResultsRequest;
|
|||||||
|
|
||||||
GetAddVideoDnaResultsRequest::GetAddVideoDnaResultsRequest() :
|
GetAddVideoDnaResultsRequest::GetAddVideoDnaResultsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/dna/add/results");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetAddVideoDnaResultsRequest::~GetAddVideoDnaResultsRequest()
|
GetAddVideoDnaResultsRequest::~GetAddVideoDnaResultsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string GetAddVideoDnaResultsRequest::getClientInfo()const
|
|||||||
void GetAddVideoDnaResultsRequest::setClientInfo(const std::string& clientInfo)
|
void GetAddVideoDnaResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetFacesRequest;
|
|||||||
|
|
||||||
GetFacesRequest::GetFacesRequest() :
|
GetFacesRequest::GetFacesRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/faces");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetFacesRequest::~GetFacesRequest()
|
GetFacesRequest::~GetFacesRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string GetFacesRequest::getRegionId()const
|
|||||||
void GetFacesRequest::setRegionId(const std::string& regionId)
|
void GetFacesRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetFacesRequest::getClientInfo()const
|
std::string GetFacesRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string GetFacesRequest::getClientInfo()const
|
|||||||
void GetFacesRequest::setClientInfo(const std::string& clientInfo)
|
void GetFacesRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetGroupsRequest;
|
|||||||
|
|
||||||
GetGroupsRequest::GetGroupsRequest() :
|
GetGroupsRequest::GetGroupsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/groups");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetGroupsRequest::~GetGroupsRequest()
|
GetGroupsRequest::~GetGroupsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string GetGroupsRequest::getRegionId()const
|
|||||||
void GetGroupsRequest::setRegionId(const std::string& regionId)
|
void GetGroupsRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetGroupsRequest::getClientInfo()const
|
std::string GetGroupsRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string GetGroupsRequest::getClientInfo()const
|
|||||||
void GetGroupsRequest::setClientInfo(const std::string& clientInfo)
|
void GetGroupsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetPersonRequest;
|
|||||||
|
|
||||||
GetPersonRequest::GetPersonRequest() :
|
GetPersonRequest::GetPersonRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/person");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetPersonRequest::~GetPersonRequest()
|
GetPersonRequest::~GetPersonRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string GetPersonRequest::getRegionId()const
|
|||||||
void GetPersonRequest::setRegionId(const std::string& regionId)
|
void GetPersonRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetPersonRequest::getClientInfo()const
|
std::string GetPersonRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string GetPersonRequest::getClientInfo()const
|
|||||||
void GetPersonRequest::setClientInfo(const std::string& clientInfo)
|
void GetPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetPersonsRequest;
|
|||||||
|
|
||||||
GetPersonsRequest::GetPersonsRequest() :
|
GetPersonsRequest::GetPersonsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/group/persons");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetPersonsRequest::~GetPersonsRequest()
|
GetPersonsRequest::~GetPersonsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string GetPersonsRequest::getRegionId()const
|
|||||||
void GetPersonsRequest::setRegionId(const std::string& regionId)
|
void GetPersonsRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetPersonsRequest::getClientInfo()const
|
std::string GetPersonsRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string GetPersonsRequest::getClientInfo()const
|
|||||||
void GetPersonsRequest::setClientInfo(const std::string& clientInfo)
|
void GetPersonsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetSimilarityImageRequest;
|
|||||||
|
|
||||||
GetSimilarityImageRequest::GetSimilarityImageRequest() :
|
GetSimilarityImageRequest::GetSimilarityImageRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/image/get");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetSimilarityImageRequest::~GetSimilarityImageRequest()
|
GetSimilarityImageRequest::~GetSimilarityImageRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string GetSimilarityImageRequest::getClientInfo()const
|
|||||||
void GetSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
void GetSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::GetSimilarityLibraryRequest;
|
|||||||
|
|
||||||
GetSimilarityLibraryRequest::GetSimilarityLibraryRequest() :
|
GetSimilarityLibraryRequest::GetSimilarityLibraryRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/library/get");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
GetSimilarityLibraryRequest::~GetSimilarityLibraryRequest()
|
GetSimilarityLibraryRequest::~GetSimilarityLibraryRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string GetSimilarityLibraryRequest::getClientInfo()const
|
|||||||
void GetSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
void GetSimilarityLibraryRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageAsyncScanRequest;
|
|||||||
|
|
||||||
ImageAsyncScanRequest::ImageAsyncScanRequest() :
|
ImageAsyncScanRequest::ImageAsyncScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/image/asyncscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ImageAsyncScanRequest::~ImageAsyncScanRequest()
|
ImageAsyncScanRequest::~ImageAsyncScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ImageAsyncScanRequest::getClientInfo()const
|
|||||||
void ImageAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
void ImageAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageAsyncScanResultsRequest;
|
|||||||
|
|
||||||
ImageAsyncScanResultsRequest::ImageAsyncScanResultsRequest() :
|
ImageAsyncScanResultsRequest::ImageAsyncScanResultsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/image/results");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ImageAsyncScanResultsRequest::~ImageAsyncScanResultsRequest()
|
ImageAsyncScanResultsRequest::~ImageAsyncScanResultsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ImageAsyncScanResultsRequest::getClientInfo()const
|
|||||||
void ImageAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
void ImageAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageDetectionRequest;
|
|||||||
|
|
||||||
ImageDetectionRequest::ImageDetectionRequest() :
|
ImageDetectionRequest::ImageDetectionRequest() :
|
||||||
RoaServiceRequest("green", "2016-12-22")
|
RoaServiceRequest("green", "2016-12-22")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/image/detection");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ImageDetectionRequest::~ImageDetectionRequest()
|
ImageDetectionRequest::~ImageDetectionRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageResultRequest;
|
|||||||
|
|
||||||
ImageResultRequest::ImageResultRequest() :
|
ImageResultRequest::ImageResultRequest() :
|
||||||
RoaServiceRequest("green", "2016-12-22")
|
RoaServiceRequest("green", "2016-12-22")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/image/result/[taskid]");
|
||||||
|
setMethod(HttpRequest::Method::Get);
|
||||||
|
}
|
||||||
|
|
||||||
ImageResultRequest::~ImageResultRequest()
|
ImageResultRequest::~ImageResultRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ImageResultRequest::getTaskid()const
|
|||||||
void ImageResultRequest::setTaskid(const std::string& taskid)
|
void ImageResultRequest::setTaskid(const std::string& taskid)
|
||||||
{
|
{
|
||||||
taskid_ = taskid;
|
taskid_ = taskid;
|
||||||
setCoreParameter("Taskid", taskid);
|
setParameter("Taskid", taskid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageResultsRequest;
|
|||||||
|
|
||||||
ImageResultsRequest::ImageResultsRequest() :
|
ImageResultsRequest::ImageResultsRequest() :
|
||||||
RoaServiceRequest("green", "2016-12-22")
|
RoaServiceRequest("green", "2016-12-22")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/image/results");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ImageResultsRequest::~ImageResultsRequest()
|
ImageResultsRequest::~ImageResultsRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageScanFeedbackRequest;
|
|||||||
|
|
||||||
ImageScanFeedbackRequest::ImageScanFeedbackRequest() :
|
ImageScanFeedbackRequest::ImageScanFeedbackRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/image/feedback");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ImageScanFeedbackRequest::~ImageScanFeedbackRequest()
|
ImageScanFeedbackRequest::~ImageScanFeedbackRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ImageScanFeedbackRequest::getClientInfo()const
|
|||||||
void ImageScanFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
void ImageScanFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ImageSyncScanRequest;
|
|||||||
|
|
||||||
ImageSyncScanRequest::ImageSyncScanRequest() :
|
ImageSyncScanRequest::ImageSyncScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/image/scan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ImageSyncScanRequest::~ImageSyncScanRequest()
|
ImageSyncScanRequest::~ImageSyncScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ImageSyncScanRequest::getClientInfo()const
|
|||||||
void ImageSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
void ImageSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ListSimilarityImagesRequest;
|
|||||||
|
|
||||||
ListSimilarityImagesRequest::ListSimilarityImagesRequest() :
|
ListSimilarityImagesRequest::ListSimilarityImagesRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/image/list");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ListSimilarityImagesRequest::~ListSimilarityImagesRequest()
|
ListSimilarityImagesRequest::~ListSimilarityImagesRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ListSimilarityImagesRequest::getClientInfo()const
|
|||||||
void ListSimilarityImagesRequest::setClientInfo(const std::string& clientInfo)
|
void ListSimilarityImagesRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::ListSimilarityLibrariesRequest;
|
|||||||
|
|
||||||
ListSimilarityLibrariesRequest::ListSimilarityLibrariesRequest() :
|
ListSimilarityLibrariesRequest::ListSimilarityLibrariesRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/similarity/library/list");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ListSimilarityLibrariesRequest::~ListSimilarityLibrariesRequest()
|
ListSimilarityLibrariesRequest::~ListSimilarityLibrariesRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string ListSimilarityLibrariesRequest::getClientInfo()const
|
|||||||
void ListSimilarityLibrariesRequest::setClientInfo(const std::string& clientInfo)
|
void ListSimilarityLibrariesRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::SampleFeedbackRequest;
|
|||||||
|
|
||||||
SampleFeedbackRequest::SampleFeedbackRequest() :
|
SampleFeedbackRequest::SampleFeedbackRequest() :
|
||||||
RoaServiceRequest("green", "2016-12-22")
|
RoaServiceRequest("green", "2016-12-22")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/sample/feedback");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
SampleFeedbackRequest::~SampleFeedbackRequest()
|
SampleFeedbackRequest::~SampleFeedbackRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::SearchPersonRequest;
|
|||||||
|
|
||||||
SearchPersonRequest::SearchPersonRequest() :
|
SearchPersonRequest::SearchPersonRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/search");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
SearchPersonRequest::~SearchPersonRequest()
|
SearchPersonRequest::~SearchPersonRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string SearchPersonRequest::getRegionId()const
|
|||||||
void SearchPersonRequest::setRegionId(const std::string& regionId)
|
void SearchPersonRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string SearchPersonRequest::getClientInfo()const
|
std::string SearchPersonRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string SearchPersonRequest::getClientInfo()const
|
|||||||
void SearchPersonRequest::setClientInfo(const std::string& clientInfo)
|
void SearchPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::SetPersonRequest;
|
|||||||
|
|
||||||
SetPersonRequest::SetPersonRequest() :
|
SetPersonRequest::SetPersonRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/sface/person/update");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
SetPersonRequest::~SetPersonRequest()
|
SetPersonRequest::~SetPersonRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string SetPersonRequest::getRegionId()const
|
|||||||
void SetPersonRequest::setRegionId(const std::string& regionId)
|
void SetPersonRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string SetPersonRequest::getClientInfo()const
|
std::string SetPersonRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string SetPersonRequest::getClientInfo()const
|
|||||||
void SetPersonRequest::setClientInfo(const std::string& clientInfo)
|
void SetPersonRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::TextFeedbackRequest;
|
|||||||
|
|
||||||
TextFeedbackRequest::TextFeedbackRequest() :
|
TextFeedbackRequest::TextFeedbackRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/text/feedback");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
TextFeedbackRequest::~TextFeedbackRequest()
|
TextFeedbackRequest::~TextFeedbackRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string TextFeedbackRequest::getClientInfo()const
|
|||||||
void TextFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
void TextFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::TextKeywordFilterRequest;
|
|||||||
|
|
||||||
TextKeywordFilterRequest::TextKeywordFilterRequest() :
|
TextKeywordFilterRequest::TextKeywordFilterRequest() :
|
||||||
RoaServiceRequest("green", "2016-12-22")
|
RoaServiceRequest("green", "2016-12-22")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/text/keyword_filter");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
TextKeywordFilterRequest::~TextKeywordFilterRequest()
|
TextKeywordFilterRequest::~TextKeywordFilterRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::TextScanRequest;
|
|||||||
|
|
||||||
TextScanRequest::TextScanRequest() :
|
TextScanRequest::TextScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/text/scan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
TextScanRequest::~TextScanRequest()
|
TextScanRequest::~TextScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string TextScanRequest::getClientInfo()const
|
|||||||
void TextScanRequest::setClientInfo(const std::string& clientInfo)
|
void TextScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
106
green/src/model/UpdateBizTypeImageLibRequest.cc
Normal file
106
green/src/model/UpdateBizTypeImageLibRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES 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/UpdateBizTypeImageLibRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Green::Model::UpdateBizTypeImageLibRequest;
|
||||||
|
|
||||||
|
UpdateBizTypeImageLibRequest::UpdateBizTypeImageLibRequest() :
|
||||||
|
RpcServiceRequest("green", "2017-08-23", "UpdateBizTypeImageLib")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateBizTypeImageLibRequest::~UpdateBizTypeImageLibRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getScene()const
|
||||||
|
{
|
||||||
|
return scene_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setScene(const std::string& scene)
|
||||||
|
{
|
||||||
|
scene_ = scene;
|
||||||
|
setParameter("Scene", scene);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getWhite()const
|
||||||
|
{
|
||||||
|
return white_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setWhite(const std::string& white)
|
||||||
|
{
|
||||||
|
white_ = white;
|
||||||
|
setParameter("White", white);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getReview()const
|
||||||
|
{
|
||||||
|
return review_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setReview(const std::string& review)
|
||||||
|
{
|
||||||
|
review_ = review;
|
||||||
|
setParameter("Review", review);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getBizTypeName()const
|
||||||
|
{
|
||||||
|
return bizTypeName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||||
|
{
|
||||||
|
bizTypeName_ = bizTypeName;
|
||||||
|
setParameter("BizTypeName", bizTypeName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getBlack()const
|
||||||
|
{
|
||||||
|
return black_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setBlack(const std::string& black)
|
||||||
|
{
|
||||||
|
black_ = black;
|
||||||
|
setParameter("Black", black);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeImageLibRequest::getResourceType()const
|
||||||
|
{
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibRequest::setResourceType(const std::string& resourceType)
|
||||||
|
{
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter("ResourceType", resourceType);
|
||||||
|
}
|
||||||
|
|
||||||
44
green/src/model/UpdateBizTypeImageLibResult.cc
Normal file
44
green/src/model/UpdateBizTypeImageLibResult.cc
Normal 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/UpdateBizTypeImageLibResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Green;
|
||||||
|
using namespace AlibabaCloud::Green::Model;
|
||||||
|
|
||||||
|
UpdateBizTypeImageLibResult::UpdateBizTypeImageLibResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UpdateBizTypeImageLibResult::UpdateBizTypeImageLibResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateBizTypeImageLibResult::~UpdateBizTypeImageLibResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UpdateBizTypeImageLibResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
117
green/src/model/UpdateBizTypeTextLibRequest.cc
Normal file
117
green/src/model/UpdateBizTypeTextLibRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES 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/UpdateBizTypeTextLibRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Green::Model::UpdateBizTypeTextLibRequest;
|
||||||
|
|
||||||
|
UpdateBizTypeTextLibRequest::UpdateBizTypeTextLibRequest() :
|
||||||
|
RpcServiceRequest("green", "2017-08-23", "UpdateBizTypeTextLib")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateBizTypeTextLibRequest::~UpdateBizTypeTextLibRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getScene()const
|
||||||
|
{
|
||||||
|
return scene_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setScene(const std::string& scene)
|
||||||
|
{
|
||||||
|
scene_ = scene;
|
||||||
|
setParameter("Scene", scene);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getWhite()const
|
||||||
|
{
|
||||||
|
return white_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setWhite(const std::string& white)
|
||||||
|
{
|
||||||
|
white_ = white;
|
||||||
|
setParameter("White", white);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getReview()const
|
||||||
|
{
|
||||||
|
return review_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setReview(const std::string& review)
|
||||||
|
{
|
||||||
|
review_ = review;
|
||||||
|
setParameter("Review", review);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getIgnore()const
|
||||||
|
{
|
||||||
|
return ignore_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setIgnore(const std::string& ignore)
|
||||||
|
{
|
||||||
|
ignore_ = ignore;
|
||||||
|
setParameter("Ignore", ignore);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getBizTypeName()const
|
||||||
|
{
|
||||||
|
return bizTypeName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setBizTypeName(const std::string& bizTypeName)
|
||||||
|
{
|
||||||
|
bizTypeName_ = bizTypeName;
|
||||||
|
setParameter("BizTypeName", bizTypeName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getBlack()const
|
||||||
|
{
|
||||||
|
return black_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setBlack(const std::string& black)
|
||||||
|
{
|
||||||
|
black_ = black;
|
||||||
|
setParameter("Black", black);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateBizTypeTextLibRequest::getResourceType()const
|
||||||
|
{
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibRequest::setResourceType(const std::string& resourceType)
|
||||||
|
{
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter("ResourceType", resourceType);
|
||||||
|
}
|
||||||
|
|
||||||
44
green/src/model/UpdateBizTypeTextLibResult.cc
Normal file
44
green/src/model/UpdateBizTypeTextLibResult.cc
Normal 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/UpdateBizTypeTextLibResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Green;
|
||||||
|
using namespace AlibabaCloud::Green::Model;
|
||||||
|
|
||||||
|
UpdateBizTypeTextLibResult::UpdateBizTypeTextLibResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UpdateBizTypeTextLibResult::UpdateBizTypeTextLibResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateBizTypeTextLibResult::~UpdateBizTypeTextLibResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UpdateBizTypeTextLibResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::UploadCredentialsRequest;
|
|||||||
|
|
||||||
UploadCredentialsRequest::UploadCredentialsRequest() :
|
UploadCredentialsRequest::UploadCredentialsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/credentials/uploadcredentials");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
UploadCredentialsRequest::~UploadCredentialsRequest()
|
UploadCredentialsRequest::~UploadCredentialsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string UploadCredentialsRequest::getRegionId()const
|
|||||||
void UploadCredentialsRequest::setRegionId(const std::string& regionId)
|
void UploadCredentialsRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string UploadCredentialsRequest::getClientInfo()const
|
std::string UploadCredentialsRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string UploadCredentialsRequest::getClientInfo()const
|
|||||||
void UploadCredentialsRequest::setClientInfo(const std::string& clientInfo)
|
void UploadCredentialsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoAsyncScanRequest;
|
|||||||
|
|
||||||
VideoAsyncScanRequest::VideoAsyncScanRequest() :
|
VideoAsyncScanRequest::VideoAsyncScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/asyncscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VideoAsyncScanRequest::~VideoAsyncScanRequest()
|
VideoAsyncScanRequest::~VideoAsyncScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VideoAsyncScanRequest::getClientInfo()const
|
|||||||
void VideoAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
void VideoAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoAsyncScanResultsRequest;
|
|||||||
|
|
||||||
VideoAsyncScanResultsRequest::VideoAsyncScanResultsRequest() :
|
VideoAsyncScanResultsRequest::VideoAsyncScanResultsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/results");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VideoAsyncScanResultsRequest::~VideoAsyncScanResultsRequest()
|
VideoAsyncScanResultsRequest::~VideoAsyncScanResultsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VideoAsyncScanResultsRequest::getClientInfo()const
|
|||||||
void VideoAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
void VideoAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoCancelScanRequest;
|
|||||||
|
|
||||||
VideoCancelScanRequest::VideoCancelScanRequest() :
|
VideoCancelScanRequest::VideoCancelScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/cancelscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VideoCancelScanRequest::~VideoCancelScanRequest()
|
VideoCancelScanRequest::~VideoCancelScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VideoCancelScanRequest::getClientInfo()const
|
|||||||
void VideoCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
void VideoCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoFeedbackRequest;
|
|||||||
|
|
||||||
VideoFeedbackRequest::VideoFeedbackRequest() :
|
VideoFeedbackRequest::VideoFeedbackRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/feedback");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VideoFeedbackRequest::~VideoFeedbackRequest()
|
VideoFeedbackRequest::~VideoFeedbackRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VideoFeedbackRequest::getClientInfo()const
|
|||||||
void VideoFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
void VideoFeedbackRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VideoSyncScanRequest;
|
|||||||
|
|
||||||
VideoSyncScanRequest::VideoSyncScanRequest() :
|
VideoSyncScanRequest::VideoSyncScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/video/syncscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VideoSyncScanRequest::~VideoSyncScanRequest()
|
VideoSyncScanRequest::~VideoSyncScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VideoSyncScanRequest::getClientInfo()const
|
|||||||
void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceAsyncScanRequest;
|
|||||||
|
|
||||||
VoiceAsyncScanRequest::VoiceAsyncScanRequest() :
|
VoiceAsyncScanRequest::VoiceAsyncScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/asyncscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceAsyncScanRequest::~VoiceAsyncScanRequest()
|
VoiceAsyncScanRequest::~VoiceAsyncScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VoiceAsyncScanRequest::getClientInfo()const
|
|||||||
void VoiceAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceAsyncScanResultsRequest;
|
|||||||
|
|
||||||
VoiceAsyncScanResultsRequest::VoiceAsyncScanResultsRequest() :
|
VoiceAsyncScanResultsRequest::VoiceAsyncScanResultsRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/results");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceAsyncScanResultsRequest::~VoiceAsyncScanResultsRequest()
|
VoiceAsyncScanResultsRequest::~VoiceAsyncScanResultsRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VoiceAsyncScanResultsRequest::getClientInfo()const
|
|||||||
void VoiceAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceCancelScanRequest;
|
|||||||
|
|
||||||
VoiceCancelScanRequest::VoiceCancelScanRequest() :
|
VoiceCancelScanRequest::VoiceCancelScanRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/cancelscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceCancelScanRequest::~VoiceCancelScanRequest()
|
VoiceCancelScanRequest::~VoiceCancelScanRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,6 +36,6 @@ std::string VoiceCancelScanRequest::getClientInfo()const
|
|||||||
void VoiceCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityCheckRequest;
|
|||||||
|
|
||||||
VoiceIdentityCheckRequest::VoiceIdentityCheckRequest() :
|
VoiceIdentityCheckRequest::VoiceIdentityCheckRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/auth/check");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceIdentityCheckRequest::~VoiceIdentityCheckRequest()
|
VoiceIdentityCheckRequest::~VoiceIdentityCheckRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityCheckRequest::getRegionId()const
|
|||||||
void VoiceIdentityCheckRequest::setRegionId(const std::string& regionId)
|
void VoiceIdentityCheckRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VoiceIdentityCheckRequest::getClientInfo()const
|
std::string VoiceIdentityCheckRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityCheckRequest::getClientInfo()const
|
|||||||
void VoiceIdentityCheckRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceIdentityCheckRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityRegisterRequest;
|
|||||||
|
|
||||||
VoiceIdentityRegisterRequest::VoiceIdentityRegisterRequest() :
|
VoiceIdentityRegisterRequest::VoiceIdentityRegisterRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/auth/register");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceIdentityRegisterRequest::~VoiceIdentityRegisterRequest()
|
VoiceIdentityRegisterRequest::~VoiceIdentityRegisterRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityRegisterRequest::getRegionId()const
|
|||||||
void VoiceIdentityRegisterRequest::setRegionId(const std::string& regionId)
|
void VoiceIdentityRegisterRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VoiceIdentityRegisterRequest::getClientInfo()const
|
std::string VoiceIdentityRegisterRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityRegisterRequest::getClientInfo()const
|
|||||||
void VoiceIdentityRegisterRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceIdentityRegisterRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityStartCheckRequest;
|
|||||||
|
|
||||||
VoiceIdentityStartCheckRequest::VoiceIdentityStartCheckRequest() :
|
VoiceIdentityStartCheckRequest::VoiceIdentityStartCheckRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/auth/start/check");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceIdentityStartCheckRequest::~VoiceIdentityStartCheckRequest()
|
VoiceIdentityStartCheckRequest::~VoiceIdentityStartCheckRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityStartCheckRequest::getRegionId()const
|
|||||||
void VoiceIdentityStartCheckRequest::setRegionId(const std::string& regionId)
|
void VoiceIdentityStartCheckRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VoiceIdentityStartCheckRequest::getClientInfo()const
|
std::string VoiceIdentityStartCheckRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityStartCheckRequest::getClientInfo()const
|
|||||||
void VoiceIdentityStartCheckRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceIdentityStartCheckRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityStartRegisterRequest;
|
|||||||
|
|
||||||
VoiceIdentityStartRegisterRequest::VoiceIdentityStartRegisterRequest() :
|
VoiceIdentityStartRegisterRequest::VoiceIdentityStartRegisterRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/auth/start/register");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceIdentityStartRegisterRequest::~VoiceIdentityStartRegisterRequest()
|
VoiceIdentityStartRegisterRequest::~VoiceIdentityStartRegisterRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityStartRegisterRequest::getRegionId()const
|
|||||||
void VoiceIdentityStartRegisterRequest::setRegionId(const std::string& regionId)
|
void VoiceIdentityStartRegisterRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VoiceIdentityStartRegisterRequest::getClientInfo()const
|
std::string VoiceIdentityStartRegisterRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityStartRegisterRequest::getClientInfo()const
|
|||||||
void VoiceIdentityStartRegisterRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceIdentityStartRegisterRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,10 @@ using AlibabaCloud::Green::Model::VoiceIdentityUnregisterRequest;
|
|||||||
|
|
||||||
VoiceIdentityUnregisterRequest::VoiceIdentityUnregisterRequest() :
|
VoiceIdentityUnregisterRequest::VoiceIdentityUnregisterRequest() :
|
||||||
RoaServiceRequest("green", "2018-05-09")
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
{}
|
{
|
||||||
|
setResourcePath("/green/voice/auth/unregister");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
VoiceIdentityUnregisterRequest::~VoiceIdentityUnregisterRequest()
|
VoiceIdentityUnregisterRequest::~VoiceIdentityUnregisterRequest()
|
||||||
{}
|
{}
|
||||||
@@ -33,7 +36,7 @@ std::string VoiceIdentityUnregisterRequest::getRegionId()const
|
|||||||
void VoiceIdentityUnregisterRequest::setRegionId(const std::string& regionId)
|
void VoiceIdentityUnregisterRequest::setRegionId(const std::string& regionId)
|
||||||
{
|
{
|
||||||
regionId_ = regionId;
|
regionId_ = regionId;
|
||||||
setCoreParameter("RegionId", regionId);
|
setParameter("RegionId", regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VoiceIdentityUnregisterRequest::getClientInfo()const
|
std::string VoiceIdentityUnregisterRequest::getClientInfo()const
|
||||||
@@ -44,6 +47,6 @@ std::string VoiceIdentityUnregisterRequest::getClientInfo()const
|
|||||||
void VoiceIdentityUnregisterRequest::setClientInfo(const std::string& clientInfo)
|
void VoiceIdentityUnregisterRequest::setClientInfo(const std::string& clientInfo)
|
||||||
{
|
{
|
||||||
clientInfo_ = clientInfo;
|
clientInfo_ = clientInfo;
|
||||||
setCoreParameter("ClientInfo", clientInfo);
|
setParameter("ClientInfo", clientInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
52
green/src/model/VoiceSyncScanRequest.cc
Normal file
52
green/src/model/VoiceSyncScanRequest.cc
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/green/model/VoiceSyncScanRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Green::Model::VoiceSyncScanRequest;
|
||||||
|
|
||||||
|
VoiceSyncScanRequest::VoiceSyncScanRequest() :
|
||||||
|
RoaServiceRequest("green", "2018-05-09")
|
||||||
|
{
|
||||||
|
setResourcePath("/green/voice/syncscan");
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
VoiceSyncScanRequest::~VoiceSyncScanRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string VoiceSyncScanRequest::getRegionId()const
|
||||||
|
{
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VoiceSyncScanRequest::setRegionId(const std::string& regionId)
|
||||||
|
{
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter("RegionId", regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VoiceSyncScanRequest::getClientInfo()const
|
||||||
|
{
|
||||||
|
return clientInfo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VoiceSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||||
|
{
|
||||||
|
clientInfo_ = clientInfo;
|
||||||
|
setParameter("ClientInfo", clientInfo);
|
||||||
|
}
|
||||||
|
|
||||||
44
green/src/model/VoiceSyncScanResult.cc
Normal file
44
green/src/model/VoiceSyncScanResult.cc
Normal 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/VoiceSyncScanResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Green;
|
||||||
|
using namespace AlibabaCloud::Green::Model;
|
||||||
|
|
||||||
|
VoiceSyncScanResult::VoiceSyncScanResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
VoiceSyncScanResult::VoiceSyncScanResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
VoiceSyncScanResult::~VoiceSyncScanResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void VoiceSyncScanResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user