/*
 * 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/ecs/model/DescribeInstancesRequest.h>

using AlibabaCloud::Ecs::Model::DescribeInstancesRequest;

DescribeInstancesRequest::DescribeInstancesRequest() :
	RpcServiceRequest("ecs", "2014-05-26", "DescribeInstances")
{}

DescribeInstancesRequest::~DescribeInstancesRequest()
{}

std::string DescribeInstancesRequest::getTag4Value()const
{
	return tag4Value_;
}

void DescribeInstancesRequest::setTag4Value(const std::string& tag4Value)
{
	tag4Value_ = tag4Value;
	setParameter("Tag4Value", tag4Value);
}

std::string DescribeInstancesRequest::getInnerIpAddresses()const
{
	return innerIpAddresses_;
}

void DescribeInstancesRequest::setInnerIpAddresses(const std::string& innerIpAddresses)
{
	innerIpAddresses_ = innerIpAddresses;
	setParameter("InnerIpAddresses", innerIpAddresses);
}

long DescribeInstancesRequest::getResourceOwnerId()const
{
	return resourceOwnerId_;
}

void DescribeInstancesRequest::setResourceOwnerId(long resourceOwnerId)
{
	resourceOwnerId_ = resourceOwnerId;
	setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}

std::string DescribeInstancesRequest::getTag2Key()const
{
	return tag2Key_;
}

void DescribeInstancesRequest::setTag2Key(const std::string& tag2Key)
{
	tag2Key_ = tag2Key;
	setParameter("Tag2Key", tag2Key);
}

std::string DescribeInstancesRequest::getPrivateIpAddresses()const
{
	return privateIpAddresses_;
}

void DescribeInstancesRequest::setPrivateIpAddresses(const std::string& privateIpAddresses)
{
	privateIpAddresses_ = privateIpAddresses;
	setParameter("PrivateIpAddresses", privateIpAddresses);
}

std::string DescribeInstancesRequest::getHpcClusterId()const
{
	return hpcClusterId_;
}

void DescribeInstancesRequest::setHpcClusterId(const std::string& hpcClusterId)
{
	hpcClusterId_ = hpcClusterId;
	setParameter("HpcClusterId", hpcClusterId);
}

std::string DescribeInstancesRequest::getFilter2Value()const
{
	return filter2Value_;
}

void DescribeInstancesRequest::setFilter2Value(const std::string& filter2Value)
{
	filter2Value_ = filter2Value;
	setParameter("Filter2Value", filter2Value);
}

std::string DescribeInstancesRequest::getTag3Key()const
{
	return tag3Key_;
}

void DescribeInstancesRequest::setTag3Key(const std::string& tag3Key)
{
	tag3Key_ = tag3Key;
	setParameter("Tag3Key", tag3Key);
}

std::string DescribeInstancesRequest::getKeyPairName()const
{
	return keyPairName_;
}

void DescribeInstancesRequest::setKeyPairName(const std::string& keyPairName)
{
	keyPairName_ = keyPairName;
	setParameter("KeyPairName", keyPairName);
}

std::string DescribeInstancesRequest::getTag1Value()const
{
	return tag1Value_;
}

void DescribeInstancesRequest::setTag1Value(const std::string& tag1Value)
{
	tag1Value_ = tag1Value;
	setParameter("Tag1Value", tag1Value);
}

std::string DescribeInstancesRequest::getResourceGroupId()const
{
	return resourceGroupId_;
}

void DescribeInstancesRequest::setResourceGroupId(const std::string& resourceGroupId)
{
	resourceGroupId_ = resourceGroupId;
	setParameter("ResourceGroupId", resourceGroupId);
}

std::string DescribeInstancesRequest::getLockReason()const
{
	return lockReason_;
}

void DescribeInstancesRequest::setLockReason(const std::string& lockReason)
{
	lockReason_ = lockReason;
	setParameter("LockReason", lockReason);
}

std::string DescribeInstancesRequest::getFilter1Key()const
{
	return filter1Key_;
}

void DescribeInstancesRequest::setFilter1Key(const std::string& filter1Key)
{
	filter1Key_ = filter1Key;
	setParameter("Filter1Key", filter1Key);
}

bool DescribeInstancesRequest::getDeviceAvailable()const
{
	return deviceAvailable_;
}

void DescribeInstancesRequest::setDeviceAvailable(bool deviceAvailable)
{
	deviceAvailable_ = deviceAvailable;
	setParameter("DeviceAvailable", std::to_string(deviceAvailable));
}

std::string DescribeInstancesRequest::getFilter3Value()const
{
	return filter3Value_;
}

void DescribeInstancesRequest::setFilter3Value(const std::string& filter3Value)
{
	filter3Value_ = filter3Value;
	setParameter("Filter3Value", filter3Value);
}

bool DescribeInstancesRequest::getDryRun()const
{
	return dryRun_;
}

void DescribeInstancesRequest::setDryRun(bool dryRun)
{
	dryRun_ = dryRun;
	setParameter("DryRun", std::to_string(dryRun));
}

std::string DescribeInstancesRequest::getTag5Key()const
{
	return tag5Key_;
}

void DescribeInstancesRequest::setTag5Key(const std::string& tag5Key)
{
	tag5Key_ = tag5Key;
	setParameter("Tag5Key", tag5Key);
}

std::string DescribeInstancesRequest::getFilter1Value()const
{
	return filter1Value_;
}

void DescribeInstancesRequest::setFilter1Value(const std::string& filter1Value)
{
	filter1Value_ = filter1Value;
	setParameter("Filter1Value", filter1Value);
}

long DescribeInstancesRequest::getOwnerId()const
{
	return ownerId_;
}

void DescribeInstancesRequest::setOwnerId(long ownerId)
{
	ownerId_ = ownerId;
	setParameter("OwnerId", std::to_string(ownerId));
}

std::string DescribeInstancesRequest::getVSwitchId()const
{
	return vSwitchId_;
}

void DescribeInstancesRequest::setVSwitchId(const std::string& vSwitchId)
{
	vSwitchId_ = vSwitchId;
	setParameter("VSwitchId", vSwitchId);
}

std::string DescribeInstancesRequest::getInstanceName()const
{
	return instanceName_;
}

void DescribeInstancesRequest::setInstanceName(const std::string& instanceName)
{
	instanceName_ = instanceName;
	setParameter("InstanceName", instanceName);
}

std::string DescribeInstancesRequest::getInstanceIds()const
{
	return instanceIds_;
}

void DescribeInstancesRequest::setInstanceIds(const std::string& instanceIds)
{
	instanceIds_ = instanceIds;
	setParameter("InstanceIds", instanceIds);
}

std::string DescribeInstancesRequest::getInternetChargeType()const
{
	return internetChargeType_;
}

void DescribeInstancesRequest::setInternetChargeType(const std::string& internetChargeType)
{
	internetChargeType_ = internetChargeType;
	setParameter("InternetChargeType", internetChargeType);
}

std::string DescribeInstancesRequest::getZoneId()const
{
	return zoneId_;
}

void DescribeInstancesRequest::setZoneId(const std::string& zoneId)
{
	zoneId_ = zoneId;
	setParameter("ZoneId", zoneId);
}

std::string DescribeInstancesRequest::getTag4Key()const
{
	return tag4Key_;
}

void DescribeInstancesRequest::setTag4Key(const std::string& tag4Key)
{
	tag4Key_ = tag4Key;
	setParameter("Tag4Key", tag4Key);
}

std::string DescribeInstancesRequest::getInstanceNetworkType()const
{
	return instanceNetworkType_;
}

void DescribeInstancesRequest::setInstanceNetworkType(const std::string& instanceNetworkType)
{
	instanceNetworkType_ = instanceNetworkType;
	setParameter("InstanceNetworkType", instanceNetworkType);
}

std::string DescribeInstancesRequest::getStatus()const
{
	return status_;
}

void DescribeInstancesRequest::setStatus(const std::string& status)
{
	status_ = status;
	setParameter("Status", status);
}

std::string DescribeInstancesRequest::getImageId()const
{
	return imageId_;
}

void DescribeInstancesRequest::setImageId(const std::string& imageId)
{
	imageId_ = imageId;
	setParameter("ImageId", imageId);
}

std::string DescribeInstancesRequest::getFilter4Value()const
{
	return filter4Value_;
}

void DescribeInstancesRequest::setFilter4Value(const std::string& filter4Value)
{
	filter4Value_ = filter4Value;
	setParameter("Filter4Value", filter4Value);
}

bool DescribeInstancesRequest::getIoOptimized()const
{
	return ioOptimized_;
}

void DescribeInstancesRequest::setIoOptimized(bool ioOptimized)
{
	ioOptimized_ = ioOptimized;
	setParameter("IoOptimized", std::to_string(ioOptimized));
}

std::string DescribeInstancesRequest::getSecurityGroupId()const
{
	return securityGroupId_;
}

void DescribeInstancesRequest::setSecurityGroupId(const std::string& securityGroupId)
{
	securityGroupId_ = securityGroupId;
	setParameter("SecurityGroupId", securityGroupId);
}

std::string DescribeInstancesRequest::getFilter4Key()const
{
	return filter4Key_;
}

void DescribeInstancesRequest::setFilter4Key(const std::string& filter4Key)
{
	filter4Key_ = filter4Key;
	setParameter("Filter4Key", filter4Key);
}

int DescribeInstancesRequest::getPageNumber()const
{
	return pageNumber_;
}

void DescribeInstancesRequest::setPageNumber(int pageNumber)
{
	pageNumber_ = pageNumber;
	setParameter("PageNumber", std::to_string(pageNumber));
}

std::string DescribeInstancesRequest::getRegionId()const
{
	return regionId_;
}

void DescribeInstancesRequest::setRegionId(const std::string& regionId)
{
	regionId_ = regionId;
	setParameter("RegionId", regionId);
}

std::string DescribeInstancesRequest::getRdmaIpAddresses()const
{
	return rdmaIpAddresses_;
}

void DescribeInstancesRequest::setRdmaIpAddresses(const std::string& rdmaIpAddresses)
{
	rdmaIpAddresses_ = rdmaIpAddresses;
	setParameter("RdmaIpAddresses", rdmaIpAddresses);
}

int DescribeInstancesRequest::getPageSize()const
{
	return pageSize_;
}

void DescribeInstancesRequest::setPageSize(int pageSize)
{
	pageSize_ = pageSize;
	setParameter("PageSize", std::to_string(pageSize));
}

std::string DescribeInstancesRequest::getPublicIpAddresses()const
{
	return publicIpAddresses_;
}

void DescribeInstancesRequest::setPublicIpAddresses(const std::string& publicIpAddresses)
{
	publicIpAddresses_ = publicIpAddresses;
	setParameter("PublicIpAddresses", publicIpAddresses);
}

std::string DescribeInstancesRequest::getInstanceType()const
{
	return instanceType_;
}

void DescribeInstancesRequest::setInstanceType(const std::string& instanceType)
{
	instanceType_ = instanceType;
	setParameter("InstanceType", instanceType);
}

std::string DescribeInstancesRequest::getInstanceChargeType()const
{
	return instanceChargeType_;
}

void DescribeInstancesRequest::setInstanceChargeType(const std::string& instanceChargeType)
{
	instanceChargeType_ = instanceChargeType;
	setParameter("InstanceChargeType", instanceChargeType);
}

std::string DescribeInstancesRequest::getTag3Value()const
{
	return tag3Value_;
}

void DescribeInstancesRequest::setTag3Value(const std::string& tag3Value)
{
	tag3Value_ = tag3Value;
	setParameter("Tag3Value", tag3Value);
}

std::string DescribeInstancesRequest::getResourceOwnerAccount()const
{
	return resourceOwnerAccount_;
}

void DescribeInstancesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
	resourceOwnerAccount_ = resourceOwnerAccount;
	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}

std::string DescribeInstancesRequest::getOwnerAccount()const
{
	return ownerAccount_;
}

void DescribeInstancesRequest::setOwnerAccount(const std::string& ownerAccount)
{
	ownerAccount_ = ownerAccount;
	setParameter("OwnerAccount", ownerAccount);
}

std::string DescribeInstancesRequest::getInstanceTypeFamily()const
{
	return instanceTypeFamily_;
}

void DescribeInstancesRequest::setInstanceTypeFamily(const std::string& instanceTypeFamily)
{
	instanceTypeFamily_ = instanceTypeFamily;
	setParameter("InstanceTypeFamily", instanceTypeFamily);
}

std::string DescribeInstancesRequest::getFilter2Key()const
{
	return filter2Key_;
}

void DescribeInstancesRequest::setFilter2Key(const std::string& filter2Key)
{
	filter2Key_ = filter2Key;
	setParameter("Filter2Key", filter2Key);
}

std::string DescribeInstancesRequest::getTag5Value()const
{
	return tag5Value_;
}

void DescribeInstancesRequest::setTag5Value(const std::string& tag5Value)
{
	tag5Value_ = tag5Value;
	setParameter("Tag5Value", tag5Value);
}

std::string DescribeInstancesRequest::getTag1Key()const
{
	return tag1Key_;
}

void DescribeInstancesRequest::setTag1Key(const std::string& tag1Key)
{
	tag1Key_ = tag1Key;
	setParameter("Tag1Key", tag1Key);
}

std::string DescribeInstancesRequest::getEipAddresses()const
{
	return eipAddresses_;
}

void DescribeInstancesRequest::setEipAddresses(const std::string& eipAddresses)
{
	eipAddresses_ = eipAddresses;
	setParameter("EipAddresses", eipAddresses);
}

std::string DescribeInstancesRequest::getVpcId()const
{
	return vpcId_;
}

void DescribeInstancesRequest::setVpcId(const std::string& vpcId)
{
	vpcId_ = vpcId;
	setParameter("VpcId", vpcId);
}

std::string DescribeInstancesRequest::getTag2Value()const
{
	return tag2Value_;
}

void DescribeInstancesRequest::setTag2Value(const std::string& tag2Value)
{
	tag2Value_ = tag2Value;
	setParameter("Tag2Value", tag2Value);
}

std::string DescribeInstancesRequest::getFilter3Key()const
{
	return filter3Key_;
}

void DescribeInstancesRequest::setFilter3Key(const std::string& filter3Key)
{
	filter3Key_ = filter3Key;
	setParameter("Filter3Key", filter3Key);
}

