SAS-API SDK Auto Released By shenshi,Version:1.34.22

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-14 15:01:38 +08:00
parent 8ac2f2bd4a
commit f75e990c49
55 changed files with 4057 additions and 2 deletions

View File

@@ -0,0 +1,137 @@
/*
* 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;
setParameter("DeviceIdMd5", deviceIdMd5);
}
int GetIpProfileRequest::getCarrier()const
{
return carrier_;
}
void GetIpProfileRequest::setCarrier(int carrier)
{
carrier_ = carrier;
setParameter("Carrier", std::to_string(carrier));
}
std::string GetIpProfileRequest::getOs()const
{
return os_;
}
void GetIpProfileRequest::setOs(const std::string& os)
{
os_ = os;
setParameter("Os", os);
}
std::string GetIpProfileRequest::getRequestUrl()const
{
return requestUrl_;
}
void GetIpProfileRequest::setRequestUrl(const std::string& requestUrl)
{
requestUrl_ = requestUrl;
setParameter("RequestUrl", requestUrl);
}
std::string GetIpProfileRequest::getIp()const
{
return ip_;
}
void GetIpProfileRequest::setIp(const std::string& ip)
{
ip_ = ip;
setParameter("Ip", ip);
}
std::string GetIpProfileRequest::getUserAgent()const
{
return userAgent_;
}
void GetIpProfileRequest::setUserAgent(const std::string& userAgent)
{
userAgent_ = userAgent;
setParameter("UserAgent", userAgent);
}
int GetIpProfileRequest::getConnectionType()const
{
return connectionType_;
}
void GetIpProfileRequest::setConnectionType(int connectionType)
{
connectionType_ = connectionType;
setParameter("ConnectionType", std::to_string(connectionType));
}
int GetIpProfileRequest::getSensType()const
{
return sensType_;
}
void GetIpProfileRequest::setSensType(int sensType)
{
sensType_ = sensType;
setParameter("SensType", std::to_string(sensType));
}
int GetIpProfileRequest::getDeviceType()const
{
return deviceType_;
}
void GetIpProfileRequest::setDeviceType(int deviceType)
{
deviceType_ = deviceType;
setParameter("DeviceType", std::to_string(deviceType));
}
int GetIpProfileRequest::getBusinessType()const
{
return businessType_;
}
void GetIpProfileRequest::setBusinessType(int businessType)
{
businessType_ = businessType;
setParameter("BusinessType", std::to_string(businessType));
}