Supported new features for outbound.

This commit is contained in:
sdk-team
2022-03-07 12:29:43 +00:00
parent e23adc1324
commit a0cde540cb
37 changed files with 1672 additions and 74 deletions

View File

@@ -42,6 +42,8 @@
#include "model/CreateGlobalQuestionResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/CreateInstanceBindNumberRequest.h"
#include "model/CreateInstanceBindNumberResult.h"
#include "model/CreateIntentRequest.h"
#include "model/CreateIntentResult.h"
#include "model/CreateJobDataParsingTaskRequest.h"
@@ -62,6 +64,8 @@
#include "model/CreateScriptWaveformResult.h"
#include "model/CreateTagRequest.h"
#include "model/CreateTagResult.h"
#include "model/CreateTaskExportTaskRequest.h"
#include "model/CreateTaskExportTaskResult.h"
#include "model/DeleteAllNumberDistrictInfoRequest.h"
#include "model/DeleteAllNumberDistrictInfoResult.h"
#include "model/DeleteContactBlockListRequest.h"
@@ -118,6 +122,8 @@
#include "model/DescribeTTSDemoResult.h"
#include "model/DescribeTagHitsSummaryRequest.h"
#include "model/DescribeTagHitsSummaryResult.h"
#include "model/DescribeTenantBindNumberRequest.h"
#include "model/DescribeTenantBindNumberResult.h"
#include "model/DialogueRequest.h"
#include "model/DialogueResult.h"
#include "model/DismissNumberDistrictInfoParsingResultRequest.h"
@@ -162,6 +168,8 @@
#include "model/ImportScriptResult.h"
#include "model/InflightTaskTimeoutRequest.h"
#include "model/InflightTaskTimeoutResult.h"
#include "model/ListAllTenantBindNumberBindingRequest.h"
#include "model/ListAllTenantBindNumberBindingResult.h"
#include "model/ListChatbotInstancesRequest.h"
#include "model/ListChatbotInstancesResult.h"
#include "model/ListDialogueFlowsRequest.h"
@@ -317,6 +325,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceBindNumberResult> CreateInstanceBindNumberOutcome;
typedef std::future<CreateInstanceBindNumberOutcome> CreateInstanceBindNumberOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateInstanceBindNumberRequest&, const CreateInstanceBindNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceBindNumberAsyncHandler;
typedef Outcome<Error, Model::CreateIntentResult> CreateIntentOutcome;
typedef std::future<CreateIntentOutcome> CreateIntentOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateIntentRequest&, const CreateIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIntentAsyncHandler;
@@ -347,6 +358,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateTagResult> CreateTagOutcome;
typedef std::future<CreateTagOutcome> CreateTagOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateTagRequest&, const CreateTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagAsyncHandler;
typedef Outcome<Error, Model::CreateTaskExportTaskResult> CreateTaskExportTaskOutcome;
typedef std::future<CreateTaskExportTaskOutcome> CreateTaskExportTaskOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateTaskExportTaskRequest&, const CreateTaskExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTaskExportTaskAsyncHandler;
typedef Outcome<Error, Model::DeleteAllNumberDistrictInfoResult> DeleteAllNumberDistrictInfoOutcome;
typedef std::future<DeleteAllNumberDistrictInfoOutcome> DeleteAllNumberDistrictInfoOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DeleteAllNumberDistrictInfoRequest&, const DeleteAllNumberDistrictInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAllNumberDistrictInfoAsyncHandler;
@@ -431,6 +445,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTagHitsSummaryResult> DescribeTagHitsSummaryOutcome;
typedef std::future<DescribeTagHitsSummaryOutcome> DescribeTagHitsSummaryOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeTagHitsSummaryRequest&, const DescribeTagHitsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagHitsSummaryAsyncHandler;
typedef Outcome<Error, Model::DescribeTenantBindNumberResult> DescribeTenantBindNumberOutcome;
typedef std::future<DescribeTenantBindNumberOutcome> DescribeTenantBindNumberOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeTenantBindNumberRequest&, const DescribeTenantBindNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTenantBindNumberAsyncHandler;
typedef Outcome<Error, Model::DialogueResult> DialogueOutcome;
typedef std::future<DialogueOutcome> DialogueOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DialogueRequest&, const DialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DialogueAsyncHandler;
@@ -497,6 +514,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::InflightTaskTimeoutResult> InflightTaskTimeoutOutcome;
typedef std::future<InflightTaskTimeoutOutcome> InflightTaskTimeoutOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::InflightTaskTimeoutRequest&, const InflightTaskTimeoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InflightTaskTimeoutAsyncHandler;
typedef Outcome<Error, Model::ListAllTenantBindNumberBindingResult> ListAllTenantBindNumberBindingOutcome;
typedef std::future<ListAllTenantBindNumberBindingOutcome> ListAllTenantBindNumberBindingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListAllTenantBindNumberBindingRequest&, const ListAllTenantBindNumberBindingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAllTenantBindNumberBindingAsyncHandler;
typedef Outcome<Error, Model::ListChatbotInstancesResult> ListChatbotInstancesOutcome;
typedef std::future<ListChatbotInstancesOutcome> ListChatbotInstancesOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListChatbotInstancesRequest&, const ListChatbotInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListChatbotInstancesAsyncHandler;
@@ -706,6 +726,9 @@ namespace AlibabaCloud
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
CreateInstanceBindNumberOutcome createInstanceBindNumber(const Model::CreateInstanceBindNumberRequest &request)const;
void createInstanceBindNumberAsync(const Model::CreateInstanceBindNumberRequest& request, const CreateInstanceBindNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceBindNumberOutcomeCallable createInstanceBindNumberCallable(const Model::CreateInstanceBindNumberRequest& request) const;
CreateIntentOutcome createIntent(const Model::CreateIntentRequest &request)const;
void createIntentAsync(const Model::CreateIntentRequest& request, const CreateIntentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateIntentOutcomeCallable createIntentCallable(const Model::CreateIntentRequest& request) const;
@@ -736,6 +759,9 @@ namespace AlibabaCloud
CreateTagOutcome createTag(const Model::CreateTagRequest &request)const;
void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const;
CreateTaskExportTaskOutcome createTaskExportTask(const Model::CreateTaskExportTaskRequest &request)const;
void createTaskExportTaskAsync(const Model::CreateTaskExportTaskRequest& request, const CreateTaskExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTaskExportTaskOutcomeCallable createTaskExportTaskCallable(const Model::CreateTaskExportTaskRequest& request) const;
DeleteAllNumberDistrictInfoOutcome deleteAllNumberDistrictInfo(const Model::DeleteAllNumberDistrictInfoRequest &request)const;
void deleteAllNumberDistrictInfoAsync(const Model::DeleteAllNumberDistrictInfoRequest& request, const DeleteAllNumberDistrictInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAllNumberDistrictInfoOutcomeCallable deleteAllNumberDistrictInfoCallable(const Model::DeleteAllNumberDistrictInfoRequest& request) const;
@@ -820,6 +846,9 @@ namespace AlibabaCloud
DescribeTagHitsSummaryOutcome describeTagHitsSummary(const Model::DescribeTagHitsSummaryRequest &request)const;
void describeTagHitsSummaryAsync(const Model::DescribeTagHitsSummaryRequest& request, const DescribeTagHitsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTagHitsSummaryOutcomeCallable describeTagHitsSummaryCallable(const Model::DescribeTagHitsSummaryRequest& request) const;
DescribeTenantBindNumberOutcome describeTenantBindNumber(const Model::DescribeTenantBindNumberRequest &request)const;
void describeTenantBindNumberAsync(const Model::DescribeTenantBindNumberRequest& request, const DescribeTenantBindNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTenantBindNumberOutcomeCallable describeTenantBindNumberCallable(const Model::DescribeTenantBindNumberRequest& 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;
@@ -886,6 +915,9 @@ namespace AlibabaCloud
InflightTaskTimeoutOutcome inflightTaskTimeout(const Model::InflightTaskTimeoutRequest &request)const;
void inflightTaskTimeoutAsync(const Model::InflightTaskTimeoutRequest& request, const InflightTaskTimeoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InflightTaskTimeoutOutcomeCallable inflightTaskTimeoutCallable(const Model::InflightTaskTimeoutRequest& request) const;
ListAllTenantBindNumberBindingOutcome listAllTenantBindNumberBinding(const Model::ListAllTenantBindNumberBindingRequest &request)const;
void listAllTenantBindNumberBindingAsync(const Model::ListAllTenantBindNumberBindingRequest& request, const ListAllTenantBindNumberBindingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAllTenantBindNumberBindingOutcomeCallable listAllTenantBindNumberBindingCallable(const Model::ListAllTenantBindNumberBindingRequest& 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;

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_OUTBOUNDBOT_MODEL_CREATEINSTANCEBINDNUMBERREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEINSTANCEBINDNUMBERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateInstanceBindNumberRequest : public RpcServiceRequest
{
public:
CreateInstanceBindNumberRequest();
~CreateInstanceBindNumberRequest();
std::string getInstanceList()const;
void setInstanceList(const std::string& instanceList);
std::string getNumber()const;
void setNumber(const std::string& number);
private:
std::string instanceList_;
std::string number_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEINSTANCEBINDNUMBERREQUEST_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_OUTBOUNDBOT_MODEL_CREATEINSTANCEBINDNUMBERRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEINSTANCEBINDNUMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateInstanceBindNumberResult : public ServiceResult
{
public:
struct Data
{
struct ListItem
{
std::string instanceId;
bool success;
};
std::vector<ListItem> list;
};
CreateInstanceBindNumberResult();
explicit CreateInstanceBindNumberResult(const std::string &payload);
~CreateInstanceBindNumberResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEINSTANCEBINDNUMBERRESULT_H_

View File

@@ -0,0 +1,123 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATETASKEXPORTTASKREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATETASKEXPORTTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateTaskExportTaskRequest : public RpcServiceRequest
{
public:
CreateTaskExportTaskRequest();
~CreateTaskExportTaskRequest();
bool getHasAnswered()const;
void setHasAnswered(bool hasAnswered);
long getActualTimeLte()const;
void setActualTimeLte(long actualTimeLte);
std::string getOtherId()const;
void setOtherId(const std::string& otherId);
long getTaskCreateTimeLte()const;
void setTaskCreateTimeLte(long taskCreateTimeLte);
std::string getJobId()const;
void setJobId(const std::string& jobId);
long getTaskCreateTimeGte()const;
void setTaskCreateTimeGte(long taskCreateTimeGte);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getUserIdMatch()const;
void setUserIdMatch(const std::string& userIdMatch);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getScriptNameQuery()const;
void setScriptNameQuery(const std::string& scriptNameQuery);
int getPageIndex()const;
void setPageIndex(int pageIndex);
std::string getSortOrder()const;
void setSortOrder(const std::string& sortOrder);
std::string getTaskStatusStringList()const;
void setTaskStatusStringList(const std::string& taskStatusStringList);
std::string getJobGroupNameQuery()const;
void setJobGroupNameQuery(const std::string& jobGroupNameQuery);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
bool getHasHangUpByRejection()const;
void setHasHangUpByRejection(bool hasHangUpByRejection);
bool getHasReachedEndOfFlow()const;
void setHasReachedEndOfFlow(bool hasReachedEndOfFlow);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getRecordingDurationGte()const;
void setRecordingDurationGte(long recordingDurationGte);
long getCallDurationLte()const;
void setCallDurationLte(long callDurationLte);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
std::string getSortBy()const;
void setSortBy(const std::string& sortBy);
std::string getJobStatusStringList()const;
void setJobStatusStringList(const std::string& jobStatusStringList);
long getActualTimeGte()const;
void setActualTimeGte(long actualTimeGte);
long getCallDurationGte()const;
void setCallDurationGte(long callDurationGte);
long getRecordingDurationLte()const;
void setRecordingDurationLte(long recordingDurationLte);
private:
bool hasAnswered_;
long actualTimeLte_;
std::string otherId_;
long taskCreateTimeLte_;
std::string jobId_;
long taskCreateTimeGte_;
std::string calledNumber_;
std::string userIdMatch_;
int pageSize_;
std::string scriptNameQuery_;
int pageIndex_;
std::string sortOrder_;
std::string taskStatusStringList_;
std::string jobGroupNameQuery_;
std::string taskId_;
bool hasHangUpByRejection_;
bool hasReachedEndOfFlow_;
std::string instanceId_;
long recordingDurationGte_;
long callDurationLte_;
std::string jobGroupId_;
std::string sortBy_;
std::string jobStatusStringList_;
long actualTimeGte_;
long callDurationGte_;
long recordingDurationLte_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATETASKEXPORTTASKREQUEST_H_

View File

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

View File

@@ -62,6 +62,7 @@ namespace AlibabaCloud
std::string getTtsConfig()const;
std::string getCode()const;
bool getSuccess()const;
std::string getNlsConfig()const;
protected:
void parse(const std::string &payload);
@@ -74,6 +75,7 @@ namespace AlibabaCloud
std::string ttsConfig_;
std::string code_;
bool success_;
std::string nlsConfig_;
};
}

View File

@@ -34,10 +34,10 @@ namespace AlibabaCloud
public:
struct TTSConfig
{
std::string instanceId;
std::string volume;
std::string scriptId;
std::string id;
std::string instanceId;
std::string appKey;
std::string nlsServiceType;
std::string voice;
std::string speechRate;
};

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_OUTBOUNDBOT_MODEL_DESCRIBETENANTBINDNUMBERREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETENANTBINDNUMBERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DescribeTenantBindNumberRequest : public RpcServiceRequest
{
public:
DescribeTenantBindNumberRequest();
~DescribeTenantBindNumberRequest();
std::string getNumber()const;
void setNumber(const std::string& number);
private:
std::string number_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETENANTBINDNUMBERREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETENANTBINDNUMBERRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETENANTBINDNUMBERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DescribeTenantBindNumberResult : public ServiceResult
{
public:
struct Data
{
struct ListItem
{
std::string instanceName;
std::string instanceId;
bool isBinding;
};
std::vector<ListItem> list;
};
DescribeTenantBindNumberResult();
explicit DescribeTenantBindNumberResult(const std::string &payload);
~DescribeTenantBindNumberResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBETENANTBINDNUMBERRESULT_H_

View File

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

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTALLTENANTBINDNUMBERBINDINGRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTALLTENANTBINDNUMBERBINDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/outboundbot/OutboundBotExport.h>
namespace AlibabaCloud
{
namespace OutboundBot
{
namespace Model
{
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ListAllTenantBindNumberBindingResult : public ServiceResult
{
public:
struct Data
{
struct ListItem
{
std::string serializedParams;
std::string number;
std::vector<std::string> instanceNameList;
std::string bindingId;
std::string trunkName;
};
std::vector<ListItem> list;
};
ListAllTenantBindNumberBindingResult();
explicit ListAllTenantBindNumberBindingResult(const std::string &payload);
~ListAllTenantBindNumberBindingResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTALLTENANTBINDNUMBERBINDINGRESULT_H_

View File

@@ -49,6 +49,8 @@ namespace AlibabaCloud
void setScriptWaveform(const std::vector<std::string>& scriptWaveform);
std::string getAsrConfig()const;
void setAsrConfig(const std::string& asrConfig);
std::string getNlsConfig()const;
void setNlsConfig(const std::string& nlsConfig);
bool getMiniPlaybackEnabled()const;
void setMiniPlaybackEnabled(bool miniPlaybackEnabled);
std::string getChatbotId()const;
@@ -68,6 +70,7 @@ namespace AlibabaCloud
std::string scriptId_;
std::vector<std::string> scriptWaveform_;
std::string asrConfig_;
std::string nlsConfig_;
bool miniPlaybackEnabled_;
std::string chatbotId_;
std::string instanceId_;

View File

@@ -34,12 +34,12 @@ namespace AlibabaCloud
public:
struct Script
{
std::string industry;
std::string status;
std::string industry;
bool isDrafted;
std::string scriptName;
std::string scriptDescription;
long updateTime;
std::string scriptDescription;
std::string scriptId;
std::string debugStatus;
std::string scene;

View File

@@ -37,20 +37,26 @@ namespace AlibabaCloud
std::string getVoice()const;
void setVoice(const std::string& voice);
std::string getNlsServiceType()const;
void setNlsServiceType(const std::string& nlsServiceType);
std::string getVolume()const;
void setVolume(const std::string& volume);
std::string getScriptId()const;
void setScriptId(const std::string& scriptId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getSpeechRate()const;
void setSpeechRate(const std::string& speechRate);
private:
std::string voice_;
std::string nlsServiceType_;
std::string volume_;
std::string scriptId_;
std::string instanceId_;
std::string appKey_;
std::string speechRate_;
};

View File

@@ -34,10 +34,10 @@ namespace AlibabaCloud
public:
struct TTSConfig
{
std::string instanceId;
std::string volume;
std::string scriptId;
std::string instanceId;
std::string tTSConfigId;
std::string scriptId;
std::string voice;
std::string speechRate;
};

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setUserIdMatch(const std::string& userIdMatch);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getScriptNameQuery()const;
void setScriptNameQuery(const std::string& scriptNameQuery);
int getPageIndex()const;
void setPageIndex(int pageIndex);
std::string getSortOrder()const;
@@ -89,6 +91,7 @@ namespace AlibabaCloud
std::string calledNumber_;
std::string userIdMatch_;
int pageSize_;
std::string scriptNameQuery_;
int pageIndex_;
std::string sortOrder_;
std::string taskStatusStringList_;

View File

@@ -59,6 +59,7 @@ namespace AlibabaCloud
std::string taskStatusString;
int callDuration;
std::string userId;
std::string scriptName;
std::string jobStatusString;
int recordingDuration;
};