@@ -22,8 +22,106 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ChatbotExport.h"
|
||||
#include "model/CreateEntityRequest.h"
|
||||
#include "model/CreateEntityResult.h"
|
||||
#include "model/PublishKnowledgeRequest.h"
|
||||
#include "model/PublishKnowledgeResult.h"
|
||||
#include "model/DeleteCategoryRequest.h"
|
||||
#include "model/DeleteCategoryResult.h"
|
||||
#include "model/AddSynonymRequest.h"
|
||||
#include "model/AddSynonymResult.h"
|
||||
#include "model/QueryIntentsRequest.h"
|
||||
#include "model/QueryIntentsResult.h"
|
||||
#include "model/DescribeCategoryRequest.h"
|
||||
#include "model/DescribeCategoryResult.h"
|
||||
#include "model/AppendEntityMemberRequest.h"
|
||||
#include "model/AppendEntityMemberResult.h"
|
||||
#include "model/DescribePerspectiveRequest.h"
|
||||
#include "model/DescribePerspectiveResult.h"
|
||||
#include "model/UpdateDialogRequest.h"
|
||||
#include "model/UpdateDialogResult.h"
|
||||
#include "model/DescribeIntentRequest.h"
|
||||
#include "model/DescribeIntentResult.h"
|
||||
#include "model/QueryDialogsRequest.h"
|
||||
#include "model/QueryDialogsResult.h"
|
||||
#include "model/CreateDialogRequest.h"
|
||||
#include "model/CreateDialogResult.h"
|
||||
#include "model/QueryCoreWordsRequest.h"
|
||||
#include "model/QueryCoreWordsResult.h"
|
||||
#include "model/UpdateCoreWordRequest.h"
|
||||
#include "model/UpdateCoreWordResult.h"
|
||||
#include "model/UpdateCategoryRequest.h"
|
||||
#include "model/UpdateCategoryResult.h"
|
||||
#include "model/UpdateEntityRequest.h"
|
||||
#include "model/UpdateEntityResult.h"
|
||||
#include "model/MoveKnowledgeCategoryRequest.h"
|
||||
#include "model/MoveKnowledgeCategoryResult.h"
|
||||
#include "model/DeleteCoreWordRequest.h"
|
||||
#include "model/DeleteCoreWordResult.h"
|
||||
#include "model/UpdatePerspectiveRequest.h"
|
||||
#include "model/UpdatePerspectiveResult.h"
|
||||
#include "model/CreateIntentRequest.h"
|
||||
#include "model/CreateIntentResult.h"
|
||||
#include "model/QueryCategoriesRequest.h"
|
||||
#include "model/QueryCategoriesResult.h"
|
||||
#include "model/QueryKnowledgesRequest.h"
|
||||
#include "model/QueryKnowledgesResult.h"
|
||||
#include "model/DeleteDialogRequest.h"
|
||||
#include "model/DeleteDialogResult.h"
|
||||
#include "model/DescribeDialogRequest.h"
|
||||
#include "model/DescribeDialogResult.h"
|
||||
#include "model/UpdateIntentRequest.h"
|
||||
#include "model/UpdateIntentResult.h"
|
||||
#include "model/RemoveSynonymRequest.h"
|
||||
#include "model/RemoveSynonymResult.h"
|
||||
#include "model/DescribeDialogFlowRequest.h"
|
||||
#include "model/DescribeDialogFlowResult.h"
|
||||
#include "model/ActivatePerspectiveRequest.h"
|
||||
#include "model/ActivatePerspectiveResult.h"
|
||||
#include "model/DescribeKnowledgeRequest.h"
|
||||
#include "model/DescribeKnowledgeResult.h"
|
||||
#include "model/QueryPerspectivesRequest.h"
|
||||
#include "model/QueryPerspectivesResult.h"
|
||||
#include "model/CreatePerspectiveRequest.h"
|
||||
#include "model/CreatePerspectiveResult.h"
|
||||
#include "model/DeleteEntityRequest.h"
|
||||
#include "model/DeleteEntityResult.h"
|
||||
#include "model/RemoveEntityMemberRequest.h"
|
||||
#include "model/RemoveEntityMemberResult.h"
|
||||
#include "model/TestDialogFlowRequest.h"
|
||||
#include "model/TestDialogFlowResult.h"
|
||||
#include "model/FeedbackRequest.h"
|
||||
#include "model/FeedbackResult.h"
|
||||
#include "model/DisableKnowledgeRequest.h"
|
||||
#include "model/DisableKnowledgeResult.h"
|
||||
#include "model/ChatRequest.h"
|
||||
#include "model/ChatResult.h"
|
||||
#include "model/UpdateKnowledgeRequest.h"
|
||||
#include "model/UpdateKnowledgeResult.h"
|
||||
#include "model/CreateKnowledgeRequest.h"
|
||||
#include "model/CreateKnowledgeResult.h"
|
||||
#include "model/DeleteIntentRequest.h"
|
||||
#include "model/DeleteIntentResult.h"
|
||||
#include "model/DeleteKnowledgeRequest.h"
|
||||
#include "model/DeleteKnowledgeResult.h"
|
||||
#include "model/DisableDialogFlowRequest.h"
|
||||
#include "model/DisableDialogFlowResult.h"
|
||||
#include "model/PublishDialogFlowRequest.h"
|
||||
#include "model/PublishDialogFlowResult.h"
|
||||
#include "model/CreateCoreWordRequest.h"
|
||||
#include "model/CreateCoreWordResult.h"
|
||||
#include "model/QuerySystemEntitiesRequest.h"
|
||||
#include "model/QuerySystemEntitiesResult.h"
|
||||
#include "model/DescribeCoreWordRequest.h"
|
||||
#include "model/DescribeCoreWordResult.h"
|
||||
#include "model/QueryEntitiesRequest.h"
|
||||
#include "model/QueryEntitiesResult.h"
|
||||
#include "model/UpdateDialogFlowRequest.h"
|
||||
#include "model/UpdateDialogFlowResult.h"
|
||||
#include "model/CreateCategoryRequest.h"
|
||||
#include "model/CreateCategoryResult.h"
|
||||
#include "model/DescribeEntitiesRequest.h"
|
||||
#include "model/DescribeEntitiesResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -33,17 +131,311 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT ChatbotClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateEntityResult> CreateEntityOutcome;
|
||||
typedef std::future<CreateEntityOutcome> CreateEntityOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreateEntityRequest&, const CreateEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEntityAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishKnowledgeResult> PublishKnowledgeOutcome;
|
||||
typedef std::future<PublishKnowledgeOutcome> PublishKnowledgeOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::PublishKnowledgeRequest&, const PublishKnowledgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishKnowledgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCategoryResult> DeleteCategoryOutcome;
|
||||
typedef std::future<DeleteCategoryOutcome> DeleteCategoryOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DeleteCategoryRequest&, const DeleteCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddSynonymResult> AddSynonymOutcome;
|
||||
typedef std::future<AddSynonymOutcome> AddSynonymOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::AddSynonymRequest&, const AddSynonymOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSynonymAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryIntentsResult> QueryIntentsOutcome;
|
||||
typedef std::future<QueryIntentsOutcome> QueryIntentsOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryIntentsRequest&, const QueryIntentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryIntentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCategoryResult> DescribeCategoryOutcome;
|
||||
typedef std::future<DescribeCategoryOutcome> DescribeCategoryOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeCategoryRequest&, const DescribeCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::AppendEntityMemberResult> AppendEntityMemberOutcome;
|
||||
typedef std::future<AppendEntityMemberOutcome> AppendEntityMemberOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::AppendEntityMemberRequest&, const AppendEntityMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AppendEntityMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePerspectiveResult> DescribePerspectiveOutcome;
|
||||
typedef std::future<DescribePerspectiveOutcome> DescribePerspectiveOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribePerspectiveRequest&, const DescribePerspectiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePerspectiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDialogResult> UpdateDialogOutcome;
|
||||
typedef std::future<UpdateDialogOutcome> UpdateDialogOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateDialogRequest&, const UpdateDialogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDialogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIntentResult> DescribeIntentOutcome;
|
||||
typedef std::future<DescribeIntentOutcome> DescribeIntentOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeIntentRequest&, const DescribeIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIntentAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDialogsResult> QueryDialogsOutcome;
|
||||
typedef std::future<QueryDialogsOutcome> QueryDialogsOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryDialogsRequest&, const QueryDialogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDialogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDialogResult> CreateDialogOutcome;
|
||||
typedef std::future<CreateDialogOutcome> CreateDialogOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreateDialogRequest&, const CreateDialogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDialogAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCoreWordsResult> QueryCoreWordsOutcome;
|
||||
typedef std::future<QueryCoreWordsOutcome> QueryCoreWordsOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryCoreWordsRequest&, const QueryCoreWordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCoreWordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCoreWordResult> UpdateCoreWordOutcome;
|
||||
typedef std::future<UpdateCoreWordOutcome> UpdateCoreWordOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateCoreWordRequest&, const UpdateCoreWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCoreWordAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCategoryResult> UpdateCategoryOutcome;
|
||||
typedef std::future<UpdateCategoryOutcome> UpdateCategoryOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateCategoryRequest&, const UpdateCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateEntityResult> UpdateEntityOutcome;
|
||||
typedef std::future<UpdateEntityOutcome> UpdateEntityOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateEntityRequest&, const UpdateEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateEntityAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveKnowledgeCategoryResult> MoveKnowledgeCategoryOutcome;
|
||||
typedef std::future<MoveKnowledgeCategoryOutcome> MoveKnowledgeCategoryOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::MoveKnowledgeCategoryRequest&, const MoveKnowledgeCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveKnowledgeCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCoreWordResult> DeleteCoreWordOutcome;
|
||||
typedef std::future<DeleteCoreWordOutcome> DeleteCoreWordOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DeleteCoreWordRequest&, const DeleteCoreWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCoreWordAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePerspectiveResult> UpdatePerspectiveOutcome;
|
||||
typedef std::future<UpdatePerspectiveOutcome> UpdatePerspectiveOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdatePerspectiveRequest&, const UpdatePerspectiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePerspectiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateIntentResult> CreateIntentOutcome;
|
||||
typedef std::future<CreateIntentOutcome> CreateIntentOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreateIntentRequest&, const CreateIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIntentAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCategoriesResult> QueryCategoriesOutcome;
|
||||
typedef std::future<QueryCategoriesOutcome> QueryCategoriesOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryCategoriesRequest&, const QueryCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCategoriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryKnowledgesResult> QueryKnowledgesOutcome;
|
||||
typedef std::future<QueryKnowledgesOutcome> QueryKnowledgesOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryKnowledgesRequest&, const QueryKnowledgesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryKnowledgesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDialogResult> DeleteDialogOutcome;
|
||||
typedef std::future<DeleteDialogOutcome> DeleteDialogOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DeleteDialogRequest&, const DeleteDialogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDialogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDialogResult> DescribeDialogOutcome;
|
||||
typedef std::future<DescribeDialogOutcome> DescribeDialogOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeDialogRequest&, const DescribeDialogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDialogAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateIntentResult> UpdateIntentOutcome;
|
||||
typedef std::future<UpdateIntentOutcome> UpdateIntentOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateIntentRequest&, const UpdateIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateIntentAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveSynonymResult> RemoveSynonymOutcome;
|
||||
typedef std::future<RemoveSynonymOutcome> RemoveSynonymOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::RemoveSynonymRequest&, const RemoveSynonymOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveSynonymAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDialogFlowResult> DescribeDialogFlowOutcome;
|
||||
typedef std::future<DescribeDialogFlowOutcome> DescribeDialogFlowOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeDialogFlowRequest&, const DescribeDialogFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDialogFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::ActivatePerspectiveResult> ActivatePerspectiveOutcome;
|
||||
typedef std::future<ActivatePerspectiveOutcome> ActivatePerspectiveOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::ActivatePerspectiveRequest&, const ActivatePerspectiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivatePerspectiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeKnowledgeResult> DescribeKnowledgeOutcome;
|
||||
typedef std::future<DescribeKnowledgeOutcome> DescribeKnowledgeOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeKnowledgeRequest&, const DescribeKnowledgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeKnowledgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPerspectivesResult> QueryPerspectivesOutcome;
|
||||
typedef std::future<QueryPerspectivesOutcome> QueryPerspectivesOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryPerspectivesRequest&, const QueryPerspectivesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPerspectivesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePerspectiveResult> CreatePerspectiveOutcome;
|
||||
typedef std::future<CreatePerspectiveOutcome> CreatePerspectiveOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreatePerspectiveRequest&, const CreatePerspectiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePerspectiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteEntityResult> DeleteEntityOutcome;
|
||||
typedef std::future<DeleteEntityOutcome> DeleteEntityOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DeleteEntityRequest&, const DeleteEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEntityAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveEntityMemberResult> RemoveEntityMemberOutcome;
|
||||
typedef std::future<RemoveEntityMemberOutcome> RemoveEntityMemberOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::RemoveEntityMemberRequest&, const RemoveEntityMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveEntityMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::TestDialogFlowResult> TestDialogFlowOutcome;
|
||||
typedef std::future<TestDialogFlowOutcome> TestDialogFlowOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::TestDialogFlowRequest&, const TestDialogFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TestDialogFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::FeedbackResult> FeedbackOutcome;
|
||||
typedef std::future<FeedbackOutcome> FeedbackOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::FeedbackRequest&, const FeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FeedbackAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableKnowledgeResult> DisableKnowledgeOutcome;
|
||||
typedef std::future<DisableKnowledgeOutcome> DisableKnowledgeOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DisableKnowledgeRequest&, const DisableKnowledgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableKnowledgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChatResult> ChatOutcome;
|
||||
typedef std::future<ChatOutcome> ChatOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::ChatRequest&, const ChatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChatAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateKnowledgeResult> UpdateKnowledgeOutcome;
|
||||
typedef std::future<UpdateKnowledgeOutcome> UpdateKnowledgeOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateKnowledgeRequest&, const UpdateKnowledgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateKnowledgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateKnowledgeResult> CreateKnowledgeOutcome;
|
||||
typedef std::future<CreateKnowledgeOutcome> CreateKnowledgeOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreateKnowledgeRequest&, const CreateKnowledgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateKnowledgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteIntentResult> DeleteIntentOutcome;
|
||||
typedef std::future<DeleteIntentOutcome> DeleteIntentOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DeleteIntentRequest&, const DeleteIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteIntentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteKnowledgeResult> DeleteKnowledgeOutcome;
|
||||
typedef std::future<DeleteKnowledgeOutcome> DeleteKnowledgeOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DeleteKnowledgeRequest&, const DeleteKnowledgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteKnowledgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableDialogFlowResult> DisableDialogFlowOutcome;
|
||||
typedef std::future<DisableDialogFlowOutcome> DisableDialogFlowOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DisableDialogFlowRequest&, const DisableDialogFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDialogFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishDialogFlowResult> PublishDialogFlowOutcome;
|
||||
typedef std::future<PublishDialogFlowOutcome> PublishDialogFlowOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::PublishDialogFlowRequest&, const PublishDialogFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishDialogFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCoreWordResult> CreateCoreWordOutcome;
|
||||
typedef std::future<CreateCoreWordOutcome> CreateCoreWordOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreateCoreWordRequest&, const CreateCoreWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCoreWordAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySystemEntitiesResult> QuerySystemEntitiesOutcome;
|
||||
typedef std::future<QuerySystemEntitiesOutcome> QuerySystemEntitiesOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QuerySystemEntitiesRequest&, const QuerySystemEntitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySystemEntitiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCoreWordResult> DescribeCoreWordOutcome;
|
||||
typedef std::future<DescribeCoreWordOutcome> DescribeCoreWordOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeCoreWordRequest&, const DescribeCoreWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCoreWordAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryEntitiesResult> QueryEntitiesOutcome;
|
||||
typedef std::future<QueryEntitiesOutcome> QueryEntitiesOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::QueryEntitiesRequest&, const QueryEntitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEntitiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDialogFlowResult> UpdateDialogFlowOutcome;
|
||||
typedef std::future<UpdateDialogFlowOutcome> UpdateDialogFlowOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::UpdateDialogFlowRequest&, const UpdateDialogFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDialogFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCategoryResult> CreateCategoryOutcome;
|
||||
typedef std::future<CreateCategoryOutcome> CreateCategoryOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::CreateCategoryRequest&, const CreateCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEntitiesResult> DescribeEntitiesOutcome;
|
||||
typedef std::future<DescribeEntitiesOutcome> DescribeEntitiesOutcomeCallable;
|
||||
typedef std::function<void(const ChatbotClient*, const Model::DescribeEntitiesRequest&, const DescribeEntitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEntitiesAsyncHandler;
|
||||
|
||||
ChatbotClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ChatbotClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ChatbotClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ChatbotClient();
|
||||
CreateEntityOutcome createEntity(const Model::CreateEntityRequest &request)const;
|
||||
void createEntityAsync(const Model::CreateEntityRequest& request, const CreateEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEntityOutcomeCallable createEntityCallable(const Model::CreateEntityRequest& request) const;
|
||||
PublishKnowledgeOutcome publishKnowledge(const Model::PublishKnowledgeRequest &request)const;
|
||||
void publishKnowledgeAsync(const Model::PublishKnowledgeRequest& request, const PublishKnowledgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishKnowledgeOutcomeCallable publishKnowledgeCallable(const Model::PublishKnowledgeRequest& request) const;
|
||||
DeleteCategoryOutcome deleteCategory(const Model::DeleteCategoryRequest &request)const;
|
||||
void deleteCategoryAsync(const Model::DeleteCategoryRequest& request, const DeleteCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCategoryOutcomeCallable deleteCategoryCallable(const Model::DeleteCategoryRequest& request) const;
|
||||
AddSynonymOutcome addSynonym(const Model::AddSynonymRequest &request)const;
|
||||
void addSynonymAsync(const Model::AddSynonymRequest& request, const AddSynonymAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddSynonymOutcomeCallable addSynonymCallable(const Model::AddSynonymRequest& request) const;
|
||||
QueryIntentsOutcome queryIntents(const Model::QueryIntentsRequest &request)const;
|
||||
void queryIntentsAsync(const Model::QueryIntentsRequest& request, const QueryIntentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryIntentsOutcomeCallable queryIntentsCallable(const Model::QueryIntentsRequest& request) const;
|
||||
DescribeCategoryOutcome describeCategory(const Model::DescribeCategoryRequest &request)const;
|
||||
void describeCategoryAsync(const Model::DescribeCategoryRequest& request, const DescribeCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCategoryOutcomeCallable describeCategoryCallable(const Model::DescribeCategoryRequest& request) const;
|
||||
AppendEntityMemberOutcome appendEntityMember(const Model::AppendEntityMemberRequest &request)const;
|
||||
void appendEntityMemberAsync(const Model::AppendEntityMemberRequest& request, const AppendEntityMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AppendEntityMemberOutcomeCallable appendEntityMemberCallable(const Model::AppendEntityMemberRequest& request) const;
|
||||
DescribePerspectiveOutcome describePerspective(const Model::DescribePerspectiveRequest &request)const;
|
||||
void describePerspectiveAsync(const Model::DescribePerspectiveRequest& request, const DescribePerspectiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePerspectiveOutcomeCallable describePerspectiveCallable(const Model::DescribePerspectiveRequest& request) const;
|
||||
UpdateDialogOutcome updateDialog(const Model::UpdateDialogRequest &request)const;
|
||||
void updateDialogAsync(const Model::UpdateDialogRequest& request, const UpdateDialogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDialogOutcomeCallable updateDialogCallable(const Model::UpdateDialogRequest& request) const;
|
||||
DescribeIntentOutcome describeIntent(const Model::DescribeIntentRequest &request)const;
|
||||
void describeIntentAsync(const Model::DescribeIntentRequest& request, const DescribeIntentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIntentOutcomeCallable describeIntentCallable(const Model::DescribeIntentRequest& request) const;
|
||||
QueryDialogsOutcome queryDialogs(const Model::QueryDialogsRequest &request)const;
|
||||
void queryDialogsAsync(const Model::QueryDialogsRequest& request, const QueryDialogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDialogsOutcomeCallable queryDialogsCallable(const Model::QueryDialogsRequest& request) const;
|
||||
CreateDialogOutcome createDialog(const Model::CreateDialogRequest &request)const;
|
||||
void createDialogAsync(const Model::CreateDialogRequest& request, const CreateDialogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDialogOutcomeCallable createDialogCallable(const Model::CreateDialogRequest& request) const;
|
||||
QueryCoreWordsOutcome queryCoreWords(const Model::QueryCoreWordsRequest &request)const;
|
||||
void queryCoreWordsAsync(const Model::QueryCoreWordsRequest& request, const QueryCoreWordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCoreWordsOutcomeCallable queryCoreWordsCallable(const Model::QueryCoreWordsRequest& request) const;
|
||||
UpdateCoreWordOutcome updateCoreWord(const Model::UpdateCoreWordRequest &request)const;
|
||||
void updateCoreWordAsync(const Model::UpdateCoreWordRequest& request, const UpdateCoreWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCoreWordOutcomeCallable updateCoreWordCallable(const Model::UpdateCoreWordRequest& request) const;
|
||||
UpdateCategoryOutcome updateCategory(const Model::UpdateCategoryRequest &request)const;
|
||||
void updateCategoryAsync(const Model::UpdateCategoryRequest& request, const UpdateCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCategoryOutcomeCallable updateCategoryCallable(const Model::UpdateCategoryRequest& request) const;
|
||||
UpdateEntityOutcome updateEntity(const Model::UpdateEntityRequest &request)const;
|
||||
void updateEntityAsync(const Model::UpdateEntityRequest& request, const UpdateEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateEntityOutcomeCallable updateEntityCallable(const Model::UpdateEntityRequest& request) const;
|
||||
MoveKnowledgeCategoryOutcome moveKnowledgeCategory(const Model::MoveKnowledgeCategoryRequest &request)const;
|
||||
void moveKnowledgeCategoryAsync(const Model::MoveKnowledgeCategoryRequest& request, const MoveKnowledgeCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveKnowledgeCategoryOutcomeCallable moveKnowledgeCategoryCallable(const Model::MoveKnowledgeCategoryRequest& request) const;
|
||||
DeleteCoreWordOutcome deleteCoreWord(const Model::DeleteCoreWordRequest &request)const;
|
||||
void deleteCoreWordAsync(const Model::DeleteCoreWordRequest& request, const DeleteCoreWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCoreWordOutcomeCallable deleteCoreWordCallable(const Model::DeleteCoreWordRequest& request) const;
|
||||
UpdatePerspectiveOutcome updatePerspective(const Model::UpdatePerspectiveRequest &request)const;
|
||||
void updatePerspectiveAsync(const Model::UpdatePerspectiveRequest& request, const UpdatePerspectiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePerspectiveOutcomeCallable updatePerspectiveCallable(const Model::UpdatePerspectiveRequest& 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;
|
||||
QueryCategoriesOutcome queryCategories(const Model::QueryCategoriesRequest &request)const;
|
||||
void queryCategoriesAsync(const Model::QueryCategoriesRequest& request, const QueryCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCategoriesOutcomeCallable queryCategoriesCallable(const Model::QueryCategoriesRequest& request) const;
|
||||
QueryKnowledgesOutcome queryKnowledges(const Model::QueryKnowledgesRequest &request)const;
|
||||
void queryKnowledgesAsync(const Model::QueryKnowledgesRequest& request, const QueryKnowledgesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryKnowledgesOutcomeCallable queryKnowledgesCallable(const Model::QueryKnowledgesRequest& request) const;
|
||||
DeleteDialogOutcome deleteDialog(const Model::DeleteDialogRequest &request)const;
|
||||
void deleteDialogAsync(const Model::DeleteDialogRequest& request, const DeleteDialogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDialogOutcomeCallable deleteDialogCallable(const Model::DeleteDialogRequest& request) const;
|
||||
DescribeDialogOutcome describeDialog(const Model::DescribeDialogRequest &request)const;
|
||||
void describeDialogAsync(const Model::DescribeDialogRequest& request, const DescribeDialogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDialogOutcomeCallable describeDialogCallable(const Model::DescribeDialogRequest& request) const;
|
||||
UpdateIntentOutcome updateIntent(const Model::UpdateIntentRequest &request)const;
|
||||
void updateIntentAsync(const Model::UpdateIntentRequest& request, const UpdateIntentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateIntentOutcomeCallable updateIntentCallable(const Model::UpdateIntentRequest& request) const;
|
||||
RemoveSynonymOutcome removeSynonym(const Model::RemoveSynonymRequest &request)const;
|
||||
void removeSynonymAsync(const Model::RemoveSynonymRequest& request, const RemoveSynonymAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveSynonymOutcomeCallable removeSynonymCallable(const Model::RemoveSynonymRequest& request) const;
|
||||
DescribeDialogFlowOutcome describeDialogFlow(const Model::DescribeDialogFlowRequest &request)const;
|
||||
void describeDialogFlowAsync(const Model::DescribeDialogFlowRequest& request, const DescribeDialogFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDialogFlowOutcomeCallable describeDialogFlowCallable(const Model::DescribeDialogFlowRequest& request) const;
|
||||
ActivatePerspectiveOutcome activatePerspective(const Model::ActivatePerspectiveRequest &request)const;
|
||||
void activatePerspectiveAsync(const Model::ActivatePerspectiveRequest& request, const ActivatePerspectiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActivatePerspectiveOutcomeCallable activatePerspectiveCallable(const Model::ActivatePerspectiveRequest& request) const;
|
||||
DescribeKnowledgeOutcome describeKnowledge(const Model::DescribeKnowledgeRequest &request)const;
|
||||
void describeKnowledgeAsync(const Model::DescribeKnowledgeRequest& request, const DescribeKnowledgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeKnowledgeOutcomeCallable describeKnowledgeCallable(const Model::DescribeKnowledgeRequest& request) const;
|
||||
QueryPerspectivesOutcome queryPerspectives(const Model::QueryPerspectivesRequest &request)const;
|
||||
void queryPerspectivesAsync(const Model::QueryPerspectivesRequest& request, const QueryPerspectivesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPerspectivesOutcomeCallable queryPerspectivesCallable(const Model::QueryPerspectivesRequest& request) const;
|
||||
CreatePerspectiveOutcome createPerspective(const Model::CreatePerspectiveRequest &request)const;
|
||||
void createPerspectiveAsync(const Model::CreatePerspectiveRequest& request, const CreatePerspectiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePerspectiveOutcomeCallable createPerspectiveCallable(const Model::CreatePerspectiveRequest& request) const;
|
||||
DeleteEntityOutcome deleteEntity(const Model::DeleteEntityRequest &request)const;
|
||||
void deleteEntityAsync(const Model::DeleteEntityRequest& request, const DeleteEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEntityOutcomeCallable deleteEntityCallable(const Model::DeleteEntityRequest& request) const;
|
||||
RemoveEntityMemberOutcome removeEntityMember(const Model::RemoveEntityMemberRequest &request)const;
|
||||
void removeEntityMemberAsync(const Model::RemoveEntityMemberRequest& request, const RemoveEntityMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveEntityMemberOutcomeCallable removeEntityMemberCallable(const Model::RemoveEntityMemberRequest& request) const;
|
||||
TestDialogFlowOutcome testDialogFlow(const Model::TestDialogFlowRequest &request)const;
|
||||
void testDialogFlowAsync(const Model::TestDialogFlowRequest& request, const TestDialogFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TestDialogFlowOutcomeCallable testDialogFlowCallable(const Model::TestDialogFlowRequest& request) const;
|
||||
FeedbackOutcome feedback(const Model::FeedbackRequest &request)const;
|
||||
void feedbackAsync(const Model::FeedbackRequest& request, const FeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FeedbackOutcomeCallable feedbackCallable(const Model::FeedbackRequest& request) const;
|
||||
DisableKnowledgeOutcome disableKnowledge(const Model::DisableKnowledgeRequest &request)const;
|
||||
void disableKnowledgeAsync(const Model::DisableKnowledgeRequest& request, const DisableKnowledgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableKnowledgeOutcomeCallable disableKnowledgeCallable(const Model::DisableKnowledgeRequest& request) const;
|
||||
ChatOutcome chat(const Model::ChatRequest &request)const;
|
||||
void chatAsync(const Model::ChatRequest& request, const ChatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChatOutcomeCallable chatCallable(const Model::ChatRequest& request) const;
|
||||
UpdateKnowledgeOutcome updateKnowledge(const Model::UpdateKnowledgeRequest &request)const;
|
||||
void updateKnowledgeAsync(const Model::UpdateKnowledgeRequest& request, const UpdateKnowledgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateKnowledgeOutcomeCallable updateKnowledgeCallable(const Model::UpdateKnowledgeRequest& request) const;
|
||||
CreateKnowledgeOutcome createKnowledge(const Model::CreateKnowledgeRequest &request)const;
|
||||
void createKnowledgeAsync(const Model::CreateKnowledgeRequest& request, const CreateKnowledgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateKnowledgeOutcomeCallable createKnowledgeCallable(const Model::CreateKnowledgeRequest& request) const;
|
||||
DeleteIntentOutcome deleteIntent(const Model::DeleteIntentRequest &request)const;
|
||||
void deleteIntentAsync(const Model::DeleteIntentRequest& request, const DeleteIntentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteIntentOutcomeCallable deleteIntentCallable(const Model::DeleteIntentRequest& request) const;
|
||||
DeleteKnowledgeOutcome deleteKnowledge(const Model::DeleteKnowledgeRequest &request)const;
|
||||
void deleteKnowledgeAsync(const Model::DeleteKnowledgeRequest& request, const DeleteKnowledgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteKnowledgeOutcomeCallable deleteKnowledgeCallable(const Model::DeleteKnowledgeRequest& request) const;
|
||||
DisableDialogFlowOutcome disableDialogFlow(const Model::DisableDialogFlowRequest &request)const;
|
||||
void disableDialogFlowAsync(const Model::DisableDialogFlowRequest& request, const DisableDialogFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableDialogFlowOutcomeCallable disableDialogFlowCallable(const Model::DisableDialogFlowRequest& request) const;
|
||||
PublishDialogFlowOutcome publishDialogFlow(const Model::PublishDialogFlowRequest &request)const;
|
||||
void publishDialogFlowAsync(const Model::PublishDialogFlowRequest& request, const PublishDialogFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishDialogFlowOutcomeCallable publishDialogFlowCallable(const Model::PublishDialogFlowRequest& request) const;
|
||||
CreateCoreWordOutcome createCoreWord(const Model::CreateCoreWordRequest &request)const;
|
||||
void createCoreWordAsync(const Model::CreateCoreWordRequest& request, const CreateCoreWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCoreWordOutcomeCallable createCoreWordCallable(const Model::CreateCoreWordRequest& request) const;
|
||||
QuerySystemEntitiesOutcome querySystemEntities(const Model::QuerySystemEntitiesRequest &request)const;
|
||||
void querySystemEntitiesAsync(const Model::QuerySystemEntitiesRequest& request, const QuerySystemEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySystemEntitiesOutcomeCallable querySystemEntitiesCallable(const Model::QuerySystemEntitiesRequest& request) const;
|
||||
DescribeCoreWordOutcome describeCoreWord(const Model::DescribeCoreWordRequest &request)const;
|
||||
void describeCoreWordAsync(const Model::DescribeCoreWordRequest& request, const DescribeCoreWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCoreWordOutcomeCallable describeCoreWordCallable(const Model::DescribeCoreWordRequest& request) const;
|
||||
QueryEntitiesOutcome queryEntities(const Model::QueryEntitiesRequest &request)const;
|
||||
void queryEntitiesAsync(const Model::QueryEntitiesRequest& request, const QueryEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryEntitiesOutcomeCallable queryEntitiesCallable(const Model::QueryEntitiesRequest& request) const;
|
||||
UpdateDialogFlowOutcome updateDialogFlow(const Model::UpdateDialogFlowRequest &request)const;
|
||||
void updateDialogFlowAsync(const Model::UpdateDialogFlowRequest& request, const UpdateDialogFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDialogFlowOutcomeCallable updateDialogFlowCallable(const Model::UpdateDialogFlowRequest& request) const;
|
||||
CreateCategoryOutcome createCategory(const Model::CreateCategoryRequest &request)const;
|
||||
void createCategoryAsync(const Model::CreateCategoryRequest& request, const CreateCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCategoryOutcomeCallable createCategoryCallable(const Model::CreateCategoryRequest& request) const;
|
||||
DescribeEntitiesOutcome describeEntities(const Model::DescribeEntitiesRequest &request)const;
|
||||
void describeEntitiesAsync(const Model::DescribeEntitiesRequest& request, const DescribeEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEntitiesOutcomeCallable describeEntitiesCallable(const Model::DescribeEntitiesRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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_CHATBOT_MODEL_ACTIVATEPERSPECTIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_ACTIVATEPERSPECTIVEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT ActivatePerspectiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ActivatePerspectiveRequest();
|
||||
~ActivatePerspectiveRequest();
|
||||
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_ACTIVATEPERSPECTIVEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_ACTIVATEPERSPECTIVERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_ACTIVATEPERSPECTIVERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT ActivatePerspectiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ActivatePerspectiveResult();
|
||||
explicit ActivatePerspectiveResult(const std::string &payload);
|
||||
~ActivatePerspectiveResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_ACTIVATEPERSPECTIVERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_ADDSYNONYMREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_ADDSYNONYMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT AddSynonymRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddSynonymRequest();
|
||||
~AddSynonymRequest();
|
||||
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_ADDSYNONYMREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_ADDSYNONYMRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_ADDSYNONYMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT AddSynonymResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSynonymResult();
|
||||
explicit AddSynonymResult(const std::string &payload);
|
||||
~AddSynonymResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_ADDSYNONYMRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_APPENDENTITYMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_APPENDENTITYMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT AppendEntityMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AppendEntityMemberRequest();
|
||||
~AppendEntityMemberRequest();
|
||||
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getApplyType()const;
|
||||
void setApplyType(const std::string& applyType);
|
||||
|
||||
private:
|
||||
std::string member_;
|
||||
long entityId_;
|
||||
std::string applyType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_APPENDENTITYMEMBERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_APPENDENTITYMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_APPENDENTITYMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT AppendEntityMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AppendEntityMemberResult();
|
||||
explicit AppendEntityMemberResult(const std::string &payload);
|
||||
~AppendEntityMemberResult();
|
||||
std::string getEntityId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_APPENDENTITYMEMBERRESULT_H_
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSenderNick(const std::string& senderNick);
|
||||
std::vector<std::string> getPerspective()const;
|
||||
void setPerspective(const std::vector<std::string>& perspective);
|
||||
bool getRecommend()const;
|
||||
void setRecommend(bool recommend);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getTag()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId_;
|
||||
std::string senderNick_;
|
||||
std::vector<std::string> perspective_;
|
||||
bool recommend_;
|
||||
std::string sessionId_;
|
||||
std::string tag_;
|
||||
std::string utterance_;
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string content;
|
||||
std::string answerSource;
|
||||
std::string metaData;
|
||||
};
|
||||
struct Knowledge
|
||||
{
|
||||
|
||||
@@ -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_CHATBOT_MODEL_CREATECATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATECATEGORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateCategoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCategoryRequest();
|
||||
~CreateCategoryRequest();
|
||||
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long parentCategoryId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATECATEGORYREQUEST_H_
|
||||
@@ -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_CHATBOT_MODEL_CREATECATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATECATEGORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateCategoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCategoryResult();
|
||||
explicit CreateCategoryResult(const std::string &payload);
|
||||
~CreateCategoryResult();
|
||||
long getCategoryId()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long categoryId_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATECATEGORYRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_CREATECOREWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATECOREWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateCoreWordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCoreWordRequest();
|
||||
~CreateCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATECOREWORDREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATECOREWORDRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATECOREWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateCoreWordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCoreWordResult();
|
||||
explicit CreateCoreWordResult(const std::string &payload);
|
||||
~CreateCoreWordResult();
|
||||
std::string getCoreWordCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string coreWordCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATECOREWORDRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEDIALOGREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEDIALOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateDialogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDialogRequest();
|
||||
~CreateDialogRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string description_;
|
||||
std::string dialogName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEDIALOGREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEDIALOGRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEDIALOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateDialogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDialogResult();
|
||||
explicit CreateDialogResult(const std::string &payload);
|
||||
~CreateDialogResult();
|
||||
std::string getDialogId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEDIALOGRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_CREATEENTITYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEENTITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateEntityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateEntityRequest();
|
||||
~CreateEntityRequest();
|
||||
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEENTITYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEENTITYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEENTITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateEntityResult();
|
||||
explicit CreateEntityResult(const std::string &payload);
|
||||
~CreateEntityResult();
|
||||
std::string getEntityId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEENTITYRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEINTENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEINTENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateIntentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateIntentRequest();
|
||||
~CreateIntentRequest();
|
||||
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
std::string intentDefinition_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEINTENTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEINTENTRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEINTENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateIntentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateIntentResult();
|
||||
explicit CreateIntentResult(const std::string &payload);
|
||||
~CreateIntentResult();
|
||||
std::string getIntentId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEINTENTRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_CREATEKNOWLEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEKNOWLEDGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateKnowledgeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateKnowledgeRequest();
|
||||
~CreateKnowledgeRequest();
|
||||
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
|
||||
private:
|
||||
std::string knowledge_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEKNOWLEDGEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEKNOWLEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEKNOWLEDGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreateKnowledgeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateKnowledgeResult();
|
||||
explicit CreateKnowledgeResult(const std::string &payload);
|
||||
~CreateKnowledgeResult();
|
||||
long getKnowledgeId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEKNOWLEDGERESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_CREATEPERSPECTIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEPERSPECTIVEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreatePerspectiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePerspectiveRequest();
|
||||
~CreatePerspectiveRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEPERSPECTIVEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_CREATEPERSPECTIVERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_CREATEPERSPECTIVERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT CreatePerspectiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePerspectiveResult();
|
||||
explicit CreatePerspectiveResult(const std::string &payload);
|
||||
~CreatePerspectiveResult();
|
||||
std::string getPerspectiveId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_CREATEPERSPECTIVERESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DELETECATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETECATEGORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteCategoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCategoryRequest();
|
||||
~DeleteCategoryRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETECATEGORYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DELETECATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETECATEGORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteCategoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCategoryResult();
|
||||
explicit DeleteCategoryResult(const std::string &payload);
|
||||
~DeleteCategoryResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETECATEGORYRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DELETECOREWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETECOREWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteCoreWordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCoreWordRequest();
|
||||
~DeleteCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETECOREWORDREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DELETECOREWORDRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETECOREWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteCoreWordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCoreWordResult();
|
||||
explicit DeleteCoreWordResult(const std::string &payload);
|
||||
~DeleteCoreWordResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETECOREWORDRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DELETEDIALOGREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEDIALOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteDialogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDialogRequest();
|
||||
~DeleteDialogRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEDIALOGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DELETEDIALOGRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEDIALOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteDialogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDialogResult();
|
||||
explicit DeleteDialogResult(const std::string &payload);
|
||||
~DeleteDialogResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEDIALOGRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DELETEENTITYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEENTITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteEntityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteEntityRequest();
|
||||
~DeleteEntityRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEENTITYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DELETEENTITYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEENTITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEntityResult();
|
||||
explicit DeleteEntityResult(const std::string &payload);
|
||||
~DeleteEntityResult();
|
||||
std::string getEntityId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEENTITYRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DELETEINTENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEINTENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteIntentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteIntentRequest();
|
||||
~DeleteIntentRequest();
|
||||
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEINTENTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DELETEINTENTRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEINTENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteIntentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteIntentResult();
|
||||
explicit DeleteIntentResult(const std::string &payload);
|
||||
~DeleteIntentResult();
|
||||
std::string getIntentId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEINTENTRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DELETEKNOWLEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEKNOWLEDGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteKnowledgeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteKnowledgeRequest();
|
||||
~DeleteKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEKNOWLEDGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DELETEKNOWLEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DELETEKNOWLEDGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DeleteKnowledgeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteKnowledgeResult();
|
||||
explicit DeleteKnowledgeResult(const std::string &payload);
|
||||
~DeleteKnowledgeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DELETEKNOWLEDGERESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBECATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECATEGORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeCategoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCategoryRequest();
|
||||
~DescribeCategoryRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECATEGORYREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_CHATBOT_MODEL_DESCRIBECATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECATEGORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeCategoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCategoryResult();
|
||||
explicit DescribeCategoryResult(const std::string &payload);
|
||||
~DescribeCategoryResult();
|
||||
long getCategoryId()const;
|
||||
long getParentCategoryId()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long categoryId_;
|
||||
long parentCategoryId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECATEGORYRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBECOREWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECOREWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeCoreWordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCoreWordRequest();
|
||||
~DescribeCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECOREWORDREQUEST_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBECOREWORDRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECOREWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeCoreWordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCoreWordResult();
|
||||
explicit DescribeCoreWordResult(const std::string &payload);
|
||||
~DescribeCoreWordResult();
|
||||
std::vector<std::string> getSynonyms()const;
|
||||
std::string getCoreWordName()const;
|
||||
std::string getModifyTime()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getCoreWordCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> synonyms_;
|
||||
std::string coreWordName_;
|
||||
std::string modifyTime_;
|
||||
std::string createTime_;
|
||||
std::string coreWordCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBECOREWORDRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEDIALOGFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeDialogFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDialogFlowRequest();
|
||||
~DescribeDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGFLOWREQUEST_H_
|
||||
@@ -0,0 +1,208 @@
|
||||
/*
|
||||
* 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_CHATBOT_MODEL_DESCRIBEDIALOGFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeDialogFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ModuleDefinition
|
||||
{
|
||||
struct NodesItem
|
||||
{
|
||||
struct PluginData
|
||||
{
|
||||
struct Entry
|
||||
{
|
||||
struct PluginFieldDataEntry
|
||||
{
|
||||
struct ContentEntryItem
|
||||
{
|
||||
struct ConditionEntriesItem
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string term;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<ContentEntryItem::ConditionEntriesItem> conditionEntries;
|
||||
};
|
||||
std::vector<ContentEntryItem> contentEntry;
|
||||
int lifeSpan;
|
||||
std::string name;
|
||||
};
|
||||
PluginFieldDataEntry pluginFieldDataEntry;
|
||||
};
|
||||
struct Function
|
||||
{
|
||||
struct PluginFieldDataFunction
|
||||
{
|
||||
struct SwitchItem
|
||||
{
|
||||
std::string type;
|
||||
std::string label;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
std::string function;
|
||||
std::string aliyunFunction;
|
||||
std::string type;
|
||||
std::string description;
|
||||
std::vector<SwitchItem> switch;
|
||||
std::string params;
|
||||
std::string endPoint;
|
||||
std::string code;
|
||||
std::string name;
|
||||
std::string aliyunService;
|
||||
};
|
||||
PluginFieldDataFunction pluginFieldDataFunction;
|
||||
};
|
||||
struct Response
|
||||
{
|
||||
struct PluginFieldDataResponse
|
||||
{
|
||||
struct ContentResponse
|
||||
{
|
||||
struct ButtonList
|
||||
{
|
||||
struct ButtonItem
|
||||
{
|
||||
std::string type;
|
||||
std::string text;
|
||||
std::string name;
|
||||
};
|
||||
std::string intro;
|
||||
std::vector<ButtonItem> button;
|
||||
};
|
||||
std::string type;
|
||||
std::string text;
|
||||
std::string image;
|
||||
ButtonList buttonList;
|
||||
};
|
||||
ContentResponse contentResponse;
|
||||
std::string name;
|
||||
};
|
||||
PluginFieldDataResponse pluginFieldDataResponse;
|
||||
};
|
||||
struct Slot
|
||||
{
|
||||
struct PluginFieldDataSlot
|
||||
{
|
||||
struct ContentSlotItem
|
||||
{
|
||||
bool isArray;
|
||||
bool isNecessary;
|
||||
std::string value;
|
||||
int lifeSpan;
|
||||
std::vector<std::string> question;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<ContentSlotItem> contentSlot;
|
||||
std::string intentName;
|
||||
bool isSysIntent;
|
||||
std::string intentId;
|
||||
std::string name;
|
||||
};
|
||||
PluginFieldDataSlot pluginFieldDataSlot;
|
||||
};
|
||||
Response response;
|
||||
Function function;
|
||||
Entry entry;
|
||||
Slot slot;
|
||||
};
|
||||
bool pluginDataUpdate;
|
||||
std::string xx;
|
||||
std::string yy;
|
||||
PluginData pluginData;
|
||||
std::string componentCode;
|
||||
std::string label;
|
||||
std::string id;
|
||||
std::string code;
|
||||
};
|
||||
struct EdgesItem
|
||||
{
|
||||
std::string target;
|
||||
std::string label;
|
||||
std::string id;
|
||||
std::string source;
|
||||
};
|
||||
std::vector<EdgesItem> edges;
|
||||
std::vector<NodesItem> nodes;
|
||||
};
|
||||
|
||||
|
||||
DescribeDialogFlowResult();
|
||||
explicit DescribeDialogFlowResult(const std::string &payload);
|
||||
~DescribeDialogFlowResult();
|
||||
int getStatus()const;
|
||||
std::string getModifyTime()const;
|
||||
std::string getAccountId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getModuleName()const;
|
||||
std::string getCreateTime()const;
|
||||
long getDialogId()const;
|
||||
std::string getTemplates()const;
|
||||
std::string getCreateUserId()const;
|
||||
std::string getCreateUserName()const;
|
||||
std::string getGlobalVars()const;
|
||||
ModuleDefinition getModuleDefinition()const;
|
||||
long getModuleId()const;
|
||||
std::string getDialogName()const;
|
||||
std::string getModifyUserId()const;
|
||||
std::string getModifyUserName()const;
|
||||
std::string getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
std::string modifyTime_;
|
||||
std::string accountId_;
|
||||
std::string instanceId_;
|
||||
std::string moduleName_;
|
||||
std::string createTime_;
|
||||
long dialogId_;
|
||||
std::string templates_;
|
||||
std::string createUserId_;
|
||||
std::string createUserName_;
|
||||
std::string globalVars_;
|
||||
ModuleDefinition moduleDefinition_;
|
||||
long moduleId_;
|
||||
std::string dialogName_;
|
||||
std::string modifyUserId_;
|
||||
std::string modifyUserName_;
|
||||
std::string tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGFLOWRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEDIALOGREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeDialogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDialogRequest();
|
||||
~DescribeDialogRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeDialogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDialogResult();
|
||||
explicit DescribeDialogResult(const std::string &payload);
|
||||
~DescribeDialogResult();
|
||||
int getStatus()const;
|
||||
std::string getModifyTime()const;
|
||||
std::string getDialogName()const;
|
||||
std::string getDescription()const;
|
||||
std::string getModifyUserId()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getModifyUserName()const;
|
||||
long getDialogId()const;
|
||||
std::string getCreateUserId()const;
|
||||
std::string getCreateUserName()const;
|
||||
bool getIsSampleDialog()const;
|
||||
bool getIsOnline()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
std::string modifyTime_;
|
||||
std::string dialogName_;
|
||||
std::string description_;
|
||||
std::string modifyUserId_;
|
||||
std::string createTime_;
|
||||
std::string modifyUserName_;
|
||||
long dialogId_;
|
||||
std::string createUserId_;
|
||||
std::string createUserName_;
|
||||
bool isSampleDialog_;
|
||||
bool isOnline_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEDIALOGRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEENTITIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEENTITIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeEntitiesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeEntitiesRequest();
|
||||
~DescribeEntitiesRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEENTITIESREQUEST_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEENTITIESRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEENTITIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeEntitiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MembersItem
|
||||
{
|
||||
std::vector<std::string> synonyms;
|
||||
std::string memberName;
|
||||
};
|
||||
|
||||
|
||||
DescribeEntitiesResult();
|
||||
explicit DescribeEntitiesResult(const std::string &payload);
|
||||
~DescribeEntitiesResult();
|
||||
long getEntityId()const;
|
||||
std::string getEntityType()const;
|
||||
std::string getModifyTime()const;
|
||||
std::string getModifyUserId()const;
|
||||
std::string getEntityName()const;
|
||||
std::string getRegex()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getModifyUserName()const;
|
||||
std::string getCreateUserId()const;
|
||||
std::string getCreateUserName()const;
|
||||
std::vector<MembersItem> getMembers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long entityId_;
|
||||
std::string entityType_;
|
||||
std::string modifyTime_;
|
||||
std::string modifyUserId_;
|
||||
std::string entityName_;
|
||||
std::string regex_;
|
||||
std::string createTime_;
|
||||
std::string modifyUserName_;
|
||||
std::string createUserId_;
|
||||
std::string createUserName_;
|
||||
std::vector<MembersItem> members_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEENTITIESRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEINTENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEINTENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeIntentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeIntentRequest();
|
||||
~DescribeIntentRequest();
|
||||
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEINTENTREQUEST_H_
|
||||
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* 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_CHATBOT_MODEL_DESCRIBEINTENTRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEINTENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeIntentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RuleCheckItem
|
||||
{
|
||||
std::vector<std::string> warning;
|
||||
bool strict;
|
||||
std::vector<std::string> error;
|
||||
std::string text;
|
||||
};
|
||||
struct SlotItem
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string userSayId;
|
||||
std::string value;
|
||||
};
|
||||
std::string slotId;
|
||||
bool isArray;
|
||||
bool isNecessary;
|
||||
std::string value;
|
||||
int lifeSpan;
|
||||
std::vector<std::string> question;
|
||||
std::vector<SlotItem::TagsItem> tags;
|
||||
std::string name;
|
||||
};
|
||||
struct UserSayItem
|
||||
{
|
||||
struct DataItem
|
||||
{
|
||||
std::string slotId;
|
||||
std::string text;
|
||||
};
|
||||
bool strict;
|
||||
std::string userSayId;
|
||||
std::vector<UserSayItem::DataItem> data;
|
||||
};
|
||||
|
||||
|
||||
DescribeIntentResult();
|
||||
explicit DescribeIntentResult(const std::string &payload);
|
||||
~DescribeIntentResult();
|
||||
std::string getModifyTime()const;
|
||||
std::string getCreateTime()const;
|
||||
long getDialogId()const;
|
||||
std::string getCreateUserId()const;
|
||||
std::string getCreateUserName()const;
|
||||
long getIntentId()const;
|
||||
std::string getName()const;
|
||||
std::string getType()const;
|
||||
std::vector<UserSayItem> getUserSay()const;
|
||||
std::string getModifyUserId()const;
|
||||
std::string getModifyUserName()const;
|
||||
std::vector<SlotItem> getSlot()const;
|
||||
std::vector<RuleCheckItem> getRuleCheck()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string modifyTime_;
|
||||
std::string createTime_;
|
||||
long dialogId_;
|
||||
std::string createUserId_;
|
||||
std::string createUserName_;
|
||||
long intentId_;
|
||||
std::string name_;
|
||||
std::string type_;
|
||||
std::vector<UserSayItem> userSay_;
|
||||
std::string modifyUserId_;
|
||||
std::string modifyUserName_;
|
||||
std::vector<SlotItem> slot_;
|
||||
std::vector<RuleCheckItem> ruleCheck_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEINTENTRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEKNOWLEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEKNOWLEDGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeKnowledgeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeKnowledgeRequest();
|
||||
~DescribeKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEKNOWLEDGEREQUEST_H_
|
||||
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEKNOWLEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEKNOWLEDGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribeKnowledgeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Outline
|
||||
{
|
||||
std::string title;
|
||||
long knowledgeId;
|
||||
long outlineId;
|
||||
};
|
||||
struct SimQuestion
|
||||
{
|
||||
std::string modifyTime;
|
||||
long simQuestionId;
|
||||
std::string createTime;
|
||||
std::string title;
|
||||
};
|
||||
struct Solution
|
||||
{
|
||||
std::string modifyTime;
|
||||
long solutionId;
|
||||
std::string content;
|
||||
std::string createTime;
|
||||
std::string plainText;
|
||||
std::vector<std::string> perspectiveIds;
|
||||
std::string summary;
|
||||
};
|
||||
|
||||
|
||||
DescribeKnowledgeResult();
|
||||
explicit DescribeKnowledgeResult(const std::string &payload);
|
||||
~DescribeKnowledgeResult();
|
||||
std::string getKnowledgeTitle()const;
|
||||
long getCategoryId()const;
|
||||
std::string getModifyTime()const;
|
||||
std::vector<std::string> getCoreWords()const;
|
||||
std::string getCreateTime()const;
|
||||
long getKnowledgeId()const;
|
||||
std::vector<std::string> getKeyWords()const;
|
||||
std::string getEndDate()const;
|
||||
std::string getCreateUserName()const;
|
||||
std::string getStartDate()const;
|
||||
std::vector<SimQuestion> getSimQuestions()const;
|
||||
std::vector<Solution> getSolutions()const;
|
||||
int getVersion()const;
|
||||
std::string getModifyUserName()const;
|
||||
std::vector<Outline> getOutlines()const;
|
||||
int getKnowledgeStatus()const;
|
||||
int getKnowledgeType()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string knowledgeTitle_;
|
||||
long categoryId_;
|
||||
std::string modifyTime_;
|
||||
std::vector<std::string> coreWords_;
|
||||
std::string createTime_;
|
||||
long knowledgeId_;
|
||||
std::vector<std::string> keyWords_;
|
||||
std::string endDate_;
|
||||
std::string createUserName_;
|
||||
std::string startDate_;
|
||||
std::vector<SimQuestion> simQuestions_;
|
||||
std::vector<Solution> solutions_;
|
||||
int version_;
|
||||
std::string modifyUserName_;
|
||||
std::vector<Outline> outlines_;
|
||||
int knowledgeStatus_;
|
||||
int knowledgeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEKNOWLEDGERESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DESCRIBEPERSPECTIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEPERSPECTIVEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribePerspectiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePerspectiveRequest();
|
||||
~DescribePerspectiveRequest();
|
||||
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEPERSPECTIVEREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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_CHATBOT_MODEL_DESCRIBEPERSPECTIVERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEPERSPECTIVERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DescribePerspectiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribePerspectiveResult();
|
||||
explicit DescribePerspectiveResult(const std::string &payload);
|
||||
~DescribePerspectiveResult();
|
||||
int getStatus()const;
|
||||
std::string getModifyTime()const;
|
||||
std::string getPerspectiveCode()const;
|
||||
bool getSelfDefine()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getModifyUserName()const;
|
||||
std::string getPerspectiveId()const;
|
||||
std::string getCreateUserName()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
std::string modifyTime_;
|
||||
std::string perspectiveCode_;
|
||||
bool selfDefine_;
|
||||
std::string createTime_;
|
||||
std::string modifyUserName_;
|
||||
std::string perspectiveId_;
|
||||
std::string createUserName_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DESCRIBEPERSPECTIVERESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DISABLEDIALOGFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DISABLEDIALOGFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DisableDialogFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableDialogFlowRequest();
|
||||
~DisableDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DISABLEDIALOGFLOWREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DISABLEDIALOGFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DISABLEDIALOGFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DisableDialogFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableDialogFlowResult();
|
||||
explicit DisableDialogFlowResult(const std::string &payload);
|
||||
~DisableDialogFlowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DISABLEDIALOGFLOWRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_DISABLEKNOWLEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DISABLEKNOWLEDGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DisableKnowledgeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableKnowledgeRequest();
|
||||
~DisableKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DISABLEKNOWLEDGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_DISABLEKNOWLEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_DISABLEKNOWLEDGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT DisableKnowledgeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableKnowledgeResult();
|
||||
explicit DisableKnowledgeResult(const std::string &payload);
|
||||
~DisableKnowledgeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_DISABLEKNOWLEDGERESULT_H_
|
||||
57
chatbot/include/alibabacloud/chatbot/model/FeedbackRequest.h
Normal file
57
chatbot/include/alibabacloud/chatbot/model/FeedbackRequest.h
Normal 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_CHATBOT_MODEL_FEEDBACKREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_FEEDBACKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT FeedbackRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FeedbackRequest();
|
||||
~FeedbackRequest();
|
||||
|
||||
std::string getFeedback()const;
|
||||
void setFeedback(const std::string& feedback);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getMessageId()const;
|
||||
void setMessageId(const std::string& messageId);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
|
||||
private:
|
||||
std::string feedback_;
|
||||
std::string instanceId_;
|
||||
std::string messageId_;
|
||||
std::string sessionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_FEEDBACKREQUEST_H_
|
||||
53
chatbot/include/alibabacloud/chatbot/model/FeedbackResult.h
Normal file
53
chatbot/include/alibabacloud/chatbot/model/FeedbackResult.h
Normal 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_CHATBOT_MODEL_FEEDBACKRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_FEEDBACKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT FeedbackResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
FeedbackResult();
|
||||
explicit FeedbackResult(const std::string &payload);
|
||||
~FeedbackResult();
|
||||
std::string getFeedback()const;
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string feedback_;
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_FEEDBACKRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_MOVEKNOWLEDGECATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_MOVEKNOWLEDGECATEGORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT MoveKnowledgeCategoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoveKnowledgeCategoryRequest();
|
||||
~MoveKnowledgeCategoryRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_MOVEKNOWLEDGECATEGORYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_MOVEKNOWLEDGECATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_MOVEKNOWLEDGECATEGORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT MoveKnowledgeCategoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoveKnowledgeCategoryResult();
|
||||
explicit MoveKnowledgeCategoryResult(const std::string &payload);
|
||||
~MoveKnowledgeCategoryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_MOVEKNOWLEDGECATEGORYRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_PUBLISHDIALOGFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_PUBLISHDIALOGFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT PublishDialogFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishDialogFlowRequest();
|
||||
~PublishDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_PUBLISHDIALOGFLOWREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_PUBLISHDIALOGFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_PUBLISHDIALOGFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT PublishDialogFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishDialogFlowResult();
|
||||
explicit PublishDialogFlowResult(const std::string &payload);
|
||||
~PublishDialogFlowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_PUBLISHDIALOGFLOWRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_PUBLISHKNOWLEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_PUBLISHKNOWLEDGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT PublishKnowledgeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishKnowledgeRequest();
|
||||
~PublishKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_PUBLISHKNOWLEDGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_PUBLISHKNOWLEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_PUBLISHKNOWLEDGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT PublishKnowledgeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishKnowledgeResult();
|
||||
explicit PublishKnowledgeResult(const std::string &payload);
|
||||
~PublishKnowledgeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_PUBLISHKNOWLEDGERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYCATEGORIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYCATEGORIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryCategoriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCategoriesRequest();
|
||||
~QueryCategoriesRequest();
|
||||
|
||||
bool getShowChildrens()const;
|
||||
void setShowChildrens(bool showChildrens);
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
|
||||
private:
|
||||
bool showChildrens_;
|
||||
long parentCategoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYCATEGORIESREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYCATEGORIESRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYCATEGORIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryCategoriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Category
|
||||
{
|
||||
long categoryId;
|
||||
std::vector<std::string> childrens;
|
||||
long parentCategoryId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
QueryCategoriesResult();
|
||||
explicit QueryCategoriesResult(const std::string &payload);
|
||||
~QueryCategoriesResult();
|
||||
std::vector<Category> getCategories()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Category> categories_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYCATEGORIESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYCOREWORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYCOREWORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryCoreWordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCoreWordsRequest();
|
||||
~QueryCoreWordsRequest();
|
||||
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string synonym_;
|
||||
int pageSize_;
|
||||
std::string coreWordName_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYCOREWORDSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_CHATBOT_MODEL_QUERYCOREWORDSRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYCOREWORDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryCoreWordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CoreWord
|
||||
{
|
||||
std::string coreWordName;
|
||||
std::vector<std::string> synonyms;
|
||||
std::string modifyTime;
|
||||
std::string createTime;
|
||||
std::string coreWordCode;
|
||||
};
|
||||
|
||||
|
||||
QueryCoreWordsResult();
|
||||
explicit QueryCoreWordsResult(const std::string &payload);
|
||||
~QueryCoreWordsResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<CoreWord> getCoreWords()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<CoreWord> coreWords_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYCOREWORDSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYDIALOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYDIALOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryDialogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDialogsRequest();
|
||||
~QueryDialogsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string dialogName_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYDIALOGSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYDIALOGSRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYDIALOGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryDialogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Dialog
|
||||
{
|
||||
int status;
|
||||
std::string modifyTime;
|
||||
std::string dialogName;
|
||||
std::string description;
|
||||
std::string modifyUserId;
|
||||
std::string createTime;
|
||||
std::string modifyUserName;
|
||||
long dialogId;
|
||||
std::string createUserId;
|
||||
std::string createUserName;
|
||||
bool isSampleDialog;
|
||||
bool isOnline;
|
||||
};
|
||||
|
||||
|
||||
QueryDialogsResult();
|
||||
explicit QueryDialogsResult(const std::string &payload);
|
||||
~QueryDialogsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::vector<Dialog> getDialogs()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::vector<Dialog> dialogs_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYDIALOGSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYENTITIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYENTITIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryEntitiesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryEntitiesRequest();
|
||||
~QueryEntitiesRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
int pageSize_;
|
||||
long dialogId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYENTITIESREQUEST_H_
|
||||
@@ -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_CHATBOT_MODEL_QUERYENTITIESRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYENTITIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryEntitiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Entity
|
||||
{
|
||||
struct MembersItem
|
||||
{
|
||||
std::vector<std::string> synonyms;
|
||||
std::string memberName;
|
||||
};
|
||||
long entityId;
|
||||
std::string entityType;
|
||||
std::string modifyTime;
|
||||
std::string modifyUserId;
|
||||
std::string entityName;
|
||||
std::string regex;
|
||||
std::string createTime;
|
||||
std::string modifyUserName;
|
||||
std::string createUserId;
|
||||
std::string createUserName;
|
||||
std::vector<Entity::MembersItem> members;
|
||||
};
|
||||
|
||||
|
||||
QueryEntitiesResult();
|
||||
explicit QueryEntitiesResult(const std::string &payload);
|
||||
~QueryEntitiesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Entity> getEntities()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Entity> entities_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYENTITIESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYINTENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYINTENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryIntentsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryIntentsRequest();
|
||||
~QueryIntentsRequest();
|
||||
|
||||
std::string getIntentName()const;
|
||||
void setIntentName(const std::string& intentName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string intentName_;
|
||||
int pageSize_;
|
||||
long dialogId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYINTENTSREQUEST_H_
|
||||
105
chatbot/include/alibabacloud/chatbot/model/QueryIntentsResult.h
Normal file
105
chatbot/include/alibabacloud/chatbot/model/QueryIntentsResult.h
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* 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_CHATBOT_MODEL_QUERYINTENTSRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYINTENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryIntentsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Intent
|
||||
{
|
||||
struct UserSayItem
|
||||
{
|
||||
struct DataItem
|
||||
{
|
||||
std::string slotId;
|
||||
std::string text;
|
||||
};
|
||||
bool strict;
|
||||
std::string userSayId;
|
||||
std::vector<UserSayItem::DataItem> data;
|
||||
};
|
||||
struct RuleCheckItem
|
||||
{
|
||||
std::vector<std::string> warning;
|
||||
bool strict;
|
||||
std::vector<std::string> error;
|
||||
std::string text;
|
||||
};
|
||||
struct SlotItem
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string userSayId;
|
||||
std::string value;
|
||||
};
|
||||
std::string slotId;
|
||||
bool isArray;
|
||||
bool isNecessary;
|
||||
std::string value;
|
||||
int lifeSpan;
|
||||
std::vector<std::string> question;
|
||||
std::vector<SlotItem::TagsItem> tags;
|
||||
std::string name;
|
||||
};
|
||||
std::string modifyTime;
|
||||
std::vector<Intent::UserSayItem> userSay;
|
||||
std::string modifyUserId;
|
||||
std::string createTime;
|
||||
std::string modifyUserName;
|
||||
std::vector<Intent::SlotItem> slot;
|
||||
std::string createUserId;
|
||||
std::vector<Intent::RuleCheckItem> ruleCheck;
|
||||
std::string createUserName;
|
||||
long intentId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
QueryIntentsResult();
|
||||
explicit QueryIntentsResult(const std::string &payload);
|
||||
~QueryIntentsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Intent> getIntents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Intent> intents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYINTENTSRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_QUERYKNOWLEDGESREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYKNOWLEDGESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryKnowledgesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryKnowledgesRequest();
|
||||
~QueryKnowledgesRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getKnowledgeTitle()const;
|
||||
void setKnowledgeTitle(const std::string& knowledgeTitle);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string coreWordName_;
|
||||
std::string knowledgeTitle_;
|
||||
int pageNumber_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYKNOWLEDGESREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYKNOWLEDGESRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYKNOWLEDGESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryKnowledgesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Knowledge
|
||||
{
|
||||
long categoryId;
|
||||
std::string knowledgeTitle;
|
||||
std::string startDate;
|
||||
std::string modifyTime;
|
||||
std::vector<std::string> coreWords;
|
||||
std::string version;
|
||||
std::string createTime;
|
||||
std::string modifyUserName;
|
||||
int knowledgeStatus;
|
||||
long knowledgeId;
|
||||
std::string createUserName;
|
||||
std::string endDate;
|
||||
};
|
||||
|
||||
|
||||
QueryKnowledgesResult();
|
||||
explicit QueryKnowledgesResult(const std::string &payload);
|
||||
~QueryKnowledgesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Knowledge> getKnowledges()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Knowledge> knowledges_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYKNOWLEDGESRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_QUERYPERSPECTIVESREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYPERSPECTIVESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryPerspectivesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPerspectivesRequest();
|
||||
~QueryPerspectivesRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYPERSPECTIVESREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYPERSPECTIVESRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYPERSPECTIVESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QueryPerspectivesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Perspective
|
||||
{
|
||||
int status;
|
||||
std::string modifyTime;
|
||||
std::string perspectiveCode;
|
||||
std::string selfDefine;
|
||||
std::string createTime;
|
||||
std::string modifyUserName;
|
||||
std::string perspectiveId;
|
||||
std::string createUserName;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
QueryPerspectivesResult();
|
||||
explicit QueryPerspectivesResult(const std::string &payload);
|
||||
~QueryPerspectivesResult();
|
||||
std::vector<Perspective> getPerspectives()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Perspective> perspectives_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYPERSPECTIVESRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_QUERYSYSTEMENTITIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYSYSTEMENTITIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QuerySystemEntitiesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySystemEntitiesRequest();
|
||||
~QuerySystemEntitiesRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYSYSTEMENTITIESREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_QUERYSYSTEMENTITIESRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_QUERYSYSTEMENTITIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT QuerySystemEntitiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Entity
|
||||
{
|
||||
std::string entityName;
|
||||
std::string entityCode;
|
||||
std::string defaultQuestion;
|
||||
};
|
||||
|
||||
|
||||
QuerySystemEntitiesResult();
|
||||
explicit QuerySystemEntitiesResult(const std::string &payload);
|
||||
~QuerySystemEntitiesResult();
|
||||
std::vector<Entity> getSystemEntities()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Entity> systemEntities_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_QUERYSYSTEMENTITIESRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_REMOVEENTITYMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_REMOVEENTITYMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT RemoveEntityMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveEntityMemberRequest();
|
||||
~RemoveEntityMemberRequest();
|
||||
|
||||
std::string getRemoveType()const;
|
||||
void setRemoveType(const std::string& removeType);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
std::string removeType_;
|
||||
std::string member_;
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_REMOVEENTITYMEMBERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_REMOVEENTITYMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_REMOVEENTITYMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT RemoveEntityMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveEntityMemberResult();
|
||||
explicit RemoveEntityMemberResult(const std::string &payload);
|
||||
~RemoveEntityMemberResult();
|
||||
std::string getEntityId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_REMOVEENTITYMEMBERRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_REMOVESYNONYMREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_REMOVESYNONYMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT RemoveSynonymRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveSynonymRequest();
|
||||
~RemoveSynonymRequest();
|
||||
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_REMOVESYNONYMREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_REMOVESYNONYMRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_REMOVESYNONYMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT RemoveSynonymResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveSynonymResult();
|
||||
explicit RemoveSynonymResult(const std::string &payload);
|
||||
~RemoveSynonymResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_REMOVESYNONYMRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_TESTDIALOGFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_TESTDIALOGFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT TestDialogFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TestDialogFlowRequest();
|
||||
~TestDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_TESTDIALOGFLOWREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_TESTDIALOGFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_TESTDIALOGFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT TestDialogFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TestDialogFlowResult();
|
||||
explicit TestDialogFlowResult(const std::string &payload);
|
||||
~TestDialogFlowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_TESTDIALOGFLOWRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATECATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATECATEGORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateCategoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateCategoryRequest();
|
||||
~UpdateCategoryRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATECATEGORYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATECATEGORYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATECATEGORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateCategoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCategoryResult();
|
||||
explicit UpdateCategoryResult(const std::string &payload);
|
||||
~UpdateCategoryResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATECATEGORYRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATECOREWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATECOREWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateCoreWordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateCoreWordRequest();
|
||||
~UpdateCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordCode()const;
|
||||
void setCoreWordCode(const std::string& coreWordCode);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATECOREWORDREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATECOREWORDRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATECOREWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateCoreWordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCoreWordResult();
|
||||
explicit UpdateCoreWordResult(const std::string &payload);
|
||||
~UpdateCoreWordResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATECOREWORDRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateDialogFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateDialogFlowRequest();
|
||||
~UpdateDialogFlowRequest();
|
||||
|
||||
std::string getModuleDefinition()const;
|
||||
void setModuleDefinition(const std::string& moduleDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
std::string moduleDefinition_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGFLOWREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateDialogFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDialogFlowResult();
|
||||
explicit UpdateDialogFlowResult(const std::string &payload);
|
||||
~UpdateDialogFlowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGFLOWRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateDialogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateDialogRequest();
|
||||
~UpdateDialogRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
long dialogId_;
|
||||
std::string dialogName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateDialogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDialogResult();
|
||||
explicit UpdateDialogResult(const std::string &payload);
|
||||
~UpdateDialogResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEDIALOGRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_UPDATEENTITYREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEENTITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateEntityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateEntityRequest();
|
||||
~UpdateEntityRequest();
|
||||
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
std::string entityName_;
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEENTITYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEENTITYRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEENTITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateEntityResult();
|
||||
explicit UpdateEntityResult(const std::string &payload);
|
||||
~UpdateEntityResult();
|
||||
std::string getEntityId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEENTITYRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEINTENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEINTENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateIntentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateIntentRequest();
|
||||
~UpdateIntentRequest();
|
||||
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
std::string intentDefinition_;
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEINTENTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEINTENTRESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEINTENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateIntentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateIntentResult();
|
||||
explicit UpdateIntentResult(const std::string &payload);
|
||||
~UpdateIntentResult();
|
||||
std::string getIntentId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEINTENTRESULT_H_
|
||||
@@ -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_CHATBOT_MODEL_UPDATEKNOWLEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEKNOWLEDGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateKnowledgeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateKnowledgeRequest();
|
||||
~UpdateKnowledgeRequest();
|
||||
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
|
||||
private:
|
||||
std::string knowledge_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEKNOWLEDGEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEKNOWLEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEKNOWLEDGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdateKnowledgeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateKnowledgeResult();
|
||||
explicit UpdateKnowledgeResult(const std::string &payload);
|
||||
~UpdateKnowledgeResult();
|
||||
long getKnowledgeId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEKNOWLEDGERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CHATBOT_MODEL_UPDATEPERSPECTIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_CHATBOT_MODEL_UPDATEPERSPECTIVEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/chatbot/ChatbotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Chatbot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CHATBOT_EXPORT UpdatePerspectiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdatePerspectiveRequest();
|
||||
~UpdatePerspectiveRequest();
|
||||
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CHATBOT_MODEL_UPDATEPERSPECTIVEREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user