| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- /*
- * 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/oos/model/ListTaskExecutionsRequest.h>
- using AlibabaCloud::Oos::Model::ListTaskExecutionsRequest;
- ListTaskExecutionsRequest::ListTaskExecutionsRequest()
- : RpcServiceRequest("oos", "2019-06-01", "ListTaskExecutions") {
- setMethod(HttpRequest::Method::Post);
- }
- ListTaskExecutionsRequest::~ListTaskExecutionsRequest() {}
- std::string ListTaskExecutionsRequest::getTaskName() const {
- return taskName_;
- }
- void ListTaskExecutionsRequest::setTaskName(const std::string &taskName) {
- taskName_ = taskName;
- setParameter(std::string("TaskName"), taskName);
- }
- bool ListTaskExecutionsRequest::getIncludeChildTaskExecution() const {
- return includeChildTaskExecution_;
- }
- void ListTaskExecutionsRequest::setIncludeChildTaskExecution(bool includeChildTaskExecution) {
- includeChildTaskExecution_ = includeChildTaskExecution;
- setParameter(std::string("IncludeChildTaskExecution"), includeChildTaskExecution ? "true" : "false");
- }
- std::string ListTaskExecutionsRequest::getExecutionId() const {
- return executionId_;
- }
- void ListTaskExecutionsRequest::setExecutionId(const std::string &executionId) {
- executionId_ = executionId;
- setParameter(std::string("ExecutionId"), executionId);
- }
- std::string ListTaskExecutionsRequest::getParentTaskExecutionId() const {
- return parentTaskExecutionId_;
- }
- void ListTaskExecutionsRequest::setParentTaskExecutionId(const std::string &parentTaskExecutionId) {
- parentTaskExecutionId_ = parentTaskExecutionId;
- setParameter(std::string("ParentTaskExecutionId"), parentTaskExecutionId);
- }
- std::string ListTaskExecutionsRequest::getRegionId() const {
- return regionId_;
- }
- void ListTaskExecutionsRequest::setRegionId(const std::string ®ionId) {
- regionId_ = regionId;
- setParameter(std::string("RegionId"), regionId);
- }
- std::string ListTaskExecutionsRequest::getNextToken() const {
- return nextToken_;
- }
- void ListTaskExecutionsRequest::setNextToken(const std::string &nextToken) {
- nextToken_ = nextToken;
- setParameter(std::string("NextToken"), nextToken);
- }
- std::string ListTaskExecutionsRequest::getEndDateBefore() const {
- return endDateBefore_;
- }
- void ListTaskExecutionsRequest::setEndDateBefore(const std::string &endDateBefore) {
- endDateBefore_ = endDateBefore;
- setParameter(std::string("EndDateBefore"), endDateBefore);
- }
- std::string ListTaskExecutionsRequest::getSortOrder() const {
- return sortOrder_;
- }
- void ListTaskExecutionsRequest::setSortOrder(const std::string &sortOrder) {
- sortOrder_ = sortOrder;
- setParameter(std::string("SortOrder"), sortOrder);
- }
- std::string ListTaskExecutionsRequest::getStartDateAfter() const {
- return startDateAfter_;
- }
- void ListTaskExecutionsRequest::setStartDateAfter(const std::string &startDateAfter) {
- startDateAfter_ = startDateAfter;
- setParameter(std::string("StartDateAfter"), startDateAfter);
- }
- std::string ListTaskExecutionsRequest::getStartDateBefore() const {
- return startDateBefore_;
- }
- void ListTaskExecutionsRequest::setStartDateBefore(const std::string &startDateBefore) {
- startDateBefore_ = startDateBefore;
- setParameter(std::string("StartDateBefore"), startDateBefore);
- }
- std::string ListTaskExecutionsRequest::getEndDateAfter() const {
- return endDateAfter_;
- }
- void ListTaskExecutionsRequest::setEndDateAfter(const std::string &endDateAfter) {
- endDateAfter_ = endDateAfter;
- setParameter(std::string("EndDateAfter"), endDateAfter);
- }
- int ListTaskExecutionsRequest::getMaxResults() const {
- return maxResults_;
- }
- void ListTaskExecutionsRequest::setMaxResults(int maxResults) {
- maxResults_ = maxResults;
- setParameter(std::string("MaxResults"), std::to_string(maxResults));
- }
- std::string ListTaskExecutionsRequest::getTaskExecutionId() const {
- return taskExecutionId_;
- }
- void ListTaskExecutionsRequest::setTaskExecutionId(const std::string &taskExecutionId) {
- taskExecutionId_ = taskExecutionId;
- setParameter(std::string("TaskExecutionId"), taskExecutionId);
- }
- std::string ListTaskExecutionsRequest::getSortField() const {
- return sortField_;
- }
- void ListTaskExecutionsRequest::setSortField(const std::string &sortField) {
- sortField_ = sortField;
- setParameter(std::string("SortField"), sortField);
- }
- std::string ListTaskExecutionsRequest::getTaskAction() const {
- return taskAction_;
- }
- void ListTaskExecutionsRequest::setTaskAction(const std::string &taskAction) {
- taskAction_ = taskAction;
- setParameter(std::string("TaskAction"), taskAction);
- }
- std::string ListTaskExecutionsRequest::getStatus() const {
- return status_;
- }
- void ListTaskExecutionsRequest::setStatus(const std::string &status) {
- status_ = status;
- setParameter(std::string("Status"), status);
- }
|