Add SourceType for severless instance.

This commit is contained in:
sdk-team
2020-11-30 07:09:59 +00:00
parent 934e283efb
commit 9052652131
3 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2020-11-30 Version: patch
- Add SourceType for severless instance.
2020-11-30 Version: patch
- Video Content analytics template introduced to this SDK.

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
CreateServerlessClusterRequest();
~CreateServerlessClusterRequest();
std::string getClientType()const;
void setClientType(const std::string& clientType);
std::string getClusterName()const;
void setClusterName(const std::string& clusterName);
std::string getClientToken()const;
@@ -67,6 +69,7 @@ namespace AlibabaCloud
void setServerlessSpec(const std::string& serverlessSpec);
private:
std::string clientType_;
std::string clusterName_;
std::string clientToken_;
std::string engineVersion_;

View File

@@ -27,6 +27,17 @@ CreateServerlessClusterRequest::CreateServerlessClusterRequest() :
CreateServerlessClusterRequest::~CreateServerlessClusterRequest()
{}
std::string CreateServerlessClusterRequest::getClientType()const
{
return clientType_;
}
void CreateServerlessClusterRequest::setClientType(const std::string& clientType)
{
clientType_ = clientType;
setParameter("ClientType", clientType);
}
std::string CreateServerlessClusterRequest::getClusterName()const
{
return clusterName_;