| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- /*
- * 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/dg/model/ListDatabaseAccessPointRequest.h>
- using AlibabaCloud::Dg::Model::ListDatabaseAccessPointRequest;
- ListDatabaseAccessPointRequest::ListDatabaseAccessPointRequest() :
- RpcServiceRequest("dg", "2019-03-27", "ListDatabaseAccessPoint")
- {
- setMethod(HttpRequest::Method::Post);
- }
- ListDatabaseAccessPointRequest::~ListDatabaseAccessPointRequest()
- {}
- std::string ListDatabaseAccessPointRequest::getSearchKey()const
- {
- return searchKey_;
- }
- void ListDatabaseAccessPointRequest::setSearchKey(const std::string& searchKey)
- {
- searchKey_ = searchKey;
- setBodyParameter("SearchKey", searchKey);
- }
- std::string ListDatabaseAccessPointRequest::getPageNumber()const
- {
- return pageNumber_;
- }
- void ListDatabaseAccessPointRequest::setPageNumber(const std::string& pageNumber)
- {
- pageNumber_ = pageNumber;
- setBodyParameter("PageNumber", pageNumber);
- }
- std::string ListDatabaseAccessPointRequest::getRegionId()const
- {
- return regionId_;
- }
- void ListDatabaseAccessPointRequest::setRegionId(const std::string& regionId)
- {
- regionId_ = regionId;
- setBodyParameter("RegionId", regionId);
- }
- std::string ListDatabaseAccessPointRequest::getPageSize()const
- {
- return pageSize_;
- }
- void ListDatabaseAccessPointRequest::setPageSize(const std::string& pageSize)
- {
- pageSize_ = pageSize;
- setBodyParameter("PageSize", pageSize);
- }
- std::string ListDatabaseAccessPointRequest::getHost()const
- {
- return host_;
- }
- void ListDatabaseAccessPointRequest::setHost(const std::string& host)
- {
- host_ = host;
- setBodyParameter("Host", host);
- }
- std::string ListDatabaseAccessPointRequest::getDbInstanceId()const
- {
- return dbInstanceId_;
- }
- void ListDatabaseAccessPointRequest::setDbInstanceId(const std::string& dbInstanceId)
- {
- dbInstanceId_ = dbInstanceId;
- setBodyParameter("DbInstanceId", dbInstanceId);
- }
- std::string ListDatabaseAccessPointRequest::getGatewayId()const
- {
- return gatewayId_;
- }
- void ListDatabaseAccessPointRequest::setGatewayId(const std::string& gatewayId)
- {
- gatewayId_ = gatewayId;
- setBodyParameter("GatewayId", gatewayId);
- }
- int ListDatabaseAccessPointRequest::getPort()const
- {
- return port_;
- }
- void ListDatabaseAccessPointRequest::setPort(int port)
- {
- port_ = port;
- setBodyParameter("Port", std::to_string(port));
- }
- std::string ListDatabaseAccessPointRequest::getVpcId()const
- {
- return vpcId_;
- }
- void ListDatabaseAccessPointRequest::setVpcId(const std::string& vpcId)
- {
- vpcId_ = vpcId;
- setBodyParameter("VpcId", vpcId);
- }
|