Add SourceType for severless instance.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user