Supported more api for user.

This commit is contained in:
sdk-team
2023-05-06 07:40:19 +00:00
parent 93f7addccc
commit 3ed26d9565
20 changed files with 1069 additions and 1 deletions

View File

@@ -48,6 +48,8 @@
#include "model/GetEcChGeneralResult.h"
#include "model/GetEcEnGeneralRequest.h"
#include "model/GetEcEnGeneralResult.h"
#include "model/GetEmbeddingRequest.h"
#include "model/GetEmbeddingResult.h"
#include "model/GetItemPubChEcomRequest.h"
#include "model/GetItemPubChEcomResult.h"
#include "model/GetKeywordChEcomRequest.h"
@@ -64,6 +66,10 @@
#include "model/GetNerCustomizedChEcomResult.h"
#include "model/GetNerCustomizedSeaEcomRequest.h"
#include "model/GetNerCustomizedSeaEcomResult.h"
#include "model/GetOpenNLURequest.h"
#include "model/GetOpenNLUResult.h"
#include "model/GetOpenNLUHighRecallRequest.h"
#include "model/GetOpenNLUHighRecallResult.h"
#include "model/GetOperationChMedicalRequest.h"
#include "model/GetOperationChMedicalResult.h"
#include "model/GetPosChEcomRequest.h"
@@ -72,6 +78,8 @@
#include "model/GetPosChGeneralResult.h"
#include "model/GetPriceChEcomRequest.h"
#include "model/GetPriceChEcomResult.h"
#include "model/GetSSETestRequest.h"
#include "model/GetSSETestResult.h"
#include "model/GetSaChGeneralRequest.h"
#include "model/GetSaChGeneralResult.h"
#include "model/GetSaSeaEcomRequest.h"
@@ -174,6 +182,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetEcEnGeneralResult> GetEcEnGeneralOutcome;
typedef std::future<GetEcEnGeneralOutcome> GetEcEnGeneralOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetEcEnGeneralRequest&, const GetEcEnGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEcEnGeneralAsyncHandler;
typedef Outcome<Error, Model::GetEmbeddingResult> GetEmbeddingOutcome;
typedef std::future<GetEmbeddingOutcome> GetEmbeddingOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetEmbeddingRequest&, const GetEmbeddingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEmbeddingAsyncHandler;
typedef Outcome<Error, Model::GetItemPubChEcomResult> GetItemPubChEcomOutcome;
typedef std::future<GetItemPubChEcomOutcome> GetItemPubChEcomOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetItemPubChEcomRequest&, const GetItemPubChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetItemPubChEcomAsyncHandler;
@@ -198,6 +209,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetNerCustomizedSeaEcomResult> GetNerCustomizedSeaEcomOutcome;
typedef std::future<GetNerCustomizedSeaEcomOutcome> GetNerCustomizedSeaEcomOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetNerCustomizedSeaEcomRequest&, const GetNerCustomizedSeaEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNerCustomizedSeaEcomAsyncHandler;
typedef Outcome<Error, Model::GetOpenNLUResult> GetOpenNLUOutcome;
typedef std::future<GetOpenNLUOutcome> GetOpenNLUOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetOpenNLURequest&, const GetOpenNLUOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOpenNLUAsyncHandler;
typedef Outcome<Error, Model::GetOpenNLUHighRecallResult> GetOpenNLUHighRecallOutcome;
typedef std::future<GetOpenNLUHighRecallOutcome> GetOpenNLUHighRecallOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetOpenNLUHighRecallRequest&, const GetOpenNLUHighRecallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOpenNLUHighRecallAsyncHandler;
typedef Outcome<Error, Model::GetOperationChMedicalResult> GetOperationChMedicalOutcome;
typedef std::future<GetOperationChMedicalOutcome> GetOperationChMedicalOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetOperationChMedicalRequest&, const GetOperationChMedicalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOperationChMedicalAsyncHandler;
@@ -210,6 +227,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPriceChEcomResult> GetPriceChEcomOutcome;
typedef std::future<GetPriceChEcomOutcome> GetPriceChEcomOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetPriceChEcomRequest&, const GetPriceChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPriceChEcomAsyncHandler;
typedef Outcome<Error, Model::GetSSETestResult> GetSSETestOutcome;
typedef std::future<GetSSETestOutcome> GetSSETestOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetSSETestRequest&, const GetSSETestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSSETestAsyncHandler;
typedef Outcome<Error, Model::GetSaChGeneralResult> GetSaChGeneralOutcome;
typedef std::future<GetSaChGeneralOutcome> GetSaChGeneralOutcomeCallable;
typedef std::function<void(const AlinlpClient*, const Model::GetSaChGeneralRequest&, const GetSaChGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSaChGeneralAsyncHandler;
@@ -335,6 +355,9 @@ namespace AlibabaCloud
GetEcEnGeneralOutcome getEcEnGeneral(const Model::GetEcEnGeneralRequest &request)const;
void getEcEnGeneralAsync(const Model::GetEcEnGeneralRequest& request, const GetEcEnGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEcEnGeneralOutcomeCallable getEcEnGeneralCallable(const Model::GetEcEnGeneralRequest& request) const;
GetEmbeddingOutcome getEmbedding(const Model::GetEmbeddingRequest &request)const;
void getEmbeddingAsync(const Model::GetEmbeddingRequest& request, const GetEmbeddingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEmbeddingOutcomeCallable getEmbeddingCallable(const Model::GetEmbeddingRequest& request) const;
GetItemPubChEcomOutcome getItemPubChEcom(const Model::GetItemPubChEcomRequest &request)const;
void getItemPubChEcomAsync(const Model::GetItemPubChEcomRequest& request, const GetItemPubChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetItemPubChEcomOutcomeCallable getItemPubChEcomCallable(const Model::GetItemPubChEcomRequest& request) const;
@@ -359,6 +382,12 @@ namespace AlibabaCloud
GetNerCustomizedSeaEcomOutcome getNerCustomizedSeaEcom(const Model::GetNerCustomizedSeaEcomRequest &request)const;
void getNerCustomizedSeaEcomAsync(const Model::GetNerCustomizedSeaEcomRequest& request, const GetNerCustomizedSeaEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetNerCustomizedSeaEcomOutcomeCallable getNerCustomizedSeaEcomCallable(const Model::GetNerCustomizedSeaEcomRequest& request) const;
GetOpenNLUOutcome getOpenNLU(const Model::GetOpenNLURequest &request)const;
void getOpenNLUAsync(const Model::GetOpenNLURequest& request, const GetOpenNLUAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOpenNLUOutcomeCallable getOpenNLUCallable(const Model::GetOpenNLURequest& request) const;
GetOpenNLUHighRecallOutcome getOpenNLUHighRecall(const Model::GetOpenNLUHighRecallRequest &request)const;
void getOpenNLUHighRecallAsync(const Model::GetOpenNLUHighRecallRequest& request, const GetOpenNLUHighRecallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOpenNLUHighRecallOutcomeCallable getOpenNLUHighRecallCallable(const Model::GetOpenNLUHighRecallRequest& request) const;
GetOperationChMedicalOutcome getOperationChMedical(const Model::GetOperationChMedicalRequest &request)const;
void getOperationChMedicalAsync(const Model::GetOperationChMedicalRequest& request, const GetOperationChMedicalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOperationChMedicalOutcomeCallable getOperationChMedicalCallable(const Model::GetOperationChMedicalRequest& request) const;
@@ -371,6 +400,9 @@ namespace AlibabaCloud
GetPriceChEcomOutcome getPriceChEcom(const Model::GetPriceChEcomRequest &request)const;
void getPriceChEcomAsync(const Model::GetPriceChEcomRequest& request, const GetPriceChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPriceChEcomOutcomeCallable getPriceChEcomCallable(const Model::GetPriceChEcomRequest& request) const;
GetSSETestOutcome getSSETest(const Model::GetSSETestRequest &request)const;
void getSSETestAsync(const Model::GetSSETestRequest& request, const GetSSETestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSSETestOutcomeCallable getSSETestCallable(const Model::GetSSETestRequest& request) const;
GetSaChGeneralOutcome getSaChGeneral(const Model::GetSaChGeneralRequest &request)const;
void getSaChGeneralAsync(const Model::GetSaChGeneralRequest& request, const GetSaChGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSaChGeneralOutcomeCallable getSaChGeneralCallable(const Model::GetSaChGeneralRequest& request) const;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETEMBEDDINGREQUEST_H_
#define ALIBABACLOUD_ALINLP_MODEL_GETEMBEDDINGREQUEST_H_
#include <alibabacloud/alinlp/AlinlpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alinlp {
namespace Model {
class ALIBABACLOUD_ALINLP_EXPORT GetEmbeddingRequest : public RpcServiceRequest {
public:
GetEmbeddingRequest();
~GetEmbeddingRequest();
std::string getBusiness() const;
void setBusiness(const std::string &business);
std::string getServiceCode() const;
void setServiceCode(const std::string &serviceCode);
std::string getText() const;
void setText(const std::string &text);
private:
std::string business_;
std::string serviceCode_;
std::string text_;
};
} // namespace Model
} // namespace Alinlp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETEMBEDDINGREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETOPENNLUHIGHRECALLREQUEST_H_
#define ALIBABACLOUD_ALINLP_MODEL_GETOPENNLUHIGHRECALLREQUEST_H_
#include <alibabacloud/alinlp/AlinlpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alinlp {
namespace Model {
class ALIBABACLOUD_ALINLP_EXPORT GetOpenNLUHighRecallRequest : public RpcServiceRequest {
public:
GetOpenNLUHighRecallRequest();
~GetOpenNLUHighRecallRequest();
std::string getSentence() const;
void setSentence(const std::string &sentence);
std::string getBusiness() const;
void setBusiness(const std::string &business);
std::string getLabels() const;
void setLabels(const std::string &labels);
std::string getTask() const;
void setTask(const std::string &task);
std::string getServiceCode() const;
void setServiceCode(const std::string &serviceCode);
std::string getExamples() const;
void setExamples(const std::string &examples);
private:
std::string sentence_;
std::string business_;
std::string labels_;
std::string task_;
std::string serviceCode_;
std::string examples_;
};
} // namespace Model
} // namespace Alinlp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETOPENNLUHIGHRECALLREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETOPENNLUREQUEST_H_
#define ALIBABACLOUD_ALINLP_MODEL_GETOPENNLUREQUEST_H_
#include <alibabacloud/alinlp/AlinlpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alinlp {
namespace Model {
class ALIBABACLOUD_ALINLP_EXPORT GetOpenNLURequest : public RpcServiceRequest {
public:
GetOpenNLURequest();
~GetOpenNLURequest();
std::string getSentence() const;
void setSentence(const std::string &sentence);
std::string getBusiness() const;
void setBusiness(const std::string &business);
std::string getLabels() const;
void setLabels(const std::string &labels);
std::string getTask() const;
void setTask(const std::string &task);
std::string getServiceCode() const;
void setServiceCode(const std::string &serviceCode);
std::string getExamples() const;
void setExamples(const std::string &examples);
private:
std::string sentence_;
std::string business_;
std::string labels_;
std::string task_;
std::string serviceCode_;
std::string examples_;
};
} // namespace Model
} // namespace Alinlp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETOPENNLUREQUEST_H_

View File

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

View File

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

View File

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