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

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-07-13 18:17:10 +08:00
parent fb82ffd6b1
commit 33d0687c01
83 changed files with 5172 additions and 605 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/AddContainerAppRequest.h>
using AlibabaCloud::EHPC::Model::AddContainerAppRequest;
AddContainerAppRequest::AddContainerAppRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "AddContainerApp")
{}
AddContainerAppRequest::~AddContainerAppRequest()
{}
std::string AddContainerAppRequest::getContainerType()const
{
return containerType_;
}
void AddContainerAppRequest::setContainerType(const std::string& containerType)
{
containerType_ = containerType;
setParameter("ContainerType", containerType);
}
std::string AddContainerAppRequest::getName()const
{
return name_;
}
void AddContainerAppRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string AddContainerAppRequest::getDescription()const
{
return description_;
}
void AddContainerAppRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string AddContainerAppRequest::getRepository()const
{
return repository_;
}
void AddContainerAppRequest::setRepository(const std::string& repository)
{
repository_ = repository;
setParameter("Repository", repository);
}
std::string AddContainerAppRequest::getImageTag()const
{
return imageTag_;
}
void AddContainerAppRequest::setImageTag(const std::string& imageTag)
{
imageTag_ = imageTag;
setParameter("ImageTag", imageTag);
}
std::string AddContainerAppRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AddContainerAppRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/AddContainerAppResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
AddContainerAppResult::AddContainerAppResult() :
ServiceResult()
{}
AddContainerAppResult::AddContainerAppResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddContainerAppResult::~AddContainerAppResult()
{}
void AddContainerAppResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContainerId = value["ContainerId"]["ContainerId"];
for (const auto &item : allContainerId)
containerId_.push_back(item.asString());
}
std::vector<std::string> AddContainerAppResult::getContainerId()const
{
return containerId_;
}

View File

