| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- /*
- * 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/csb/model/FindServiceListRequest.h>
- using AlibabaCloud::CSB::Model::FindServiceListRequest;
- FindServiceListRequest::FindServiceListRequest() :
- RpcServiceRequest("csb", "2017-11-18", "FindServiceList")
- {
- setMethod(HttpRequest::Method::Get);
- }
- FindServiceListRequest::~FindServiceListRequest()
- {}
- std::string FindServiceListRequest::getProjectName()const
- {
- return projectName_;
- }
- void FindServiceListRequest::setProjectName(const std::string& projectName)
- {
- projectName_ = projectName;
- setParameter("ProjectName", projectName);
- }
- bool FindServiceListRequest::getShowDelService()const
- {
- return showDelService_;
- }
- void FindServiceListRequest::setShowDelService(bool showDelService)
- {
- showDelService_ = showDelService;
- setParameter("ShowDelService", showDelService ? "true" : "false");
- }
- long FindServiceListRequest::getCsbId()const
- {
- return csbId_;
- }
- void FindServiceListRequest::setCsbId(long csbId)
- {
- csbId_ = csbId;
- setParameter("CsbId", std::to_string(csbId));
- }
- int FindServiceListRequest::getPageNum()const
- {
- return pageNum_;
- }
- void FindServiceListRequest::setPageNum(int pageNum)
- {
- pageNum_ = pageNum;
- setParameter("PageNum", std::to_string(pageNum));
- }
- int FindServiceListRequest::getCasShowType()const
- {
- return casShowType_;
- }
- void FindServiceListRequest::setCasShowType(int casShowType)
- {
- casShowType_ = casShowType;
- setParameter("CasShowType", std::to_string(casShowType));
- }
- int FindServiceListRequest::getPageSize()const
- {
- return pageSize_;
- }
- void FindServiceListRequest::setPageSize(int pageSize)
- {
- pageSize_ = pageSize;
- setParameter("PageSize", std::to_string(pageSize));
- }
- std::string FindServiceListRequest::getAlias()const
- {
- return alias_;
- }
- void FindServiceListRequest::setAlias(const std::string& alias)
- {
- alias_ = alias;
- setParameter("Alias", alias);
- }
- std::string FindServiceListRequest::getServiceName()const
- {
- return serviceName_;
- }
- void FindServiceListRequest::setServiceName(const std::string& serviceName)
- {
- serviceName_ = serviceName;
- setParameter("ServiceName", serviceName);
- }
|