# 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 aliyunsdkdms_enterprise.endpoint import endpoint_data

class RegisterInstanceRequest(RpcRequest):

	def __init__(self):
		RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'RegisterInstance','dms-enterprise')
		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_EcsRegion(self): # String
		return self.get_query_params().get('EcsRegion')

	def set_EcsRegion(self, EcsRegion):  # String
		self.add_query_param('EcsRegion', EcsRegion)
	def get_DdlOnline(self): # Integer
		return self.get_query_params().get('DdlOnline')

	def set_DdlOnline(self, DdlOnline):  # Integer
		self.add_query_param('DdlOnline', DdlOnline)
	def get_UseDsql(self): # Integer
		return self.get_query_params().get('UseDsql')

	def set_UseDsql(self, UseDsql):  # Integer
		self.add_query_param('UseDsql', UseDsql)
	def METHOD_NAME(self): # String
		return self.get_query_params().get('NetworkType')

	def set_NetworkType(self, NetworkType):  # String
		self.add_query_param('NetworkType', NetworkType)
	def get_Tid(self): # Long
		return self.get_query_params().get('Tid')

	def set_Tid(self, Tid):  # Long
		self.add_query_param('Tid', Tid)
	def get_Sid(self): # String
		return self.get_query_params().get('Sid')

	def set_Sid(self, Sid):  # String
		self.add_query_param('Sid', Sid)
	def get_EnableSellSitd(self): # String
		return self.get_query_params().get('EnableSellSitd')

	def set_EnableSellSitd(self, EnableSellSitd):  # String
		self.add_query_param('EnableSellSitd', EnableSellSitd)
	def get_DataLinkName(self): # String
		return self.get_query_params().get('DataLinkName')

	def set_DataLinkName(self, DataLinkName):  # String
		self.add_query_param('DataLinkName', DataLinkName)
	def get_TemplateType(self): # String
		return self.get_query_params().get('TemplateType')

	def set_TemplateType(self, TemplateType):  # String
		self.add_query_param('TemplateType', TemplateType)
	def get_InstanceSource(self): # String
		return self.get_query_params().get('InstanceSource')

	def set_InstanceSource(self, InstanceSource):  # String
		self.add_query_param('InstanceSource', InstanceSource)
	def get_EnvType(self): # String
		return self.get_query_params().get('EnvType')

	def set_EnvType(self, EnvType):  # String
		self.add_query_param('EnvType', EnvType)
	def get_Host(self): # String
		return self.get_query_params().get('Host')

	def set_Host(self, Host):  # String
		self.add_query_param('Host', Host)
	def get_InstanceType(self): # String
		return self.get_query_params().get('InstanceType')

	def set_InstanceType(self, InstanceType):  # String
		self.add_query_param('InstanceType', InstanceType)
	def get_QueryTimeout(self): # Integer
		return self.get_query_params().get('QueryTimeout')

	def set_QueryTimeout(self, QueryTimeout):  # Integer
		self.add_query_param('QueryTimeout', QueryTimeout)
	def get_EcsInstanceId(self): # String
		return self.get_query_params().get('EcsInstanceId')

	def set_EcsInstanceId(self, EcsInstanceId):  # String
		self.add_query_param('EcsInstanceId', EcsInstanceId)
	def get_ExportTimeout(self): # Integer
		return self.get_query_params().get('ExportTimeout')

	def set_ExportTimeout(self, ExportTimeout):  # Integer
		self.add_query_param('ExportTimeout', ExportTimeout)
	def get_DatabasePassword(self): # String
		return self.get_query_params().get('DatabasePassword')

	def set_DatabasePassword(self, DatabasePassword):  # String
		self.add_query_param('DatabasePassword', DatabasePassword)
	def get_InstanceAlias(self): # String
		return self.get_query_params().get('InstanceAlias')

	def set_InstanceAlias(self, InstanceAlias):  # String
		self.add_query_param('InstanceAlias', InstanceAlias)
	def get_TemplateId(self): # Long
		return self.get_query_params().get('TemplateId')

	def set_TemplateId(self, TemplateId):  # Long
		self.add_query_param('TemplateId', TemplateId)
	def get_DatabaseUser(self): # String
		return self.get_query_params().get('DatabaseUser')

	def set_DatabaseUser(self, DatabaseUser):  # String
		self.add_query_param('DatabaseUser', DatabaseUser)
	def get_Port(self): # Integer
		return self.get_query_params().get('Port')

	def set_Port(self, Port):  # Integer
		self.add_query_param('Port', Port)
	def get_VpcId(self): # String
		return self.get_query_params().get('VpcId')

	def set_VpcId(self, VpcId):  # String
		self.add_query_param('VpcId', VpcId)
	def get_DbaUid(self): # Long
		return self.get_query_params().get('DbaUid')

	def set_DbaUid(self, DbaUid):  # Long
		self.add_query_param('DbaUid', DbaUid)
	def get_SkipTest(self): # Boolean
		return self.get_query_params().get('SkipTest')

	def set_SkipTest(self, SkipTest):  # Boolean
		self.add_query_param('SkipTest', SkipTest)
	def get_SafeRule(self): # String
		return self.get_query_params().get('SafeRule')

	def set_SafeRule(self, SafeRule):  # String
		self.add_query_param('SafeRule', SafeRule)