@@ -146,6 +146,17 @@ void AddNodesRequest::setEcsChargeType(const std::string& ecsChargeType)
setParameter("EcsChargeType", ecsChargeType);
}
std::string AddNodesRequest::getInstanceType()const
{
return instanceType_;
}
void AddNodesRequest::setInstanceType(const std::string& instanceType)
{
instanceType_ = instanceType;
setParameter("InstanceType", instanceType);
}
std::string AddNodesRequest::getComputeSpotPriceLimit()const
{
return computeSpotPriceLimit_;

View File

@@ -25,17 +25,6 @@ AddUsersRequest::AddUsersRequest() :
AddUsersRequest::~AddUsersRequest()
{}
bool AddUsersRequest::getReleaseInstance()const
{
return releaseInstance_;
}
void AddUsersRequest::setReleaseInstance(bool releaseInstance)
{
releaseInstance_ = releaseInstance;
setParameter("ReleaseInstance", std::to_string(releaseInstance));
}
std::string AddUsersRequest::getClusterId()const
{
return clusterId_;

View File

@@ -0,0 +1,274 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/CreateHybridClusterRequest.h>
using AlibabaCloud::EHPC::Model::CreateHybridClusterRequest;
CreateHybridClusterRequest::CreateHybridClusterRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "CreateHybridCluster")
{}
CreateHybridClusterRequest::~CreateHybridClusterRequest()
{}
std::string CreateHybridClusterRequest::getVolumeProtocol()const
{
return volumeProtocol_;
}
void CreateHybridClusterRequest::setVolumeProtocol(const std::string& volumeProtocol)
{
volumeProtocol_ = volumeProtocol;
setParameter("VolumeProtocol", volumeProtocol);
}
std::string CreateHybridClusterRequest::getOsTag()const
{
return osTag_;
}
void CreateHybridClusterRequest::setOsTag(const std::string& osTag)
{
osTag_ = osTag;
setParameter("OsTag", osTag);
}
std::string CreateHybridClusterRequest::getRemoteDirectory()const
{
return remoteDirectory_;
}
void CreateHybridClusterRequest::setRemoteDirectory(const std::string& remoteDirectory)
{
remoteDirectory_ = remoteDirectory;
setParameter("RemoteDirectory", remoteDirectory);
}
std::string CreateHybridClusterRequest::getEhpcVersion()const
{
return ehpcVersion_;
}
void CreateHybridClusterRequest::setEhpcVersion(const std::string& ehpcVersion)
{
ehpcVersion_ = ehpcVersion;
setParameter("EhpcVersion", ehpcVersion);
}
std::string CreateHybridClusterRequest::getSecurityGroupId()const
{
return securityGroupId_;
}
void CreateHybridClusterRequest::setSecurityGroupId(const std::string& securityGroupId)
{
securityGroupId_ = securityGroupId;
setParameter("SecurityGroupId", securityGroupId);
}
std::string CreateHybridClusterRequest::getDescription()const
{
return description_;
}
void CreateHybridClusterRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateHybridClusterRequest::getKeyPairName()const
{
return keyPairName_;
}
void CreateHybridClusterRequest::setKeyPairName(const std::string& keyPairName)
{
keyPairName_ = keyPairName;
setParameter("KeyPairName", keyPairName);
}
std::string CreateHybridClusterRequest::getSecurityGroupName()const
{
return securityGroupName_;
}
void CreateHybridClusterRequest::setSecurityGroupName(const std::string& securityGroupName)
{
securityGroupName_ = securityGroupName;
setParameter("SecurityGroupName", securityGroupName);
}
std::string CreateHybridClusterRequest::getEcsOrderComputeInstanceType()const
{
return ecsOrderComputeInstanceType_;
}
void CreateHybridClusterRequest::setEcsOrderComputeInstanceType(const std::string& ecsOrderComputeInstanceType)
{
ecsOrderComputeInstanceType_ = ecsOrderComputeInstanceType;
setParameter("EcsOrderComputeInstanceType", ecsOrderComputeInstanceType);
}
std::string CreateHybridClusterRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateHybridClusterRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateHybridClusterRequest::getVSwitchId()const
{
return vSwitchId_;
}
void CreateHybridClusterRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
}
std::string CreateHybridClusterRequest::getVolumeType()const
{
return volumeType_;
}
void CreateHybridClusterRequest::setVolumeType(const std::string& volumeType)
{
volumeType_ = volumeType;
setParameter("VolumeType", volumeType);
}
std::string CreateHybridClusterRequest::getPassword()const
{
return password_;
}
void CreateHybridClusterRequest::setPassword(const std::string& password)
{
password_ = password;
setParameter("Password", password);
}
std::string CreateHybridClusterRequest::getNodes()const
{
return nodes_;
}
void CreateHybridClusterRequest::setNodes(const std::string& nodes)
{
nodes_ = nodes;
setParameter("Nodes", nodes);
}
std::vector<CreateHybridClusterRequest::Application> CreateHybridClusterRequest::getApplication()const
{
return application_;
}
void CreateHybridClusterRequest::setApplication(const std::vector<Application>& application)
{
application_ = application;
int i = 0;
for(int i = 0; i!= application.size(); i++) {
auto obj = application.at(i);
std::string str ="Application."+ std::to_string(i);
setParameter(str + ".Tag", obj.tag);
}
}
std::string CreateHybridClusterRequest::getDomain()const
{
return domain_;
}
void CreateHybridClusterRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}
std::string CreateHybridClusterRequest::getVpcId()const
{
return vpcId_;
}
void CreateHybridClusterRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setParameter("VpcId", vpcId);
}
std::string CreateHybridClusterRequest::getName()const
{
return name_;
}
void CreateHybridClusterRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateHybridClusterRequest::getVolumeId()const
{
return volumeId_;
}
void CreateHybridClusterRequest::setVolumeId(const std::string& volumeId)
{
volumeId_ = volumeId;
setParameter("VolumeId", volumeId);
}
std::string CreateHybridClusterRequest::getVolumeMountpoint()const
{
return volumeMountpoint_;
}
void CreateHybridClusterRequest::setVolumeMountpoint(const std::string& volumeMountpoint)
{
volumeMountpoint_ = volumeMountpoint;
setParameter("VolumeMountpoint", volumeMountpoint);
}
std::string CreateHybridClusterRequest::getZoneId()const
{
return zoneId_;
}
void CreateHybridClusterRequest::setZoneId(const std::string& zoneId)
{
zoneId_ = zoneId;
setParameter("ZoneId", zoneId);
}
std::string CreateHybridClusterRequest::getLocation()const
{
return location_;
}
void CreateHybridClusterRequest::setLocation(const std::string& location)
{
location_ = location;
setParameter("Location", location);
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/CreateHybridClusterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
CreateHybridClusterResult::CreateHybridClusterResult() :
ServiceResult()
{}
CreateHybridClusterResult::CreateHybridClusterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateHybridClusterResult::~CreateHybridClusterResult()
{}
void CreateHybridClusterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ClusterId"].isNull())
clusterId_ = value["ClusterId"].asString();
}
std::string CreateHybridClusterResult::getClusterId()const
{
return clusterId_;
}

View File

