| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /*
- * 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/ListNodesRequest.h>
- using AlibabaCloud::Dataworks_public::Model::ListNodesRequest;
- ListNodesRequest::ListNodesRequest()
- : RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodes") {
- setMethod(HttpRequest::Method::Post);
- }
- ListNodesRequest::~ListNodesRequest() {}
- std::string ListNodesRequest::getOwner() const {
- return owner_;
- }
- void ListNodesRequest::setOwner(const std::string &owner) {
- owner_ = owner;
- setBodyParameter(std::string("Owner"), owner);
- }
- std::string ListNodesRequest::getProjectEnv() const {
- return projectEnv_;
- }
- void ListNodesRequest::setProjectEnv(const std::string &projectEnv) {
- projectEnv_ = projectEnv;
- setBodyParameter(std::string("ProjectEnv"), projectEnv);
- }
- std::string ListNodesRequest::getBizName() const {
- return bizName_;
- }
- void ListNodesRequest::setBizName(const std::string &bizName) {
- bizName_ = bizName;
- setBodyParameter(std::string("BizName"), bizName);
- }
- int ListNodesRequest::getPageNumber() const {
- return pageNumber_;
- }
- void ListNodesRequest::setPageNumber(int pageNumber) {
- pageNumber_ = pageNumber;
- setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
- }
- std::string ListNodesRequest::getNodeName() const {
- return nodeName_;
- }
- void ListNodesRequest::setNodeName(const std::string &nodeName) {
- nodeName_ = nodeName;
- setBodyParameter(std::string("NodeName"), nodeName);
- }
- std::string ListNodesRequest::getProgramType() const {
- return programType_;
- }
- void ListNodesRequest::setProgramType(const std::string &programType) {
- programType_ = programType;
- setBodyParameter(std::string("ProgramType"), programType);
- }
- int ListNodesRequest::getPageSize() const {
- return pageSize_;
- }
- void ListNodesRequest::setPageSize(int pageSize) {
- pageSize_ = pageSize;
- setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
- }
- long ListNodesRequest::getProjectId() const {
- return projectId_;
- }
- void ListNodesRequest::setProjectId(long projectId) {
- projectId_ = projectId;
- setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
- }
|