# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you 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.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkwaf_openapi.endpoint import endpoint_data

class CreateDomainRequest(RpcRequest):

	def __init__(self):
		RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateDomain','waf')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())


	def get_IpFollowStatus(self):
		return self.get_query_params().get('IpFollowStatus')

	def set_IpFollowStatus(self,IpFollowStatus):
		self.add_query_param('IpFollowStatus',IpFollowStatus)

	def get_SniHost(self):
		return self.get_query_params().get('SniHost')

	def set_SniHost(self,SniHost):
		self.add_query_param('SniHost',SniHost)

	def get_ResourceGroupId(self):
		return self.get_query_params().get('ResourceGroupId')

	def set_ResourceGroupId(self,ResourceGroupId):
		self.add_query_param('ResourceGroupId',ResourceGroupId)

	def get_HttpPort(self):
		return self.get_query_params().get('HttpPort')

	def set_HttpPort(self,HttpPort):
		self.add_query_param('HttpPort',HttpPort)

	def get_Http2Port(self):
		return self.get_query_params().get('Http2Port')

	def set_Http2Port(self,Http2Port):
		self.add_query_param('Http2Port',Http2Port)

	def get_WriteTime(self):
		return self.get_query_params().get('WriteTime')

	def set_WriteTime(self,WriteTime):
		self.add_query_param('WriteTime',WriteTime)

	def get_SniStatus(self):
		return self.get_query_params().get('SniStatus')

	def set_SniStatus(self,SniStatus):
		self.add_query_param('SniStatus',SniStatus)

	def get_AccessHeaderMode(self):
		return self.get_query_params().get('AccessHeaderMode')

	def set_AccessHeaderMode(self,AccessHeaderMode):
		self.add_query_param('AccessHeaderMode',AccessHeaderMode)

	def get_AccessType(self):
		return self.get_query_params().get('AccessType')

	def set_AccessType(self,AccessType):
		self.add_query_param('AccessType',AccessType)

	def get_LogHeaders(self):
		return self.get_query_params().get('LogHeaders')

	def set_LogHeaders(self,LogHeaders):
		self.add_query_param('LogHeaders',LogHeaders)

	def get_AccessHeaders(self):
		return self.get_query_params().get('AccessHeaders')

	def set_AccessHeaders(self,AccessHeaders):
		self.add_query_param('AccessHeaders',AccessHeaders)

	def get_ConnectionTime(self):
		return self.get_query_params().get('ConnectionTime')

	def set_ConnectionTime(self,ConnectionTime):
		self.add_query_param('ConnectionTime',ConnectionTime)

	def get_ClusterType(self):
		return self.get_query_params().get('ClusterType')

	def set_ClusterType(self,ClusterType):
		self.add_query_param('ClusterType',ClusterType)

	def get_CloudNativeInstances(self):
		return self.get_query_params().get('CloudNativeInstances')

	def set_CloudNativeInstances(self,CloudNativeInstances):
		self.add_query_param('CloudNativeInstances',CloudNativeInstances)

	def get_HttpsRedirect(self):
		return self.get_query_params().get('HttpsRedirect')

	def set_HttpsRedirect(self,HttpsRedirect):
		self.add_query_param('HttpsRedirect',HttpsRedirect)

	def get_InstanceId(self):
		return self.get_query_params().get('InstanceId')

	def set_InstanceId(self,InstanceId):
		self.add_query_param('InstanceId',InstanceId)

	def get_SourceIps(self):
		return self.get_query_params().get('SourceIps')

	def set_SourceIps(self,SourceIps):
		self.add_query_param('SourceIps',SourceIps)

	def get_Domain(self):
		return self.get_query_params().get('Domain')

	def set_Domain(self,Domain):
		self.add_query_param('Domain',Domain)

	def get_IsAccessProduct(self):
		return self.get_query_params().get('IsAccessProduct')

	def set_IsAccessProduct(self,IsAccessProduct):
		self.add_query_param('IsAccessProduct',IsAccessProduct)

	def get_ReadTime(self):
		return self.get_query_params().get('ReadTime')

	def set_ReadTime(self,ReadTime):
		self.add_query_param('ReadTime',ReadTime)

	def get_HttpsPort(self):
		return self.get_query_params().get('HttpsPort')

	def set_HttpsPort(self,HttpsPort):
		self.add_query_param('HttpsPort',HttpsPort)

	def get_LoadBalancing(self):
		return self.get_query_params().get('LoadBalancing')

	def set_LoadBalancing(self,LoadBalancing):
		self.add_query_param('LoadBalancing',LoadBalancing)

	def get_HttpToUserIp(self):
		return self.get_query_params().get('HttpToUserIp')

	def set_HttpToUserIp(self,HttpToUserIp):
		self.add_query_param('HttpToUserIp',HttpToUserIp)