/* * 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 using AlibabaCloud::Cloudesl::Model::AddApDeviceRequest; AddApDeviceRequest::AddApDeviceRequest() : RpcServiceRequest("cloudesl", "2020-02-01", "AddApDevice") { setMethod(HttpRequest::Method::Post); } AddApDeviceRequest::~AddApDeviceRequest() {} std::string AddApDeviceRequest::getExtraParams()const { return extraParams_; } void AddApDeviceRequest::setExtraParams(const std::string& extraParams) { extraParams_ = extraParams; setBodyParameter("ExtraParams", extraParams); } std::string AddApDeviceRequest::getClientToken()const { return clientToken_; } void AddApDeviceRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; setBodyParameter("ClientToken", clientToken); } std::string AddApDeviceRequest::getRemark()const { return remark_; } void AddApDeviceRequest::setRemark(const std::string& remark) { remark_ = remark; setBodyParameter("Remark", remark); } std::string AddApDeviceRequest::getApMac()const { return apMac_; } void AddApDeviceRequest::setApMac(const std::string& apMac) { apMac_ = apMac; setBodyParameter("ApMac", apMac); } std::string AddApDeviceRequest::getStoreId()const { return storeId_; } void AddApDeviceRequest::setStoreId(const std::string& storeId) { storeId_ = storeId; setBodyParameter("StoreId", storeId); } std::string AddApDeviceRequest::getSerialNumber()const { return serialNumber_; } void AddApDeviceRequest::setSerialNumber(const std::string& serialNumber) { serialNumber_ = serialNumber; setBodyParameter("SerialNumber", serialNumber); }