@@ -36,6 +36,28 @@ void CreateJobTemplateRequest::setStderrRedirectPath(const std::string& stderrRe
setParameter("StderrRedirectPath", stderrRedirectPath);
}
std::string CreateJobTemplateRequest::getArrayRequest()const
{
return arrayRequest_;
}
void CreateJobTemplateRequest::setArrayRequest(const std::string& arrayRequest)
{
arrayRequest_ = arrayRequest;
setParameter("ArrayRequest", arrayRequest);
}
std::string CreateJobTemplateRequest::getPackagePath()const
{
return packagePath_;
}
void CreateJobTemplateRequest::setPackagePath(const std::string& packagePath)
{
packagePath_ = packagePath;
setParameter("PackagePath", packagePath);
}
std::string CreateJobTemplateRequest::getVariables()const
{
return variables_;
@@ -47,6 +69,17 @@ void CreateJobTemplateRequest::setVariables(const std::string& variables)
setParameter("Variables", variables);
}
std::string CreateJobTemplateRequest::getName()const
{
return name_;
}
void CreateJobTemplateRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateJobTemplateRequest::getRunasUser()const
{
return runasUser_;
@@ -58,6 +91,17 @@ void CreateJobTemplateRequest::setRunasUser(const std::string& runasUser)
setParameter("RunasUser", runasUser);
}
std::string CreateJobTemplateRequest::getStdoutRedirectPath()const
{
return stdoutRedirectPath_;
}
void CreateJobTemplateRequest::setStdoutRedirectPath(const std::string& stdoutRedirectPath)
{
stdoutRedirectPath_ = stdoutRedirectPath;
setParameter("StdoutRedirectPath", stdoutRedirectPath);
}
bool CreateJobTemplateRequest::getReRunable()const
{
return reRunable_;
@@ -102,58 +146,3 @@ void CreateJobTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateJobTemplateRequest::getArrayRequest()const
{
return arrayRequest_;
}
void CreateJobTemplateRequest::setArrayRequest(const std::string& arrayRequest)
{
arrayRequest_ = arrayRequest;
setParameter("ArrayRequest", arrayRequest);
}
std::string CreateJobTemplateRequest::getPackagePath()const
{
return packagePath_;
}
void CreateJobTemplateRequest::setPackagePath(const std::string& packagePath)
{
packagePath_ = packagePath;
setParameter("PackagePath", packagePath);
}
std::string CreateJobTemplateRequest::getRegionId()const
{
return regionId_;
}
void CreateJobTemplateRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateJobTemplateRequest::getName()const
{
return name_;
}
void CreateJobTemplateRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateJobTemplateRequest::getStdoutRedirectPath()const
{
return stdoutRedirectPath_;
}
void CreateJobTemplateRequest::setStdoutRedirectPath(const std::string& stdoutRedirectPath)
{
stdoutRedirectPath_ = stdoutRedirectPath;
setParameter("StdoutRedirectPath", stdoutRedirectPath);
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/DeleteContainerAppsRequest.h>
using AlibabaCloud::EHPC::Model::DeleteContainerAppsRequest;
DeleteContainerAppsRequest::DeleteContainerAppsRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "DeleteContainerApps")
{}
DeleteContainerAppsRequest::~DeleteContainerAppsRequest()
{}
std::vector<DeleteContainerAppsRequest::ContainerApp> DeleteContainerAppsRequest::getContainerApp()const
{
return containerApp_;
}
void DeleteContainerAppsRequest::setContainerApp(const std::vector<ContainerApp>& containerApp)
{
containerApp_ = containerApp;
int i = 0;
for(int i = 0; i!= containerApp.size(); i++) {
auto obj = containerApp.at(i);
std::string str ="ContainerApp."+ std::to_string(i);
setParameter(str + ".Id", obj.id);
}
}
std::string DeleteContainerAppsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteContainerAppsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/DeleteContainerAppsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
DeleteContainerAppsResult::DeleteContainerAppsResult() :
ServiceResult()
{}
DeleteContainerAppsResult::DeleteContainerAppsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteContainerAppsResult::~DeleteContainerAppsResult()
{}
void DeleteContainerAppsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -25,17 +25,6 @@ DeleteJobTemplatesRequest::DeleteJobTemplatesRequest() :
DeleteJobTemplatesRequest::~DeleteJobTemplatesRequest()
{}
std::string DeleteJobTemplatesRequest::getRegionId()const
{
return regionId_;
}
void DeleteJobTemplatesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteJobTemplatesRequest::getTemplates()const
{
return templates_;

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/DescribeAutoScaleConfigRequest.h>
using AlibabaCloud::EHPC::Model::DescribeAutoScaleConfigRequest;
DescribeAutoScaleConfigRequest::DescribeAutoScaleConfigRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "DescribeAutoScaleConfig")
{}
DescribeAutoScaleConfigRequest::~DescribeAutoScaleConfigRequest()
{}
std::string DescribeAutoScaleConfigRequest::getClusterId()const
{
return clusterId_;
}
void DescribeAutoScaleConfigRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string DescribeAutoScaleConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeAutoScaleConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,150 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/DescribeAutoScaleConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
DescribeAutoScaleConfigResult::DescribeAutoScaleConfigResult() :
ServiceResult()
{}
DescribeAutoScaleConfigResult::DescribeAutoScaleConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAutoScaleConfigResult::~DescribeAutoScaleConfigResult()
{}
void DescribeAutoScaleConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Uid"].isNull())
uid_ = value["Uid"].asString();
if(!value["ClusterId"].isNull())
clusterId_ = value["ClusterId"].asString();
if(!value["ClusterType"].isNull())
clusterType_ = value["ClusterType"].asString();
if(!value["EnableAutoGrow"].isNull())
enableAutoGrow_ = value["EnableAutoGrow"].asString() == "true";
if(!value["EnableAutoShrink"].isNull())
enableAutoShrink_ = value["EnableAutoShrink"].asString() == "true";
if(!value["GrowIntervalInMinutes"].isNull())
growIntervalInMinutes_ = std::stoi(value["GrowIntervalInMinutes"].asString());
if(!value["ShrinkIntervalInMinutes"].isNull())
shrinkIntervalInMinutes_ = std::stoi(value["ShrinkIntervalInMinutes"].asString());
if(!value["ShrinkIdleTimes"].isNull())
shrinkIdleTimes_ = std::stoi(value["ShrinkIdleTimes"].asString());
if(!value["GrowTimeoutInMinutes"].isNull())
growTimeoutInMinutes_ = std::stoi(value["GrowTimeoutInMinutes"].asString());
if(!value["ExtraNodesGrowRatio"].isNull())
extraNodesGrowRatio_ = std::stoi(value["ExtraNodesGrowRatio"].asString());
if(!value["GrowRatio"].isNull())
growRatio_ = std::stoi(value["GrowRatio"].asString());
if(!value["MaxNodesInCluster"].isNull())
maxNodesInCluster_ = std::stoi(value["MaxNodesInCluster"].asString());
if(!value["ExcludeNodes"].isNull())
excludeNodes_ = value["ExcludeNodes"].asString();
if(!value["SpotStrategy"].isNull())
spotStrategy_ = value["SpotStrategy"].asString();
if(!value["SpotPriceLimit"].isNull())
spotPriceLimit_ = value["SpotPriceLimit"].asString();
}
int DescribeAutoScaleConfigResult::getExtraNodesGrowRatio()const
{
return extraNodesGrowRatio_;
}
bool DescribeAutoScaleConfigResult::getEnableAutoGrow()const
{
return enableAutoGrow_;
}
std::string DescribeAutoScaleConfigResult::getClusterId()const
{
return clusterId_;
}
int DescribeAutoScaleConfigResult::getShrinkIdleTimes()const
{
return shrinkIdleTimes_;
}
int DescribeAutoScaleConfigResult::getMaxNodesInCluster()const
{
return maxNodesInCluster_;
}
std::string DescribeAutoScaleConfigResult::getClusterType()const
{
return clusterType_;
}
bool DescribeAutoScaleConfigResult::getEnableAutoShrink()const
{
return enableAutoShrink_;
}
int DescribeAutoScaleConfigResult::getGrowRatio()const
{
return growRatio_;
}
int DescribeAutoScaleConfigResult::getGrowIntervalInMinutes()const
{
return growIntervalInMinutes_;
}
std::string DescribeAutoScaleConfigResult::getUid()const
{
return uid_;
}
int DescribeAutoScaleConfigResult::getGrowTimeoutInMinutes()const
{
return growTimeoutInMinutes_;
}
int DescribeAutoScaleConfigResult::getShrinkIntervalInMinutes()const
{
return shrinkIntervalInMinutes_;
}
std::string DescribeAutoScaleConfigResult::getSpotPriceLimit()const
{
return spotPriceLimit_;
}
std::string DescribeAutoScaleConfigResult::getExcludeNodes()const
{
return excludeNodes_;
}
std::string DescribeAutoScaleConfigResult::getSpotStrategy()const
{
return spotStrategy_;
}

