Supported new features for outbound.

This commit is contained in:
sdk-team
2022-01-12 12:30:44 +00:00
parent b4ecf9926e
commit ad478b719d
59 changed files with 2377 additions and 63 deletions

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "OutboundBotExport.h"
#include "model/ApplyNumberDistrictInfoParsingResultRequest.h"
#include "model/ApplyNumberDistrictInfoParsingResultResult.h"
#include "model/AssignJobsRequest.h"
#include "model/AssignJobsResult.h"
#include "model/CancelJobsRequest.h"
@@ -48,6 +50,10 @@
#include "model/CreateJobGroupResult.h"
#include "model/CreateJobGroupExportTaskRequest.h"
#include "model/CreateJobGroupExportTaskResult.h"
#include "model/CreateNumberDistrictInfoDownloadUrlRequest.h"
#include "model/CreateNumberDistrictInfoDownloadUrlResult.h"
#include "model/CreateNumberDistrictInfoParsingTaskRequest.h"
#include "model/CreateNumberDistrictInfoParsingTaskResult.h"
#include "model/CreateOutboundCallNumberRequest.h"
#include "model/CreateOutboundCallNumberResult.h"
#include "model/CreateScriptRequest.h"
@@ -56,6 +62,8 @@
#include "model/CreateScriptWaveformResult.h"
#include "model/CreateTagRequest.h"
#include "model/CreateTagResult.h"
#include "model/DeleteAllNumberDistrictInfoRequest.h"
#include "model/DeleteAllNumberDistrictInfoResult.h"
#include "model/DeleteContactBlockListRequest.h"
#include "model/DeleteContactBlockListResult.h"
#include "model/DeleteContactWhiteListRequest.h"
@@ -98,6 +106,8 @@
#include "model/DescribeJobGroupResult.h"
#include "model/DescribeJobGroupExportTaskProgressRequest.h"
#include "model/DescribeJobGroupExportTaskProgressResult.h"
#include "model/DescribeNumberDistrictInfoStatusRequest.h"
#include "model/DescribeNumberDistrictInfoStatusResult.h"
#include "model/DescribeScriptRequest.h"
#include "model/DescribeScriptResult.h"
#include "model/DescribeScriptVoiceConfigRequest.h"
@@ -110,6 +120,8 @@
#include "model/DescribeTagHitsSummaryResult.h"
#include "model/DialogueRequest.h"
#include "model/DialogueResult.h"
#include "model/DismissNumberDistrictInfoParsingResultRequest.h"
#include "model/DismissNumberDistrictInfoParsingResultResult.h"
#include "model/DownloadRecordingRequest.h"
#include "model/DownloadRecordingResult.h"
#include "model/DuplicateScriptRequest.h"
@@ -138,6 +150,8 @@
#include "model/GetInstanceConfigResult.h"
#include "model/GetMaxAttemptsPerDayRequest.h"
#include "model/GetMaxAttemptsPerDayResult.h"
#include "model/GetNumberDistrictInfoTemplateDownloadUrlRequest.h"
#include "model/GetNumberDistrictInfoTemplateDownloadUrlResult.h"
#include "model/GetSummaryInfoRequest.h"
#include "model/GetSummaryInfoResult.h"
#include "model/GetTaskByUuidRequest.h"
@@ -148,6 +162,8 @@
#include "model/ImportScriptResult.h"
#include "model/InflightTaskTimeoutRequest.h"
#include "model/InflightTaskTimeoutResult.h"
#include "model/ListChatbotInstancesRequest.h"
#include "model/ListChatbotInstancesResult.h"
#include "model/ListDialogueFlowsRequest.h"
#include "model/ListDialogueFlowsResult.h"
#include "model/ListDownloadTasksRequest.h"
@@ -271,6 +287,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT OutboundBotClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ApplyNumberDistrictInfoParsingResultResult> ApplyNumberDistrictInfoParsingResultOutcome;
typedef std::future<ApplyNumberDistrictInfoParsingResultOutcome> ApplyNumberDistrictInfoParsingResultOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ApplyNumberDistrictInfoParsingResultRequest&, const ApplyNumberDistrictInfoParsingResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyNumberDistrictInfoParsingResultAsyncHandler;
typedef Outcome<Error, Model::AssignJobsResult> AssignJobsOutcome;
typedef std::future<AssignJobsOutcome> AssignJobsOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::AssignJobsRequest&, const AssignJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignJobsAsyncHandler;
@@ -310,6 +329,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateJobGroupExportTaskResult> CreateJobGroupExportTaskOutcome;
typedef std::future<CreateJobGroupExportTaskOutcome> CreateJobGroupExportTaskOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateJobGroupExportTaskRequest&, const CreateJobGroupExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobGroupExportTaskAsyncHandler;
typedef Outcome<Error, Model::CreateNumberDistrictInfoDownloadUrlResult> CreateNumberDistrictInfoDownloadUrlOutcome;
typedef std::future<CreateNumberDistrictInfoDownloadUrlOutcome> CreateNumberDistrictInfoDownloadUrlOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateNumberDistrictInfoDownloadUrlRequest&, const CreateNumberDistrictInfoDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNumberDistrictInfoDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::CreateNumberDistrictInfoParsingTaskResult> CreateNumberDistrictInfoParsingTaskOutcome;
typedef std::future<CreateNumberDistrictInfoParsingTaskOutcome> CreateNumberDistrictInfoParsingTaskOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateNumberDistrictInfoParsingTaskRequest&, const CreateNumberDistrictInfoParsingTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNumberDistrictInfoParsingTaskAsyncHandler;
typedef Outcome<Error, Model::CreateOutboundCallNumberResult> CreateOutboundCallNumberOutcome;
typedef std::future<CreateOutboundCallNumberOutcome> CreateOutboundCallNumberOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::CreateOutboundCallNumberRequest&, const CreateOutboundCallNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOutboundCallNumberAsyncHandler;
@@ -322,6 +347,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::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;
typedef Outcome<Error, Model::DeleteContactBlockListResult> DeleteContactBlockListOutcome;
typedef std::future<DeleteContactBlockListOutcome> DeleteContactBlockListOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DeleteContactBlockListRequest&, const DeleteContactBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteContactBlockListAsyncHandler;
@@ -385,6 +413,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeJobGroupExportTaskProgressResult> DescribeJobGroupExportTaskProgressOutcome;
typedef std::future<DescribeJobGroupExportTaskProgressOutcome> DescribeJobGroupExportTaskProgressOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeJobGroupExportTaskProgressRequest&, const DescribeJobGroupExportTaskProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobGroupExportTaskProgressAsyncHandler;
typedef Outcome<Error, Model::DescribeNumberDistrictInfoStatusResult> DescribeNumberDistrictInfoStatusOutcome;
typedef std::future<DescribeNumberDistrictInfoStatusOutcome> DescribeNumberDistrictInfoStatusOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeNumberDistrictInfoStatusRequest&, const DescribeNumberDistrictInfoStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNumberDistrictInfoStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeScriptResult> DescribeScriptOutcome;
typedef std::future<DescribeScriptOutcome> DescribeScriptOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DescribeScriptRequest&, const DescribeScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScriptAsyncHandler;
@@ -403,6 +434,9 @@ namespace AlibabaCloud
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;
typedef Outcome<Error, Model::DismissNumberDistrictInfoParsingResultResult> DismissNumberDistrictInfoParsingResultOutcome;
typedef std::future<DismissNumberDistrictInfoParsingResultOutcome> DismissNumberDistrictInfoParsingResultOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DismissNumberDistrictInfoParsingResultRequest&, const DismissNumberDistrictInfoParsingResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DismissNumberDistrictInfoParsingResultAsyncHandler;
typedef Outcome<Error, Model::DownloadRecordingResult> DownloadRecordingOutcome;
typedef std::future<DownloadRecordingOutcome> DownloadRecordingOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::DownloadRecordingRequest&, const DownloadRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadRecordingAsyncHandler;
@@ -445,6 +479,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetMaxAttemptsPerDayResult> GetMaxAttemptsPerDayOutcome;
typedef std::future<GetMaxAttemptsPerDayOutcome> GetMaxAttemptsPerDayOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::GetMaxAttemptsPerDayRequest&, const GetMaxAttemptsPerDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMaxAttemptsPerDayAsyncHandler;
typedef Outcome<Error, Model::GetNumberDistrictInfoTemplateDownloadUrlResult> GetNumberDistrictInfoTemplateDownloadUrlOutcome;
typedef std::future<GetNumberDistrictInfoTemplateDownloadUrlOutcome> GetNumberDistrictInfoTemplateDownloadUrlOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::GetNumberDistrictInfoTemplateDownloadUrlRequest&, const GetNumberDistrictInfoTemplateDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNumberDistrictInfoTemplateDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::GetSummaryInfoResult> GetSummaryInfoOutcome;
typedef std::future<GetSummaryInfoOutcome> GetSummaryInfoOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::GetSummaryInfoRequest&, const GetSummaryInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSummaryInfoAsyncHandler;
@@ -460,6 +497,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::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;
typedef Outcome<Error, Model::ListDialogueFlowsResult> ListDialogueFlowsOutcome;
typedef std::future<ListDialogueFlowsOutcome> ListDialogueFlowsOutcomeCallable;
typedef std::function<void(const OutboundBotClient*, const Model::ListDialogueFlowsRequest&, const ListDialogueFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDialogueFlowsAsyncHandler;
@@ -636,6 +676,9 @@ namespace AlibabaCloud
OutboundBotClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
OutboundBotClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~OutboundBotClient();
ApplyNumberDistrictInfoParsingResultOutcome applyNumberDistrictInfoParsingResult(const Model::ApplyNumberDistrictInfoParsingResultRequest &request)const;
void applyNumberDistrictInfoParsingResultAsync(const Model::ApplyNumberDistrictInfoParsingResultRequest& request, const ApplyNumberDistrictInfoParsingResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyNumberDistrictInfoParsingResultOutcomeCallable applyNumberDistrictInfoParsingResultCallable(const Model::ApplyNumberDistrictInfoParsingResultRequest& request) const;
AssignJobsOutcome assignJobs(const Model::AssignJobsRequest &request)const;
void assignJobsAsync(const Model::AssignJobsRequest& request, const AssignJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssignJobsOutcomeCallable assignJobsCallable(const Model::AssignJobsRequest& request) const;
@@ -675,6 +718,12 @@ namespace AlibabaCloud
CreateJobGroupExportTaskOutcome createJobGroupExportTask(const Model::CreateJobGroupExportTaskRequest &request)const;
void createJobGroupExportTaskAsync(const Model::CreateJobGroupExportTaskRequest& request, const CreateJobGroupExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateJobGroupExportTaskOutcomeCallable createJobGroupExportTaskCallable(const Model::CreateJobGroupExportTaskRequest& request) const;
CreateNumberDistrictInfoDownloadUrlOutcome createNumberDistrictInfoDownloadUrl(const Model::CreateNumberDistrictInfoDownloadUrlRequest &request)const;
void createNumberDistrictInfoDownloadUrlAsync(const Model::CreateNumberDistrictInfoDownloadUrlRequest& request, const CreateNumberDistrictInfoDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNumberDistrictInfoDownloadUrlOutcomeCallable createNumberDistrictInfoDownloadUrlCallable(const Model::CreateNumberDistrictInfoDownloadUrlRequest& request) const;
CreateNumberDistrictInfoParsingTaskOutcome createNumberDistrictInfoParsingTask(const Model::CreateNumberDistrictInfoParsingTaskRequest &request)const;
void createNumberDistrictInfoParsingTaskAsync(const Model::CreateNumberDistrictInfoParsingTaskRequest& request, const CreateNumberDistrictInfoParsingTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNumberDistrictInfoParsingTaskOutcomeCallable createNumberDistrictInfoParsingTaskCallable(const Model::CreateNumberDistrictInfoParsingTaskRequest& request) const;
CreateOutboundCallNumberOutcome createOutboundCallNumber(const Model::CreateOutboundCallNumberRequest &request)const;
void createOutboundCallNumberAsync(const Model::CreateOutboundCallNumberRequest& request, const CreateOutboundCallNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateOutboundCallNumberOutcomeCallable createOutboundCallNumberCallable(const Model::CreateOutboundCallNumberRequest& request) const;
@@ -687,6 +736,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;
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;
DeleteContactBlockListOutcome deleteContactBlockList(const Model::DeleteContactBlockListRequest &request)const;
void deleteContactBlockListAsync(const Model::DeleteContactBlockListRequest& request, const DeleteContactBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteContactBlockListOutcomeCallable deleteContactBlockListCallable(const Model::DeleteContactBlockListRequest& request) const;
@@ -750,6 +802,9 @@ namespace AlibabaCloud
DescribeJobGroupExportTaskProgressOutcome describeJobGroupExportTaskProgress(const Model::DescribeJobGroupExportTaskProgressRequest &request)const;
void describeJobGroupExportTaskProgressAsync(const Model::DescribeJobGroupExportTaskProgressRequest& request, const DescribeJobGroupExportTaskProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeJobGroupExportTaskProgressOutcomeCallable describeJobGroupExportTaskProgressCallable(const Model::DescribeJobGroupExportTaskProgressRequest& request) const;
DescribeNumberDistrictInfoStatusOutcome describeNumberDistrictInfoStatus(const Model::DescribeNumberDistrictInfoStatusRequest &request)const;
void describeNumberDistrictInfoStatusAsync(const Model::DescribeNumberDistrictInfoStatusRequest& request, const DescribeNumberDistrictInfoStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNumberDistrictInfoStatusOutcomeCallable describeNumberDistrictInfoStatusCallable(const Model::DescribeNumberDistrictInfoStatusRequest& request) const;
DescribeScriptOutcome describeScript(const Model::DescribeScriptRequest &request)const;
void describeScriptAsync(const Model::DescribeScriptRequest& request, const DescribeScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeScriptOutcomeCallable describeScriptCallable(const Model::DescribeScriptRequest& request) const;
@@ -768,6 +823,9 @@ namespace AlibabaCloud
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;
DismissNumberDistrictInfoParsingResultOutcome dismissNumberDistrictInfoParsingResult(const Model::DismissNumberDistrictInfoParsingResultRequest &request)const;
void dismissNumberDistrictInfoParsingResultAsync(const Model::DismissNumberDistrictInfoParsingResultRequest& request, const DismissNumberDistrictInfoParsingResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DismissNumberDistrictInfoParsingResultOutcomeCallable dismissNumberDistrictInfoParsingResultCallable(const Model::DismissNumberDistrictInfoParsingResultRequest& request) const;
DownloadRecordingOutcome downloadRecording(const Model::DownloadRecordingRequest &request)const;
void downloadRecordingAsync(const Model::DownloadRecordingRequest& request, const DownloadRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadRecordingOutcomeCallable downloadRecordingCallable(const Model::DownloadRecordingRequest& request) const;
@@ -810,6 +868,9 @@ namespace AlibabaCloud
GetMaxAttemptsPerDayOutcome getMaxAttemptsPerDay(const Model::GetMaxAttemptsPerDayRequest &request)const;
void getMaxAttemptsPerDayAsync(const Model::GetMaxAttemptsPerDayRequest& request, const GetMaxAttemptsPerDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMaxAttemptsPerDayOutcomeCallable getMaxAttemptsPerDayCallable(const Model::GetMaxAttemptsPerDayRequest& request) const;
GetNumberDistrictInfoTemplateDownloadUrlOutcome getNumberDistrictInfoTemplateDownloadUrl(const Model::GetNumberDistrictInfoTemplateDownloadUrlRequest &request)const;
void getNumberDistrictInfoTemplateDownloadUrlAsync(const Model::GetNumberDistrictInfoTemplateDownloadUrlRequest& request, const GetNumberDistrictInfoTemplateDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetNumberDistrictInfoTemplateDownloadUrlOutcomeCallable getNumberDistrictInfoTemplateDownloadUrlCallable(const Model::GetNumberDistrictInfoTemplateDownloadUrlRequest& request) const;
GetSummaryInfoOutcome getSummaryInfo(const Model::GetSummaryInfoRequest &request)const;
void getSummaryInfoAsync(const Model::GetSummaryInfoRequest& request, const GetSummaryInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSummaryInfoOutcomeCallable getSummaryInfoCallable(const Model::GetSummaryInfoRequest& request) const;
@@ -825,6 +886,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;
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;
ListDialogueFlowsOutcome listDialogueFlows(const Model::ListDialogueFlowsRequest &request)const;
void listDialogueFlowsAsync(const Model::ListDialogueFlowsRequest& request, const ListDialogueFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDialogueFlowsOutcomeCallable listDialogueFlowsCallable(const Model::ListDialogueFlowsRequest& 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_OUTBOUNDBOT_MODEL_APPLYNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_APPLYNUMBERDISTRICTINFOPARSINGRESULTREQUEST_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 ApplyNumberDistrictInfoParsingResultRequest : public RpcServiceRequest
{
public:
ApplyNumberDistrictInfoParsingResultRequest();
~ApplyNumberDistrictInfoParsingResultRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
private:
std::string versionId_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_APPLYNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_

View File

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

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setName(const std::string& name);
std::string getSourceGroupId()const;
void setSourceGroupId(const std::string& sourceGroupId);
long getRingingDuration()const;
void setRingingDuration(long ringingDuration);
private:
std::string recallStrategyJson_;
@@ -64,6 +66,7 @@ namespace AlibabaCloud
std::string strategyJson_;
std::string name_;
std::string sourceGroupId_;
long ringingDuration_;
};
}

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct JobGroup
{
std::string id;
long ringingDuration;
};

View File

@@ -49,6 +49,8 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
long getRingingDuration()const;
void setRingingDuration(long ringingDuration);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
@@ -60,6 +62,7 @@ namespace AlibabaCloud
std::vector<std::string> callingNumber_;
std::string instanceId_;
std::string strategyJson_;
long ringingDuration_;
std::string scenarioId_;
};

View File

@@ -76,6 +76,7 @@ namespace AlibabaCloud
std::string jobGroupName;
std::string scriptVersion;
std::string jobGroupDescription;
long ringingDuration;
std::string jobGroupId;
std::string scriptName;
long creationTime;

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_CREATENUMBERDISTRICTINFODOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFODOWNLOADURLREQUEST_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 CreateNumberDistrictInfoDownloadUrlRequest : public RpcServiceRequest
{
public:
CreateNumberDistrictInfoDownloadUrlRequest();
~CreateNumberDistrictInfoDownloadUrlRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
private:
std::string versionId_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFODOWNLOADURLREQUEST_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_CREATENUMBERDISTRICTINFODOWNLOADURLRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFODOWNLOADURLRESULT_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 CreateNumberDistrictInfoDownloadUrlResult : public ServiceResult
{
public:
CreateNumberDistrictInfoDownloadUrlResult();
explicit CreateNumberDistrictInfoDownloadUrlResult(const std::string &payload);
~CreateNumberDistrictInfoDownloadUrlResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getFileHttpUrl()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string fileHttpUrl_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFODOWNLOADURLRESULT_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_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFOPARSINGTASKREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFOPARSINGTASKREQUEST_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 CreateNumberDistrictInfoParsingTaskRequest : public RpcServiceRequest
{
public:
CreateNumberDistrictInfoParsingTaskRequest();
~CreateNumberDistrictInfoParsingTaskRequest();
long getFileSize()const;
void setFileSize(long fileSize);
std::string getFilePath()const;
void setFilePath(const std::string& filePath);
private:
long fileSize_;
std::string filePath_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATENUMBERDISTRICTINFOPARSINGTASKREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
int handledJobCount;
std::string failReason;
std::string failErrorCode;
std::string feedbackUrl;
};

View File

@@ -108,6 +108,7 @@ namespace AlibabaCloud
std::string scriptId;
std::string jobGroupDescription;
Result result;
long ringingDuration;
std::string jobGroupId;
std::string scriptName;
long creationTime;

View File

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

View File

@@ -0,0 +1,76 @@
/*
* 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_DESCRIBENUMBERDISTRICTINFOSTATUSRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBENUMBERDISTRICTINFOSTATUSRESULT_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 DescribeNumberDistrictInfoStatusResult : public ServiceResult
{
public:
struct AppliedVersion
{
std::string versionId;
std::string fileName;
long fileSize;
};
struct ParsingVersion
{
std::string versionId;
long parseProgress;
std::string fileName;
long fileSize;
};
DescribeNumberDistrictInfoStatusResult();
explicit DescribeNumberDistrictInfoStatusResult(const std::string &payload);
~DescribeNumberDistrictInfoStatusResult();
std::string getStatus()const;
AppliedVersion getAppliedVersion()const;
ParsingVersion getParsingVersion()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 status_;
AppliedVersion appliedVersion_;
ParsingVersion parsingVersion_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DESCRIBENUMBERDISTRICTINFOSTATUSRESULT_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_DISMISSNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DISMISSNUMBERDISTRICTINFOPARSINGRESULTREQUEST_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 DismissNumberDistrictInfoParsingResultRequest : public RpcServiceRequest
{
public:
DismissNumberDistrictInfoParsingResultRequest();
~DismissNumberDistrictInfoParsingResultRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
private:
std::string versionId_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DISMISSNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETNUMBERDISTRICTINFOTEMPLATEDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETNUMBERDISTRICTINFOTEMPLATEDOWNLOADURLREQUEST_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 GetNumberDistrictInfoTemplateDownloadUrlRequest : public RpcServiceRequest
{
public:
GetNumberDistrictInfoTemplateDownloadUrlRequest();
~GetNumberDistrictInfoTemplateDownloadUrlRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETNUMBERDISTRICTINFOTEMPLATEDOWNLOADURLREQUEST_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_GETNUMBERDISTRICTINFOTEMPLATEDOWNLOADURLRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETNUMBERDISTRICTINFOTEMPLATEDOWNLOADURLRESULT_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 GetNumberDistrictInfoTemplateDownloadUrlResult : public ServiceResult
{
public:
GetNumberDistrictInfoTemplateDownloadUrlResult();
explicit GetNumberDistrictInfoTemplateDownloadUrlResult(const std::string &payload);
~GetNumberDistrictInfoTemplateDownloadUrlResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getFileHttpUrl()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string fileHttpUrl_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_GETNUMBERDISTRICTINFOTEMPLATEDOWNLOADURLRESULT_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_OUTBOUNDBOT_MODEL_LISTCHATBOTINSTANCESREQUEST_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTCHATBOTINSTANCESREQUEST_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 ListChatbotInstancesRequest : public RpcServiceRequest
{
public:
ListChatbotInstancesRequest();
~ListChatbotInstancesRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTCHATBOTINSTANCESREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* 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_LISTCHATBOTINSTANCESRESULT_H_
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTCHATBOTINSTANCESRESULT_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 ListChatbotInstancesResult : public ServiceResult
{
public:
struct Bot
{
std::string languageCode;
std::string timeZone;
std::string introduction;
std::string instanceId;
std::string createTime;
std::string avatar;
std::string name;
};
ListChatbotInstancesResult();
explicit ListChatbotInstancesResult(const std::string &payload);
~ListChatbotInstancesResult();
long getTotalCount()const;
std::vector<Bot> getBots()const;
std::string getMessage()const;
long getPageSize()const;
long getPageNumber()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::vector<Bot> bots_;
std::string message_;
long pageSize_;
long pageNumber_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTCHATBOTINSTANCESRESULT_H_

View File

@@ -41,29 +41,35 @@ namespace AlibabaCloud
void setDescription(const std::string& description);
std::string getScriptId()const;
void setScriptId(const std::string& scriptId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
long getRingingDuration()const;
void setRingingDuration(long ringingDuration);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
std::string getJobGroupStatus()const;
void setJobGroupStatus(const std::string& jobGroupStatus);
std::vector<std::string> getCallingNumber()const;
void setCallingNumber(const std::vector<std::string>& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
std::string getName()const;
void setName(const std::string& name);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
private:
std::string recallStrategyJson_;
std::string description_;
std::string scriptId_;
std::string strategyJson_;
long ringingDuration_;
std::string scenarioId_;
std::string jobGroupStatus_;
std::vector<std::string> callingNumber_;
std::string instanceId_;
std::string strategyJson_;
std::string jobGroupId_;
std::string name_;
std::string scenarioId_;
};
}

View File

@@ -76,6 +76,7 @@ namespace AlibabaCloud
std::string jobGroupName;
std::string scriptVersion;
std::string jobGroupDescription;
long ringingDuration;
std::string jobGroupId;
std::string scriptName;
long creationTime;