EHPC SDK Auto Released By qianzheng.llc,Version:1.21.0

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-08-03 10:25:37 +08:00
parent 51b845ce56
commit fe5f64d980
43 changed files with 2134 additions and 57 deletions

View File

@@ -69,6 +69,17 @@ void SetAutoScaleConfigRequest::setEnableAutoGrow(bool enableAutoGrow)
setParameter("EnableAutoGrow", std::to_string(enableAutoGrow));
}
std::string SetAutoScaleConfigRequest::getSpotPriceLimit()const
{
return spotPriceLimit_;
}
void SetAutoScaleConfigRequest::setSpotPriceLimit(const std::string& spotPriceLimit)
{
spotPriceLimit_ = spotPriceLimit;
setParameter("SpotPriceLimit", spotPriceLimit);
}
bool SetAutoScaleConfigRequest::getEnableAutoShrink()const
{
return enableAutoShrink_;
@@ -91,6 +102,17 @@ void SetAutoScaleConfigRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string SetAutoScaleConfigRequest::getSpotStrategy()const
{
return spotStrategy_;
}
void SetAutoScaleConfigRequest::setSpotStrategy(const std::string& spotStrategy)
{
spotStrategy_ = spotStrategy;
setParameter("SpotStrategy", spotStrategy);
}
int SetAutoScaleConfigRequest::getMaxNodesInCluster()const
{
return maxNodesInCluster_;