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:
yixiong.jxy
2018-11-22 17:42:36 +08:00
parent 892b77665e
commit 012634c7ea
6 changed files with 32 additions and 1 deletions

View File

@@ -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

View File

@@ -1 +1 @@
1.33.3
1.33.4

View File

@@ -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_;
};
}

View File

@@ -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_;
};
}

View File

@@ -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);
}

View File

@@ -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);
}