| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- /*
- * 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/sas-api/model/GetIpProfileRequest.h>
- using AlibabaCloud::Sas_api::Model::GetIpProfileRequest;
- GetIpProfileRequest::GetIpProfileRequest() :
- RpcServiceRequest("sas-api", "2017-07-05", "GetIpProfile")
- {}
- GetIpProfileRequest::~GetIpProfileRequest()
- {}
- std::string GetIpProfileRequest::getDeviceIdMd5()const
- {
- return deviceIdMd5_;
- }
- void GetIpProfileRequest::setDeviceIdMd5(const std::string& deviceIdMd5)
- {
- deviceIdMd5_ = deviceIdMd5;
- setCoreParameter("DeviceIdMd5", deviceIdMd5);
- }
- std::string GetIpProfileRequest::getOs()const
- {
- return os_;
- }
- void GetIpProfileRequest::setOs(const std::string& os)
- {
- os_ = os;
- setCoreParameter("Os", os);
- }
- std::string GetIpProfileRequest::getIp()const
- {
- return ip_;
- }
- void GetIpProfileRequest::setIp(const std::string& ip)
- {
- ip_ = ip;
- setCoreParameter("Ip", ip);
- }
- std::string GetIpProfileRequest::getUserAgent()const
- {
- return userAgent_;
- }
- void GetIpProfileRequest::setUserAgent(const std::string& userAgent)
- {
- userAgent_ = userAgent;
- setCoreParameter("UserAgent", userAgent);
- }
- int GetIpProfileRequest::getSensType()const
- {
- return sensType_;
- }
- void GetIpProfileRequest::setSensType(int sensType)
- {
- sensType_ = sensType;
- setCoreParameter("SensType", std::to_string(sensType));
- }
- int GetIpProfileRequest::getDeviceType()const
- {
- return deviceType_;
- }
- void GetIpProfileRequest::setDeviceType(int deviceType)
- {
- deviceType_ = deviceType;
- setCoreParameter("DeviceType", std::to_string(deviceType));
- }
- int GetIpProfileRequest::getBusinessType()const
- {
- return businessType_;
- }
- void GetIpProfileRequest::setBusinessType(int businessType)
- {
- businessType_ = businessType;
- setCoreParameter("BusinessType", std::to_string(businessType));
- }
- int GetIpProfileRequest::getCarrier()const
- {
- return carrier_;
- }
- void GetIpProfileRequest::setCarrier(int carrier)
- {
- carrier_ = carrier;
- setCoreParameter("Carrier", std::to_string(carrier));
- }
- std::string GetIpProfileRequest::getRequestUrl()const
- {
- return requestUrl_;
- }
- void GetIpProfileRequest::setRequestUrl(const std::string& requestUrl)
- {
- requestUrl_ = requestUrl;
- setCoreParameter("RequestUrl", requestUrl);
- }
- int GetIpProfileRequest::getConnectionType()const
- {
- return connectionType_;
- }
- void GetIpProfileRequest::setConnectionType(int connectionType)
- {
- connectionType_ = connectionType;
- setCoreParameter("ConnectionType", std::to_string(connectionType));
- }
|