| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- /*
- * 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/retailcloud/model/ListDeployOrdersRequest.h>
- using AlibabaCloud::Retailcloud::Model::ListDeployOrdersRequest;
- ListDeployOrdersRequest::ListDeployOrdersRequest() :
- RpcServiceRequest("retailcloud", "2018-03-13", "ListDeployOrders")
- {
- setMethod(HttpRequest::Method::Post);
- }
- ListDeployOrdersRequest::~ListDeployOrdersRequest()
- {}
- std::string ListDeployOrdersRequest::getStartTimeGreaterThanOrEqualTo()const
- {
- return startTimeGreaterThanOrEqualTo_;
- }
- void ListDeployOrdersRequest::setStartTimeGreaterThanOrEqualTo(const std::string& startTimeGreaterThanOrEqualTo)
- {
- startTimeGreaterThanOrEqualTo_ = startTimeGreaterThanOrEqualTo;
- setParameter("StartTimeGreaterThanOrEqualTo", startTimeGreaterThanOrEqualTo);
- }
- std::vector<int> ListDeployOrdersRequest::getStatusList()const
- {
- return statusList_;
- }
- void ListDeployOrdersRequest::setStatusList(const std::vector<int>& statusList)
- {
- statusList_ = statusList;
- for(int dep1 = 0; dep1!= statusList.size(); dep1++) {
- setBodyParameter("StatusList."+ std::to_string(dep1), std::to_string(statusList.at(dep1)));
- }
- }
- long ListDeployOrdersRequest::getEnvId()const
- {
- return envId_;
- }
- void ListDeployOrdersRequest::setEnvId(long envId)
- {
- envId_ = envId;
- setParameter("EnvId", std::to_string(envId));
- }
- std::string ListDeployOrdersRequest::getEndTimeGreaterThan()const
- {
- return endTimeGreaterThan_;
- }
- void ListDeployOrdersRequest::setEndTimeGreaterThan(const std::string& endTimeGreaterThan)
- {
- endTimeGreaterThan_ = endTimeGreaterThan;
- setParameter("EndTimeGreaterThan", endTimeGreaterThan);
- }
- int ListDeployOrdersRequest::getPageNumber()const
- {
- return pageNumber_;
- }
- void ListDeployOrdersRequest::setPageNumber(int pageNumber)
- {
- pageNumber_ = pageNumber;
- setParameter("PageNumber", std::to_string(pageNumber));
- }
- std::string ListDeployOrdersRequest::getPauseType()const
- {
- return pauseType_;
- }
- void ListDeployOrdersRequest::setPauseType(const std::string& pauseType)
- {
- pauseType_ = pauseType;
- setParameter("PauseType", pauseType);
- }
- std::vector<int> ListDeployOrdersRequest::getResultList()const
- {
- return resultList_;
- }
- void ListDeployOrdersRequest::setResultList(const std::vector<int>& resultList)
- {
- resultList_ = resultList;
- for(int dep1 = 0; dep1!= resultList.size(); dep1++) {
- setBodyParameter("ResultList."+ std::to_string(dep1), std::to_string(resultList.at(dep1)));
- }
- }
- std::string ListDeployOrdersRequest::getStartTimeGreaterThan()const
- {
- return startTimeGreaterThan_;
- }
- void ListDeployOrdersRequest::setStartTimeGreaterThan(const std::string& startTimeGreaterThan)
- {
- startTimeGreaterThan_ = startTimeGreaterThan;
- setParameter("StartTimeGreaterThan", startTimeGreaterThan);
- }
- std::string ListDeployOrdersRequest::getStartTimeLessThan()const
- {
- return startTimeLessThan_;
- }
- void ListDeployOrdersRequest::setStartTimeLessThan(const std::string& startTimeLessThan)
- {
- startTimeLessThan_ = startTimeLessThan;
- setParameter("StartTimeLessThan", startTimeLessThan);
- }
- std::string ListDeployOrdersRequest::getStartTimeLessThanOrEqualTo()const
- {
- return startTimeLessThanOrEqualTo_;
- }
- void ListDeployOrdersRequest::setStartTimeLessThanOrEqualTo(const std::string& startTimeLessThanOrEqualTo)
- {
- startTimeLessThanOrEqualTo_ = startTimeLessThanOrEqualTo;
- setParameter("StartTimeLessThanOrEqualTo", startTimeLessThanOrEqualTo);
- }
- long ListDeployOrdersRequest::getAppId()const
- {
- return appId_;
- }
- void ListDeployOrdersRequest::setAppId(long appId)
- {
- appId_ = appId;
- setParameter("AppId", std::to_string(appId));
- }
- std::string ListDeployOrdersRequest::getEnvType()const
- {
- return envType_;
- }
- void ListDeployOrdersRequest::setEnvType(const std::string& envType)
- {
- envType_ = envType;
- setParameter("EnvType", envType);
- }
- int ListDeployOrdersRequest::getPageSize()const
- {
- return pageSize_;
- }
- void ListDeployOrdersRequest::setPageSize(int pageSize)
- {
- pageSize_ = pageSize;
- setParameter("PageSize", std::to_string(pageSize));
- }
- std::string ListDeployOrdersRequest::getEndTimeGreaterThanOrEqualTo()const
- {
- return endTimeGreaterThanOrEqualTo_;
- }
- void ListDeployOrdersRequest::setEndTimeGreaterThanOrEqualTo(const std::string& endTimeGreaterThanOrEqualTo)
- {
- endTimeGreaterThanOrEqualTo_ = endTimeGreaterThanOrEqualTo;
- setParameter("EndTimeGreaterThanOrEqualTo", endTimeGreaterThanOrEqualTo);
- }
- std::string ListDeployOrdersRequest::getEndTimeLessThan()const
- {
- return endTimeLessThan_;
- }
- void ListDeployOrdersRequest::setEndTimeLessThan(const std::string& endTimeLessThan)
- {
- endTimeLessThan_ = endTimeLessThan;
- setParameter("EndTimeLessThan", endTimeLessThan);
- }
- std::string ListDeployOrdersRequest::getEndTimeLessThanOrEqualTo()const
- {
- return endTimeLessThanOrEqualTo_;
- }
- void ListDeployOrdersRequest::setEndTimeLessThanOrEqualTo(const std::string& endTimeLessThanOrEqualTo)
- {
- endTimeLessThanOrEqualTo_ = endTimeLessThanOrEqualTo;
- setParameter("EndTimeLessThanOrEqualTo", endTimeLessThanOrEqualTo);
- }
- std::string ListDeployOrdersRequest::getPartitionType()const
- {
- return partitionType_;
- }
- void ListDeployOrdersRequest::setPartitionType(const std::string& partitionType)
- {
- partitionType_ = partitionType;
- setParameter("PartitionType", partitionType);
- }
- std::string ListDeployOrdersRequest::getDeployCategory()const
- {
- return deployCategory_;
- }
- void ListDeployOrdersRequest::setDeployCategory(const std::string& deployCategory)
- {
- deployCategory_ = deployCategory;
- setParameter("DeployCategory", deployCategory);
- }
- std::string ListDeployOrdersRequest::getDeployType()const
- {
- return deployType_;
- }
- void ListDeployOrdersRequest::setDeployType(const std::string& deployType)
- {
- deployType_ = deployType;
- setParameter("DeployType", deployType);
- }
- int ListDeployOrdersRequest::getStatus()const
- {
- return status_;
- }
- void ListDeployOrdersRequest::setStatus(int status)
- {
- status_ = status;
- setParameter("Status", std::to_string(status));
- }
|