ALIMT SDK Auto Released By xulei.xl,Version:1.33.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2018-11-22 Version: 1.33.4
|
||||
1, Increase the scene field
|
||||
|
||||
2018-11-22 Version: 1.33.3
|
||||
1, Add parameter DeletionProtection when creating instance and modifying instance attribute
|
||||
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string targetLanguage_;
|
||||
std::string scene_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string targetLanguage_;
|
||||
std::string scene_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,3 +69,14 @@ void TranslateECommerceRequest::setTargetLanguage(const std::string& targetLangu
|
||||
setParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,3 +69,14 @@ void TranslateGeneralRequest::setTargetLanguage(const std::string& targetLanguag
|
||||
setParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user