78 lines
2.5 KiB
C++
78 lines
2.5 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.
|
|
*/
|
|
|
|
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATEREQUEST_H_
|
|
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATEREQUEST_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
#include <alibabacloud/ehpc/EHPCExport.h>
|
|
|
|
namespace AlibabaCloud
|
|
{
|
|
namespace EHPC
|
|
{
|
|
namespace Model
|
|
{
|
|
class ALIBABACLOUD_EHPC_EXPORT CreateJobTemplateRequest : public RpcServiceRequest
|
|
{
|
|
|
|
public:
|
|
CreateJobTemplateRequest();
|
|
~CreateJobTemplateRequest();
|
|
|
|
std::string getStderrRedirectPath()const;
|
|
void setStderrRedirectPath(const std::string& stderrRedirectPath);
|
|
std::string getArrayRequest()const;
|
|
void setArrayRequest(const std::string& arrayRequest);
|
|
std::string getPackagePath()const;
|
|
void setPackagePath(const std::string& packagePath);
|
|
std::string getVariables()const;
|
|
void setVariables(const std::string& variables);
|
|
std::string getName()const;
|
|
void setName(const std::string& name);
|
|
std::string getRunasUser()const;
|
|
void setRunasUser(const std::string& runasUser);
|
|
std::string getStdoutRedirectPath()const;
|
|
void setStdoutRedirectPath(const std::string& stdoutRedirectPath);
|
|
bool getReRunable()const;
|
|
void setReRunable(bool reRunable);
|
|
int getPriority()const;
|
|
void setPriority(int priority);
|
|
std::string getCommandLine()const;
|
|
void setCommandLine(const std::string& commandLine);
|
|
std::string getAccessKeyId()const;
|
|
void setAccessKeyId(const std::string& accessKeyId);
|
|
|
|
private:
|
|
std::string stderrRedirectPath_;
|
|
std::string arrayRequest_;
|
|
std::string packagePath_;
|
|
std::string variables_;
|
|
std::string name_;
|
|
std::string runasUser_;
|
|
std::string stdoutRedirectPath_;
|
|
bool reRunable_;
|
|
int priority_;
|
|
std::string commandLine_;
|
|
std::string accessKeyId_;
|
|
|
|
};
|
|
}
|
|
}
|
|
}
|
|
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBTEMPLATEREQUEST_H_
|