View File

@@ -61,6 +61,8 @@ void DescribeClusterResult::parse(const std::string &payload)
clusterInfo_.createTime = clusterInfoNode["CreateTime"].asString();
if(!clusterInfoNode["SecurityGroupId"].isNull())
clusterInfo_.securityGroupId = clusterInfoNode["SecurityGroupId"].asString();
if(!clusterInfoNode["VpcId"].isNull())
clusterInfo_.vpcId = clusterInfoNode["VpcId"].asString();
if(!clusterInfoNode["VSwitchId"].isNull())
clusterInfo_.vSwitchId = clusterInfoNode["VSwitchId"].asString();
if(!clusterInfoNode["VolumeType"].isNull())
@@ -89,6 +91,8 @@ void DescribeClusterResult::parse(const std::string &payload)
clusterInfo_.imageOwnerAlias = clusterInfoNode["ImageOwnerAlias"].asString();
if(!clusterInfoNode["ImageId"].isNull())
clusterInfo_.imageId = clusterInfoNode["ImageId"].asString();
if(!clusterInfoNode["Location"].isNull())
clusterInfo_.location = clusterInfoNode["Location"].asString();
auto allApplications = value["Applications"]["ApplicationInfo"];
for (auto value : allApplications)
{

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/DescribeContainerAppRequest.h>
using AlibabaCloud::EHPC::Model::DescribeContainerAppRequest;
DescribeContainerAppRequest::DescribeContainerAppRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "DescribeContainerApp")
{}
DescribeContainerAppRequest::~DescribeContainerAppRequest()
{}
std::string DescribeContainerAppRequest::getContainerId()const
{
return containerId_;
}
void DescribeContainerAppRequest::setContainerId(const std::string& containerId)
{
containerId_ = containerId;
setParameter("ContainerId", containerId);
}
std::string DescribeContainerAppRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeContainerAppRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/DescribeContainerAppResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
DescribeContainerAppResult::DescribeContainerAppResult() :
ServiceResult()
{}
DescribeContainerAppResult::DescribeContainerAppResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeContainerAppResult::~DescribeContainerAppResult()
{}
void DescribeContainerAppResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto containerAppInfoNode = value["ContainerAppInfo"];
if(!containerAppInfoNode["Id"].isNull())
containerAppInfo_.id = containerAppInfoNode["Id"].asString();
if(!containerAppInfoNode["Name"].isNull())
containerAppInfo_.name = containerAppInfoNode["Name"].asString();
if(!containerAppInfoNode["Description"].isNull())
containerAppInfo_.description = containerAppInfoNode["Description"].asString();
if(!containerAppInfoNode["Repository"].isNull())
containerAppInfo_.repository = containerAppInfoNode["Repository"].asString();
if(!containerAppInfoNode["ImageTag"].isNull())
containerAppInfo_.imageTag = containerAppInfoNode["ImageTag"].asString();
if(!containerAppInfoNode["CreateTime"].isNull())
containerAppInfo_.createTime = containerAppInfoNode["CreateTime"].asString();
if(!containerAppInfoNode["Type"].isNull())
containerAppInfo_.type = containerAppInfoNode["Type"].asString();
}
DescribeContainerAppResult::ContainerAppInfo DescribeContainerAppResult::getContainerAppInfo()const
{
return containerAppInfo_;
}

