| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- /*
- * 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/waf-openapi/model/CreateDomainRequest.h>
- using AlibabaCloud::Waf_openapi::Model::CreateDomainRequest;
- CreateDomainRequest::CreateDomainRequest() :
- RpcServiceRequest("waf-openapi", "2019-09-10", "CreateDomain")
- {
- setMethod(HttpRequest::Method::Post);
- }
- CreateDomainRequest::~CreateDomainRequest()
- {}
- int CreateDomainRequest::getIpFollowStatus()const
- {
- return ipFollowStatus_;
- }
- void CreateDomainRequest::setIpFollowStatus(int ipFollowStatus)
- {
- ipFollowStatus_ = ipFollowStatus;
- setParameter("IpFollowStatus", std::to_string(ipFollowStatus));
- }
- std::string CreateDomainRequest::getResourceGroupId()const
- {
- return resourceGroupId_;
- }
- void CreateDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
- {
- resourceGroupId_ = resourceGroupId;
- setParameter("ResourceGroupId", resourceGroupId);
- }
- std::string CreateDomainRequest::getSourceIp()const
- {
- return sourceIp_;
- }
- void CreateDomainRequest::setSourceIp(const std::string& sourceIp)
- {
- sourceIp_ = sourceIp;
- setParameter("SourceIp", sourceIp);
- }
- std::string CreateDomainRequest::getHttpPort()const
- {
- return httpPort_;
- }
- void CreateDomainRequest::setHttpPort(const std::string& httpPort)
- {
- httpPort_ = httpPort;
- setParameter("HttpPort", httpPort);
- }
- std::string CreateDomainRequest::getHttp2Port()const
- {
- return http2Port_;
- }
- void CreateDomainRequest::setHttp2Port(const std::string& http2Port)
- {
- http2Port_ = http2Port;
- setParameter("Http2Port", http2Port);
- }
- int CreateDomainRequest::getWriteTime()const
- {
- return writeTime_;
- }
- void CreateDomainRequest::setWriteTime(int writeTime)
- {
- writeTime_ = writeTime;
- setParameter("WriteTime", std::to_string(writeTime));
- }
- std::string CreateDomainRequest::getLang()const
- {
- return lang_;
- }
- void CreateDomainRequest::setLang(const std::string& lang)
- {
- lang_ = lang;
- setParameter("Lang", lang);
- }
- std::string CreateDomainRequest::getAccessType()const
- {
- return accessType_;
- }
- void CreateDomainRequest::setAccessType(const std::string& accessType)
- {
- accessType_ = accessType;
- setParameter("AccessType", accessType);
- }
- std::string CreateDomainRequest::getLogHeaders()const
- {
- return logHeaders_;
- }
- void CreateDomainRequest::setLogHeaders(const std::string& logHeaders)
- {
- logHeaders_ = logHeaders;
- setParameter("LogHeaders", logHeaders);
- }
- int CreateDomainRequest::getConnectionTime()const
- {
- return connectionTime_;
- }
- void CreateDomainRequest::setConnectionTime(int connectionTime)
- {
- connectionTime_ = connectionTime;
- setParameter("ConnectionTime", std::to_string(connectionTime));
- }
- int CreateDomainRequest::getClusterType()const
- {
- return clusterType_;
- }
- void CreateDomainRequest::setClusterType(int clusterType)
- {
- clusterType_ = clusterType;
- setParameter("ClusterType", std::to_string(clusterType));
- }
- std::string CreateDomainRequest::getCloudNativeInstances()const
- {
- return cloudNativeInstances_;
- }
- void CreateDomainRequest::setCloudNativeInstances(const std::string& cloudNativeInstances)
- {
- cloudNativeInstances_ = cloudNativeInstances;
- setParameter("CloudNativeInstances", cloudNativeInstances);
- }
- int CreateDomainRequest::getHttpsRedirect()const
- {
- return httpsRedirect_;
- }
- void CreateDomainRequest::setHttpsRedirect(int httpsRedirect)
- {
- httpsRedirect_ = httpsRedirect;
- setParameter("HttpsRedirect", std::to_string(httpsRedirect));
- }
- std::string CreateDomainRequest::getInstanceId()const
- {
- return instanceId_;
- }
- void CreateDomainRequest::setInstanceId(const std::string& instanceId)
- {
- instanceId_ = instanceId;
- setParameter("InstanceId", instanceId);
- }
- std::string CreateDomainRequest::getSourceIps()const
- {
- return sourceIps_;
- }
- void CreateDomainRequest::setSourceIps(const std::string& sourceIps)
- {
- sourceIps_ = sourceIps;
- setParameter("SourceIps", sourceIps);
- }
- std::string CreateDomainRequest::getDomain()const
- {
- return domain_;
- }
- void CreateDomainRequest::setDomain(const std::string& domain)
- {
- domain_ = domain;
- setParameter("Domain", domain);
- }
- int CreateDomainRequest::getIsAccessProduct()const
- {
- return isAccessProduct_;
- }
- void CreateDomainRequest::setIsAccessProduct(int isAccessProduct)
- {
- isAccessProduct_ = isAccessProduct;
- setParameter("IsAccessProduct", std::to_string(isAccessProduct));
- }
- int CreateDomainRequest::getReadTime()const
- {
- return readTime_;
- }
- void CreateDomainRequest::setReadTime(int readTime)
- {
- readTime_ = readTime;
- setParameter("ReadTime", std::to_string(readTime));
- }
- std::string CreateDomainRequest::getHttpsPort()const
- {
- return httpsPort_;
- }
- void CreateDomainRequest::setHttpsPort(const std::string& httpsPort)
- {
- httpsPort_ = httpsPort;
- setParameter("HttpsPort", httpsPort);
- }
- int CreateDomainRequest::getLoadBalancing()const
- {
- return loadBalancing_;
- }
- void CreateDomainRequest::setLoadBalancing(int loadBalancing)
- {
- loadBalancing_ = loadBalancing;
- setParameter("LoadBalancing", std::to_string(loadBalancing));
- }
- int CreateDomainRequest::getHttpToUserIp()const
- {
- return httpToUserIp_;
- }
- void CreateDomainRequest::setHttpToUserIp(int httpToUserIp)
- {
- httpToUserIp_ = httpToUserIp;
- setParameter("HttpToUserIp", std::to_string(httpToUserIp));
- }
|