Supported new features etc.

This commit is contained in:
sdk-team
2022-03-07 12:30:19 +00:00
parent a0cde540cb
commit b2e60afde0
33 changed files with 1737 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2022-03-07 Version: 1.36.1072
- Supported new features etc.
2022-03-07 Version: 1.36.1071
- Supported new features for outbound.

View File

@@ -1 +1 @@
1.36.1071
1.36.1072

View File

@@ -25,6 +25,8 @@ 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
@@ -41,6 +43,8 @@ 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
@@ -65,8 +69,12 @@ set(voicenavigator_public_header_model
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
@@ -87,12 +95,16 @@ 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/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
@@ -114,6 +126,8 @@ 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
@@ -130,6 +144,8 @@ 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
@@ -154,8 +170,12 @@ set(voicenavigator_src
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
@@ -176,12 +196,16 @@ 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/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

View File

@@ -26,6 +26,8 @@
#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"
@@ -42,6 +44,8 @@
#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"
@@ -66,8 +70,12 @@
#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"
@@ -88,12 +96,16 @@
#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/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"
@@ -123,6 +135,9 @@ 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;
@@ -147,6 +162,9 @@ 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;
@@ -183,9 +201,15 @@ namespace AlibabaCloud
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;
@@ -216,6 +240,9 @@ 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;
@@ -225,6 +252,9 @@ namespace AlibabaCloud
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;
@@ -257,6 +287,9 @@ 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;
@@ -281,6 +314,9 @@ 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;
@@ -317,9 +353,15 @@ namespace AlibabaCloud
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;
@@ -350,6 +392,9 @@ 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;
@@ -359,6 +404,9 @@ namespace AlibabaCloud
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;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -49,6 +49,8 @@ namespace AlibabaCloud
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);
@@ -60,6 +62,7 @@ namespace AlibabaCloud
std::string callingNumber_;
std::string instanceId_;
long beginTimeRightRange_;
std::string isSandBox_;
int pageSize_;
};

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Conversation
{
bool sandBox;
std::string skillGroup;
std::string conversationId;
bool hasLastPlaybackCompleted;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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,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_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

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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

@@ -123,6 +123,42 @@ 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();
@@ -411,6 +447,42 @@ 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();
@@ -843,6 +915,42 @@ 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();
@@ -879,6 +987,42 @@ 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();
@@ -1239,6 +1383,42 @@ VoiceNavigatorClient::ListInstancesOutcomeCallable VoiceNavigatorClient::listIns
return task->get_future();
}
VoiceNavigatorClient::ListSandBoxWhileListOutcome VoiceNavigatorClient::listSandBoxWhileList(const ListSandBoxWhileListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSandBoxWhileListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListSandBoxWhileListOutcome(ListSandBoxWhileListResult(outcome.result()));
else
return ListSandBoxWhileListOutcome(outcome.error());
}
void VoiceNavigatorClient::listSandBoxWhileListAsync(const ListSandBoxWhileListRequest& request, const ListSandBoxWhileListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listSandBoxWhileList(request), context);
};
asyncExecute(new Runnable(fn));
}
VoiceNavigatorClient::ListSandBoxWhileListOutcomeCallable VoiceNavigatorClient::listSandBoxWhileListCallable(const ListSandBoxWhileListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListSandBoxWhileListOutcome()>>(
[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();
@@ -1347,6 +1527,42 @@ 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();

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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

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

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/DisableSandBoxWhileListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::VoiceNavigator;
using namespace AlibabaCloud::VoiceNavigator::Model;
DisableSandBoxWhileListResult::DisableSandBoxWhileListResult() :
ServiceResult()
{}
DisableSandBoxWhileListResult::DisableSandBoxWhileListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableSandBoxWhileListResult::~DisableSandBoxWhileListResult()
{}
void DisableSandBoxWhileListResult::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 DisableSandBoxWhileListResult::getUuid()const
{
return uuid_;
}
std::string DisableSandBoxWhileListResult::getPhoneNumber()const
{
return phoneNumber_;
}

View File

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

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/EnableSandBoxWhileListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::VoiceNavigator;
using namespace AlibabaCloud::VoiceNavigator::Model;
EnableSandBoxWhileListResult::EnableSandBoxWhileListResult() :
ServiceResult()
{}
EnableSandBoxWhileListResult::EnableSandBoxWhileListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableSandBoxWhileListResult::~EnableSandBoxWhileListResult()
{}
void EnableSandBoxWhileListResult::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 EnableSandBoxWhileListResult::getUuid()const
{
return uuid_;
}
std::string EnableSandBoxWhileListResult::getPhoneNumber()const
{
return phoneNumber_;
}

View File

@@ -104,6 +104,17 @@ void ListConversationsRequest::setBeginTimeRightRange(long beginTimeRightRange)
setParameter("BeginTimeRightRange", std::to_string(beginTimeRightRange));
}
std::string ListConversationsRequest::getIsSandBox()const
{
return isSandBox_;
}
void ListConversationsRequest::setIsSandBox(const std::string& isSandBox)
{
isSandBox_ = isSandBox;
setParameter("IsSandBox", isSandBox);
}
int ListConversationsRequest::getPageSize()const
{
return pageSize_;

View File

@@ -61,6 +61,8 @@ void ListConversationsResult::parse(const std::string &payload)
conversationsObject.rounds = std::stoi(valueConversationsConversation["Rounds"].asString());
if(!valueConversationsConversation["HasLastPlaybackCompleted"].isNull())
conversationsObject.hasLastPlaybackCompleted = valueConversationsConversation["HasLastPlaybackCompleted"].asString() == "true";
if(!valueConversationsConversation["SandBox"].isNull())
conversationsObject.sandBox = valueConversationsConversation["SandBox"].asString() == "true";
conversations_.push_back(conversationsObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ListSandBoxWhileListRequest.h>
using AlibabaCloud::VoiceNavigator::Model::ListSandBoxWhileListRequest;
ListSandBoxWhileListRequest::ListSandBoxWhileListRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "ListSandBoxWhileList")
{
setMethod(HttpRequest::Method::Post);
}
ListSandBoxWhileListRequest::~ListSandBoxWhileListRequest()
{}
std::string ListSandBoxWhileListRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void ListSandBoxWhileListRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setParameter("PhoneNumber", phoneNumber);
}
int ListSandBoxWhileListRequest::getPageNumber()const
{
return pageNumber_;
}
void ListSandBoxWhileListRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListSandBoxWhileListRequest::getInstanceId()const
{
return instanceId_;
}
void ListSandBoxWhileListRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string ListSandBoxWhileListRequest::getName()const
{
return name_;
}
void ListSandBoxWhileListRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
int ListSandBoxWhileListRequest::getPageSize()const
{
return pageSize_;
}
void ListSandBoxWhileListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/voicenavigator/model/ListSandBoxWhileListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::VoiceNavigator;
using namespace AlibabaCloud::VoiceNavigator::Model;
ListSandBoxWhileListResult::ListSandBoxWhileListResult() :
ServiceResult()
{}
ListSandBoxWhileListResult::ListSandBoxWhileListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListSandBoxWhileListResult::~ListSandBoxWhileListResult()
{}
void ListSandBoxWhileListResult::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["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
}
long ListSandBoxWhileListResult::getTotalCount()const
{
return totalCount_;
}
int ListSandBoxWhileListResult::getPageSize()const
{
return pageSize_;
}
int ListSandBoxWhileListResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListSandBoxWhileListResult::WhiteListItem> ListSandBoxWhileListResult::getWhiteList()const
{
return whiteList_;
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ModifySandBoxWhileListRequest.h>
using AlibabaCloud::VoiceNavigator::Model::ModifySandBoxWhileListRequest;
ModifySandBoxWhileListRequest::ModifySandBoxWhileListRequest() :
RpcServiceRequest("voicenavigator", "2018-06-12", "ModifySandBoxWhileList")
{
setMethod(HttpRequest::Method::Post);
}
ModifySandBoxWhileListRequest::~ModifySandBoxWhileListRequest()
{}
std::string ModifySandBoxWhileListRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void ModifySandBoxWhileListRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setParameter("PhoneNumber", phoneNumber);
}
std::string ModifySandBoxWhileListRequest::getDescription()const
{
return description_;
}
void ModifySandBoxWhileListRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string ModifySandBoxWhileListRequest::getUuid()const
{
return uuid_;
}
void ModifySandBoxWhileListRequest::setUuid(const std::string& uuid)
{
uuid_ = uuid;
setParameter("Uuid", uuid);
}
std::string ModifySandBoxWhileListRequest::getInstanceId()const
{
return instanceId_;
}
void ModifySandBoxWhileListRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string ModifySandBoxWhileListRequest::getName()const
{
return name_;
}
void ModifySandBoxWhileListRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ModifySandBoxWhileListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::VoiceNavigator;
using namespace AlibabaCloud::VoiceNavigator::Model;
ModifySandBoxWhileListResult::ModifySandBoxWhileListResult() :
ServiceResult()
{}
ModifySandBoxWhileListResult::ModifySandBoxWhileListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifySandBoxWhileListResult::~ModifySandBoxWhileListResult()
{}
void ModifySandBoxWhileListResult::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 ModifySandBoxWhileListResult::getUuid()const
{
return uuid_;
}
std::string ModifySandBoxWhileListResult::getPhoneNumber()const
{
return phoneNumber_;
}