View File

@@ -135,17 +135,6 @@ void EditJobTemplateRequest::setPackagePath(const std::string& packagePath)
setParameter("PackagePath", packagePath);
}
std::string EditJobTemplateRequest::getRegionId()const
{
return regionId_;
}
void EditJobTemplateRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string EditJobTemplateRequest::getName()const
{
return name_;

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/GetHybridClusterConfigRequest.h>
using AlibabaCloud::EHPC::Model::GetHybridClusterConfigRequest;
GetHybridClusterConfigRequest::GetHybridClusterConfigRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "GetHybridClusterConfig")
{}
GetHybridClusterConfigRequest::~GetHybridClusterConfigRequest()
{}
std::string GetHybridClusterConfigRequest::getClusterId()const
{
return clusterId_;
}
void GetHybridClusterConfigRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string GetHybridClusterConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetHybridClusterConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/GetHybridClusterConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
GetHybridClusterConfigResult::GetHybridClusterConfigResult() :
ServiceResult()
{}
GetHybridClusterConfigResult::GetHybridClusterConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetHybridClusterConfigResult::~GetHybridClusterConfigResult()
{}
void GetHybridClusterConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ClusterConfig"].isNull())
clusterConfig_ = value["ClusterConfig"].asString();
}
std::string GetHybridClusterConfigResult::getClusterConfig()const
{
return clusterConfig_;
}

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/InvokeShellCommandRequest.h>
using AlibabaCloud::EHPC::Model::InvokeShellCommandRequest;
InvokeShellCommandRequest::InvokeShellCommandRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "InvokeShellCommand")
{}
InvokeShellCommandRequest::~InvokeShellCommandRequest()
{}
std::vector<InvokeShellCommandRequest::Instance> InvokeShellCommandRequest::getInstance()const
{
return instance_;
}
void InvokeShellCommandRequest::setInstance(const std::vector<Instance>& instance)
{
instance_ = instance;
int i = 0;
for(int i = 0; i!= instance.size(); i++) {
auto obj = instance.at(i);
std::string str ="Instance."+ std::to_string(i);
setParameter(str + ".Id", obj.id);
}
}
std::string InvokeShellCommandRequest::getWorkingDir()const
{
return workingDir_;
}
void InvokeShellCommandRequest::setWorkingDir(const std::string& workingDir)
{
workingDir_ = workingDir;
setParameter("WorkingDir", workingDir);
}
std::string InvokeShellCommandRequest::getClusterId()const
{
return clusterId_;
}
void InvokeShellCommandRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string InvokeShellCommandRequest::getCommand()const
{
return command_;
}
void InvokeShellCommandRequest::setCommand(const std::string& command)
{
command_ = command;
setParameter("Command", command);
}
int InvokeShellCommandRequest::getTimeout()const
{
return timeout_;
}
void InvokeShellCommandRequest::setTimeout(int timeout)
{
timeout_ = timeout;
setParameter("Timeout", std::to_string(timeout));
}
std::string InvokeShellCommandRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void InvokeShellCommandRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/InvokeShellCommandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
InvokeShellCommandResult::InvokeShellCommandResult() :
ServiceResult()
{}
InvokeShellCommandResult::InvokeShellCommandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
InvokeShellCommandResult::~InvokeShellCommandResult()
{}
void InvokeShellCommandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allInstanceIds = value["InstanceIds"]["InstanceId"];
for (const auto &item : allInstanceIds)
instanceIds_.push_back(item.asString());
if(!value["CommandId"].isNull())
commandId_ = value["CommandId"].asString();
}
std::string InvokeShellCommandResult::getCommandId()const
{
return commandId_;
}
std::vector<std::string> InvokeShellCommandResult::getInstanceIds()const
{
return instanceIds_;
}

View File

