Add GWS serie apis.

This commit is contained in:
sdk-team
2020-01-03 18:21:00 +08:00
parent 07fbfc619a
commit 0781ea0be4
23 changed files with 607 additions and 26 deletions

View File

@@ -279,6 +279,17 @@ void CreateClusterRequest::setPeriodUnit(const std::string& periodUnit)
setCoreParameter("PeriodUnit", periodUnit);
}
bool CreateClusterRequest::getComputeEnableHt()const
{
return computeEnableHt_;
}
void CreateClusterRequest::setComputeEnableHt(bool computeEnableHt)
{
computeEnableHt_ = computeEnableHt;
setCoreParameter("ComputeEnableHt", computeEnableHt ? "true" : "false");
}
std::string CreateClusterRequest::getAutoRenew()const
{
return autoRenew_;
@@ -444,17 +455,6 @@ void CreateClusterRequest::setSystemDiskType(const std::string& systemDiskType)
setCoreParameter("SystemDiskType", systemDiskType);
}
bool CreateClusterRequest::getIsComputeOnecs()const
{
return isComputeOnecs_;
}
void CreateClusterRequest::setIsComputeOnecs(bool isComputeOnecs)
{
isComputeOnecs_ = isComputeOnecs;
setCoreParameter("IsComputeOnecs", isComputeOnecs ? "true" : "false");
}
std::string CreateClusterRequest::getVolumeProtocol()const
{
return volumeProtocol_;