162 lines
3.8 KiB
C++
162 lines
3.8 KiB
C++
/*
|
|
* 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/EditJobTemplateRequest.h>
|
|
|
|
using AlibabaCloud::EHPC::Model::EditJobTemplateRequest;
|
|
|
|
EditJobTemplateRequest::EditJobTemplateRequest() :
|
|
RpcServiceRequest("ehpc", "2018-04-12", "EditJobTemplate")
|
|
{
|
|
setMethod(HttpRequest::Method::Get);
|
|
}
|
|
|
|
EditJobTemplateRequest::~EditJobTemplateRequest()
|
|
{}
|
|
|
|
std::string EditJobTemplateRequest::getStderrRedirectPath()const
|
|
{
|
|
return stderrRedirectPath_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setStderrRedirectPath(const std::string& stderrRedirectPath)
|
|
{
|
|
stderrRedirectPath_ = stderrRedirectPath;
|
|
setParameter("StderrRedirectPath", stderrRedirectPath);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getCommandLine()const
|
|
{
|
|
return commandLine_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setCommandLine(const std::string& commandLine)
|
|
{
|
|
commandLine_ = commandLine;
|
|
setParameter("CommandLine", commandLine);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getAccessKeyId()const
|
|
{
|
|
return accessKeyId_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
{
|
|
accessKeyId_ = accessKeyId;
|
|
setParameter("AccessKeyId", accessKeyId);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getArrayRequest()const
|
|
{
|
|
return arrayRequest_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setArrayRequest(const std::string& arrayRequest)
|
|
{
|
|
arrayRequest_ = arrayRequest;
|
|
setParameter("ArrayRequest", arrayRequest);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getPackagePath()const
|
|
{
|
|
return packagePath_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setPackagePath(const std::string& packagePath)
|
|
{
|
|
packagePath_ = packagePath;
|
|
setParameter("PackagePath", packagePath);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getStdoutRedirectPath()const
|
|
{
|
|
return stdoutRedirectPath_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setStdoutRedirectPath(const std::string& stdoutRedirectPath)
|
|
{
|
|
stdoutRedirectPath_ = stdoutRedirectPath;
|
|
setParameter("StdoutRedirectPath", stdoutRedirectPath);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getVariables()const
|
|
{
|
|
return variables_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setVariables(const std::string& variables)
|
|
{
|
|
variables_ = variables;
|
|
setParameter("Variables", variables);
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getRunasUser()const
|
|
{
|
|
return runasUser_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setRunasUser(const std::string& runasUser)
|
|
{
|
|
runasUser_ = runasUser;
|
|
setParameter("RunasUser", runasUser);
|
|
}
|
|
|
|
bool EditJobTemplateRequest::getReRunable()const
|
|
{
|
|
return reRunable_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setReRunable(bool reRunable)
|
|
{
|
|
reRunable_ = reRunable;
|
|
setParameter("ReRunable", reRunable ? "true" : "false");
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getTemplateId()const
|
|
{
|
|
return templateId_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setTemplateId(const std::string& templateId)
|
|
{
|
|
templateId_ = templateId;
|
|
setParameter("TemplateId", templateId);
|
|
}
|
|
|
|
int EditJobTemplateRequest::getPriority()const
|
|
{
|
|
return priority_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setPriority(int priority)
|
|
{
|
|
priority_ = priority;
|
|
setParameter("Priority", std::to_string(priority));
|
|
}
|
|
|
|
std::string EditJobTemplateRequest::getName()const
|
|
{
|
|
return name_;
|
|
}
|
|
|
|
void EditJobTemplateRequest::setName(const std::string& name)
|
|
{
|
|
name_ = name;
|
|
setParameter("Name", name);
|
|
}
|
|
|