| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- /*
- * 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/dataworks-public/model/CreateFileRequest.h>
- using AlibabaCloud::Dataworks_public::Model::CreateFileRequest;
- CreateFileRequest::CreateFileRequest() :
- RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFile")
- {
- setMethod(HttpRequest::Method::Post);
- }
- CreateFileRequest::~CreateFileRequest()
- {}
- int CreateFileRequest::getFileType()const
- {
- return fileType_;
- }
- void CreateFileRequest::setFileType(int fileType)
- {
- fileType_ = fileType;
- setBodyParameter("FileType", std::to_string(fileType));
- }
- std::string CreateFileRequest::getDependentNodeIdList()const
- {
- return dependentNodeIdList_;
- }
- void CreateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList)
- {
- dependentNodeIdList_ = dependentNodeIdList;
- setBodyParameter("DependentNodeIdList", dependentNodeIdList);
- }
- std::string CreateFileRequest::getContent()const
- {
- return content_;
- }
- void CreateFileRequest::setContent(const std::string& content)
- {
- content_ = content;
- setBodyParameter("Content", content);
- }
- std::string CreateFileRequest::getProjectIdentifier()const
- {
- return projectIdentifier_;
- }
- void CreateFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
- {
- projectIdentifier_ = projectIdentifier;
- setBodyParameter("ProjectIdentifier", projectIdentifier);
- }
- long CreateFileRequest::getProjectId()const
- {
- return projectId_;
- }
- void CreateFileRequest::setProjectId(long projectId)
- {
- projectId_ = projectId;
- setBodyParameter("ProjectId", std::to_string(projectId));
- }
- long CreateFileRequest::getStartEffectDate()const
- {
- return startEffectDate_;
- }
- void CreateFileRequest::setStartEffectDate(long startEffectDate)
- {
- startEffectDate_ = startEffectDate;
- setBodyParameter("StartEffectDate", std::to_string(startEffectDate));
- }
- std::string CreateFileRequest::getCycleType()const
- {
- return cycleType_;
- }
- void CreateFileRequest::setCycleType(const std::string& cycleType)
- {
- cycleType_ = cycleType;
- setBodyParameter("CycleType", cycleType);
- }
- std::string CreateFileRequest::getOwner()const
- {
- return owner_;
- }
- void CreateFileRequest::setOwner(const std::string& owner)
- {
- owner_ = owner;
- setBodyParameter("Owner", owner);
- }
- int CreateFileRequest::getAutoRerunIntervalMillis()const
- {
- return autoRerunIntervalMillis_;
- }
- void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis)
- {
- autoRerunIntervalMillis_ = autoRerunIntervalMillis;
- setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis));
- }
- std::string CreateFileRequest::getInputList()const
- {
- return inputList_;
- }
- void CreateFileRequest::setInputList(const std::string& inputList)
- {
- inputList_ = inputList;
- setBodyParameter("InputList", inputList);
- }
- std::string CreateFileRequest::getRerunMode()const
- {
- return rerunMode_;
- }
- void CreateFileRequest::setRerunMode(const std::string& rerunMode)
- {
- rerunMode_ = rerunMode;
- setBodyParameter("RerunMode", rerunMode);
- }
- std::string CreateFileRequest::getParaValue()const
- {
- return paraValue_;
- }
- void CreateFileRequest::setParaValue(const std::string& paraValue)
- {
- paraValue_ = paraValue;
- setBodyParameter("ParaValue", paraValue);
- }
- int CreateFileRequest::getAutoRerunTimes()const
- {
- return autoRerunTimes_;
- }
- void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes)
- {
- autoRerunTimes_ = autoRerunTimes;
- setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes));
- }
- std::string CreateFileRequest::getCronExpress()const
- {
- return cronExpress_;
- }
- void CreateFileRequest::setCronExpress(const std::string& cronExpress)
- {
- cronExpress_ = cronExpress;
- setBodyParameter("CronExpress", cronExpress);
- }
- long CreateFileRequest::getEndEffectDate()const
- {
- return endEffectDate_;
- }
- void CreateFileRequest::setEndEffectDate(long endEffectDate)
- {
- endEffectDate_ = endEffectDate;
- setBodyParameter("EndEffectDate", std::to_string(endEffectDate));
- }
- std::string CreateFileRequest::getFileName()const
- {
- return fileName_;
- }
- void CreateFileRequest::setFileName(const std::string& fileName)
- {
- fileName_ = fileName;
- setBodyParameter("FileName", fileName);
- }
- bool CreateFileRequest::getStop()const
- {
- return stop_;
- }
- void CreateFileRequest::setStop(bool stop)
- {
- stop_ = stop;
- setBodyParameter("Stop", stop ? "true" : "false");
- }
- std::string CreateFileRequest::getDependentType()const
- {
- return dependentType_;
- }
- void CreateFileRequest::setDependentType(const std::string& dependentType)
- {
- dependentType_ = dependentType;
- setBodyParameter("DependentType", dependentType);
- }
- std::string CreateFileRequest::getFileFolderPath()const
- {
- return fileFolderPath_;
- }
- void CreateFileRequest::setFileFolderPath(const std::string& fileFolderPath)
- {
- fileFolderPath_ = fileFolderPath;
- setBodyParameter("FileFolderPath", fileFolderPath);
- }
- std::string CreateFileRequest::getFileDescription()const
- {
- return fileDescription_;
- }
- void CreateFileRequest::setFileDescription(const std::string& fileDescription)
- {
- fileDescription_ = fileDescription;
- setBodyParameter("FileDescription", fileDescription);
- }
|