| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- /*
- * 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", "2014-11-11", "AddCdnDomain")
- {}
- AddCdnDomainRequest::~AddCdnDomainRequest()
- {}
- std::string AddCdnDomainRequest::getTopLevelDomain()const
- {
- return topLevelDomain_;
- }
- void AddCdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
- {
- topLevelDomain_ = topLevelDomain;
- setParameter("TopLevelDomain", topLevelDomain);
- }
- std::string AddCdnDomainRequest::getSources()const
- {
- return sources_;
- }
- void AddCdnDomainRequest::setSources(const std::string& sources)
- {
- sources_ = sources;
- setParameter("Sources", sources);
- }
- std::string AddCdnDomainRequest::getOwnerAccount()const
- {
- return ownerAccount_;
- }
- void AddCdnDomainRequest::setOwnerAccount(const std::string& ownerAccount)
- {
- ownerAccount_ = ownerAccount;
- setParameter("OwnerAccount", ownerAccount);
- }
- std::string AddCdnDomainRequest::getDomainName()const
- {
- return domainName_;
- }
- void AddCdnDomainRequest::setDomainName(const std::string& domainName)
- {
- domainName_ = domainName;
- setParameter("DomainName", domainName);
- }
- long AddCdnDomainRequest::getOwnerId()const
- {
- return ownerId_;
- }
- void AddCdnDomainRequest::setOwnerId(long ownerId)
- {
- ownerId_ = ownerId;
- setParameter("OwnerId", std::to_string(ownerId));
- }
- std::string AddCdnDomainRequest::getResourceGroupId()const
- {
- return resourceGroupId_;
- }
- void AddCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
- {
- resourceGroupId_ = resourceGroupId;
- setParameter("ResourceGroupId", resourceGroupId);
- }
- int AddCdnDomainRequest::getSourcePort()const
- {
- return sourcePort_;
- }
- void AddCdnDomainRequest::setSourcePort(int sourcePort)
- {
- sourcePort_ = sourcePort;
- setParameter("SourcePort", std::to_string(sourcePort));
- }
- std::string AddCdnDomainRequest::getPriorities()const
- {
- return priorities_;
- }
- void AddCdnDomainRequest::setPriorities(const std::string& priorities)
- {
- priorities_ = priorities;
- setParameter("Priorities", priorities);
- }
- std::string AddCdnDomainRequest::getSecurityToken()const
- {
- return securityToken_;
- }
- void AddCdnDomainRequest::setSecurityToken(const std::string& securityToken)
- {
- securityToken_ = securityToken;
- setParameter("SecurityToken", securityToken);
- }
- std::string AddCdnDomainRequest::getCdnType()const
- {
- return cdnType_;
- }
- void AddCdnDomainRequest::setCdnType(const std::string& cdnType)
- {
- cdnType_ = cdnType;
- setParameter("CdnType", cdnType);
- }
- std::string AddCdnDomainRequest::getScope()const
- {
- return scope_;
- }
- void AddCdnDomainRequest::setScope(const std::string& scope)
- {
- scope_ = scope;
- setParameter("Scope", scope);
- }
- std::string AddCdnDomainRequest::getSourceType()const
- {
- return sourceType_;
- }
- void AddCdnDomainRequest::setSourceType(const std::string& sourceType)
- {
- sourceType_ = sourceType;
- setParameter("SourceType", sourceType);
- }
- std::string AddCdnDomainRequest::getCheckUrl()const
- {
- return checkUrl_;
- }
- void AddCdnDomainRequest::setCheckUrl(const std::string& checkUrl)
- {
- checkUrl_ = checkUrl;
- setParameter("CheckUrl", checkUrl);
- }
- std::string AddCdnDomainRequest::getRegion()const
- {
- return region_;
- }
- void AddCdnDomainRequest::setRegion(const std::string& region)
- {
- region_ = region;
- setParameter("Region", region);
- }
|