Files
aliyun-openapi-cpp-sdk/cdn/src/model/AddCdnDomainRequest.cc

138 lines
3.2 KiB
C++

/*
* 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/cdn/model/AddCdnDomainRequest.h>
using AlibabaCloud::Cdn::Model::AddCdnDomainRequest;
AddCdnDomainRequest::AddCdnDomainRequest() :
RpcServiceRequest("cdn", "2018-05-10", "AddCdnDomain")
{}
AddCdnDomainRequest::~AddCdnDomainRequest()
{}
std::string AddCdnDomainRequest::getTopLevelDomain()const
{
return topLevelDomain_;
}
void AddCdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
{
topLevelDomain_ = topLevelDomain;
setCoreParameter("TopLevelDomain", topLevelDomain);
}
std::string AddCdnDomainRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void AddCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setCoreParameter("ResourceGroupId", resourceGroupId);
}
std::string AddCdnDomainRequest::getSources()const
{
return sources_;
}
void AddCdnDomainRequest::setSources(const std::string& sources)
{
sources_ = sources;
setCoreParameter("Sources", sources);
}
std::string AddCdnDomainRequest::getSecurityToken()const
{
return securityToken_;
}
void AddCdnDomainRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setCoreParameter("SecurityToken", securityToken);
}
std::string AddCdnDomainRequest::getCdnType()const
{
return cdnType_;
}
void AddCdnDomainRequest::setCdnType(const std::string& cdnType)
{
cdnType_ = cdnType;
setCoreParameter("CdnType", cdnType);
}
std::string AddCdnDomainRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void AddCdnDomainRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
std::string AddCdnDomainRequest::getScope()const
{
return scope_;
}
void AddCdnDomainRequest::setScope(const std::string& scope)
{
scope_ = scope;
setCoreParameter("Scope", scope);
}
std::string AddCdnDomainRequest::getDomainName()const
{
return domainName_;
}
void AddCdnDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
long AddCdnDomainRequest::getOwnerId()const
{
return ownerId_;
}
void AddCdnDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string AddCdnDomainRequest::getCheckUrl()const
{
return checkUrl_;
}
void AddCdnDomainRequest::setCheckUrl(const std::string& checkUrl)
{
checkUrl_ = checkUrl;
setCoreParameter("CheckUrl", checkUrl);
}