| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- /*
- * 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/apds/model/ListRegionsRequest.h>
- using AlibabaCloud::Apds::Model::ListRegionsRequest;
- ListRegionsRequest::ListRegionsRequest()
- : RoaServiceRequest("apds", "2022-03-31") {
- setResourcePath("/okss-services/winback/query-region"};
- setMethod(HttpRequest::Method::Post);
- }
- ListRegionsRequest::~ListRegionsRequest() {}
- string ListRegionsRequest::getCloudType() const {
- return cloudType_;
- }
- void ListRegionsRequest::setCloudType(string cloudType) {
- cloudType_ = cloudType;
- setParameter(std::string("cloudType"), std::to_string(cloudType));
- }
- string ListRegionsRequest::getAk() const {
- return ak_;
- }
- void ListRegionsRequest::setAk(string ak) {
- ak_ = ak;
- setParameter(std::string("ak"), std::to_string(ak));
- }
- string ListRegionsRequest::getRegionId() const {
- return regionId_;
- }
- void ListRegionsRequest::setRegionId(string regionId) {
- regionId_ = regionId;
- setParameter(std::string("regionId"), std::to_string(regionId));
- }
- string ListRegionsRequest::getSk() const {
- return sk_;
- }
- void ListRegionsRequest::setSk(string sk) {
- sk_ = sk;
- setParameter(std::string("sk"), std::to_string(sk));
- }
- string ListRegionsRequest::getTenantId() const {
- return tenantId_;
- }
- void ListRegionsRequest::setTenantId(string tenantId) {
- tenantId_ = tenantId;
- setParameter(std::string("tenantId"), std::to_string(tenantId));
- }
- string ListRegionsRequest::getRegion() const {
- return region_;
- }
- void ListRegionsRequest::setRegion(string region) {
- region_ = region;
- setParameter(std::string("region"), std::to_string(region));
- }
|