@@ -76,6 +76,8 @@ void ListClustersResult::parse(const std::string &payload)
clustersObject.imageOwnerAlias = value["ImageOwnerAlias"].asString();
if(!value["ImageId"].isNull())
clustersObject.imageId = value["ImageId"].asString();
if(!value["Location"].isNull())
clustersObject.location = value["Location"].asString();
auto managersNode = value["Managers"];
if(!managersNode["Total"].isNull())
clustersObject.managers.total = std::stoi(managersNode["Total"].asString());

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListCommandsRequest.h>
using AlibabaCloud::EHPC::Model::ListCommandsRequest;
ListCommandsRequest::ListCommandsRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "ListCommands")
{}
ListCommandsRequest::~ListCommandsRequest()
{}
int ListCommandsRequest::getPageSize()const
{
return pageSize_;
}
void ListCommandsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListCommandsRequest::getClusterId()const
{
return clusterId_;
}
void ListCommandsRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string ListCommandsRequest::getCommandId()const
{
return commandId_;
}
void ListCommandsRequest::setCommandId(const std::string& commandId)
{
commandId_ = commandId;
setParameter("CommandId", commandId);
}
int ListCommandsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListCommandsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListCommandsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListCommandsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListCommandsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
ListCommandsResult::ListCommandsResult() :
ServiceResult()
{}
ListCommandsResult::ListCommandsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListCommandsResult::~ListCommandsResult()
{}
void ListCommandsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCommands = value["Commands"]["Command"];
for (auto value : allCommands)
{
Command commandsObject;
if(!value["CommandId"].isNull())
commandsObject.commandId = value["CommandId"].asString();
if(!value["CommandContent"].isNull())
commandsObject.commandContent = value["CommandContent"].asString();
if(!value["WorkingDir"].isNull())
commandsObject.workingDir = value["WorkingDir"].asString();
if(!value["Timeout"].isNull())
commandsObject.timeout = value["Timeout"].asString();
commands_.push_back(commandsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
int ListCommandsResult::getTotalCount()const
{
return totalCount_;
}
int ListCommandsResult::getPageSize()const
{
return pageSize_;
}
int ListCommandsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListCommandsResult::Command> ListCommandsResult::getCommands()const
{
return commands_;
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListContainerAppsRequest.h>
using AlibabaCloud::EHPC::Model::ListContainerAppsRequest;
ListContainerAppsRequest::ListContainerAppsRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "ListContainerApps")
{}
ListContainerAppsRequest::~ListContainerAppsRequest()
{}
int ListContainerAppsRequest::getPageSize()const
{
return pageSize_;
}
void ListContainerAppsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int ListContainerAppsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListContainerAppsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListContainerAppsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListContainerAppsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,91 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListContainerAppsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
ListContainerAppsResult::ListContainerAppsResult() :
ServiceResult()
{}
ListContainerAppsResult::ListContainerAppsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListContainerAppsResult::~ListContainerAppsResult()
{}
void ListContainerAppsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContainerApps = value["ContainerApps"]["ContainerAppsItem"];
for (auto value : allContainerApps)
{
ContainerAppsItem containerAppsObject;
if(!value["Id"].isNull())
containerAppsObject.id = value["Id"].asString();
if(!value["Name"].isNull())
containerAppsObject.name = value["Name"].asString();
if(!value["Description"].isNull())
containerAppsObject.description = value["Description"].asString();
if(!value["Repository"].isNull())
containerAppsObject.repository = value["Repository"].asString();
if(!value["ImageTag"].isNull())
containerAppsObject.imageTag = value["ImageTag"].asString();
if(!value["CreateTime"].isNull())
containerAppsObject.createTime = value["CreateTime"].asString();
if(!value["Type"].isNull())
containerAppsObject.type = value["Type"].asString();
containerApps_.push_back(containerAppsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
std::vector<ListContainerAppsResult::ContainerAppsItem> ListContainerAppsResult::getContainerApps()const
{
return containerApps_;
}
int ListContainerAppsResult::getTotalCount()const
{
return totalCount_;
}
int ListContainerAppsResult::getPageSize()const
{
return pageSize_;
}
int ListContainerAppsResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListContainerImagesRequest.h>
using AlibabaCloud::EHPC::Model::ListContainerImagesRequest;
ListContainerImagesRequest::ListContainerImagesRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "ListContainerImages")
{}
ListContainerImagesRequest::~ListContainerImagesRequest()
{}
std::string ListContainerImagesRequest::getContainerType()const
{
return containerType_;
}
void ListContainerImagesRequest::setContainerType(const std::string& containerType)
{
containerType_ = containerType;
setParameter("ContainerType", containerType);
}
int ListContainerImagesRequest::getPageSize()const
{
return pageSize_;
}
void ListContainerImagesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListContainerImagesRequest::getClusterId()const
{
return clusterId_;
}
void ListContainerImagesRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
int ListContainerImagesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListContainerImagesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListContainerImagesRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListContainerImagesRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListContainerImagesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
ListContainerImagesResult::ListContainerImagesResult() :
ServiceResult()
{}
ListContainerImagesResult::ListContainerImagesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListContainerImagesResult::~ListContainerImagesResult()
{}
void ListContainerImagesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allImages = value["Images"]["ImagesItem"];
for (auto value : allImages)
{
ImagesItem imagesObject;
if(!value["System"].isNull())
imagesObject.system = value["System"].asString();
if(!value["Type"].isNull())
imagesObject.type = value["Type"].asString();
if(!value["Status"].isNull())
imagesObject.status = value["Status"].asString();
if(!value["ImageId"].isNull())
imagesObject.imageId = value["ImageId"].asString();
if(!value["UpdateDateTime"].isNull())
imagesObject.updateDateTime = value["UpdateDateTime"].asString();
if(!value["Repository"].isNull())
imagesObject.repository = value["Repository"].asString();
if(!value["Tag"].isNull())
imagesObject.tag = value["Tag"].asString();
images_.push_back(imagesObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["DBInfo"].isNull())
dBInfo_ = value["DBInfo"].asString();
}
int ListContainerImagesResult::getTotalCount()const
{
return totalCount_;
}
std::string ListContainerImagesResult::getDBInfo()const
{
return dBInfo_;
}
int ListContainerImagesResult::getPageSize()const
{
return pageSize_;
}
int ListContainerImagesResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListContainerImagesResult::ImagesItem> ListContainerImagesResult::getImages()const
{
return images_;
}

View File

@@ -25,17 +25,6 @@ ListCustomImagesRequest::ListCustomImagesRequest() :
ListCustomImagesRequest::~ListCustomImagesRequest()
{}
std::string ListCustomImagesRequest::getRegionId()const
{
return regionId_;
}
void ListCustomImagesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListCustomImagesRequest::getBaseOsTag()const
{
return baseOsTag_;

View File

@@ -0,0 +1,109 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListInvocationResultsRequest.h>
using AlibabaCloud::EHPC::Model::ListInvocationResultsRequest;
ListInvocationResultsRequest::ListInvocationResultsRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "ListInvocationResults")
{}
ListInvocationResultsRequest::~ListInvocationResultsRequest()
{}
std::vector<ListInvocationResultsRequest::Instance> ListInvocationResultsRequest::getInstance()const
{
return instance_;
}
void ListInvocationResultsRequest::setInstance(const std::vector<Instance>& instance)
{
instance_ = instance;
int i = 0;
for(int i = 0; i!= instance.size(); i++) {
auto obj = instance.at(i);
std::string str ="Instance."+ std::to_string(i);
setParameter(str + ".Id", obj.id);
}
}
std::string ListInvocationResultsRequest::getInvokeRecordStatus()const
{
return invokeRecordStatus_;
}
void ListInvocationResultsRequest::setInvokeRecordStatus(const std::string& invokeRecordStatus)
{
invokeRecordStatus_ = invokeRecordStatus;
setParameter("InvokeRecordStatus", invokeRecordStatus);
}
int ListInvocationResultsRequest::getPageSize()const
{
return pageSize_;
}
void ListInvocationResultsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListInvocationResultsRequest::getClusterId()const
{
return clusterId_;
}
void ListInvocationResultsRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string ListInvocationResultsRequest::getCommandId()const
{
return commandId_;
}
void ListInvocationResultsRequest::setCommandId(const std::string& commandId)
{
commandId_ = commandId;
setParameter("CommandId", commandId);
}
int ListInvocationResultsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListInvocationResultsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListInvocationResultsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListInvocationResultsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,91 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListInvocationResultsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
ListInvocationResultsResult::ListInvocationResultsResult() :
ServiceResult()
{}
ListInvocationResultsResult::ListInvocationResultsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListInvocationResultsResult::~ListInvocationResultsResult()
{}
void ListInvocationResultsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allInvocationResults = value["InvocationResults"]["InvocationResult"];
for (auto value : allInvocationResults)
{
InvocationResult invocationResultsObject;
if(!value["Success"].isNull())
invocationResultsObject.success = value["Success"].asString() == "true";
if(!value["CommandId"].isNull())
invocationResultsObject.commandId = value["CommandId"].asString();
if(!value["InstanceId"].isNull())
invocationResultsObject.instanceId = value["InstanceId"].asString();
if(!value["InvokeRecordStatus"].isNull())
invocationResultsObject.invokeRecordStatus = value["InvokeRecordStatus"].asString();
if(!value["FinishedTime"].isNull())
invocationResultsObject.finishedTime = value["FinishedTime"].asString();
if(!value["ExitCode"].isNull())
invocationResultsObject.exitCode = std::stoi(value["ExitCode"].asString());
if(!value["Message"].isNull())
invocationResultsObject.message = value["Message"].asString();
invocationResults_.push_back(invocationResultsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
std::vector<ListInvocationResultsResult::InvocationResult> ListInvocationResultsResult::getInvocationResults()const
{
return invocationResults_;
}
int ListInvocationResultsResult::getTotalCount()const
{
return totalCount_;
}
int ListInvocationResultsResult::getPageSize()const
{
return pageSize_;
}
int ListInvocationResultsResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListInvocationStatusRequest.h>
using AlibabaCloud::EHPC::Model::ListInvocationStatusRequest;
ListInvocationStatusRequest::ListInvocationStatusRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "ListInvocationStatus")
{}
ListInvocationStatusRequest::~ListInvocationStatusRequest()
{}
std::string ListInvocationStatusRequest::getClusterId()const
{
return clusterId_;
}
void ListInvocationStatusRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string ListInvocationStatusRequest::getCommandId()const
{
return commandId_;
}
void ListInvocationStatusRequest::setCommandId(const std::string& commandId)
{
commandId_ = commandId;
setParameter("CommandId", commandId);
}
std::string ListInvocationStatusRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListInvocationStatusRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ListInvocationStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
ListInvocationStatusResult::ListInvocationStatusResult() :
ServiceResult()
{}
ListInvocationStatusResult::ListInvocationStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListInvocationStatusResult::~ListInvocationStatusResult()
{}
void ListInvocationStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allInvokeInstances = value["InvokeInstances"]["InvokeInstance"];
for (auto value : allInvokeInstances)
{
InvokeInstance invokeInstancesObject;
if(!value["InstanceId"].isNull())
invokeInstancesObject.instanceId = value["InstanceId"].asString();
if(!value["InstanceInvokeStatus"].isNull())
invokeInstancesObject.instanceInvokeStatus = value["InstanceInvokeStatus"].asString();
invokeInstances_.push_back(invokeInstancesObject);
}
if(!value["CommandId"].isNull())
commandId_ = value["CommandId"].asString();
if(!value["InvokeStatus"].isNull())
invokeStatus_ = value["InvokeStatus"].asString();
}
std::string ListInvocationStatusResult::getInvokeStatus()const
{
return invokeStatus_;
}
std::string ListInvocationStatusResult::getCommandId()const
{
return commandId_;
}
std::vector<ListInvocationStatusResult::InvokeInstance> ListInvocationStatusResult::getInvokeInstances()const
{
return invokeInstances_;
}

View File

@@ -25,17 +25,6 @@ ListJobTemplatesRequest::ListJobTemplatesRequest() :
ListJobTemplatesRequest::~ListJobTemplatesRequest()
{}
std::string ListJobTemplatesRequest::getRegionId()const
{
return regionId_;
}
void ListJobTemplatesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListJobTemplatesRequest::getName()const
{
return name_;

View File

@@ -66,6 +66,8 @@ void ListNodesResult::parse(const std::string &payload)
nodesObject.imageOwnerAlias = value["ImageOwnerAlias"].asString();
if(!value["ImageId"].isNull())
nodesObject.imageId = value["ImageId"].asString();
if(!value["Location"].isNull())
nodesObject.location = value["Location"].asString();
auto totalResourcesNode = value["TotalResources"];
if(!totalResourcesNode["Cpu"].isNull())
nodesObject.totalResources.cpu = std::stoi(totalResourcesNode["Cpu"].asString());

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ModifyContainerAppAttributesRequest.h>
using AlibabaCloud::EHPC::Model::ModifyContainerAppAttributesRequest;
ModifyContainerAppAttributesRequest::ModifyContainerAppAttributesRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "ModifyContainerAppAttributes")
{}
ModifyContainerAppAttributesRequest::~ModifyContainerAppAttributesRequest()
{}
std::string ModifyContainerAppAttributesRequest::getDescription()const
{
return description_;
}
void ModifyContainerAppAttributesRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string ModifyContainerAppAttributesRequest::getContainerId()const
{
return containerId_;
}
void ModifyContainerAppAttributesRequest::setContainerId(const std::string& containerId)
{
containerId_ = containerId;
setParameter("ContainerId", containerId);
}
std::string ModifyContainerAppAttributesRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ModifyContainerAppAttributesRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/ModifyContainerAppAttributesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
ModifyContainerAppAttributesResult::ModifyContainerAppAttributesResult() :
ServiceResult()
{}
ModifyContainerAppAttributesResult::ModifyContainerAppAttributesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyContainerAppAttributesResult::~ModifyContainerAppAttributesResult()
{}
void ModifyContainerAppAttributesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/PullImageRequest.h>
using AlibabaCloud::EHPC::Model::PullImageRequest;
PullImageRequest::PullImageRequest() :
RpcServiceRequest("ehpc", "2018-04-12", "PullImage")
{}
PullImageRequest::~PullImageRequest()
{}
std::string PullImageRequest::getContainerType()const
{
return containerType_;
}
void PullImageRequest::setContainerType(const std::string& containerType)
{
containerType_ = containerType;
setParameter("ContainerType", containerType);
}
std::string PullImageRequest::getClusterId()const
{
return clusterId_;
}
void PullImageRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string PullImageRequest::getRepository()const
{
return repository_;
}
void PullImageRequest::setRepository(const std::string& repository)
{
repository_ = repository;
setParameter("Repository", repository);
}
std::string PullImageRequest::getImageTag()const
{
return imageTag_;
}
void PullImageRequest::setImageTag(const std::string& imageTag)
{
imageTag_ = imageTag;
setParameter("ImageTag", imageTag);
}
std::string PullImageRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void PullImageRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ehpc/model/PullImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::EHPC;
using namespace AlibabaCloud::EHPC::Model;
PullImageResult::PullImageResult() :
ServiceResult()
{}
PullImageResult::PullImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PullImageResult::~PullImageResult()
{}
void PullImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -58,6 +58,17 @@ void SubmitJobRequest::setRunasUserPassword(const std::string& runasUserPassword
setParameter("RunasUserPassword", runasUserPassword);
}
std::string SubmitJobRequest::getPostCmdLine()const
{
return postCmdLine_;
}
void SubmitJobRequest::setPostCmdLine(const std::string& postCmdLine)
{
postCmdLine_ = postCmdLine;
setParameter("PostCmdLine", postCmdLine);
}
std::string SubmitJobRequest::getRunasUser()const
{
return runasUser_;
@@ -135,6 +146,17 @@ void SubmitJobRequest::setArrayRequest(const std::string& arrayRequest)
setParameter("ArrayRequest", arrayRequest);
}
std::string SubmitJobRequest::getUnzipCmd()const
{
return unzipCmd_;
}
void SubmitJobRequest::setUnzipCmd(const std::string& unzipCmd)
{
unzipCmd_ = unzipCmd;
setParameter("UnzipCmd", unzipCmd);
}
std::string SubmitJobRequest::getPackagePath()const
{
return packagePath_;
@@ -146,6 +168,17 @@ void SubmitJobRequest::setPackagePath(const std::string& packagePath)
setParameter("PackagePath", packagePath);
}
std::string SubmitJobRequest::getInputFileUrl()const
{
return inputFileUrl_;
}
void SubmitJobRequest::setInputFileUrl(const std::string& inputFileUrl)
{
inputFileUrl_ = inputFileUrl;
setParameter("InputFileUrl", inputFileUrl);
}
std::string SubmitJobRequest::getName()const
{
return name_;
@@ -168,3 +201,14 @@ void SubmitJobRequest::setStdoutRedirectPath(const std::string& stdoutRedirectPa
setParameter("StdoutRedirectPath", stdoutRedirectPath);
}
std::string SubmitJobRequest::getContainerId()const
{
return containerId_;
}
void SubmitJobRequest::setContainerId(const std::string& containerId)
{
containerId_ = containerId;
setParameter("ContainerId", containerId);
}