Supported new features etc.

This commit is contained in:
sdk-team
2022-04-21 08:03:48 +00:00
parent 4c3ae151cb
commit 382a4ff59d
149 changed files with 3755 additions and 6500 deletions

View File

@@ -1,3 +1,6 @@
2022-04-21 Version: 1.36.1112
- Supported new features etc.
2022-04-21 Version: 1.36.1111
- Supported new features for outbound.

View File

@@ -1 +1 @@
1.36.1111
1.36.1112

View File

@@ -25,8 +25,6 @@ set(voicenavigator_public_header_model
include/alibabacloud/voicenavigator/model/AssociateChatbotInstanceResult.h
include/alibabacloud/voicenavigator/model/AuditTTSVoiceRequest.h
include/alibabacloud/voicenavigator/model/AuditTTSVoiceResult.h
include/alibabacloud/voicenavigator/model/BatchCreateSandBoxWhileListRequest.h
include/alibabacloud/voicenavigator/model/BatchCreateSandBoxWhileListResult.h
include/alibabacloud/voicenavigator/model/BeginDialogueRequest.h
include/alibabacloud/voicenavigator/model/BeginDialogueResult.h
include/alibabacloud/voicenavigator/model/CollectedNumberRequest.h
@@ -43,10 +41,6 @@ set(voicenavigator_public_header_model
include/alibabacloud/voicenavigator/model/DebugDialogueResult.h
include/alibabacloud/voicenavigator/model/DeleteInstanceRequest.h
include/alibabacloud/voicenavigator/model/DeleteInstanceResult.h
include/alibabacloud/voicenavigator/model/DeleteSandBoxWhileListRequest.h
include/alibabacloud/voicenavigator/model/DeleteSandBoxWhileListResult.h
include/alibabacloud/voicenavigator/model/DescribeAsrVadConfigRequest.h
include/alibabacloud/voicenavigator/model/DescribeAsrVadConfigResult.h
include/alibabacloud/voicenavigator/model/DescribeConversationRequest.h
include/alibabacloud/voicenavigator/model/DescribeConversationResult.h
include/alibabacloud/voicenavigator/model/DescribeConversationContextRequest.h
@@ -63,28 +57,22 @@ set(voicenavigator_public_header_model
include/alibabacloud/voicenavigator/model/DescribeStatisticalDataResult.h
include/alibabacloud/voicenavigator/model/DescribeTTSConfigRequest.h
include/alibabacloud/voicenavigator/model/DescribeTTSConfigResult.h
include/alibabacloud/voicenavigator/model/DescribeVoiceConfigRequest.h
include/alibabacloud/voicenavigator/model/DescribeVoiceConfigResult.h
include/alibabacloud/voicenavigator/model/DialogueRequest.h
include/alibabacloud/voicenavigator/model/DialogueResult.h
include/alibabacloud/voicenavigator/model/DisableInstanceRequest.h
include/alibabacloud/voicenavigator/model/DisableInstanceResult.h
include/alibabacloud/voicenavigator/model/DisableSandBoxWhileListRequest.h
include/alibabacloud/voicenavigator/model/DisableSandBoxWhileListResult.h
include/alibabacloud/voicenavigator/model/EnableInstanceRequest.h
include/alibabacloud/voicenavigator/model/EnableInstanceResult.h
include/alibabacloud/voicenavigator/model/EnableSandBoxWhileListRequest.h
include/alibabacloud/voicenavigator/model/EnableSandBoxWhileListResult.h
include/alibabacloud/voicenavigator/model/EndDialogueRequest.h
include/alibabacloud/voicenavigator/model/EndDialogueResult.h
include/alibabacloud/voicenavigator/model/ExportConversationDetailsRequest.h
include/alibabacloud/voicenavigator/model/ExportConversationDetailsResult.h
include/alibabacloud/voicenavigator/model/ExportStatisticalDataRequest.h
include/alibabacloud/voicenavigator/model/ExportStatisticalDataResult.h
include/alibabacloud/voicenavigator/model/GetInstanceConfigRequest.h
include/alibabacloud/voicenavigator/model/GetInstanceConfigResult.h
include/alibabacloud/voicenavigator/model/GetNewBargeInSwitchRequest.h
include/alibabacloud/voicenavigator/model/GetNewBargeInSwitchResult.h
include/alibabacloud/voicenavigator/model/GenerateUploadUrlRequest.h
include/alibabacloud/voicenavigator/model/GenerateUploadUrlResult.h
include/alibabacloud/voicenavigator/model/GetAsrConfigRequest.h
include/alibabacloud/voicenavigator/model/GetAsrConfigResult.h
include/alibabacloud/voicenavigator/model/ListChatbotInstancesRequest.h
include/alibabacloud/voicenavigator/model/ListChatbotInstancesResult.h
include/alibabacloud/voicenavigator/model/ListConversationDetailsRequest.h
@@ -95,16 +83,12 @@ set(voicenavigator_public_header_model
include/alibabacloud/voicenavigator/model/ListDownloadTasksResult.h
include/alibabacloud/voicenavigator/model/ListInstancesRequest.h
include/alibabacloud/voicenavigator/model/ListInstancesResult.h
include/alibabacloud/voicenavigator/model/ListSandBoxWhileListRequest.h
include/alibabacloud/voicenavigator/model/ListSandBoxWhileListResult.h
include/alibabacloud/voicenavigator/model/ModifyAsrVadConfigRequest.h
include/alibabacloud/voicenavigator/model/ModifyAsrVadConfigResult.h
include/alibabacloud/voicenavigator/model/ModifyAsrConfigRequest.h
include/alibabacloud/voicenavigator/model/ModifyAsrConfigResult.h
include/alibabacloud/voicenavigator/model/ModifyGreetingConfigRequest.h
include/alibabacloud/voicenavigator/model/ModifyGreetingConfigResult.h
include/alibabacloud/voicenavigator/model/ModifyInstanceRequest.h
include/alibabacloud/voicenavigator/model/ModifyInstanceResult.h
include/alibabacloud/voicenavigator/model/ModifySandBoxWhileListRequest.h
include/alibabacloud/voicenavigator/model/ModifySandBoxWhileListResult.h
include/alibabacloud/voicenavigator/model/ModifySilenceTimeoutConfigRequest.h
include/alibabacloud/voicenavigator/model/ModifySilenceTimeoutConfigResult.h
include/alibabacloud/voicenavigator/model/ModifyTTSConfigRequest.h
@@ -116,9 +100,7 @@ set(voicenavigator_public_header_model
include/alibabacloud/voicenavigator/model/SaveRecordingRequest.h
include/alibabacloud/voicenavigator/model/SaveRecordingResult.h
include/alibabacloud/voicenavigator/model/SilenceTimeoutRequest.h
include/alibabacloud/voicenavigator/model/SilenceTimeoutResult.h
include/alibabacloud/voicenavigator/model/UpdateNewBargeInSwitchRequest.h
include/alibabacloud/voicenavigator/model/UpdateNewBargeInSwitchResult.h )
include/alibabacloud/voicenavigator/model/SilenceTimeoutResult.h )
set(voicenavigator_src
src/VoiceNavigatorClient.cc
@@ -126,8 +108,6 @@ set(voicenavigator_src
src/model/AssociateChatbotInstanceResult.cc
src/model/AuditTTSVoiceRequest.cc
src/model/AuditTTSVoiceResult.cc
src/model/BatchCreateSandBoxWhileListRequest.cc
src/model/BatchCreateSandBoxWhileListResult.cc
src/model/BeginDialogueRequest.cc
src/model/BeginDialogueResult.cc
src/model/CollectedNumberRequest.cc
@@ -144,10 +124,6 @@ set(voicenavigator_src
src/model/DebugDialogueResult.cc
src/model/DeleteInstanceRequest.cc
src/model/DeleteInstanceResult.cc
src/model/DeleteSandBoxWhileListRequest.cc
src/model/DeleteSandBoxWhileListResult.cc
src/model/DescribeAsrVadConfigRequest.cc
src/model/DescribeAsrVadConfigResult.cc
src/model/DescribeConversationRequest.cc
src/model/DescribeConversationResult.cc
src/model/DescribeConversationContextRequest.cc
@@ -164,28 +140,22 @@ set(voicenavigator_src
src/model/DescribeStatisticalDataResult.cc
src/model/DescribeTTSConfigRequest.cc
src/model/DescribeTTSConfigResult.cc
src/model/DescribeVoiceConfigRequest.cc
src/model/DescribeVoiceConfigResult.cc
src/model/DialogueRequest.cc
src/model/DialogueResult.cc
src/model/DisableInstanceRequest.cc
src/model/DisableInstanceResult.cc
src/model/DisableSandBoxWhileListRequest.cc
src/model/DisableSandBoxWhileListResult.cc
src/model/EnableInstanceRequest.cc
src/model/EnableInstanceResult.cc
src/model/EnableSandBoxWhileListRequest.cc
src/model/EnableSandBoxWhileListResult.cc
src/model/EndDialogueRequest.cc
src/model/EndDialogueResult.cc
src/model/ExportConversationDetailsRequest.cc
src/model/ExportConversationDetailsResult.cc
src/model/ExportStatisticalDataRequest.cc
src/model/ExportStatisticalDataResult.cc
src/model/GetInstanceConfigRequest.cc
src/model/GetInstanceConfigResult.cc
src/model/GetNewBargeInSwitchRequest.cc
src/model/GetNewBargeInSwitchResult.cc
src/model/GenerateUploadUrlRequest.cc
src/model/GenerateUploadUrlResult.cc
src/model/GetAsrConfigRequest.cc
src/model/GetAsrConfigResult.cc
src/model/ListChatbotInstancesRequest.cc
src/model/ListChatbotInstancesResult.cc
src/model/ListConversationDetailsRequest.cc
@@ -196,16 +166,12 @@ set(voicenavigator_src
src/model/ListDownloadTasksResult.cc
src/model/ListInstancesRequest.cc
src/model/ListInstancesResult.cc
src/model/ListSandBoxWhileListRequest.cc
src/model/ListSandBoxWhileListResult.cc
src/model/ModifyAsrVadConfigRequest.cc
src/model/ModifyAsrVadConfigResult.cc
src/model/ModifyAsrConfigRequest.cc
src/model/ModifyAsrConfigResult.cc
src/model/ModifyGreetingConfigRequest.cc
src/model/ModifyGreetingConfigResult.cc
src/model/ModifyInstanceRequest.cc
src/model/ModifyInstanceResult.cc
src/model/ModifySandBoxWhileListRequest.cc
src/model/ModifySandBoxWhileListResult.cc
src/model/ModifySilenceTimeoutConfigRequest.cc
src/model/ModifySilenceTimeoutConfigResult.cc
src/model/ModifyTTSConfigRequest.cc
@@ -217,9 +183,7 @@ set(voicenavigator_src
src/model/SaveRecordingRequest.cc
src/model/SaveRecordingResult.cc
src/model/SilenceTimeoutRequest.cc
src/model/SilenceTimeoutResult.cc
src/model/UpdateNewBargeInSwitchRequest.cc
src/model/UpdateNewBargeInSwitchResult.cc )
src/model/SilenceTimeoutResult.cc )
add_library(voicenavigator ${LIB_TYPE}
${voicenavigator_public_header}

View File

@@ -26,8 +26,6 @@
#include "model/AssociateChatbotInstanceResult.h"
#include "model/AuditTTSVoiceRequest.h"
#include "model/AuditTTSVoiceResult.h"
#include "model/BatchCreateSandBoxWhileListRequest.h"
#include "model/BatchCreateSandBoxWhileListResult.h"
#include "model/BeginDialogueRequest.h"
#include "model/BeginDialogueResult.h"
#include "model/CollectedNumberRequest.h"
@@ -44,10 +42,6 @@
#include "model/DebugDialogueResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
#include "model/DeleteSandBoxWhileListRequest.h"
#include "model/DeleteSandBoxWhileListResult.h"
#include "model/DescribeAsrVadConfigRequest.h"
#include "model/DescribeAsrVadConfigResult.h"
#include "model/DescribeConversationRequest.h"
#include "model/DescribeConversationResult.h"
#include "model/DescribeConversationContextRequest.h"
@@ -64,28 +58,22 @@
#include "model/DescribeStatisticalDataResult.h"
#include "model/DescribeTTSConfigRequest.h"
#include "model/DescribeTTSConfigResult.h"
#include "model/DescribeVoiceConfigRequest.h"
#include "model/DescribeVoiceConfigResult.h"
#include "model/DialogueRequest.h"
#include "model/DialogueResult.h"
#include "model/DisableInstanceRequest.h"
#include "model/DisableInstanceResult.h"
#include "model/DisableSandBoxWhileListRequest.h"
#include "model/DisableSandBoxWhileListResult.h"
#include "model/EnableInstanceRequest.h"
#include "model/EnableInstanceResult.h"
#include "model/EnableSandBoxWhileListRequest.h"
#include "model/EnableSandBoxWhileListResult.h"
#include "model/EndDialogueRequest.h"
#include "model/EndDialogueResult.h"
#include "model/ExportConversationDetailsRequest.h"
#include "model/ExportConversationDetailsResult.h"
#include "model/ExportStatisticalDataRequest.h"
#include "model/ExportStatisticalDataResult.h"
#include "model/GetInstanceConfigRequest.h"
#include "model/GetInstanceConfigResult.h"
#include "model/GetNewBargeInSwitchRequest.h"
#include "model/GetNewBargeInSwitchResult.h"
#include "model/GenerateUploadUrlRequest.h"
#include "model/GenerateUploadUrlResult.h"
#include "model/GetAsrConfigRequest.h"
#include "model/GetAsrConfigResult.h"
#include "model/ListChatbotInstancesRequest.h"
#include "model/ListChatbotInstancesResult.h"
#include "model/ListConversationDetailsRequest.h"
@@ -96,16 +84,12 @@
#include "model/ListDownloadTasksResult.h"
#include "model/ListInstancesRequest.h"
#include "model/ListInstancesResult.h"
#include "model/ListSandBoxWhileListRequest.h"
#include "model/ListSandBoxWhileListResult.h"
#include "model/ModifyAsrVadConfigRequest.h"
#include "model/ModifyAsrVadConfigResult.h"
#include "model/ModifyAsrConfigRequest.h"
#include "model/ModifyAsrConfigResult.h"
#include "model/ModifyGreetingConfigRequest.h"
#include "model/ModifyGreetingConfigResult.h"
#include "model/ModifyInstanceRequest.h"
#include "model/ModifyInstanceResult.h"
#include "model/ModifySandBoxWhileListRequest.h"
#include "model/ModifySandBoxWhileListResult.h"
#include "model/ModifySilenceTimeoutConfigRequest.h"
#include "model/ModifySilenceTimeoutConfigResult.h"
#include "model/ModifyTTSConfigRequest.h"
@@ -118,8 +102,6 @@
#include "model/SaveRecordingResult.h"
#include "model/SilenceTimeoutRequest.h"
#include "model/SilenceTimeoutResult.h"
#include "model/UpdateNewBargeInSwitchRequest.h"
#include "model/UpdateNewBargeInSwitchResult.h"
namespace AlibabaCloud
@@ -135,9 +117,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AuditTTSVoiceResult> AuditTTSVoiceOutcome;
typedef std::future<AuditTTSVoiceOutcome> AuditTTSVoiceOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::AuditTTSVoiceRequest&, const AuditTTSVoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuditTTSVoiceAsyncHandler;
typedef Outcome<Error, Model::BatchCreateSandBoxWhileListResult> BatchCreateSandBoxWhileListOutcome;
typedef std::future<BatchCreateSandBoxWhileListOutcome> BatchCreateSandBoxWhileListOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::BatchCreateSandBoxWhileListRequest&, const BatchCreateSandBoxWhileListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateSandBoxWhileListAsyncHandler;
typedef Outcome<Error, Model::BeginDialogueResult> BeginDialogueOutcome;
typedef std::future<BeginDialogueOutcome> BeginDialogueOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::BeginDialogueRequest&, const BeginDialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BeginDialogueAsyncHandler;
@@ -162,12 +141,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteSandBoxWhileListResult> DeleteSandBoxWhileListOutcome;
typedef std::future<DeleteSandBoxWhileListOutcome> DeleteSandBoxWhileListOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DeleteSandBoxWhileListRequest&, const DeleteSandBoxWhileListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSandBoxWhileListAsyncHandler;
typedef Outcome<Error, Model::DescribeAsrVadConfigResult> DescribeAsrVadConfigOutcome;
typedef std::future<DescribeAsrVadConfigOutcome> DescribeAsrVadConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DescribeAsrVadConfigRequest&, const DescribeAsrVadConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAsrVadConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeConversationResult> DescribeConversationOutcome;
typedef std::future<DescribeConversationOutcome> DescribeConversationOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DescribeConversationRequest&, const DescribeConversationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConversationAsyncHandler;
@@ -192,24 +165,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTTSConfigResult> DescribeTTSConfigOutcome;
typedef std::future<DescribeTTSConfigOutcome> DescribeTTSConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DescribeTTSConfigRequest&, const DescribeTTSConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTTSConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeVoiceConfigResult> DescribeVoiceConfigOutcome;
typedef std::future<DescribeVoiceConfigOutcome> DescribeVoiceConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DescribeVoiceConfigRequest&, const DescribeVoiceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVoiceConfigAsyncHandler;
typedef Outcome<Error, Model::DialogueResult> DialogueOutcome;
typedef std::future<DialogueOutcome> DialogueOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DialogueRequest&, const DialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DialogueAsyncHandler;
typedef Outcome<Error, Model::DisableInstanceResult> DisableInstanceOutcome;
typedef std::future<DisableInstanceOutcome> DisableInstanceOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DisableInstanceRequest&, const DisableInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableInstanceAsyncHandler;
typedef Outcome<Error, Model::DisableSandBoxWhileListResult> DisableSandBoxWhileListOutcome;
typedef std::future<DisableSandBoxWhileListOutcome> DisableSandBoxWhileListOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::DisableSandBoxWhileListRequest&, const DisableSandBoxWhileListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableSandBoxWhileListAsyncHandler;
typedef Outcome<Error, Model::EnableInstanceResult> EnableInstanceOutcome;
typedef std::future<EnableInstanceOutcome> EnableInstanceOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::EnableInstanceRequest&, const EnableInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableInstanceAsyncHandler;
typedef Outcome<Error, Model::EnableSandBoxWhileListResult> EnableSandBoxWhileListOutcome;
typedef std::future<EnableSandBoxWhileListOutcome> EnableSandBoxWhileListOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::EnableSandBoxWhileListRequest&, const EnableSandBoxWhileListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableSandBoxWhileListAsyncHandler;
typedef Outcome<Error, Model::EndDialogueResult> EndDialogueOutcome;
typedef std::future<EndDialogueOutcome> EndDialogueOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::EndDialogueRequest&, const EndDialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndDialogueAsyncHandler;
@@ -219,12 +183,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ExportStatisticalDataResult> ExportStatisticalDataOutcome;
typedef std::future<ExportStatisticalDataOutcome> ExportStatisticalDataOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ExportStatisticalDataRequest&, const ExportStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportStatisticalDataAsyncHandler;
typedef Outcome<Error, Model::GetInstanceConfigResult> GetInstanceConfigOutcome;
typedef std::future<GetInstanceConfigOutcome> GetInstanceConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::GetInstanceConfigRequest&, const GetInstanceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceConfigAsyncHandler;
typedef Outcome<Error, Model::GetNewBargeInSwitchResult> GetNewBargeInSwitchOutcome;
typedef std::future<GetNewBargeInSwitchOutcome> GetNewBargeInSwitchOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::GetNewBargeInSwitchRequest&, const GetNewBargeInSwitchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNewBargeInSwitchAsyncHandler;
typedef Outcome<Error, Model::GenerateUploadUrlResult> GenerateUploadUrlOutcome;
typedef std::future<GenerateUploadUrlOutcome> GenerateUploadUrlOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::GenerateUploadUrlRequest&, const GenerateUploadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateUploadUrlAsyncHandler;
typedef Outcome<Error, Model::GetAsrConfigResult> GetAsrConfigOutcome;
typedef std::future<GetAsrConfigOutcome> GetAsrConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::GetAsrConfigRequest&, const GetAsrConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAsrConfigAsyncHandler;
typedef Outcome<Error, Model::ListChatbotInstancesResult> ListChatbotInstancesOutcome;
typedef std::future<ListChatbotInstancesOutcome> ListChatbotInstancesOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ListChatbotInstancesRequest&, const ListChatbotInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListChatbotInstancesAsyncHandler;
@@ -240,21 +204,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListInstancesResult> ListInstancesOutcome;
typedef std::future<ListInstancesOutcome> ListInstancesOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ListInstancesRequest&, const ListInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstancesAsyncHandler;
typedef Outcome<Error, Model::ListSandBoxWhileListResult> ListSandBoxWhileListOutcome;
typedef std::future<ListSandBoxWhileListOutcome> ListSandBoxWhileListOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ListSandBoxWhileListRequest&, const ListSandBoxWhileListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSandBoxWhileListAsyncHandler;
typedef Outcome<Error, Model::ModifyAsrVadConfigResult> ModifyAsrVadConfigOutcome;
typedef std::future<ModifyAsrVadConfigOutcome> ModifyAsrVadConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ModifyAsrVadConfigRequest&, const ModifyAsrVadConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAsrVadConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyAsrConfigResult> ModifyAsrConfigOutcome;
typedef std::future<ModifyAsrConfigOutcome> ModifyAsrConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ModifyAsrConfigRequest&, const ModifyAsrConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAsrConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyGreetingConfigResult> ModifyGreetingConfigOutcome;
typedef std::future<ModifyGreetingConfigOutcome> ModifyGreetingConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ModifyGreetingConfigRequest&, const ModifyGreetingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGreetingConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceResult> ModifyInstanceOutcome;
typedef std::future<ModifyInstanceOutcome> ModifyInstanceOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ModifyInstanceRequest&, const ModifyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifySandBoxWhileListResult> ModifySandBoxWhileListOutcome;
typedef std::future<ModifySandBoxWhileListOutcome> ModifySandBoxWhileListOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ModifySandBoxWhileListRequest&, const ModifySandBoxWhileListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySandBoxWhileListAsyncHandler;
typedef Outcome<Error, Model::ModifySilenceTimeoutConfigResult> ModifySilenceTimeoutConfigOutcome;
typedef std::future<ModifySilenceTimeoutConfigOutcome> ModifySilenceTimeoutConfigOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::ModifySilenceTimeoutConfigRequest&, const ModifySilenceTimeoutConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySilenceTimeoutConfigAsyncHandler;
@@ -273,9 +231,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SilenceTimeoutResult> SilenceTimeoutOutcome;
typedef std::future<SilenceTimeoutOutcome> SilenceTimeoutOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::SilenceTimeoutRequest&, const SilenceTimeoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SilenceTimeoutAsyncHandler;
typedef Outcome<Error, Model::UpdateNewBargeInSwitchResult> UpdateNewBargeInSwitchOutcome;
typedef std::future<UpdateNewBargeInSwitchOutcome> UpdateNewBargeInSwitchOutcomeCallable;
typedef std::function<void(const VoiceNavigatorClient*, const Model::UpdateNewBargeInSwitchRequest&, const UpdateNewBargeInSwitchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNewBargeInSwitchAsyncHandler;
VoiceNavigatorClient(const Credentials &credentials, const ClientConfiguration &configuration);
VoiceNavigatorClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -287,9 +242,6 @@ namespace AlibabaCloud
AuditTTSVoiceOutcome auditTTSVoice(const Model::AuditTTSVoiceRequest &request)const;
void auditTTSVoiceAsync(const Model::AuditTTSVoiceRequest& request, const AuditTTSVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AuditTTSVoiceOutcomeCallable auditTTSVoiceCallable(const Model::AuditTTSVoiceRequest& request) const;
BatchCreateSandBoxWhileListOutcome batchCreateSandBoxWhileList(const Model::BatchCreateSandBoxWhileListRequest &request)const;
void batchCreateSandBoxWhileListAsync(const Model::BatchCreateSandBoxWhileListRequest& request, const BatchCreateSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchCreateSandBoxWhileListOutcomeCallable batchCreateSandBoxWhileListCallable(const Model::BatchCreateSandBoxWhileListRequest& request) const;
BeginDialogueOutcome beginDialogue(const Model::BeginDialogueRequest &request)const;
void beginDialogueAsync(const Model::BeginDialogueRequest& request, const BeginDialogueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BeginDialogueOutcomeCallable beginDialogueCallable(const Model::BeginDialogueRequest& request) const;
@@ -314,12 +266,6 @@ namespace AlibabaCloud
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
DeleteSandBoxWhileListOutcome deleteSandBoxWhileList(const Model::DeleteSandBoxWhileListRequest &request)const;
void deleteSandBoxWhileListAsync(const Model::DeleteSandBoxWhileListRequest& request, const DeleteSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSandBoxWhileListOutcomeCallable deleteSandBoxWhileListCallable(const Model::DeleteSandBoxWhileListRequest& request) const;
DescribeAsrVadConfigOutcome describeAsrVadConfig(const Model::DescribeAsrVadConfigRequest &request)const;
void describeAsrVadConfigAsync(const Model::DescribeAsrVadConfigRequest& request, const DescribeAsrVadConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAsrVadConfigOutcomeCallable describeAsrVadConfigCallable(const Model::DescribeAsrVadConfigRequest& request) const;
DescribeConversationOutcome describeConversation(const Model::DescribeConversationRequest &request)const;
void describeConversationAsync(const Model::DescribeConversationRequest& request, const DescribeConversationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConversationOutcomeCallable describeConversationCallable(const Model::DescribeConversationRequest& request) const;
@@ -344,24 +290,15 @@ namespace AlibabaCloud
DescribeTTSConfigOutcome describeTTSConfig(const Model::DescribeTTSConfigRequest &request)const;
void describeTTSConfigAsync(const Model::DescribeTTSConfigRequest& request, const DescribeTTSConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTTSConfigOutcomeCallable describeTTSConfigCallable(const Model::DescribeTTSConfigRequest& request) const;
DescribeVoiceConfigOutcome describeVoiceConfig(const Model::DescribeVoiceConfigRequest &request)const;
void describeVoiceConfigAsync(const Model::DescribeVoiceConfigRequest& request, const DescribeVoiceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVoiceConfigOutcomeCallable describeVoiceConfigCallable(const Model::DescribeVoiceConfigRequest& request) const;
DialogueOutcome dialogue(const Model::DialogueRequest &request)const;
void dialogueAsync(const Model::DialogueRequest& request, const DialogueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DialogueOutcomeCallable dialogueCallable(const Model::DialogueRequest& request) const;
DisableInstanceOutcome disableInstance(const Model::DisableInstanceRequest &request)const;
void disableInstanceAsync(const Model::DisableInstanceRequest& request, const DisableInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableInstanceOutcomeCallable disableInstanceCallable(const Model::DisableInstanceRequest& request) const;
DisableSandBoxWhileListOutcome disableSandBoxWhileList(const Model::DisableSandBoxWhileListRequest &request)const;
void disableSandBoxWhileListAsync(const Model::DisableSandBoxWhileListRequest& request, const DisableSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableSandBoxWhileListOutcomeCallable disableSandBoxWhileListCallable(const Model::DisableSandBoxWhileListRequest& request) const;
EnableInstanceOutcome enableInstance(const Model::EnableInstanceRequest &request)const;
void enableInstanceAsync(const Model::EnableInstanceRequest& request, const EnableInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableInstanceOutcomeCallable enableInstanceCallable(const Model::EnableInstanceRequest& request) const;
EnableSandBoxWhileListOutcome enableSandBoxWhileList(const Model::EnableSandBoxWhileListRequest &request)const;
void enableSandBoxWhileListAsync(const Model::EnableSandBoxWhileListRequest& request, const EnableSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableSandBoxWhileListOutcomeCallable enableSandBoxWhileListCallable(const Model::EnableSandBoxWhileListRequest& request) const;
EndDialogueOutcome endDialogue(const Model::EndDialogueRequest &request)const;
void endDialogueAsync(const Model::EndDialogueRequest& request, const EndDialogueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EndDialogueOutcomeCallable endDialogueCallable(const Model::EndDialogueRequest& request) const;
@@ -371,12 +308,12 @@ namespace AlibabaCloud
ExportStatisticalDataOutcome exportStatisticalData(const Model::ExportStatisticalDataRequest &request)const;
void exportStatisticalDataAsync(const Model::ExportStatisticalDataRequest& request, const ExportStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExportStatisticalDataOutcomeCallable exportStatisticalDataCallable(const Model::ExportStatisticalDataRequest& request) const;
GetInstanceConfigOutcome getInstanceConfig(const Model::GetInstanceConfigRequest &request)const;
void getInstanceConfigAsync(const Model::GetInstanceConfigRequest& request, const GetInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInstanceConfigOutcomeCallable getInstanceConfigCallable(const Model::GetInstanceConfigRequest& request) const;
GetNewBargeInSwitchOutcome getNewBargeInSwitch(const Model::GetNewBargeInSwitchRequest &request)const;
void getNewBargeInSwitchAsync(const Model::GetNewBargeInSwitchRequest& request, const GetNewBargeInSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetNewBargeInSwitchOutcomeCallable getNewBargeInSwitchCallable(const Model::GetNewBargeInSwitchRequest& request) const;
GenerateUploadUrlOutcome generateUploadUrl(const Model::GenerateUploadUrlRequest &request)const;
void generateUploadUrlAsync(const Model::GenerateUploadUrlRequest& request, const GenerateUploadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateUploadUrlOutcomeCallable generateUploadUrlCallable(const Model::GenerateUploadUrlRequest& request) const;
GetAsrConfigOutcome getAsrConfig(const Model::GetAsrConfigRequest &request)const;
void getAsrConfigAsync(const Model::GetAsrConfigRequest& request, const GetAsrConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAsrConfigOutcomeCallable getAsrConfigCallable(const Model::GetAsrConfigRequest& request) const;
ListChatbotInstancesOutcome listChatbotInstances(const Model::ListChatbotInstancesRequest &request)const;
void listChatbotInstancesAsync(const Model::ListChatbotInstancesRequest& request, const ListChatbotInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListChatbotInstancesOutcomeCallable listChatbotInstancesCallable(const Model::ListChatbotInstancesRequest& request) const;
@@ -392,21 +329,15 @@ namespace AlibabaCloud
ListInstancesOutcome listInstances(const Model::ListInstancesRequest &request)const;
void listInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstancesOutcomeCallable listInstancesCallable(const Model::ListInstancesRequest& request) const;
ListSandBoxWhileListOutcome listSandBoxWhileList(const Model::ListSandBoxWhileListRequest &request)const;
void listSandBoxWhileListAsync(const Model::ListSandBoxWhileListRequest& request, const ListSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSandBoxWhileListOutcomeCallable listSandBoxWhileListCallable(const Model::ListSandBoxWhileListRequest& request) const;
ModifyAsrVadConfigOutcome modifyAsrVadConfig(const Model::ModifyAsrVadConfigRequest &request)const;
void modifyAsrVadConfigAsync(const Model::ModifyAsrVadConfigRequest& request, const ModifyAsrVadConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAsrVadConfigOutcomeCallable modifyAsrVadConfigCallable(const Model::ModifyAsrVadConfigRequest& request) const;
ModifyAsrConfigOutcome modifyAsrConfig(const Model::ModifyAsrConfigRequest &request)const;
void modifyAsrConfigAsync(const Model::ModifyAsrConfigRequest& request, const ModifyAsrConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAsrConfigOutcomeCallable modifyAsrConfigCallable(const Model::ModifyAsrConfigRequest& request) const;
ModifyGreetingConfigOutcome modifyGreetingConfig(const Model::ModifyGreetingConfigRequest &request)const;
void modifyGreetingConfigAsync(const Model::ModifyGreetingConfigRequest& request, const ModifyGreetingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyGreetingConfigOutcomeCallable modifyGreetingConfigCallable(const Model::ModifyGreetingConfigRequest& request) const;
ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const;
void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const;
ModifySandBoxWhileListOutcome modifySandBoxWhileList(const Model::ModifySandBoxWhileListRequest &request)const;
void modifySandBoxWhileListAsync(const Model::ModifySandBoxWhileListRequest& request, const ModifySandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySandBoxWhileListOutcomeCallable modifySandBoxWhileListCallable(const Model::ModifySandBoxWhileListRequest& request) const;
ModifySilenceTimeoutConfigOutcome modifySilenceTimeoutConfig(const Model::ModifySilenceTimeoutConfigRequest &request)const;
void modifySilenceTimeoutConfigAsync(const Model::ModifySilenceTimeoutConfigRequest& request, const ModifySilenceTimeoutConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySilenceTimeoutConfigOutcomeCallable modifySilenceTimeoutConfigCallable(const Model::ModifySilenceTimeoutConfigRequest& request) const;
@@ -425,9 +356,6 @@ namespace AlibabaCloud
SilenceTimeoutOutcome silenceTimeout(const Model::SilenceTimeoutRequest &request)const;
void silenceTimeoutAsync(const Model::SilenceTimeoutRequest& request, const SilenceTimeoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SilenceTimeoutOutcomeCallable silenceTimeoutCallable(const Model::SilenceTimeoutRequest& request) const;
UpdateNewBargeInSwitchOutcome updateNewBargeInSwitch(const Model::UpdateNewBargeInSwitchRequest &request)const;
void updateNewBargeInSwitchAsync(const Model::UpdateNewBargeInSwitchRequest& request, const UpdateNewBargeInSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateNewBargeInSwitchOutcomeCallable updateNewBargeInSwitchCallable(const Model::UpdateNewBargeInSwitchRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ASSOCIATECHATBOTINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ASSOCIATECHATBOTINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT AssociateChatbotInstanceRequest : public RpcServiceRequest
{
public:
AssociateChatbotInstanceRequest();
~AssociateChatbotInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getChatbotInstanceId()const;
void setChatbotInstanceId(const std::string& chatbotInstanceId);
std::string getChatbotName()const;
void setChatbotName(const std::string& chatbotName);
private:
std::string instanceId_;
std::string chatbotInstanceId_;
std::string chatbotName_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ASSOCIATECHATBOTINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ASSOCIATECHATBOTINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ASSOCIATECHATBOTINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT AssociateChatbotInstanceRequest : public RpcServiceRequest {
public:
AssociateChatbotInstanceRequest();
~AssociateChatbotInstanceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getChatbotInstanceId() const;
void setChatbotInstanceId(const std::string &chatbotInstanceId);
std::string getChatbotName() const;
void setChatbotName(const std::string &chatbotName);
private:
std::string instanceId_;
std::string chatbotInstanceId_;
std::string chatbotName_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ASSOCIATECHATBOTINSTANCEREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUDITTTSVOICEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUDITTTSVOICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT AuditTTSVoiceRequest : public RpcServiceRequest
{
public:
AuditTTSVoiceRequest();
~AuditTTSVoiceRequest();
std::string getVoice()const;
void setVoice(const std::string& voice);
std::string getVolume()const;
void setVolume(const std::string& volume);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getText()const;
void setText(const std::string& text);
std::string getSpeechRate()const;
void setSpeechRate(const std::string& speechRate);
private:
std::string voice_;
std::string volume_;
std::string instanceId_;
std::string text_;
std::string speechRate_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUDITTTSVOICEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUDITTTSVOICEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUDITTTSVOICEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT AuditTTSVoiceRequest : public RpcServiceRequest {
public:
AuditTTSVoiceRequest();
~AuditTTSVoiceRequest();
std::string getVoice() const;
void setVoice(const std::string &voice);
std::string getVolume() const;
void setVolume(const std::string &volume);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getText() const;
void setText(const std::string &text);
std::string getSpeechRate() const;
void setSpeechRate(const std::string &speechRate);
private:
std::string voice_;
std::string volume_;
std::string instanceId_;
std::string text_;
std::string speechRate_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_AUDITTTSVOICEREQUEST_H_

View File

@@ -1,64 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHCREATESANDBOXWHILELISTRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHCREATESANDBOXWHILELISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BatchCreateSandBoxWhileListResult : public ServiceResult
{
public:
struct WhiteListItem
{
int isEnable;
long gmtCreate;
std::string uuid;
std::string description;
std::string instanceId;
long gmtModified;
std::string phoneNumber;
std::string name;
};
BatchCreateSandBoxWhileListResult();
explicit BatchCreateSandBoxWhileListResult(const std::string &payload);
~BatchCreateSandBoxWhileListResult();
std::vector<WhiteListItem> getWhiteList()const;
bool getRepeat()const;
protected:
void parse(const std::string &payload);
private:
std::vector<WhiteListItem> whiteList_;
bool repeat_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHCREATESANDBOXWHILELISTRESULT_H_

View File

@@ -1,63 +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_VOICENAVIGATOR_MODEL_BEGINDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BEGINDIALOGUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BeginDialogueRequest : public RpcServiceRequest
{
public:
BeginDialogueRequest();
~BeginDialogueRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInitialContext()const;
void setInitialContext(const std::string& initialContext);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string initialContext_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BEGINDIALOGUEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BEGINDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BEGINDIALOGUEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BeginDialogueRequest : public RpcServiceRequest {
public:
BeginDialogueRequest();
~BeginDialogueRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInitialContext() const;
void setInitialContext(const std::string &initialContext);
std::string getCallingNumber() const;
void setCallingNumber(const std::string &callingNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getCalledNumber() const;
void setCalledNumber(const std::string &calledNumber);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string initialContext_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
long instanceOwnerId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BEGINDIALOGUEREQUEST_H_

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_COLLECTEDNUMBERREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_COLLECTEDNUMBERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CollectedNumberRequest : public RpcServiceRequest
{
public:
CollectedNumberRequest();
~CollectedNumberRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getNumber()const;
void setNumber(const std::string& number);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string number_;
std::string instanceId_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_COLLECTEDNUMBERREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_COLLECTEDNUMBERREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_COLLECTEDNUMBERREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CollectedNumberRequest : public RpcServiceRequest {
public:
CollectedNumberRequest();
~CollectedNumberRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getNumber() const;
void setNumber(const std::string &number);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string number_;
std::string instanceId_;
long instanceOwnerId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_COLLECTEDNUMBERREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateDownloadUrlRequest : public RpcServiceRequest
{
public:
CreateDownloadUrlRequest();
~CreateDownloadUrlRequest();
std::string getDownloadTaskId()const;
void setDownloadTaskId(const std::string& downloadTaskId);
std::string getFileId()const;
void setFileId(const std::string& fileId);
private:
std::string downloadTaskId_;
std::string fileId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEDOWNLOADURLREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEDOWNLOADURLREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateDownloadUrlRequest : public RpcServiceRequest {
public:
CreateDownloadUrlRequest();
~CreateDownloadUrlRequest();
std::string getDownloadTaskId() const;
void setDownloadTaskId(const std::string &downloadTaskId);
std::string getFileId() const;
void setFileId(const std::string &fileId);
private:
std::string downloadTaskId_;
std::string fileId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEDOWNLOADURLREQUEST_H_

View File

@@ -1,63 +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_VOICENAVIGATOR_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateInstanceRequest : public RpcServiceRequest
{
public:
CreateInstanceRequest();
~CreateInstanceRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
long getConcurrency()const;
void setConcurrency(long concurrency);
std::string getChatbotInstanceId()const;
void setChatbotInstanceId(const std::string& chatbotInstanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getNluServiceType()const;
void setNluServiceType(const std::string& nluServiceType);
std::string getChatbotName()const;
void setChatbotName(const std::string& chatbotName);
private:
std::string description_;
long concurrency_;
std::string chatbotInstanceId_;
std::string name_;
std::string nluServiceType_;
std::string chatbotName_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT CreateInstanceRequest : public RpcServiceRequest {
public:
CreateInstanceRequest();
~CreateInstanceRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
long getConcurrency() const;
void setConcurrency(long concurrency);
std::string getChatbotInstanceId() const;
void setChatbotInstanceId(const std::string &chatbotInstanceId);
std::string getName() const;
void setName(const std::string &name);
std::string getNluServiceType() const;
void setNluServiceType(const std::string &nluServiceType);
std::string getChatbotName() const;
void setChatbotName(const std::string &chatbotName);
private:
std::string description_;
long concurrency_;
std::string chatbotInstanceId_;
std::string name_;
std::string nluServiceType_;
std::string chatbotName_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_CREATEINSTANCEREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGBEGINDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGBEGINDIALOGUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugBeginDialogueRequest : public RpcServiceRequest
{
public:
DebugBeginDialogueRequest();
~DebugBeginDialogueRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInitialContext()const;
void setInitialContext(const std::string& initialContext);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
private:
std::string conversationId_;
std::string initialContext_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGBEGINDIALOGUEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGBEGINDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGBEGINDIALOGUEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugBeginDialogueRequest : public RpcServiceRequest {
public:
DebugBeginDialogueRequest();
~DebugBeginDialogueRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInitialContext() const;
void setInitialContext(const std::string &initialContext);
std::string getCallingNumber() const;
void setCallingNumber(const std::string &callingNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getCalledNumber() const;
void setCalledNumber(const std::string &calledNumber);
private:
std::string conversationId_;
std::string initialContext_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGBEGINDIALOGUEREQUEST_H_

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGCOLLECTEDNUMBERREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGCOLLECTEDNUMBERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugCollectedNumberRequest : public RpcServiceRequest
{
public:
DebugCollectedNumberRequest();
~DebugCollectedNumberRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getNumber()const;
void setNumber(const std::string& number);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string conversationId_;
std::string number_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGCOLLECTEDNUMBERREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGCOLLECTEDNUMBERREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGCOLLECTEDNUMBERREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugCollectedNumberRequest : public RpcServiceRequest {
public:
DebugCollectedNumberRequest();
~DebugCollectedNumberRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getNumber() const;
void setNumber(const std::string &number);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string conversationId_;
std::string number_;
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGCOLLECTEDNUMBERREQUEST_H_

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DebugCollectedNumberResult();
explicit DebugCollectedNumberResult(const std::string &payload);
~DebugCollectedNumberResult();
bool getInterruptible()const;
std::string getAction()const;
bool getInterruptible()const;
std::string getActionParams()const;
std::string getTextResponse()const;
protected:
void parse(const std::string &payload);
private:
bool interruptible_;
std::string action_;
bool interruptible_;
std::string actionParams_;
std::string textResponse_;

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_DEBUGDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGDIALOGUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugDialogueRequest : public RpcServiceRequest
{
public:
DebugDialogueRequest();
~DebugDialogueRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAdditionalContext()const;
void setAdditionalContext(const std::string& additionalContext);
std::string getUtterance()const;
void setUtterance(const std::string& utterance);
private:
std::string conversationId_;
std::string instanceId_;
std::string additionalContext_;
std::string utterance_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGDIALOGUEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGDIALOGUEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DebugDialogueRequest : public RpcServiceRequest {
public:
DebugDialogueRequest();
~DebugDialogueRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getAdditionalContext() const;
void setAdditionalContext(const std::string &additionalContext);
std::string getUtterance() const;
void setUtterance(const std::string &utterance);
private:
std::string conversationId_;
std::string instanceId_;
std::string additionalContext_;
std::string utterance_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DEBUGDIALOGUEREQUEST_H_

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DebugDialogueResult();
explicit DebugDialogueResult(const std::string &payload);
~DebugDialogueResult();
bool getInterruptible()const;
std::string getAction()const;
bool getInterruptible()const;
std::string getActionParams()const;
std::string getTextResponse()const;
protected:
void parse(const std::string &payload);
private:
bool interruptible_;
std::string action_;
bool interruptible_;
std::string actionParams_;
std::string textResponse_;

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteInstanceRequest : public RpcServiceRequest
{
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETEINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteInstanceRequest : public RpcServiceRequest {
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETEINSTANCEREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETESANDBOXWHILELISTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETESANDBOXWHILELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteSandBoxWhileListRequest : public RpcServiceRequest
{
public:
DeleteSandBoxWhileListRequest();
~DeleteSandBoxWhileListRequest();
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string phoneNumber_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETESANDBOXWHILELISTREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONCONTEXTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONCONTEXTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeConversationContextRequest : public RpcServiceRequest
{
public:
DescribeConversationContextRequest();
~DescribeConversationContextRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONCONTEXTREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONCONTEXTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONCONTEXTREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeConversationContextRequest : public RpcServiceRequest {
public:
DescribeConversationContextRequest();
~DescribeConversationContextRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONCONTEXTREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeConversationRequest : public RpcServiceRequest
{
public:
DescribeConversationRequest();
~DescribeConversationRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeConversationRequest : public RpcServiceRequest {
public:
DescribeConversationRequest();
~DescribeConversationRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBECONVERSATIONREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEEXPORTPROGRESSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEEXPORTPROGRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeExportProgressRequest : public RpcServiceRequest
{
public:
DescribeExportProgressRequest();
~DescribeExportProgressRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getExportTaskId()const;
void setExportTaskId(const std::string& exportTaskId);
private:
std::string instanceId_;
std::string exportTaskId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEEXPORTPROGRESSREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEEXPORTPROGRESSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEEXPORTPROGRESSREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeExportProgressRequest : public RpcServiceRequest {
public:
DescribeExportProgressRequest();
~DescribeExportProgressRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getExportTaskId() const;
void setExportTaskId(const std::string &exportTaskId);
private:
std::string instanceId_;
std::string exportTaskId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEEXPORTPROGRESSREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeInstanceRequest : public RpcServiceRequest
{
public:
DescribeInstanceRequest();
~DescribeInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeInstanceRequest : public RpcServiceRequest {
public:
DescribeInstanceRequest();
~DescribeInstanceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEINSTANCEREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBENAVIGATIONCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBENAVIGATIONCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeNavigationConfigRequest : public RpcServiceRequest
{
public:
DescribeNavigationConfigRequest();
~DescribeNavigationConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBENAVIGATIONCONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBENAVIGATIONCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBENAVIGATIONCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeNavigationConfigRequest : public RpcServiceRequest {
public:
DescribeNavigationConfigRequest();
~DescribeNavigationConfigRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBENAVIGATIONCONFIGREQUEST_H_

View File

@@ -32,6 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeNavigationConfigResult : public ServiceResult
{
public:
struct RepeatingConfig
{
std::vector<std::string> utterances;
};
struct AskingBackConfig
{
std::vector<std::string> negativeFeedbackUtterances;
bool enableNegativeFeedback;
std::string negativeFeedbackAction;
bool enabled;
std::string negativeFeedbackActionParams;
std::string prompt;
std::string negativeFeedbackPrompt;
};
struct SilenceTimeoutConfig
{
std::string finalActionParams;
std::string intentTrigger;
long timeout;
std::string sourceType;
std::string prompt;
std::string finalPrompt;
std::string finalAction;
int threshold;
};
struct GreetingConfig
{
std::string greetingWords;
@@ -46,20 +71,6 @@ namespace AlibabaCloud
std::string finalAction;
int threshold;
};
struct RepeatingConfig
{
std::vector<std::string> utterances;
};
struct AskingBackConfig
{
std::vector<std::string> negativeFeedbackUtterances;
bool enableNegativeFeedback;
bool enabled;
std::string negativeFeedbackAction;
std::string prompt;
std::string negativeFeedbackActionParams;
std::string negativeFeedbackPrompt;
};
struct ComplainingConfig
{
std::string finalActionParams;
@@ -67,17 +78,6 @@ namespace AlibabaCloud
std::string prompt;
std::string finalAction;
};
struct SilenceTimeoutConfig
{
std::string finalActionParams;
std::string intentTrigger;
long timeout;
std::string sourceType;
std::string prompt;
std::string finalPrompt;
std::string finalAction;
int threshold;
};
DescribeNavigationConfigResult();

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBERECORDINGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBERECORDINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeRecordingRequest : public RpcServiceRequest
{
public:
DescribeRecordingRequest();
~DescribeRecordingRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBERECORDINGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBERECORDINGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBERECORDINGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeRecordingRequest : public RpcServiceRequest {
public:
DescribeRecordingRequest();
~DescribeRecordingRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBERECORDINGREQUEST_H_

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_DESCRIBESTATISTICALDATAREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBESTATISTICALDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeStatisticalDataRequest : public RpcServiceRequest
{
public:
DescribeStatisticalDataRequest();
~DescribeStatisticalDataRequest();
long getBeginTimeLeftRange()const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getTimeUnit()const;
void setTimeUnit(const std::string& timeUnit);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getBeginTimeRightRange()const;
void setBeginTimeRightRange(long beginTimeRightRange);
private:
long beginTimeLeftRange_;
std::string timeUnit_;
std::string instanceId_;
long beginTimeRightRange_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBESTATISTICALDATAREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBESTATISTICALDATAREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBESTATISTICALDATAREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeStatisticalDataRequest : public RpcServiceRequest {
public:
DescribeStatisticalDataRequest();
~DescribeStatisticalDataRequest();
long getBeginTimeLeftRange() const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getTimeUnit() const;
void setTimeUnit(const std::string &timeUnit);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getBeginTimeRightRange() const;
void setBeginTimeRightRange(long beginTimeRightRange);
private:
long beginTimeLeftRange_;
std::string timeUnit_;
std::string instanceId_;
long beginTimeRightRange_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBESTATISTICALDATAREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBETTSCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBETTSCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeTTSConfigRequest : public RpcServiceRequest
{
public:
DescribeTTSConfigRequest();
~DescribeTTSConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string instanceId_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBETTSCONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBETTSCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBETTSCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeTTSConfigRequest : public RpcServiceRequest {
public:
DescribeTTSConfigRequest();
~DescribeTTSConfigRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string instanceId_;
long instanceOwnerId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBETTSCONFIGREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEVOICECONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEVOICECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeVoiceConfigRequest : public RpcServiceRequest
{
public:
DescribeVoiceConfigRequest();
~DescribeVoiceConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string instanceId_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEVOICECONFIGREQUEST_H_

View File

@@ -1,71 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEVOICECONFIGRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEVOICECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DescribeVoiceConfigResult : public ServiceResult
{
public:
struct Ip
{
std::string ip;
};
DescribeVoiceConfigResult();
explicit DescribeVoiceConfigResult(const std::string &payload);
~DescribeVoiceConfigResult();
std::string getAsrVocabularyId()const;
std::string getAsrCustomizationId()const;
int getVolume()const;
std::vector<Ip> getApesIpList()const;
std::string getAsrAcousticModelId()const;
std::string getVoice()const;
std::string getAsrClassVocabularyId()const;
int getSpeechRate()const;
std::string getSpeechNoiseThreshold()const;
protected:
void parse(const std::string &payload);
private:
std::string asrVocabularyId_;
std::string asrCustomizationId_;
int volume_;
std::vector<Ip> apesIpList_;
std::string asrAcousticModelId_;
std::string voice_;
std::string asrClassVocabularyId_;
int speechRate_;
std::string speechNoiseThreshold_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DESCRIBEVOICECONFIGRESULT_H_

View File

@@ -1,66 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DIALOGUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DialogueRequest : public RpcServiceRequest
{
public:
DialogueRequest();
~DialogueRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getAdditionalContext()const;
void setAdditionalContext(const std::string& additionalContext);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
std::string getUtterance()const;
void setUtterance(const std::string& utterance);
private:
std::string conversationId_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
std::string additionalContext_;
long instanceOwnerId_;
std::string utterance_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DIALOGUEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DIALOGUEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DialogueRequest : public RpcServiceRequest {
public:
DialogueRequest();
~DialogueRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getCallingNumber() const;
void setCallingNumber(const std::string &callingNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getCalledNumber() const;
void setCalledNumber(const std::string &calledNumber);
std::string getAdditionalContext() const;
void setAdditionalContext(const std::string &additionalContext);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
std::string getUtterance() const;
void setUtterance(const std::string &utterance);
private:
std::string conversationId_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
std::string additionalContext_;
long instanceOwnerId_;
std::string utterance_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DIALOGUEREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DisableInstanceRequest : public RpcServiceRequest
{
public:
DisableInstanceRequest();
~DisableInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLEINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DisableInstanceRequest : public RpcServiceRequest {
public:
DisableInstanceRequest();
~DisableInstanceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLEINSTANCEREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLESANDBOXWHILELISTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLESANDBOXWHILELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DisableSandBoxWhileListRequest : public RpcServiceRequest
{
public:
DisableSandBoxWhileListRequest();
~DisableSandBoxWhileListRequest();
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string phoneNumber_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DISABLESANDBOXWHILELISTREQUEST_H_

View File

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

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT EnableInstanceRequest : public RpcServiceRequest
{
public:
EnableInstanceRequest();
~EnableInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLEINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLEINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT EnableInstanceRequest : public RpcServiceRequest {
public:
EnableInstanceRequest();
~EnableInstanceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLEINSTANCEREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLESANDBOXWHILELISTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLESANDBOXWHILELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT EnableSandBoxWhileListRequest : public RpcServiceRequest
{
public:
EnableSandBoxWhileListRequest();
~EnableSandBoxWhileListRequest();
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string phoneNumber_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENABLESANDBOXWHILELISTREQUEST_H_

View File

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

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_ENDDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENDDIALOGUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT EndDialogueRequest : public RpcServiceRequest
{
public:
EndDialogueRequest();
~EndDialogueRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getHangUpParams()const;
void setHangUpParams(const std::string& hangUpParams);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string hangUpParams_;
std::string instanceId_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENDDIALOGUEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENDDIALOGUEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENDDIALOGUEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT EndDialogueRequest : public RpcServiceRequest {
public:
EndDialogueRequest();
~EndDialogueRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getHangUpParams() const;
void setHangUpParams(const std::string &hangUpParams);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string hangUpParams_;
std::string instanceId_;
long instanceOwnerId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_ENDDIALOGUEREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTCONVERSATIONDETAILSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTCONVERSATIONDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ExportConversationDetailsRequest : public RpcServiceRequest
{
public:
ExportConversationDetailsRequest();
~ExportConversationDetailsRequest();
long getBeginTimeLeftRange()const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getBeginTimeRightRange()const;
void setBeginTimeRightRange(long beginTimeRightRange);
std::vector<std::string> getOptions()const;
void setOptions(const std::vector<std::string>& options);
private:
long beginTimeLeftRange_;
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
std::vector<std::string> options_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTCONVERSATIONDETAILSREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTCONVERSATIONDETAILSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTCONVERSATIONDETAILSREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ExportConversationDetailsRequest : public RpcServiceRequest {
public:
ExportConversationDetailsRequest();
~ExportConversationDetailsRequest();
long getBeginTimeLeftRange() const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getCallingNumber() const;
void setCallingNumber(const std::string &callingNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getBeginTimeRightRange() const;
void setBeginTimeRightRange(long beginTimeRightRange);
std::vector<std::string> getOptions() const;
void setOptions(const std::vector<std::string> &options);
private:
long beginTimeLeftRange_;
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
std::vector<std::string> options_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTCONVERSATIONDETAILSREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTSTATISTICALDATAREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTSTATISTICALDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ExportStatisticalDataRequest : public RpcServiceRequest
{
public:
ExportStatisticalDataRequest();
~ExportStatisticalDataRequest();
long getBeginTimeLeftRange()const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getExportType()const;
void setExportType(const std::string& exportType);
std::string getTimeUnit()const;
void setTimeUnit(const std::string& timeUnit);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getBeginTimeRightRange()const;
void setBeginTimeRightRange(long beginTimeRightRange);
private:
long beginTimeLeftRange_;
std::string exportType_;
std::string timeUnit_;
std::string instanceId_;
long beginTimeRightRange_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTSTATISTICALDATAREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTSTATISTICALDATAREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTSTATISTICALDATAREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ExportStatisticalDataRequest : public RpcServiceRequest {
public:
ExportStatisticalDataRequest();
~ExportStatisticalDataRequest();
long getBeginTimeLeftRange() const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getExportType() const;
void setExportType(const std::string &exportType);
std::string getTimeUnit() const;
void setTimeUnit(const std::string &timeUnit);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getBeginTimeRightRange() const;
void setBeginTimeRightRange(long beginTimeRightRange);
private:
long beginTimeLeftRange_;
std::string exportType_;
std::string timeUnit_;
std::string instanceId_;
long beginTimeRightRange_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_EXPORTSTATISTICALDATAREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_GENERATEUPLOADURLREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_GENERATEUPLOADURLREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT GenerateUploadUrlRequest : public RpcServiceRequest {
public:
GenerateUploadUrlRequest();
~GenerateUploadUrlRequest();
long getCallerParentId() const;
void setCallerParentId(long callerParentId);
bool getSecurityTransport() const;
void setSecurityTransport(bool securityTransport);
bool getProxyOriginalSecurityTransport() const;
void setProxyOriginalSecurityTransport(bool proxyOriginalSecurityTransport);
long getUserId() const;
void setUserId(long userId);
std::string getCallerType() const;
void setCallerType(const std::string &callerType);
std::string getCallerIp() const;
void setCallerIp(const std::string &callerIp);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
void setSecurityToken(const std::string &securityToken);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
std::string getClientIp() const;
void setClientIp(const std::string &clientIp);
long getTenantId() const;
void setTenantId(long tenantId);
std::string getProxyOriginalSourceIp() const;
void setProxyOriginalSourceIp(const std::string &proxyOriginalSourceIp);
std::string getKey() const;
void setKey(const std::string &key);
long getCallerUid() const;
void setCallerUid(long callerUid);
std::string getCallerBid() const;
void setCallerBid(const std::string &callerBid);
long getXspaceTenantBuId() const;
void setXspaceTenantBuId(long xspaceTenantBuId);
bool getMfaPresent() const;
void setMfaPresent(bool mfaPresent);
int getEnvironment() const;
void setEnvironment(int environment);
std::string getFileName() const;
void setFileName(const std::string &fileName);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getRequestId() const;
void setRequestId(const std::string &requestId);
long getXspaceServicerId() const;
void setXspaceServicerId(long xspaceServicerId);
std::string getTenantName() const;
void setTenantName(const std::string &tenantName);
bool getProxyTrustTransportInfo() const;
void setProxyTrustTransportInfo(bool proxyTrustTransportInfo);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
long callerParentId_;
bool securityTransport_;
bool proxyOriginalSecurityTransport_;
long userId_;
std::string callerType_;
std::string callerIp_;
std::string accessKeyId_;
std::string securityToken_;
long instanceOwnerId_;
std::string clientIp_;
long tenantId_;
std::string proxyOriginalSourceIp_;
std::string key_;
long callerUid_;
std::string callerBid_;
long xspaceTenantBuId_;
bool mfaPresent_;
int environment_;
std::string fileName_;
std::string instanceId_;
std::string requestId_;
long xspaceServicerId_;
std::string tenantName_;
bool proxyTrustTransportInfo_;
std::string userName_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_GENERATEUPLOADURLREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_UPDATENEWBARGEINSWITCHRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_UPDATENEWBARGEINSWITCHRESULT_H_
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_GENERATEUPLOADURLRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_GENERATEUPLOADURLRESULT_H_
#include <string>
#include <vector>
@@ -29,24 +29,37 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT UpdateNewBargeInSwitchResult : public ServiceResult
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT GenerateUploadUrlResult : public ServiceResult
{
public:
struct Data
{
std::string policy;
int expire;
std::string message;
std::string accessId;
std::string signature;
std::string host;
std::string folder;
bool success;
};
UpdateNewBargeInSwitchResult();
explicit UpdateNewBargeInSwitchResult(const std::string &payload);
~UpdateNewBargeInSwitchResult();
GenerateUploadUrlResult();
explicit GenerateUploadUrlResult(const std::string &payload);
~GenerateUploadUrlResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getErrorMsg()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string errorMsg_;
Data data_;
std::string code_;
bool success_;
@@ -54,4 +67,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_UPDATENEWBARGEINSWITCHRESULT_H_
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_GENERATEUPLOADURLRESULT_H_

View File

@@ -1,48 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHCREATESANDBOXWHILELISTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHCREATESANDBOXWHILELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT BatchCreateSandBoxWhileListRequest : public RpcServiceRequest
{
public:
BatchCreateSandBoxWhileListRequest();
~BatchCreateSandBoxWhileListRequest();
std::string getWhiteListJson()const;
void setWhiteListJson(const std::string& whiteListJson);
private:
std::string whiteListJson_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_BATCHCREATESANDBOXWHILELISTREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETASRCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETASRCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT GetAsrConfigRequest : public RpcServiceRequest {
public:
GetAsrConfigRequest();
~GetAsrConfigRequest();
std::string getEntryId() const;
void setEntryId(const std::string &entryId);
int getConfigLevel() const;
void setConfigLevel(int configLevel);
private:
std::string entryId_;
int configLevel_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETASRCONFIGREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETINSTANCECONFIGRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETINSTANCECONFIGRESULT_H_
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETASRCONFIGRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETASRCONFIGRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT GetInstanceConfigResult : public ServiceResult
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT GetAsrConfigResult : public ServiceResult
{
public:
struct Data
{
struct InstanceConfig
{
bool newBargeInSystemSwitch;
bool miniPlaybackSystemSwitch;
};
InstanceConfig instanceConfig;
std::string asrVocabularyId;
std::string asrCustomizationId;
std::string asrAcousticModelId;
std::string asrClassVocabularyId;
};
GetInstanceConfigResult();
explicit GetInstanceConfigResult(const std::string &payload);
~GetInstanceConfigResult();
GetAsrConfigResult();
explicit GetAsrConfigResult(const std::string &payload);
~GetAsrConfigResult();
int getHttpStatusCode()const;
std::string getErrorMsg()const;
Data getData()const;
@@ -65,4 +63,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETINSTANCECONFIGRESULT_H_
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETASRCONFIGRESULT_H_

View File

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

View File

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

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCHATBOTINSTANCESREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCHATBOTINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListChatbotInstancesRequest : public RpcServiceRequest
{
public:
ListChatbotInstancesRequest();
~ListChatbotInstancesRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string instanceId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCHATBOTINSTANCESREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCHATBOTINSTANCESREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCHATBOTINSTANCESREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListChatbotInstancesRequest : public RpcServiceRequest {
public:
ListChatbotInstancesRequest();
~ListChatbotInstancesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string instanceId_;
int pageSize_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCHATBOTINSTANCESREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
std::string languageCode;
std::string timeZone;
std::string instanceId;
std::string introduction;
std::string instanceId;
std::string createTime;
std::string avatar;
std::string name;

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONDETAILSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListConversationDetailsRequest : public RpcServiceRequest
{
public:
ListConversationDetailsRequest();
~ListConversationDetailsRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONDETAILSREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONDETAILSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONDETAILSREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListConversationDetailsRequest : public RpcServiceRequest {
public:
ListConversationDetailsRequest();
~ListConversationDetailsRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string conversationId_;
std::string instanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONDETAILSREQUEST_H_

View File

@@ -1,72 +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_VOICENAVIGATOR_MODEL_LISTCONVERSATIONSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListConversationsRequest : public RpcServiceRequest
{
public:
ListConversationsRequest();
~ListConversationsRequest();
long getBeginTimeLeftRange()const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getQuery()const;
void setQuery(const std::string& query);
int getPageNumber()const;
void setPageNumber(int pageNumber);
long getResult()const;
void setResult(long result);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getBeginTimeRightRange()const;
void setBeginTimeRightRange(long beginTimeRightRange);
std::string getIsSandBox()const;
void setIsSandBox(const std::string& isSandBox);
int getPageSize()const;
void setPageSize(int pageSize);
private:
long beginTimeLeftRange_;
std::string query_;
int pageNumber_;
long result_;
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
std::string isSandBox_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONSREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONSREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListConversationsRequest : public RpcServiceRequest {
public:
ListConversationsRequest();
~ListConversationsRequest();
long getBeginTimeLeftRange() const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
std::string getQuery() const;
void setQuery(const std::string &query);
int getPageNumber() const;
void setPageNumber(int pageNumber);
long getResult() const;
void setResult(long result);
std::string getCallingNumber() const;
void setCallingNumber(const std::string &callingNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getBeginTimeRightRange() const;
void setBeginTimeRightRange(long beginTimeRightRange);
std::string getIsSandBox() const;
void setIsSandBox(const std::string &isSandBox);
int getPageSize() const;
void setPageSize(int pageSize);
private:
long beginTimeLeftRange_;
std::string query_;
int pageNumber_;
long result_;
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
std::string isSandBox_;
int pageSize_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTCONVERSATIONSREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTDOWNLOADTASKSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTDOWNLOADTASKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListDownloadTasksRequest : public RpcServiceRequest
{
public:
ListDownloadTasksRequest();
~ListDownloadTasksRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTDOWNLOADTASKSREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTDOWNLOADTASKSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTDOWNLOADTASKSREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListDownloadTasksRequest : public RpcServiceRequest {
public:
ListDownloadTasksRequest();
~ListDownloadTasksRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTDOWNLOADTASKSREQUEST_H_

View File

@@ -1,51 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTINSTANCESREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListInstancesRequest : public RpcServiceRequest
{
public:
ListInstancesRequest();
~ListInstancesRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTINSTANCESREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTINSTANCESREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTINSTANCESREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListInstancesRequest : public RpcServiceRequest {
public:
ListInstancesRequest();
~ListInstancesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getNluServiceTypeListJsonString() const;
void setNluServiceTypeListJsonString(const std::string &nluServiceTypeListJsonString);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string nluServiceTypeListJsonString_;
int pageSize_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTINSTANCESREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTSANDBOXWHILELISTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTSANDBOXWHILELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListSandBoxWhileListRequest : public RpcServiceRequest
{
public:
ListSandBoxWhileListRequest();
~ListSandBoxWhileListRequest();
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string phoneNumber_;
int pageNumber_;
std::string instanceId_;
std::string name_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTSANDBOXWHILELISTREQUEST_H_

View File

@@ -1,68 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTSANDBOXWHILELISTRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTSANDBOXWHILELISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ListSandBoxWhileListResult : public ServiceResult
{
public:
struct WhiteListItem
{
int isEnable;
long gmtCreate;
std::string uuid;
std::string description;
std::string instanceId;
long gmtModified;
std::string phoneNumber;
std::string name;
};
ListSandBoxWhileListResult();
explicit ListSandBoxWhileListResult(const std::string &payload);
~ListSandBoxWhileListResult();
long getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<WhiteListItem> getWhiteList()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
int pageSize_;
int pageNumber_;
std::vector<WhiteListItem> whiteList_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_LISTSANDBOXWHILELISTRESULT_H_

View File

@@ -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_VOICENAVIGATOR_MODEL_MODIFYASRCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyAsrConfigRequest : public RpcServiceRequest {
public:
ModifyAsrConfigRequest();
~ModifyAsrConfigRequest();
std::string getAsrVocabularyId() const;
void setAsrVocabularyId(const std::string &asrVocabularyId);
std::string getAsrClassVocabularyId() const;
void setAsrClassVocabularyId(const std::string &asrClassVocabularyId);
std::string getEntryId() const;
void setEntryId(const std::string &entryId);
std::string getAsrCustomizationId() const;
void setAsrCustomizationId(const std::string &asrCustomizationId);
int getConfigLevel() const;
void setConfigLevel(int configLevel);
std::string getAsrAcousticModelId() const;
void setAsrAcousticModelId(const std::string &asrAcousticModelId);
private:
std::string asrVocabularyId_;
std::string asrClassVocabularyId_;
std::string entryId_;
std::string asrCustomizationId_;
int configLevel_;
std::string asrAcousticModelId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRCONFIGREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETNEWBARGEINSWITCHRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETNEWBARGEINSWITCHRESULT_H_
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRCONFIGRESULT_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRCONFIGRESULT_H_
#include <string>
#include <vector>
@@ -29,18 +29,18 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT GetNewBargeInSwitchResult : public ServiceResult
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyAsrConfigResult : public ServiceResult
{
public:
struct Data
{
bool enable;
int affectedRows;
};
GetNewBargeInSwitchResult();
explicit GetNewBargeInSwitchResult(const std::string &payload);
~GetNewBargeInSwitchResult();
ModifyAsrConfigResult();
explicit ModifyAsrConfigResult(const std::string &payload);
~ModifyAsrConfigResult();
int getHttpStatusCode()const;
std::string getErrorMsg()const;
Data getData()const;
@@ -60,4 +60,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_GETNEWBARGEINSWITCHRESULT_H_
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRCONFIGRESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRVADCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRVADCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyAsrVadConfigRequest : public RpcServiceRequest
{
public:
ModifyAsrVadConfigRequest();
~ModifyAsrVadConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSpeechNoiseThreshold()const;
void setSpeechNoiseThreshold(const std::string& speechNoiseThreshold);
private:
std::string instanceId_;
std::string speechNoiseThreshold_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYASRVADCONFIGREQUEST_H_

View File

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

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_MODIFYGREETINGCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYGREETINGCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyGreetingConfigRequest : public RpcServiceRequest
{
public:
ModifyGreetingConfigRequest();
~ModifyGreetingConfigRequest();
std::string getGreetingWords()const;
void setGreetingWords(const std::string& greetingWords);
std::string getIntentTrigger()const;
void setIntentTrigger(const std::string& intentTrigger);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
private:
std::string greetingWords_;
std::string intentTrigger_;
std::string instanceId_;
std::string sourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYGREETINGCONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYGREETINGCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYGREETINGCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyGreetingConfigRequest : public RpcServiceRequest {
public:
ModifyGreetingConfigRequest();
~ModifyGreetingConfigRequest();
std::string getGreetingWords() const;
void setGreetingWords(const std::string &greetingWords);
std::string getIntentTrigger() const;
void setIntentTrigger(const std::string &intentTrigger);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceType() const;
void setSourceType(const std::string &sourceType);
private:
std::string greetingWords_;
std::string intentTrigger_;
std::string instanceId_;
std::string sourceType_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYGREETINGCONFIGREQUEST_H_

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_MODIFYINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyInstanceRequest : public RpcServiceRequest
{
public:
ModifyInstanceRequest();
~ModifyInstanceRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
long getConcurrency()const;
void setConcurrency(long concurrency);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getChatbotInstanceId()const;
void setChatbotInstanceId(const std::string& chatbotInstanceId);
private:
std::string description_;
long concurrency_;
std::string instanceId_;
std::string chatbotInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYINSTANCEREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYINSTANCEREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyInstanceRequest : public RpcServiceRequest {
public:
ModifyInstanceRequest();
~ModifyInstanceRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
long getConcurrency() const;
void setConcurrency(long concurrency);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getChatbotInstanceId() const;
void setChatbotInstanceId(const std::string &chatbotInstanceId);
private:
std::string description_;
long concurrency_;
std::string instanceId_;
std::string chatbotInstanceId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYINSTANCEREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSANDBOXWHILELISTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSANDBOXWHILELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifySandBoxWhileListRequest : public RpcServiceRequest
{
public:
ModifySandBoxWhileListRequest();
~ModifySandBoxWhileListRequest();
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getUuid()const;
void setUuid(const std::string& uuid);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string phoneNumber_;
std::string description_;
std::string uuid_;
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSANDBOXWHILELISTREQUEST_H_

View File

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

View File

@@ -1,72 +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_VOICENAVIGATOR_MODEL_MODIFYSILENCETIMEOUTCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSILENCETIMEOUTCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifySilenceTimeoutConfigRequest : public RpcServiceRequest
{
public:
ModifySilenceTimeoutConfigRequest();
~ModifySilenceTimeoutConfigRequest();
std::string getFinalAction()const;
void setFinalAction(const std::string& finalAction);
std::string getFinalPrompt()const;
void setFinalPrompt(const std::string& finalPrompt);
int getThreshold()const;
void setThreshold(int threshold);
std::string getIntentTrigger()const;
void setIntentTrigger(const std::string& intentTrigger);
long getTimeout()const;
void setTimeout(long timeout);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
std::string getFinalActionParams()const;
void setFinalActionParams(const std::string& finalActionParams);
std::string getPrompt()const;
void setPrompt(const std::string& prompt);
private:
std::string finalAction_;
std::string finalPrompt_;
int threshold_;
std::string intentTrigger_;
long timeout_;
std::string instanceId_;
std::string sourceType_;
std::string finalActionParams_;
std::string prompt_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSILENCETIMEOUTCONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSILENCETIMEOUTCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSILENCETIMEOUTCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifySilenceTimeoutConfigRequest : public RpcServiceRequest {
public:
ModifySilenceTimeoutConfigRequest();
~ModifySilenceTimeoutConfigRequest();
std::string getFinalAction() const;
void setFinalAction(const std::string &finalAction);
std::string getFinalPrompt() const;
void setFinalPrompt(const std::string &finalPrompt);
int getThreshold() const;
void setThreshold(int threshold);
std::string getIntentTrigger() const;
void setIntentTrigger(const std::string &intentTrigger);
long getTimeout() const;
void setTimeout(long timeout);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceType() const;
void setSourceType(const std::string &sourceType);
std::string getFinalActionParams() const;
void setFinalActionParams(const std::string &finalActionParams);
std::string getPrompt() const;
void setPrompt(const std::string &prompt);
private:
std::string finalAction_;
std::string finalPrompt_;
int threshold_;
std::string intentTrigger_;
long timeout_;
std::string instanceId_;
std::string sourceType_;
std::string finalActionParams_;
std::string prompt_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYSILENCETIMEOUTCONFIGREQUEST_H_

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_MODIFYTTSCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYTTSCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyTTSConfigRequest : public RpcServiceRequest
{
public:
ModifyTTSConfigRequest();
~ModifyTTSConfigRequest();
std::string getVoice()const;
void setVoice(const std::string& voice);
std::string getVolume()const;
void setVolume(const std::string& volume);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSpeechRate()const;
void setSpeechRate(const std::string& speechRate);
private:
std::string voice_;
std::string volume_;
std::string instanceId_;
std::string speechRate_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYTTSCONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYTTSCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYTTSCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyTTSConfigRequest : public RpcServiceRequest {
public:
ModifyTTSConfigRequest();
~ModifyTTSConfigRequest();
std::string getVoice() const;
void setVoice(const std::string &voice);
std::string getVolume() const;
void setVolume(const std::string &volume);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSpeechRate() const;
void setSpeechRate(const std::string &speechRate);
private:
std::string voice_;
std::string volume_;
std::string instanceId_;
std::string speechRate_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYTTSCONFIGREQUEST_H_

View File

@@ -1,63 +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_VOICENAVIGATOR_MODEL_MODIFYUNRECOGNIZINGCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYUNRECOGNIZINGCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyUnrecognizingConfigRequest : public RpcServiceRequest
{
public:
ModifyUnrecognizingConfigRequest();
~ModifyUnrecognizingConfigRequest();
std::string getFinalAction()const;
void setFinalAction(const std::string& finalAction);
std::string getFinalPrompt()const;
void setFinalPrompt(const std::string& finalPrompt);
int getThreshold()const;
void setThreshold(int threshold);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFinalActionParams()const;
void setFinalActionParams(const std::string& finalActionParams);
std::string getPrompt()const;
void setPrompt(const std::string& prompt);
private:
std::string finalAction_;
std::string finalPrompt_;
int threshold_;
std::string instanceId_;
std::string finalActionParams_;
std::string prompt_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYUNRECOGNIZINGCONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYUNRECOGNIZINGCONFIGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYUNRECOGNIZINGCONFIGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT ModifyUnrecognizingConfigRequest : public RpcServiceRequest {
public:
ModifyUnrecognizingConfigRequest();
~ModifyUnrecognizingConfigRequest();
std::string getFinalAction() const;
void setFinalAction(const std::string &finalAction);
std::string getFinalPrompt() const;
void setFinalPrompt(const std::string &finalPrompt);
int getThreshold() const;
void setThreshold(int threshold);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getFinalActionParams() const;
void setFinalActionParams(const std::string &finalActionParams);
std::string getPrompt() const;
void setPrompt(const std::string &prompt);
private:
std::string finalAction_;
std::string finalPrompt_;
int threshold_;
std::string instanceId_;
std::string finalActionParams_;
std::string prompt_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_MODIFYUNRECOGNIZINGCONFIGREQUEST_H_

View File

@@ -1,63 +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_VOICENAVIGATOR_MODEL_QUERYCONVERSATIONSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYCONVERSATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryConversationsRequest : public RpcServiceRequest
{
public:
QueryConversationsRequest();
~QueryConversationsRequest();
long getBeginTimeLeftRange()const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getBeginTimeRightRange()const;
void setBeginTimeRightRange(long beginTimeRightRange);
int getPageSize()const;
void setPageSize(int pageSize);
private:
long beginTimeLeftRange_;
int pageNumber_;
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYCONVERSATIONSREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYCONVERSATIONSREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYCONVERSATIONSREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT QueryConversationsRequest : public RpcServiceRequest {
public:
QueryConversationsRequest();
~QueryConversationsRequest();
long getBeginTimeLeftRange() const;
void setBeginTimeLeftRange(long beginTimeLeftRange);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getCallingNumber() const;
void setCallingNumber(const std::string &callingNumber);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getBeginTimeRightRange() const;
void setBeginTimeRightRange(long beginTimeRightRange);
int getPageSize() const;
void setPageSize(int pageSize);
private:
long beginTimeLeftRange_;
int pageNumber_;
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
int pageSize_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_QUERYCONVERSATIONSREQUEST_H_

View File

@@ -1,69 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_SAVERECORDINGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_SAVERECORDINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT SaveRecordingRequest : public RpcServiceRequest
{
public:
SaveRecordingRequest();
~SaveRecordingRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
long getStartTime()const;
void setStartTime(long startTime);
std::string getType()const;
void setType(const std::string& type);
std::string getDuration()const;
void setDuration(const std::string& duration);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getFilePath()const;
void setFilePath(const std::string& filePath);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
long startTime_;
std::string type_;
std::string duration_;
std::string instanceId_;
std::string fileName_;
std::string filePath_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_SAVERECORDINGREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_SAVERECORDINGREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_SAVERECORDINGREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT SaveRecordingRequest : public RpcServiceRequest {
public:
SaveRecordingRequest();
~SaveRecordingRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
long getStartTime() const;
void setStartTime(long startTime);
std::string getType() const;
void setType(const std::string &type);
std::string getDuration() const;
void setDuration(const std::string &duration);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getFileName() const;
void setFileName(const std::string &fileName);
std::string getFilePath() const;
void setFilePath(const std::string &filePath);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
long startTime_;
std::string type_;
std::string duration_;
std::string instanceId_;
std::string fileName_;
std::string filePath_;
long instanceOwnerId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_SAVERECORDINGREQUEST_H_

View File

@@ -1,57 +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_VOICENAVIGATOR_MODEL_SILENCETIMEOUTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_SILENCETIMEOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT SilenceTimeoutRequest : public RpcServiceRequest
{
public:
SilenceTimeoutRequest();
~SilenceTimeoutRequest();
std::string getConversationId()const;
void setConversationId(const std::string& conversationId);
std::string getInitialContext()const;
void setInitialContext(const std::string& initialContext);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getInstanceOwnerId()const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string initialContext_;
std::string instanceId_;
long instanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_SILENCETIMEOUTREQUEST_H_
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_SILENCETIMEOUTREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_SILENCETIMEOUTREQUEST_H_
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace VoiceNavigator {
namespace Model {
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT SilenceTimeoutRequest : public RpcServiceRequest {
public:
SilenceTimeoutRequest();
~SilenceTimeoutRequest();
std::string getConversationId() const;
void setConversationId(const std::string &conversationId);
std::string getInitialContext() const;
void setInitialContext(const std::string &initialContext);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
long getInstanceOwnerId() const;
void setInstanceOwnerId(long instanceOwnerId);
private:
std::string conversationId_;
std::string initialContext_;
std::string instanceId_;
long instanceOwnerId_;
};
} // namespace Model
} // namespace VoiceNavigator
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_SILENCETIMEOUTREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_UPDATENEWBARGEINSWITCHREQUEST_H_
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_UPDATENEWBARGEINSWITCHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
namespace AlibabaCloud
{
namespace VoiceNavigator
{
namespace Model
{
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT UpdateNewBargeInSwitchRequest : public RpcServiceRequest
{
public:
UpdateNewBargeInSwitchRequest();
~UpdateNewBargeInSwitchRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getEnable()const;
void setEnable(bool enable);
private:
std::string instanceId_;
bool enable_;
};
}
}
}
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_UPDATENEWBARGEINSWITCHREQUEST_H_

View File

@@ -123,42 +123,6 @@ VoiceNavigatorClient::AuditTTSVoiceOutcomeCallable VoiceNavigatorClient::auditTT
return task->get_future();
}
VoiceNavigatorClient::BatchCreateSandBoxWhileListOutcome VoiceNavigatorClient::batchCreateSandBoxWhileList(const BatchCreateSandBoxWhileListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchCreateSandBoxWhileListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchCreateSandBoxWhileListOutcome(BatchCreateSandBoxWhileListResult(outcome.result()));
else
return BatchCreateSandBoxWhileListOutcome(outcome.error());
}
void VoiceNavigatorClient::batchCreateSandBoxWhileListAsync(const BatchCreateSandBoxWhileListRequest& request, const BatchCreateSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchCreateSandBoxWhileList(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::BatchCreateSandBoxWhileListOutcomeCallable VoiceNavigatorClient::batchCreateSandBoxWhileListCallable(const BatchCreateSandBoxWhileListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchCreateSandBoxWhileListOutcome()>>(
[this, request]()
{
return this->batchCreateSandBoxWhileList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::BeginDialogueOutcome VoiceNavigatorClient::beginDialogue(const BeginDialogueRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,78 +411,6 @@ VoiceNavigatorClient::DeleteInstanceOutcomeCallable VoiceNavigatorClient::delete
return task->get_future();
}
VoiceNavigatorClient::DeleteSandBoxWhileListOutcome VoiceNavigatorClient::deleteSandBoxWhileList(const DeleteSandBoxWhileListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteSandBoxWhileListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteSandBoxWhileListOutcome(DeleteSandBoxWhileListResult(outcome.result()));
else
return DeleteSandBoxWhileListOutcome(outcome.error());
}
void VoiceNavigatorClient::deleteSandBoxWhileListAsync(const DeleteSandBoxWhileListRequest& request, const DeleteSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteSandBoxWhileList(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::DeleteSandBoxWhileListOutcomeCallable VoiceNavigatorClient::deleteSandBoxWhileListCallable(const DeleteSandBoxWhileListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteSandBoxWhileListOutcome()>>(
[this, request]()
{
return this->deleteSandBoxWhileList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::DescribeAsrVadConfigOutcome VoiceNavigatorClient::describeAsrVadConfig(const DescribeAsrVadConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAsrVadConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAsrVadConfigOutcome(DescribeAsrVadConfigResult(outcome.result()));
else
return DescribeAsrVadConfigOutcome(outcome.error());
}
void VoiceNavigatorClient::describeAsrVadConfigAsync(const DescribeAsrVadConfigRequest& request, const DescribeAsrVadConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAsrVadConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::DescribeAsrVadConfigOutcomeCallable VoiceNavigatorClient::describeAsrVadConfigCallable(const DescribeAsrVadConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAsrVadConfigOutcome()>>(
[this, request]()
{
return this->describeAsrVadConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::DescribeConversationOutcome VoiceNavigatorClient::describeConversation(const DescribeConversationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -807,42 +699,6 @@ VoiceNavigatorClient::DescribeTTSConfigOutcomeCallable VoiceNavigatorClient::des
return task->get_future();
}
VoiceNavigatorClient::DescribeVoiceConfigOutcome VoiceNavigatorClient::describeVoiceConfig(const DescribeVoiceConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVoiceConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVoiceConfigOutcome(DescribeVoiceConfigResult(outcome.result()));
else
return DescribeVoiceConfigOutcome(outcome.error());
}
void VoiceNavigatorClient::describeVoiceConfigAsync(const DescribeVoiceConfigRequest& request, const DescribeVoiceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVoiceConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::DescribeVoiceConfigOutcomeCallable VoiceNavigatorClient::describeVoiceConfigCallable(const DescribeVoiceConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVoiceConfigOutcome()>>(
[this, request]()
{
return this->describeVoiceConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::DialogueOutcome VoiceNavigatorClient::dialogue(const DialogueRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -915,42 +771,6 @@ VoiceNavigatorClient::DisableInstanceOutcomeCallable VoiceNavigatorClient::disab
return task->get_future();
}
VoiceNavigatorClient::DisableSandBoxWhileListOutcome VoiceNavigatorClient::disableSandBoxWhileList(const DisableSandBoxWhileListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DisableSandBoxWhileListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DisableSandBoxWhileListOutcome(DisableSandBoxWhileListResult(outcome.result()));
else
return DisableSandBoxWhileListOutcome(outcome.error());
}
void VoiceNavigatorClient::disableSandBoxWhileListAsync(const DisableSandBoxWhileListRequest& request, const DisableSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, disableSandBoxWhileList(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::DisableSandBoxWhileListOutcomeCallable VoiceNavigatorClient::disableSandBoxWhileListCallable(const DisableSandBoxWhileListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DisableSandBoxWhileListOutcome()>>(
[this, request]()
{
return this->disableSandBoxWhileList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::EnableInstanceOutcome VoiceNavigatorClient::enableInstance(const EnableInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,42 +807,6 @@ VoiceNavigatorClient::EnableInstanceOutcomeCallable VoiceNavigatorClient::enable
return task->get_future();
}
VoiceNavigatorClient::EnableSandBoxWhileListOutcome VoiceNavigatorClient::enableSandBoxWhileList(const EnableSandBoxWhileListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return EnableSandBoxWhileListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return EnableSandBoxWhileListOutcome(EnableSandBoxWhileListResult(outcome.result()));
else
return EnableSandBoxWhileListOutcome(outcome.error());
}
void VoiceNavigatorClient::enableSandBoxWhileListAsync(const EnableSandBoxWhileListRequest& request, const EnableSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, enableSandBoxWhileList(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::EnableSandBoxWhileListOutcomeCallable VoiceNavigatorClient::enableSandBoxWhileListCallable(const EnableSandBoxWhileListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<EnableSandBoxWhileListOutcome()>>(
[this, request]()
{
return this->enableSandBoxWhileList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::EndDialogueOutcome VoiceNavigatorClient::endDialogue(const EndDialogueRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1131,72 +915,72 @@ VoiceNavigatorClient::ExportStatisticalDataOutcomeCallable VoiceNavigatorClient:
return task->get_future();
}
VoiceNavigatorClient::GetInstanceConfigOutcome VoiceNavigatorClient::getInstanceConfig(const GetInstanceConfigRequest &request) const
VoiceNavigatorClient::GenerateUploadUrlOutcome VoiceNavigatorClient::generateUploadUrl(const GenerateUploadUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetInstanceConfigOutcome(endpointOutcome.error());
return GenerateUploadUrlOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetInstanceConfigOutcome(GetInstanceConfigResult(outcome.result()));
return GenerateUploadUrlOutcome(GenerateUploadUrlResult(outcome.result()));
else
return GetInstanceConfigOutcome(outcome.error());
return GenerateUploadUrlOutcome(outcome.error());
}
void VoiceNavigatorClient::getInstanceConfigAsync(const GetInstanceConfigRequest& request, const GetInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void VoiceNavigatorClient::generateUploadUrlAsync(const GenerateUploadUrlRequest& request, const GenerateUploadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getInstanceConfig(request), context);
handler(this, request, generateUploadUrl(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::GetInstanceConfigOutcomeCallable VoiceNavigatorClient::getInstanceConfigCallable(const GetInstanceConfigRequest &request) const
VoiceNavigatorClient::GenerateUploadUrlOutcomeCallable VoiceNavigatorClient::generateUploadUrlCallable(const GenerateUploadUrlRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetInstanceConfigOutcome()>>(
auto task = std::make_shared<std::packaged_task<GenerateUploadUrlOutcome()>>(
[this, request]()
{
return this->getInstanceConfig(request);
return this->generateUploadUrl(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::GetNewBargeInSwitchOutcome VoiceNavigatorClient::getNewBargeInSwitch(const GetNewBargeInSwitchRequest &request) const
VoiceNavigatorClient::GetAsrConfigOutcome VoiceNavigatorClient::getAsrConfig(const GetAsrConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetNewBargeInSwitchOutcome(endpointOutcome.error());
return GetAsrConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetNewBargeInSwitchOutcome(GetNewBargeInSwitchResult(outcome.result()));
return GetAsrConfigOutcome(GetAsrConfigResult(outcome.result()));
else
return GetNewBargeInSwitchOutcome(outcome.error());
return GetAsrConfigOutcome(outcome.error());
}
void VoiceNavigatorClient::getNewBargeInSwitchAsync(const GetNewBargeInSwitchRequest& request, const GetNewBargeInSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void VoiceNavigatorClient::getAsrConfigAsync(const GetAsrConfigRequest& request, const GetAsrConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getNewBargeInSwitch(request), context);
handler(this, request, getAsrConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::GetNewBargeInSwitchOutcomeCallable VoiceNavigatorClient::getNewBargeInSwitchCallable(const GetNewBargeInSwitchRequest &request) const
VoiceNavigatorClient::GetAsrConfigOutcomeCallable VoiceNavigatorClient::getAsrConfigCallable(const GetAsrConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetNewBargeInSwitchOutcome()>>(
auto task = std::make_shared<std::packaged_task<GetAsrConfigOutcome()>>(
[this, request]()
{
return this->getNewBargeInSwitch(request);
return this->getAsrConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -1383,72 +1167,36 @@ VoiceNavigatorClient::ListInstancesOutcomeCallable VoiceNavigatorClient::listIns
return task->get_future();
}
VoiceNavigatorClient::ListSandBoxWhileListOutcome VoiceNavigatorClient::listSandBoxWhileList(const ListSandBoxWhileListRequest &request) const
VoiceNavigatorClient::ModifyAsrConfigOutcome VoiceNavigatorClient::modifyAsrConfig(const ModifyAsrConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSandBoxWhileListOutcome(endpointOutcome.error());
return ModifyAsrConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListSandBoxWhileListOutcome(ListSandBoxWhileListResult(outcome.result()));
return ModifyAsrConfigOutcome(ModifyAsrConfigResult(outcome.result()));
else
return ListSandBoxWhileListOutcome(outcome.error());
return ModifyAsrConfigOutcome(outcome.error());
}
void VoiceNavigatorClient::listSandBoxWhileListAsync(const ListSandBoxWhileListRequest& request, const ListSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void VoiceNavigatorClient::modifyAsrConfigAsync(const ModifyAsrConfigRequest& request, const ModifyAsrConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listSandBoxWhileList(request), context);
handler(this, request, modifyAsrConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::ListSandBoxWhileListOutcomeCallable VoiceNavigatorClient::listSandBoxWhileListCallable(const ListSandBoxWhileListRequest &request) const
VoiceNavigatorClient::ModifyAsrConfigOutcomeCallable VoiceNavigatorClient::modifyAsrConfigCallable(const ModifyAsrConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListSandBoxWhileListOutcome()>>(
auto task = std::make_shared<std::packaged_task<ModifyAsrConfigOutcome()>>(
[this, request]()
{
return this->listSandBoxWhileList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::ModifyAsrVadConfigOutcome VoiceNavigatorClient::modifyAsrVadConfig(const ModifyAsrVadConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyAsrVadConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyAsrVadConfigOutcome(ModifyAsrVadConfigResult(outcome.result()));
else
return ModifyAsrVadConfigOutcome(outcome.error());
}
void VoiceNavigatorClient::modifyAsrVadConfigAsync(const ModifyAsrVadConfigRequest& request, const ModifyAsrVadConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyAsrVadConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::ModifyAsrVadConfigOutcomeCallable VoiceNavigatorClient::modifyAsrVadConfigCallable(const ModifyAsrVadConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyAsrVadConfigOutcome()>>(
[this, request]()
{
return this->modifyAsrVadConfig(request);
return this->modifyAsrConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -1527,42 +1275,6 @@ VoiceNavigatorClient::ModifyInstanceOutcomeCallable VoiceNavigatorClient::modify
return task->get_future();
}
VoiceNavigatorClient::ModifySandBoxWhileListOutcome VoiceNavigatorClient::modifySandBoxWhileList(const ModifySandBoxWhileListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifySandBoxWhileListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifySandBoxWhileListOutcome(ModifySandBoxWhileListResult(outcome.result()));
else
return ModifySandBoxWhileListOutcome(outcome.error());
}
void VoiceNavigatorClient::modifySandBoxWhileListAsync(const ModifySandBoxWhileListRequest& request, const ModifySandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifySandBoxWhileList(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::ModifySandBoxWhileListOutcomeCallable VoiceNavigatorClient::modifySandBoxWhileListCallable(const ModifySandBoxWhileListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifySandBoxWhileListOutcome()>>(
[this, request]()
{
return this->modifySandBoxWhileList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VoiceNavigatorClient::ModifySilenceTimeoutConfigOutcome VoiceNavigatorClient::modifySilenceTimeoutConfig(const ModifySilenceTimeoutConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1779,39 +1491,3 @@ VoiceNavigatorClient::SilenceTimeoutOutcomeCallable VoiceNavigatorClient::silenc
return task->get_future();
}
VoiceNavigatorClient::UpdateNewBargeInSwitchOutcome VoiceNavigatorClient::updateNewBargeInSwitch(const UpdateNewBargeInSwitchRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateNewBargeInSwitchOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateNewBargeInSwitchOutcome(UpdateNewBargeInSwitchResult(outcome.result()));
else
return UpdateNewBargeInSwitchOutcome(outcome.error());
}
void VoiceNavigatorClient::updateNewBargeInSwitchAsync(const UpdateNewBargeInSwitchRequest& request, const UpdateNewBargeInSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateNewBargeInSwitch(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::UpdateNewBargeInSwitchOutcomeCallable VoiceNavigatorClient::updateNewBargeInSwitchCallable(const UpdateNewBargeInSwitchRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateNewBargeInSwitchOutcome()>>(
[this, request]()
{
return this->updateNewBargeInSwitch(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/AssociateChatbotInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::AssociateChatbotInstanceRequest;
AssociateChatbotInstanceRequest::AssociateChatbotInstanceRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "AssociateChatbotInstance")
{
setMethod(HttpRequest::Method::Post);
}
AssociateChatbotInstanceRequest::~AssociateChatbotInstanceRequest()
{}
std::string AssociateChatbotInstanceRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/voicenavigator/model/AssociateChatbotInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::AssociateChatbotInstanceRequest;
AssociateChatbotInstanceRequest::AssociateChatbotInstanceRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "AssociateChatbotInstance") {
setMethod(HttpRequest::Method::Post);
}
void AssociateChatbotInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
AssociateChatbotInstanceRequest::~AssociateChatbotInstanceRequest() {}
std::string AssociateChatbotInstanceRequest::getInstanceId() const {
return instanceId_;
}
std::string AssociateChatbotInstanceRequest::getChatbotInstanceId()const
{
return chatbotInstanceId_;
void AssociateChatbotInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void AssociateChatbotInstanceRequest::setChatbotInstanceId(const std::string& chatbotInstanceId)
{
chatbotInstanceId_ = chatbotInstanceId;
setParameter("ChatbotInstanceId", chatbotInstanceId);
std::string AssociateChatbotInstanceRequest::getChatbotInstanceId() const {
return chatbotInstanceId_;
}
std::string AssociateChatbotInstanceRequest::getChatbotName()const
{
return chatbotName_;
void AssociateChatbotInstanceRequest::setChatbotInstanceId(const std::string &chatbotInstanceId) {
chatbotInstanceId_ = chatbotInstanceId;
setParameter(std::string("ChatbotInstanceId"), chatbotInstanceId);
}
void AssociateChatbotInstanceRequest::setChatbotName(const std::string& chatbotName)
{
chatbotName_ = chatbotName;
setParameter("ChatbotName", chatbotName);
std::string AssociateChatbotInstanceRequest::getChatbotName() const {
return chatbotName_;
}
void AssociateChatbotInstanceRequest::setChatbotName(const std::string &chatbotName) {
chatbotName_ = chatbotName;
setParameter(std::string("ChatbotName"), chatbotName);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/voicenavigator/model/AuditTTSVoiceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::AuditTTSVoiceRequest;
AuditTTSVoiceRequest::AuditTTSVoiceRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "AuditTTSVoice")
{
setMethod(HttpRequest::Method::Post);
}
AuditTTSVoiceRequest::~AuditTTSVoiceRequest()
{}
std::string AuditTTSVoiceRequest::getVoice()const
{
return voice_;
*/
#include <alibabacloud/voicenavigator/model/AuditTTSVoiceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::AuditTTSVoiceRequest;
AuditTTSVoiceRequest::AuditTTSVoiceRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "AuditTTSVoice") {
setMethod(HttpRequest::Method::Post);
}
void AuditTTSVoiceRequest::setVoice(const std::string& voice)
{
voice_ = voice;
setParameter("Voice", voice);
AuditTTSVoiceRequest::~AuditTTSVoiceRequest() {}
std::string AuditTTSVoiceRequest::getVoice() const {
return voice_;
}
std::string AuditTTSVoiceRequest::getVolume()const
{
return volume_;
void AuditTTSVoiceRequest::setVoice(const std::string &voice) {
voice_ = voice;
setParameter(std::string("Voice"), voice);
}
void AuditTTSVoiceRequest::setVolume(const std::string& volume)
{
volume_ = volume;
setParameter("Volume", volume);
std::string AuditTTSVoiceRequest::getVolume() const {
return volume_;
}
std::string AuditTTSVoiceRequest::getInstanceId()const
{
return instanceId_;
void AuditTTSVoiceRequest::setVolume(const std::string &volume) {
volume_ = volume;
setParameter(std::string("Volume"), volume);
}
void AuditTTSVoiceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string AuditTTSVoiceRequest::getInstanceId() const {
return instanceId_;
}
std::string AuditTTSVoiceRequest::getText()const
{
return text_;
void AuditTTSVoiceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void AuditTTSVoiceRequest::setText(const std::string& text)
{
text_ = text;
setParameter("Text", text);
std::string AuditTTSVoiceRequest::getText() const {
return text_;
}
std::string AuditTTSVoiceRequest::getSpeechRate()const
{
return speechRate_;
void AuditTTSVoiceRequest::setText(const std::string &text) {
text_ = text;
setParameter(std::string("Text"), text);
}
void AuditTTSVoiceRequest::setSpeechRate(const std::string& speechRate)
{
speechRate_ = speechRate;
setParameter("SpeechRate", speechRate);
std::string AuditTTSVoiceRequest::getSpeechRate() const {
return speechRate_;
}
void AuditTTSVoiceRequest::setSpeechRate(const std::string &speechRate) {
speechRate_ = speechRate;
setParameter(std::string("SpeechRate"), speechRate);
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/BatchCreateSandBoxWhileListRequest.h>
using AlibabaCloud::VoiceNavigator::Model::BatchCreateSandBoxWhileListRequest;
BatchCreateSandBoxWhileListRequest::BatchCreateSandBoxWhileListRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "BatchCreateSandBoxWhileList")
{
setMethod(HttpRequest::Method::Post);
}
BatchCreateSandBoxWhileListRequest::~BatchCreateSandBoxWhileListRequest()
{}
std::string BatchCreateSandBoxWhileListRequest::getWhiteListJson()const
{
return whiteListJson_;
}
void BatchCreateSandBoxWhileListRequest::setWhiteListJson(const std::string& whiteListJson)
{
whiteListJson_ = whiteListJson;
setParameter("WhiteListJson", whiteListJson);
}

View File

@@ -1,78 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/BatchCreateSandBoxWhileListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::VoiceNavigator;
using namespace AlibabaCloud::VoiceNavigator::Model;
BatchCreateSandBoxWhileListResult::BatchCreateSandBoxWhileListResult() :
ServiceResult()
{}
BatchCreateSandBoxWhileListResult::BatchCreateSandBoxWhileListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchCreateSandBoxWhileListResult::~BatchCreateSandBoxWhileListResult()
{}
void BatchCreateSandBoxWhileListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allWhiteListNode = value["WhiteList"]["WhiteListItem"];
for (auto valueWhiteListWhiteListItem : allWhiteListNode)
{
WhiteListItem whiteListObject;
if(!valueWhiteListWhiteListItem["Uuid"].isNull())
whiteListObject.uuid = valueWhiteListWhiteListItem["Uuid"].asString();
if(!valueWhiteListWhiteListItem["PhoneNumber"].isNull())
whiteListObject.phoneNumber = valueWhiteListWhiteListItem["PhoneNumber"].asString();
if(!valueWhiteListWhiteListItem["Description"].isNull())
whiteListObject.description = valueWhiteListWhiteListItem["Description"].asString();
if(!valueWhiteListWhiteListItem["IsEnable"].isNull())
whiteListObject.isEnable = std::stoi(valueWhiteListWhiteListItem["IsEnable"].asString());
if(!valueWhiteListWhiteListItem["GmtCreate"].isNull())
whiteListObject.gmtCreate = std::stol(valueWhiteListWhiteListItem["GmtCreate"].asString());
if(!valueWhiteListWhiteListItem["InstanceId"].isNull())
whiteListObject.instanceId = valueWhiteListWhiteListItem["InstanceId"].asString();
if(!valueWhiteListWhiteListItem["GmtModified"].isNull())
whiteListObject.gmtModified = std::stol(valueWhiteListWhiteListItem["GmtModified"].asString());
if(!valueWhiteListWhiteListItem["Name"].isNull())
whiteListObject.name = valueWhiteListWhiteListItem["Name"].asString();
whiteList_.push_back(whiteListObject);
}
if(!value["Repeat"].isNull())
repeat_ = value["Repeat"].asString() == "true";
}
std::vector<BatchCreateSandBoxWhileListResult::WhiteListItem> BatchCreateSandBoxWhileListResult::getWhiteList()const
{
return whiteList_;
}
bool BatchCreateSandBoxWhileListResult::getRepeat()const
{
return repeat_;
}

View File

@@ -1,95 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/BeginDialogueRequest.h>
using AlibabaCloud::VoiceNavigator::Model::BeginDialogueRequest;
BeginDialogueRequest::BeginDialogueRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "BeginDialogue")
{
setMethod(HttpRequest::Method::Post);
}
BeginDialogueRequest::~BeginDialogueRequest()
{}
std::string BeginDialogueRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/BeginDialogueRequest.h>
using AlibabaCloud::VoiceNavigator::Model::BeginDialogueRequest;
BeginDialogueRequest::BeginDialogueRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "BeginDialogue") {
setMethod(HttpRequest::Method::Post);
}
void BeginDialogueRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
BeginDialogueRequest::~BeginDialogueRequest() {}
std::string BeginDialogueRequest::getConversationId() const {
return conversationId_;
}
std::string BeginDialogueRequest::getInitialContext()const
{
return initialContext_;
void BeginDialogueRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void BeginDialogueRequest::setInitialContext(const std::string& initialContext)
{
initialContext_ = initialContext;
setParameter("InitialContext", initialContext);
std::string BeginDialogueRequest::getInitialContext() const {
return initialContext_;
}
std::string BeginDialogueRequest::getCallingNumber()const
{
return callingNumber_;
void BeginDialogueRequest::setInitialContext(const std::string &initialContext) {
initialContext_ = initialContext;
setParameter(std::string("InitialContext"), initialContext);
}
void BeginDialogueRequest::setCallingNumber(const std::string& callingNumber)
{
callingNumber_ = callingNumber;
setParameter("CallingNumber", callingNumber);
std::string BeginDialogueRequest::getCallingNumber() const {
return callingNumber_;
}
std::string BeginDialogueRequest::getInstanceId()const
{
return instanceId_;
void BeginDialogueRequest::setCallingNumber(const std::string &callingNumber) {
callingNumber_ = callingNumber;
setParameter(std::string("CallingNumber"), callingNumber);
}
void BeginDialogueRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string BeginDialogueRequest::getInstanceId() const {
return instanceId_;
}
std::string BeginDialogueRequest::getCalledNumber()const
{
return calledNumber_;
void BeginDialogueRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void BeginDialogueRequest::setCalledNumber(const std::string& calledNumber)
{
calledNumber_ = calledNumber;
setParameter("CalledNumber", calledNumber);
std::string BeginDialogueRequest::getCalledNumber() const {
return calledNumber_;
}
long BeginDialogueRequest::getInstanceOwnerId()const
{
return instanceOwnerId_;
void BeginDialogueRequest::setCalledNumber(const std::string &calledNumber) {
calledNumber_ = calledNumber;
setParameter(std::string("CalledNumber"), calledNumber);
}
void BeginDialogueRequest::setInstanceOwnerId(long instanceOwnerId)
{
instanceOwnerId_ = instanceOwnerId;
setParameter("InstanceOwnerId", std::to_string(instanceOwnerId));
long BeginDialogueRequest::getInstanceOwnerId() const {
return instanceOwnerId_;
}
void BeginDialogueRequest::setInstanceOwnerId(long instanceOwnerId) {
instanceOwnerId_ = instanceOwnerId;
setParameter(std::string("InstanceOwnerId"), std::to_string(instanceOwnerId));
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/CollectedNumberRequest.h>
using AlibabaCloud::VoiceNavigator::Model::CollectedNumberRequest;
CollectedNumberRequest::CollectedNumberRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "CollectedNumber")
{
setMethod(HttpRequest::Method::Post);
}
CollectedNumberRequest::~CollectedNumberRequest()
{}
std::string CollectedNumberRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/CollectedNumberRequest.h>
using AlibabaCloud::VoiceNavigator::Model::CollectedNumberRequest;
CollectedNumberRequest::CollectedNumberRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "CollectedNumber") {
setMethod(HttpRequest::Method::Post);
}
void CollectedNumberRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
CollectedNumberRequest::~CollectedNumberRequest() {}
std::string CollectedNumberRequest::getConversationId() const {
return conversationId_;
}
std::string CollectedNumberRequest::getNumber()const
{
return number_;
void CollectedNumberRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void CollectedNumberRequest::setNumber(const std::string& number)
{
number_ = number;
setParameter("Number", number);
std::string CollectedNumberRequest::getNumber() const {
return number_;
}
std::string CollectedNumberRequest::getInstanceId()const
{
return instanceId_;
void CollectedNumberRequest::setNumber(const std::string &number) {
number_ = number;
setParameter(std::string("Number"), number);
}
void CollectedNumberRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string CollectedNumberRequest::getInstanceId() const {
return instanceId_;
}
long CollectedNumberRequest::getInstanceOwnerId()const
{
return instanceOwnerId_;
void CollectedNumberRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void CollectedNumberRequest::setInstanceOwnerId(long instanceOwnerId)
{
instanceOwnerId_ = instanceOwnerId;
setParameter("InstanceOwnerId", std::to_string(instanceOwnerId));
long CollectedNumberRequest::getInstanceOwnerId() const {
return instanceOwnerId_;
}
void CollectedNumberRequest::setInstanceOwnerId(long instanceOwnerId) {
instanceOwnerId_ = instanceOwnerId;
setParameter(std::string("InstanceOwnerId"), std::to_string(instanceOwnerId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/CreateDownloadUrlRequest.h>
using AlibabaCloud::VoiceNavigator::Model::CreateDownloadUrlRequest;
CreateDownloadUrlRequest::CreateDownloadUrlRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "CreateDownloadUrl")
{
setMethod(HttpRequest::Method::Get);
}
CreateDownloadUrlRequest::~CreateDownloadUrlRequest()
{}
std::string CreateDownloadUrlRequest::getDownloadTaskId()const
{
return downloadTaskId_;
*/
#include <alibabacloud/voicenavigator/model/CreateDownloadUrlRequest.h>
using AlibabaCloud::VoiceNavigator::Model::CreateDownloadUrlRequest;
CreateDownloadUrlRequest::CreateDownloadUrlRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "CreateDownloadUrl") {
setMethod(HttpRequest::Method::Get);
}
void CreateDownloadUrlRequest::setDownloadTaskId(const std::string& downloadTaskId)
{
downloadTaskId_ = downloadTaskId;
setParameter("DownloadTaskId", downloadTaskId);
CreateDownloadUrlRequest::~CreateDownloadUrlRequest() {}
std::string CreateDownloadUrlRequest::getDownloadTaskId() const {
return downloadTaskId_;
}
std::string CreateDownloadUrlRequest::getFileId()const
{
return fileId_;
void CreateDownloadUrlRequest::setDownloadTaskId(const std::string &downloadTaskId) {
downloadTaskId_ = downloadTaskId;
setParameter(std::string("DownloadTaskId"), downloadTaskId);
}
void CreateDownloadUrlRequest::setFileId(const std::string& fileId)
{
fileId_ = fileId;
setParameter("FileId", fileId);
std::string CreateDownloadUrlRequest::getFileId() const {
return fileId_;
}
void CreateDownloadUrlRequest::setFileId(const std::string &fileId) {
fileId_ = fileId;
setParameter(std::string("FileId"), fileId);
}

View File

@@ -1,95 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/CreateInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::CreateInstanceRequest;
CreateInstanceRequest::CreateInstanceRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "CreateInstance")
{
setMethod(HttpRequest::Method::Post);
}
CreateInstanceRequest::~CreateInstanceRequest()
{}
std::string CreateInstanceRequest::getDescription()const
{
return description_;
*/
#include <alibabacloud/voicenavigator/model/CreateInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::CreateInstanceRequest;
CreateInstanceRequest::CreateInstanceRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "CreateInstance") {
setMethod(HttpRequest::Method::Post);
}
void CreateInstanceRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
CreateInstanceRequest::~CreateInstanceRequest() {}
std::string CreateInstanceRequest::getDescription() const {
return description_;
}
long CreateInstanceRequest::getConcurrency()const
{
return concurrency_;
void CreateInstanceRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
void CreateInstanceRequest::setConcurrency(long concurrency)
{
concurrency_ = concurrency;
setParameter("Concurrency", std::to_string(concurrency));
long CreateInstanceRequest::getConcurrency() const {
return concurrency_;
}
std::string CreateInstanceRequest::getChatbotInstanceId()const
{
return chatbotInstanceId_;
void CreateInstanceRequest::setConcurrency(long concurrency) {
concurrency_ = concurrency;
setParameter(std::string("Concurrency"), std::to_string(concurrency));
}
void CreateInstanceRequest::setChatbotInstanceId(const std::string& chatbotInstanceId)
{
chatbotInstanceId_ = chatbotInstanceId;
setParameter("ChatbotInstanceId", chatbotInstanceId);
std::string CreateInstanceRequest::getChatbotInstanceId() const {
return chatbotInstanceId_;
}
std::string CreateInstanceRequest::getName()const
{
return name_;
void CreateInstanceRequest::setChatbotInstanceId(const std::string &chatbotInstanceId) {
chatbotInstanceId_ = chatbotInstanceId;
setParameter(std::string("ChatbotInstanceId"), chatbotInstanceId);
}
void CreateInstanceRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string CreateInstanceRequest::getName() const {
return name_;
}
std::string CreateInstanceRequest::getNluServiceType()const
{
return nluServiceType_;
void CreateInstanceRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void CreateInstanceRequest::setNluServiceType(const std::string& nluServiceType)
{
nluServiceType_ = nluServiceType;
setParameter("NluServiceType", nluServiceType);
std::string CreateInstanceRequest::getNluServiceType() const {
return nluServiceType_;
}
std::string CreateInstanceRequest::getChatbotName()const
{
return chatbotName_;
void CreateInstanceRequest::setNluServiceType(const std::string &nluServiceType) {
nluServiceType_ = nluServiceType;
setParameter(std::string("NluServiceType"), nluServiceType);
}
void CreateInstanceRequest::setChatbotName(const std::string& chatbotName)
{
chatbotName_ = chatbotName;
setParameter("ChatbotName", chatbotName);
std::string CreateInstanceRequest::getChatbotName() const {
return chatbotName_;
}
void CreateInstanceRequest::setChatbotName(const std::string &chatbotName) {
chatbotName_ = chatbotName;
setParameter(std::string("ChatbotName"), chatbotName);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/voicenavigator/model/DebugBeginDialogueRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DebugBeginDialogueRequest;
DebugBeginDialogueRequest::DebugBeginDialogueRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DebugBeginDialogue")
{
setMethod(HttpRequest::Method::Post);
}
DebugBeginDialogueRequest::~DebugBeginDialogueRequest()
{}
std::string DebugBeginDialogueRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/DebugBeginDialogueRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DebugBeginDialogueRequest;
DebugBeginDialogueRequest::DebugBeginDialogueRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DebugBeginDialogue") {
setMethod(HttpRequest::Method::Post);
}
void DebugBeginDialogueRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
DebugBeginDialogueRequest::~DebugBeginDialogueRequest() {}
std::string DebugBeginDialogueRequest::getConversationId() const {
return conversationId_;
}
std::string DebugBeginDialogueRequest::getInitialContext()const
{
return initialContext_;
void DebugBeginDialogueRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void DebugBeginDialogueRequest::setInitialContext(const std::string& initialContext)
{
initialContext_ = initialContext;
setParameter("InitialContext", initialContext);
std::string DebugBeginDialogueRequest::getInitialContext() const {
return initialContext_;
}
std::string DebugBeginDialogueRequest::getCallingNumber()const
{
return callingNumber_;
void DebugBeginDialogueRequest::setInitialContext(const std::string &initialContext) {
initialContext_ = initialContext;
setParameter(std::string("InitialContext"), initialContext);
}
void DebugBeginDialogueRequest::setCallingNumber(const std::string& callingNumber)
{
callingNumber_ = callingNumber;
setParameter("CallingNumber", callingNumber);
std::string DebugBeginDialogueRequest::getCallingNumber() const {
return callingNumber_;
}
std::string DebugBeginDialogueRequest::getInstanceId()const
{
return instanceId_;
void DebugBeginDialogueRequest::setCallingNumber(const std::string &callingNumber) {
callingNumber_ = callingNumber;
setParameter(std::string("CallingNumber"), callingNumber);
}
void DebugBeginDialogueRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DebugBeginDialogueRequest::getInstanceId() const {
return instanceId_;
}
std::string DebugBeginDialogueRequest::getCalledNumber()const
{
return calledNumber_;
void DebugBeginDialogueRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DebugBeginDialogueRequest::setCalledNumber(const std::string& calledNumber)
{
calledNumber_ = calledNumber;
setParameter("CalledNumber", calledNumber);
std::string DebugBeginDialogueRequest::getCalledNumber() const {
return calledNumber_;
}
void DebugBeginDialogueRequest::setCalledNumber(const std::string &calledNumber) {
calledNumber_ = calledNumber;
setParameter(std::string("CalledNumber"), calledNumber);
}

View File

@@ -41,10 +41,10 @@ void DebugBeginDialogueResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
if(!value["Action"].isNull())
action_ = value["Action"].asString();
if(!value["ActionParams"].isNull())
actionParams_ = value["ActionParams"].asString();
if(!value["Interruptible"].isNull())
interruptible_ = value["Interruptible"].asString() == "true";
if(!value["ActionParams"].isNull())
actionParams_ = value["ActionParams"].asString();
if(!value["TextResponse"].isNull())
textResponse_ = value["TextResponse"].asString();

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DebugCollectedNumberRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DebugCollectedNumberRequest;
DebugCollectedNumberRequest::DebugCollectedNumberRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DebugCollectedNumber")
{
setMethod(HttpRequest::Method::Post);
}
DebugCollectedNumberRequest::~DebugCollectedNumberRequest()
{}
std::string DebugCollectedNumberRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/DebugCollectedNumberRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DebugCollectedNumberRequest;
DebugCollectedNumberRequest::DebugCollectedNumberRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DebugCollectedNumber") {
setMethod(HttpRequest::Method::Post);
}
void DebugCollectedNumberRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
DebugCollectedNumberRequest::~DebugCollectedNumberRequest() {}
std::string DebugCollectedNumberRequest::getConversationId() const {
return conversationId_;
}
std::string DebugCollectedNumberRequest::getNumber()const
{
return number_;
void DebugCollectedNumberRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void DebugCollectedNumberRequest::setNumber(const std::string& number)
{
number_ = number;
setParameter("Number", number);
std::string DebugCollectedNumberRequest::getNumber() const {
return number_;
}
std::string DebugCollectedNumberRequest::getInstanceId()const
{
return instanceId_;
void DebugCollectedNumberRequest::setNumber(const std::string &number) {
number_ = number;
setParameter(std::string("Number"), number);
}
void DebugCollectedNumberRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DebugCollectedNumberRequest::getInstanceId() const {
return instanceId_;
}
void DebugCollectedNumberRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -39,27 +39,27 @@ void DebugCollectedNumberResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TextResponse"].isNull())
textResponse_ = value["TextResponse"].asString();
if(!value["Interruptible"].isNull())
interruptible_ = value["Interruptible"].asString() == "true";
if(!value["Action"].isNull())
action_ = value["Action"].asString();
if(!value["Interruptible"].isNull())
interruptible_ = value["Interruptible"].asString() == "true";
if(!value["ActionParams"].isNull())
actionParams_ = value["ActionParams"].asString();
if(!value["TextResponse"].isNull())
textResponse_ = value["TextResponse"].asString();
}
bool DebugCollectedNumberResult::getInterruptible()const
{
return interruptible_;
}
std::string DebugCollectedNumberResult::getAction()const
{
return action_;
}
bool DebugCollectedNumberResult::getInterruptible()const
{
return interruptible_;
}
std::string DebugCollectedNumberResult::getActionParams()const
{
return actionParams_;

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DebugDialogueRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DebugDialogueRequest;
DebugDialogueRequest::DebugDialogueRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DebugDialogue")
{
setMethod(HttpRequest::Method::Post);
}
DebugDialogueRequest::~DebugDialogueRequest()
{}
std::string DebugDialogueRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/DebugDialogueRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DebugDialogueRequest;
DebugDialogueRequest::DebugDialogueRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DebugDialogue") {
setMethod(HttpRequest::Method::Post);
}
void DebugDialogueRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
DebugDialogueRequest::~DebugDialogueRequest() {}
std::string DebugDialogueRequest::getConversationId() const {
return conversationId_;
}
std::string DebugDialogueRequest::getInstanceId()const
{
return instanceId_;
void DebugDialogueRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void DebugDialogueRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DebugDialogueRequest::getInstanceId() const {
return instanceId_;
}
std::string DebugDialogueRequest::getAdditionalContext()const
{
return additionalContext_;
void DebugDialogueRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DebugDialogueRequest::setAdditionalContext(const std::string& additionalContext)
{
additionalContext_ = additionalContext;
setParameter("AdditionalContext", additionalContext);
std::string DebugDialogueRequest::getAdditionalContext() const {
return additionalContext_;
}
std::string DebugDialogueRequest::getUtterance()const
{
return utterance_;
void DebugDialogueRequest::setAdditionalContext(const std::string &additionalContext) {
additionalContext_ = additionalContext;
setParameter(std::string("AdditionalContext"), additionalContext);
}
void DebugDialogueRequest::setUtterance(const std::string& utterance)
{
utterance_ = utterance;
setParameter("Utterance", utterance);
std::string DebugDialogueRequest::getUtterance() const {
return utterance_;
}
void DebugDialogueRequest::setUtterance(const std::string &utterance) {
utterance_ = utterance;
setParameter(std::string("Utterance"), utterance);
}

View File

@@ -39,27 +39,27 @@ void DebugDialogueResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TextResponse"].isNull())
textResponse_ = value["TextResponse"].asString();
if(!value["Interruptible"].isNull())
interruptible_ = value["Interruptible"].asString() == "true";
if(!value["Action"].isNull())
action_ = value["Action"].asString();
if(!value["Interruptible"].isNull())
interruptible_ = value["Interruptible"].asString() == "true";
if(!value["ActionParams"].isNull())
actionParams_ = value["ActionParams"].asString();
if(!value["TextResponse"].isNull())
textResponse_ = value["TextResponse"].asString();
}
bool DebugDialogueResult::getInterruptible()const
{
return interruptible_;
}
std::string DebugDialogueResult::getAction()const
{
return action_;
}
bool DebugDialogueResult::getInterruptible()const
{
return interruptible_;
}
std::string DebugDialogueResult::getActionParams()const
{
return actionParams_;

View File

@@ -1,40 +1,36 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/voicenavigator/model/DeleteInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DeleteInstanceRequest;
DeleteInstanceRequest::DeleteInstanceRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DeleteInstance")
{
setMethod(HttpRequest::Method::Post);
}
DeleteInstanceRequest::~DeleteInstanceRequest()
{}
std::string DeleteInstanceRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/voicenavigator/model/DeleteInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DeleteInstanceRequest;
DeleteInstanceRequest::DeleteInstanceRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DeleteInstance") {
setMethod(HttpRequest::Method::Post);
}
void DeleteInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DeleteInstanceRequest::~DeleteInstanceRequest() {}
std::string DeleteInstanceRequest::getInstanceId() const {
return instanceId_;
}
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DeleteSandBoxWhileListRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DeleteSandBoxWhileListRequest;
DeleteSandBoxWhileListRequest::DeleteSandBoxWhileListRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DeleteSandBoxWhileList")
{
setMethod(HttpRequest::Method::Post);
}
DeleteSandBoxWhileListRequest::~DeleteSandBoxWhileListRequest()
{}
std::string DeleteSandBoxWhileListRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void DeleteSandBoxWhileListRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setParameter("PhoneNumber", phoneNumber);
}
std::string DeleteSandBoxWhileListRequest::getInstanceId()const
{
return instanceId_;
}
void DeleteSandBoxWhileListRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}

View File

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

View File

@@ -1,40 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DescribeAsrVadConfigRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeAsrVadConfigRequest;
DescribeAsrVadConfigRequest::DescribeAsrVadConfigRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeAsrVadConfig")
{
setMethod(HttpRequest::Method::Get);
}
DescribeAsrVadConfigRequest::~DescribeAsrVadConfigRequest()
{}
std::string DescribeAsrVadConfigRequest::getInstanceId()const
{
return instanceId_;
}
void DescribeAsrVadConfigRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}

View File

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

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DescribeConversationContextRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeConversationContextRequest;
DescribeConversationContextRequest::DescribeConversationContextRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeConversationContext")
{
setMethod(HttpRequest::Method::Get);
}
DescribeConversationContextRequest::~DescribeConversationContextRequest()
{}
std::string DescribeConversationContextRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/DescribeConversationContextRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeConversationContextRequest;
DescribeConversationContextRequest::DescribeConversationContextRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeConversationContext") {
setMethod(HttpRequest::Method::Get);
}
void DescribeConversationContextRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
DescribeConversationContextRequest::~DescribeConversationContextRequest() {}
std::string DescribeConversationContextRequest::getConversationId() const {
return conversationId_;
}
std::string DescribeConversationContextRequest::getInstanceId()const
{
return instanceId_;
void DescribeConversationContextRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void DescribeConversationContextRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeConversationContextRequest::getInstanceId() const {
return instanceId_;
}
void DescribeConversationContextRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DescribeConversationRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeConversationRequest;
DescribeConversationRequest::DescribeConversationRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeConversation")
{
setMethod(HttpRequest::Method::Get);
}
DescribeConversationRequest::~DescribeConversationRequest()
{}
std::string DescribeConversationRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/DescribeConversationRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeConversationRequest;
DescribeConversationRequest::DescribeConversationRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeConversation") {
setMethod(HttpRequest::Method::Get);
}
void DescribeConversationRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
DescribeConversationRequest::~DescribeConversationRequest() {}
std::string DescribeConversationRequest::getConversationId() const {
return conversationId_;
}
std::string DescribeConversationRequest::getInstanceId()const
{
return instanceId_;
void DescribeConversationRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void DescribeConversationRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeConversationRequest::getInstanceId() const {
return instanceId_;
}
void DescribeConversationRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -39,22 +39,22 @@ void DescribeConversationResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CallingNumber"].isNull())
callingNumber_ = value["CallingNumber"].asString();
if(!value["BeginTime"].isNull())
beginTime_ = std::stol(value["BeginTime"].asString());
if(!value["EndTime"].isNull())
endTime_ = std::stol(value["EndTime"].asString());
if(!value["TransferredToAgent"].isNull())
transferredToAgent_ = value["TransferredToAgent"].asString() == "true";
if(!value["SkillGroupId"].isNull())
skillGroupId_ = value["SkillGroupId"].asString();
if(!value["UserUtteranceCount"].isNull())
userUtteranceCount_ = std::stoi(value["UserUtteranceCount"].asString());
if(!value["EffectiveAnswerCount"].isNull())
effectiveAnswerCount_ = std::stoi(value["EffectiveAnswerCount"].asString());
if(!value["ConversationId"].isNull())
conversationId_ = value["ConversationId"].asString();
if(!value["TransferredToAgent"].isNull())
transferredToAgent_ = value["TransferredToAgent"].asString() == "true";
if(!value["EndTime"].isNull())
endTime_ = std::stol(value["EndTime"].asString());
if(!value["BeginTime"].isNull())
beginTime_ = std::stol(value["BeginTime"].asString());
if(!value["SkillGroupId"].isNull())
skillGroupId_ = value["SkillGroupId"].asString();
if(!value["CallingNumber"].isNull())
callingNumber_ = value["CallingNumber"].asString();
if(!value["UserUtteranceCount"].isNull())
userUtteranceCount_ = std::stoi(value["UserUtteranceCount"].asString());
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DescribeExportProgressRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeExportProgressRequest;
DescribeExportProgressRequest::DescribeExportProgressRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeExportProgress")
{
setMethod(HttpRequest::Method::Get);
}
DescribeExportProgressRequest::~DescribeExportProgressRequest()
{}
std::string DescribeExportProgressRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/voicenavigator/model/DescribeExportProgressRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeExportProgressRequest;
DescribeExportProgressRequest::DescribeExportProgressRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeExportProgress") {
setMethod(HttpRequest::Method::Get);
}
void DescribeExportProgressRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DescribeExportProgressRequest::~DescribeExportProgressRequest() {}
std::string DescribeExportProgressRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeExportProgressRequest::getExportTaskId()const
{
return exportTaskId_;
void DescribeExportProgressRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeExportProgressRequest::setExportTaskId(const std::string& exportTaskId)
{
exportTaskId_ = exportTaskId;
setParameter("ExportTaskId", exportTaskId);
std::string DescribeExportProgressRequest::getExportTaskId() const {
return exportTaskId_;
}
void DescribeExportProgressRequest::setExportTaskId(const std::string &exportTaskId) {
exportTaskId_ = exportTaskId;
setParameter(std::string("ExportTaskId"), exportTaskId);
}

View File

@@ -1,40 +1,36 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/voicenavigator/model/DescribeInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeInstanceRequest;
DescribeInstanceRequest::DescribeInstanceRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeInstance")
{
setMethod(HttpRequest::Method::Get);
}
DescribeInstanceRequest::~DescribeInstanceRequest()
{}
std::string DescribeInstanceRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/voicenavigator/model/DescribeInstanceRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeInstanceRequest;
DescribeInstanceRequest::DescribeInstanceRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeInstance") {
setMethod(HttpRequest::Method::Get);
}
void DescribeInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DescribeInstanceRequest::~DescribeInstanceRequest() {}
std::string DescribeInstanceRequest::getInstanceId() const {
return instanceId_;
}
void DescribeInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -42,22 +42,22 @@ void DescribeInstanceResult::parse(const std::string &payload)
auto allApplicableOperations = value["ApplicableOperations"]["Operation"];
for (const auto &item : allApplicableOperations)
applicableOperations_.push_back(item.asString());
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["Name"].isNull())
name_ = value["Name"].asString();
if(!value["Description"].isNull())
description_ = value["Description"].asString();
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["Concurrency"].isNull())
concurrency_ = std::stol(value["Concurrency"].asString());
if(!value["ModifyTime"].isNull())
modifyTime_ = std::stol(value["ModifyTime"].asString());
if(!value["Description"].isNull())
description_ = value["Description"].asString();
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["Concurrency"].isNull())
concurrency_ = std::stol(value["Concurrency"].asString());
if(!value["ModifyUserName"].isNull())
modifyUserName_ = value["ModifyUserName"].asString();
if(!value["NluServiceType"].isNull())
nluServiceType_ = value["NluServiceType"].asString();
if(!value["Name"].isNull())
name_ = value["Name"].asString();
}

View File

@@ -1,40 +1,36 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/voicenavigator/model/DescribeNavigationConfigRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeNavigationConfigRequest;
DescribeNavigationConfigRequest::DescribeNavigationConfigRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeNavigationConfig")
{
setMethod(HttpRequest::Method::Get);
}
DescribeNavigationConfigRequest::~DescribeNavigationConfigRequest()
{}
std::string DescribeNavigationConfigRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/voicenavigator/model/DescribeNavigationConfigRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeNavigationConfigRequest;
DescribeNavigationConfigRequest::DescribeNavigationConfigRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeNavigationConfig") {
setMethod(HttpRequest::Method::Get);
}
void DescribeNavigationConfigRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DescribeNavigationConfigRequest::~DescribeNavigationConfigRequest() {}
std::string DescribeNavigationConfigRequest::getInstanceId() const {
return instanceId_;
}
void DescribeNavigationConfigRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -39,71 +39,71 @@ void DescribeNavigationConfigResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto greetingConfigNode = value["GreetingConfig"];
if(!greetingConfigNode["GreetingWords"].isNull())
greetingConfig_.greetingWords = greetingConfigNode["GreetingWords"].asString();
if(!greetingConfigNode["SourceType"].isNull())
greetingConfig_.sourceType = greetingConfigNode["SourceType"].asString();
if(!greetingConfigNode["IntentTrigger"].isNull())
greetingConfig_.intentTrigger = greetingConfigNode["IntentTrigger"].asString();
auto unrecognizingConfigNode = value["UnrecognizingConfig"];
if(!unrecognizingConfigNode["Prompt"].isNull())
unrecognizingConfig_.prompt = unrecognizingConfigNode["Prompt"].asString();
if(!unrecognizingConfigNode["Threshold"].isNull())
unrecognizingConfig_.threshold = std::stoi(unrecognizingConfigNode["Threshold"].asString());
if(!unrecognizingConfigNode["FinalPrompt"].isNull())
unrecognizingConfig_.finalPrompt = unrecognizingConfigNode["FinalPrompt"].asString();
if(!unrecognizingConfigNode["FinalAction"].isNull())
unrecognizingConfig_.finalAction = unrecognizingConfigNode["FinalAction"].asString();
if(!unrecognizingConfigNode["FinalActionParams"].isNull())
unrecognizingConfig_.finalActionParams = unrecognizingConfigNode["FinalActionParams"].asString();
auto repeatingConfigNode = value["RepeatingConfig"];
auto allUtterances = repeatingConfigNode["Utterances"]["Utterance"];
for (auto value : allUtterances)
repeatingConfig_.utterances.push_back(value.asString());
auto askingBackConfigNode = value["AskingBackConfig"];
if(!askingBackConfigNode["Enabled"].isNull())
askingBackConfig_.enabled = askingBackConfigNode["Enabled"].asString() == "true";
if(!askingBackConfigNode["Prompt"].isNull())
askingBackConfig_.prompt = askingBackConfigNode["Prompt"].asString();
if(!askingBackConfigNode["EnableNegativeFeedback"].isNull())
askingBackConfig_.enableNegativeFeedback = askingBackConfigNode["EnableNegativeFeedback"].asString() == "true";
if(!askingBackConfigNode["NegativeFeedbackPrompt"].isNull())
askingBackConfig_.negativeFeedbackPrompt = askingBackConfigNode["NegativeFeedbackPrompt"].asString();
if(!askingBackConfigNode["NegativeFeedbackAction"].isNull())
askingBackConfig_.negativeFeedbackAction = askingBackConfigNode["NegativeFeedbackAction"].asString();
if(!askingBackConfigNode["NegativeFeedbackActionParams"].isNull())
askingBackConfig_.negativeFeedbackActionParams = askingBackConfigNode["NegativeFeedbackActionParams"].asString();
if(!askingBackConfigNode["EnableNegativeFeedback"].isNull())
askingBackConfig_.enableNegativeFeedback = askingBackConfigNode["EnableNegativeFeedback"].asString() == "true";
if(!askingBackConfigNode["Enabled"].isNull())
askingBackConfig_.enabled = askingBackConfigNode["Enabled"].asString() == "true";
if(!askingBackConfigNode["Prompt"].isNull())
askingBackConfig_.prompt = askingBackConfigNode["Prompt"].asString();
auto allNegativeFeedbackUtterances = askingBackConfigNode["NegativeFeedbackUtterances"]["Utterance"];
for (auto value : allNegativeFeedbackUtterances)
askingBackConfig_.negativeFeedbackUtterances.push_back(value.asString());
auto silenceTimeoutConfigNode = value["SilenceTimeoutConfig"];
if(!silenceTimeoutConfigNode["Timeout"].isNull())
silenceTimeoutConfig_.timeout = std::stol(silenceTimeoutConfigNode["Timeout"].asString());
if(!silenceTimeoutConfigNode["IntentTrigger"].isNull())
silenceTimeoutConfig_.intentTrigger = silenceTimeoutConfigNode["IntentTrigger"].asString();
if(!silenceTimeoutConfigNode["FinalPrompt"].isNull())
silenceTimeoutConfig_.finalPrompt = silenceTimeoutConfigNode["FinalPrompt"].asString();
if(!silenceTimeoutConfigNode["SourceType"].isNull())
silenceTimeoutConfig_.sourceType = silenceTimeoutConfigNode["SourceType"].asString();
if(!silenceTimeoutConfigNode["FinalAction"].isNull())
silenceTimeoutConfig_.finalAction = silenceTimeoutConfigNode["FinalAction"].asString();
if(!silenceTimeoutConfigNode["Prompt"].isNull())
silenceTimeoutConfig_.prompt = silenceTimeoutConfigNode["Prompt"].asString();
if(!silenceTimeoutConfigNode["Threshold"].isNull())
silenceTimeoutConfig_.threshold = std::stoi(silenceTimeoutConfigNode["Threshold"].asString());
if(!silenceTimeoutConfigNode["FinalActionParams"].isNull())
silenceTimeoutConfig_.finalActionParams = silenceTimeoutConfigNode["FinalActionParams"].asString();
auto greetingConfigNode = value["GreetingConfig"];
if(!greetingConfigNode["IntentTrigger"].isNull())
greetingConfig_.intentTrigger = greetingConfigNode["IntentTrigger"].asString();
if(!greetingConfigNode["GreetingWords"].isNull())
greetingConfig_.greetingWords = greetingConfigNode["GreetingWords"].asString();
if(!greetingConfigNode["SourceType"].isNull())
greetingConfig_.sourceType = greetingConfigNode["SourceType"].asString();
auto unrecognizingConfigNode = value["UnrecognizingConfig"];
if(!unrecognizingConfigNode["FinalPrompt"].isNull())
unrecognizingConfig_.finalPrompt = unrecognizingConfigNode["FinalPrompt"].asString();
if(!unrecognizingConfigNode["FinalAction"].isNull())
unrecognizingConfig_.finalAction = unrecognizingConfigNode["FinalAction"].asString();
if(!unrecognizingConfigNode["FinalActionParams"].isNull())
unrecognizingConfig_.finalActionParams = unrecognizingConfigNode["FinalActionParams"].asString();
if(!unrecognizingConfigNode["Threshold"].isNull())
unrecognizingConfig_.threshold = std::stoi(unrecognizingConfigNode["Threshold"].asString());
if(!unrecognizingConfigNode["Prompt"].isNull())
unrecognizingConfig_.prompt = unrecognizingConfigNode["Prompt"].asString();
auto complainingConfigNode = value["ComplainingConfig"];
if(!complainingConfigNode["Prompt"].isNull())
complainingConfig_.prompt = complainingConfigNode["Prompt"].asString();
if(!complainingConfigNode["FinalAction"].isNull())
complainingConfig_.finalAction = complainingConfigNode["FinalAction"].asString();
if(!complainingConfigNode["Prompt"].isNull())
complainingConfig_.prompt = complainingConfigNode["Prompt"].asString();
if(!complainingConfigNode["FinalActionParams"].isNull())
complainingConfig_.finalActionParams = complainingConfigNode["FinalActionParams"].asString();
auto allUtterances1 = complainingConfigNode["Utterances"]["Utterance"];
for (auto value : allUtterances1)
complainingConfig_.utterances1.push_back(value.asString());
auto silenceTimeoutConfigNode = value["SilenceTimeoutConfig"];
if(!silenceTimeoutConfigNode["Prompt"].isNull())
silenceTimeoutConfig_.prompt = silenceTimeoutConfigNode["Prompt"].asString();
if(!silenceTimeoutConfigNode["Timeout"].isNull())
silenceTimeoutConfig_.timeout = std::stol(silenceTimeoutConfigNode["Timeout"].asString());
if(!silenceTimeoutConfigNode["Threshold"].isNull())
silenceTimeoutConfig_.threshold = std::stoi(silenceTimeoutConfigNode["Threshold"].asString());
if(!silenceTimeoutConfigNode["FinalPrompt"].isNull())
silenceTimeoutConfig_.finalPrompt = silenceTimeoutConfigNode["FinalPrompt"].asString();
if(!silenceTimeoutConfigNode["FinalAction"].isNull())
silenceTimeoutConfig_.finalAction = silenceTimeoutConfigNode["FinalAction"].asString();
if(!silenceTimeoutConfigNode["FinalActionParams"].isNull())
silenceTimeoutConfig_.finalActionParams = silenceTimeoutConfigNode["FinalActionParams"].asString();
if(!silenceTimeoutConfigNode["SourceType"].isNull())
silenceTimeoutConfig_.sourceType = silenceTimeoutConfigNode["SourceType"].asString();
if(!silenceTimeoutConfigNode["IntentTrigger"].isNull())
silenceTimeoutConfig_.intentTrigger = silenceTimeoutConfigNode["IntentTrigger"].asString();
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/DescribeRecordingRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeRecordingRequest;
DescribeRecordingRequest::DescribeRecordingRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeRecording")
{
setMethod(HttpRequest::Method::Get);
}
DescribeRecordingRequest::~DescribeRecordingRequest()
{}
std::string DescribeRecordingRequest::getConversationId()const
{
return conversationId_;
*/
#include <alibabacloud/voicenavigator/model/DescribeRecordingRequest.h>
using AlibabaCloud::VoiceNavigator::Model::DescribeRecordingRequest;
DescribeRecordingRequest::DescribeRecordingRequest()
: RpcServiceRequest("voicenavigator", "2018-06-12", "DescribeRecording") {
setMethod(HttpRequest::Method::Get);
}
void DescribeRecordingRequest::setConversationId(const std::string& conversationId)
{
conversationId_ = conversationId;
setParameter("ConversationId", conversationId);
DescribeRecordingRequest::~DescribeRecordingRequest() {}
std::string DescribeRecordingRequest::getConversationId() const {
return conversationId_;
}
std::string DescribeRecordingRequest::getInstanceId()const
{
return instanceId_;
void DescribeRecordingRequest::setConversationId(const std::string &conversationId) {
conversationId_ = conversationId;
setParameter(std::string("ConversationId"), conversationId);
}
void DescribeRecordingRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeRecordingRequest::getInstanceId() const {
return instanceId_;
}
void DescribeRecordingRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

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