|
@@ -44,6 +44,10 @@
|
|
|
#include "model/GetTitleGenerateResult.h"
|
|
#include "model/GetTitleGenerateResult.h"
|
|
|
#include "model/GetTitleIntelligenceRequest.h"
|
|
#include "model/GetTitleIntelligenceRequest.h"
|
|
|
#include "model/GetTitleIntelligenceResult.h"
|
|
#include "model/GetTitleIntelligenceResult.h"
|
|
|
|
|
+#include "model/GetTranslateReportRequest.h"
|
|
|
|
|
+#include "model/GetTranslateReportResult.h"
|
|
|
|
|
+#include "model/GetUserRequest.h"
|
|
|
|
|
+#include "model/GetUserResult.h"
|
|
|
#include "model/OpenAlimtServiceRequest.h"
|
|
#include "model/OpenAlimtServiceRequest.h"
|
|
|
#include "model/OpenAlimtServiceResult.h"
|
|
#include "model/OpenAlimtServiceResult.h"
|
|
|
#include "model/TranslateRequest.h"
|
|
#include "model/TranslateRequest.h"
|
|
@@ -54,6 +58,8 @@
|
|
|
#include "model/TranslateECommerceResult.h"
|
|
#include "model/TranslateECommerceResult.h"
|
|
|
#include "model/TranslateGeneralRequest.h"
|
|
#include "model/TranslateGeneralRequest.h"
|
|
|
#include "model/TranslateGeneralResult.h"
|
|
#include "model/TranslateGeneralResult.h"
|
|
|
|
|
+#include "model/TranslateImageRequest.h"
|
|
|
|
|
+#include "model/TranslateImageResult.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace AlibabaCloud
|
|
namespace AlibabaCloud
|
|
@@ -96,6 +102,12 @@ namespace AlibabaCloud
|
|
|
typedef Outcome<Error, Model::GetTitleIntelligenceResult> GetTitleIntelligenceOutcome;
|
|
typedef Outcome<Error, Model::GetTitleIntelligenceResult> GetTitleIntelligenceOutcome;
|
|
|
typedef std::future<GetTitleIntelligenceOutcome> GetTitleIntelligenceOutcomeCallable;
|
|
typedef std::future<GetTitleIntelligenceOutcome> GetTitleIntelligenceOutcomeCallable;
|
|
|
typedef std::function<void(const AlimtClient*, const Model::GetTitleIntelligenceRequest&, const GetTitleIntelligenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleIntelligenceAsyncHandler;
|
|
typedef std::function<void(const AlimtClient*, const Model::GetTitleIntelligenceRequest&, const GetTitleIntelligenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleIntelligenceAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::GetTranslateReportResult> GetTranslateReportOutcome;
|
|
|
|
|
+ typedef std::future<GetTranslateReportOutcome> GetTranslateReportOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const AlimtClient*, const Model::GetTranslateReportRequest&, const GetTranslateReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTranslateReportAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
|
|
|
|
+ typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const AlimtClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
|
|
typedef Outcome<Error, Model::OpenAlimtServiceResult> OpenAlimtServiceOutcome;
|
|
typedef Outcome<Error, Model::OpenAlimtServiceResult> OpenAlimtServiceOutcome;
|
|
|
typedef std::future<OpenAlimtServiceOutcome> OpenAlimtServiceOutcomeCallable;
|
|
typedef std::future<OpenAlimtServiceOutcome> OpenAlimtServiceOutcomeCallable;
|
|
|
typedef std::function<void(const AlimtClient*, const Model::OpenAlimtServiceRequest&, const OpenAlimtServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenAlimtServiceAsyncHandler;
|
|
typedef std::function<void(const AlimtClient*, const Model::OpenAlimtServiceRequest&, const OpenAlimtServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenAlimtServiceAsyncHandler;
|
|
@@ -111,6 +123,9 @@ namespace AlibabaCloud
|
|
|
typedef Outcome<Error, Model::TranslateGeneralResult> TranslateGeneralOutcome;
|
|
typedef Outcome<Error, Model::TranslateGeneralResult> TranslateGeneralOutcome;
|
|
|
typedef std::future<TranslateGeneralOutcome> TranslateGeneralOutcomeCallable;
|
|
typedef std::future<TranslateGeneralOutcome> TranslateGeneralOutcomeCallable;
|
|
|
typedef std::function<void(const AlimtClient*, const Model::TranslateGeneralRequest&, const TranslateGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateGeneralAsyncHandler;
|
|
typedef std::function<void(const AlimtClient*, const Model::TranslateGeneralRequest&, const TranslateGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateGeneralAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::TranslateImageResult> TranslateImageOutcome;
|
|
|
|
|
+ typedef std::future<TranslateImageOutcome> TranslateImageOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const AlimtClient*, const Model::TranslateImageRequest&, const TranslateImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateImageAsyncHandler;
|
|
|
|
|
|
|
|
AlimtClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
|
AlimtClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
|
|
AlimtClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
|
AlimtClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
|
@@ -149,6 +164,12 @@ namespace AlibabaCloud
|
|
|
GetTitleIntelligenceOutcome getTitleIntelligence(const Model::GetTitleIntelligenceRequest &request)const;
|
|
GetTitleIntelligenceOutcome getTitleIntelligence(const Model::GetTitleIntelligenceRequest &request)const;
|
|
|
void getTitleIntelligenceAsync(const Model::GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void getTitleIntelligenceAsync(const Model::GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
GetTitleIntelligenceOutcomeCallable getTitleIntelligenceCallable(const Model::GetTitleIntelligenceRequest& request) const;
|
|
GetTitleIntelligenceOutcomeCallable getTitleIntelligenceCallable(const Model::GetTitleIntelligenceRequest& request) const;
|
|
|
|
|
+ GetTranslateReportOutcome getTranslateReport(const Model::GetTranslateReportRequest &request)const;
|
|
|
|
|
+ void getTranslateReportAsync(const Model::GetTranslateReportRequest& request, const GetTranslateReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ GetTranslateReportOutcomeCallable getTranslateReportCallable(const Model::GetTranslateReportRequest& request) const;
|
|
|
|
|
+ GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
|
|
|
|
+ void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
|
|
OpenAlimtServiceOutcome openAlimtService(const Model::OpenAlimtServiceRequest &request)const;
|
|
OpenAlimtServiceOutcome openAlimtService(const Model::OpenAlimtServiceRequest &request)const;
|
|
|
void openAlimtServiceAsync(const Model::OpenAlimtServiceRequest& request, const OpenAlimtServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void openAlimtServiceAsync(const Model::OpenAlimtServiceRequest& request, const OpenAlimtServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
OpenAlimtServiceOutcomeCallable openAlimtServiceCallable(const Model::OpenAlimtServiceRequest& request) const;
|
|
OpenAlimtServiceOutcomeCallable openAlimtServiceCallable(const Model::OpenAlimtServiceRequest& request) const;
|
|
@@ -164,6 +185,9 @@ namespace AlibabaCloud
|
|
|
TranslateGeneralOutcome translateGeneral(const Model::TranslateGeneralRequest &request)const;
|
|
TranslateGeneralOutcome translateGeneral(const Model::TranslateGeneralRequest &request)const;
|
|
|
void translateGeneralAsync(const Model::TranslateGeneralRequest& request, const TranslateGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void translateGeneralAsync(const Model::TranslateGeneralRequest& request, const TranslateGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
TranslateGeneralOutcomeCallable translateGeneralCallable(const Model::TranslateGeneralRequest& request) const;
|
|
TranslateGeneralOutcomeCallable translateGeneralCallable(const Model::TranslateGeneralRequest& request) const;
|
|
|
|
|
+ TranslateImageOutcome translateImage(const Model::TranslateImageRequest &request)const;
|
|
|
|
|
+ void translateImageAsync(const Model::TranslateImageRequest& request, const TranslateImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ TranslateImageOutcomeCallable translateImageCallable(const Model::TranslateImageRequest& request) const;
|
|
|
|
|
|
|
|
private:
|
|
private:
|
|
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|