|
|
@@ -21,23 +21,12 @@ using AlibabaCloud::Cdn::Model::DescribeUserVipsByDomainRequest;
|
|
|
DescribeUserVipsByDomainRequest::DescribeUserVipsByDomainRequest() :
|
|
|
RpcServiceRequest("cdn", "2018-05-10", "DescribeUserVipsByDomain")
|
|
|
{
|
|
|
- setMethod(HttpRequest::Method::Post);
|
|
|
+ setMethod(HttpRequest::Method::Get);
|
|
|
}
|
|
|
|
|
|
DescribeUserVipsByDomainRequest::~DescribeUserVipsByDomainRequest()
|
|
|
{}
|
|
|
|
|
|
-std::string DescribeUserVipsByDomainRequest::getDomainName()const
|
|
|
-{
|
|
|
- return domainName_;
|
|
|
-}
|
|
|
-
|
|
|
-void DescribeUserVipsByDomainRequest::setDomainName(const std::string& domainName)
|
|
|
-{
|
|
|
- domainName_ = domainName;
|
|
|
- setParameter("DomainName", domainName);
|
|
|
-}
|
|
|
-
|
|
|
std::string DescribeUserVipsByDomainRequest::getAvailable()const
|
|
|
{
|
|
|
return available_;
|
|
|
@@ -49,25 +38,25 @@ void DescribeUserVipsByDomainRequest::setAvailable(const std::string& available)
|
|
|
setParameter("Available", available);
|
|
|
}
|
|
|
|
|
|
-long DescribeUserVipsByDomainRequest::getOwnerId()const
|
|
|
+std::string DescribeUserVipsByDomainRequest::getDomainName()const
|
|
|
{
|
|
|
- return ownerId_;
|
|
|
+ return domainName_;
|
|
|
}
|
|
|
|
|
|
-void DescribeUserVipsByDomainRequest::setOwnerId(long ownerId)
|
|
|
+void DescribeUserVipsByDomainRequest::setDomainName(const std::string& domainName)
|
|
|
{
|
|
|
- ownerId_ = ownerId;
|
|
|
- setParameter("OwnerId", std::to_string(ownerId));
|
|
|
+ domainName_ = domainName;
|
|
|
+ setParameter("DomainName", domainName);
|
|
|
}
|
|
|
|
|
|
-std::string DescribeUserVipsByDomainRequest::getSecurityToken()const
|
|
|
+long DescribeUserVipsByDomainRequest::getOwnerId()const
|
|
|
{
|
|
|
- return securityToken_;
|
|
|
+ return ownerId_;
|
|
|
}
|
|
|
|
|
|
-void DescribeUserVipsByDomainRequest::setSecurityToken(const std::string& securityToken)
|
|
|
+void DescribeUserVipsByDomainRequest::setOwnerId(long ownerId)
|
|
|
{
|
|
|
- securityToken_ = securityToken;
|
|
|
- setParameter("SecurityToken", securityToken);
|
|
|
+ ownerId_ = ownerId;
|
|
|
+ setParameter("OwnerId", std::to_string(ownerId));
|
|
|
}
|
|
|
|