/*
 * 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/cbn/model/PublishRouteEntriesRequest.h>

using AlibabaCloud::Cbn::Model::PublishRouteEntriesRequest;

PublishRouteEntriesRequest::PublishRouteEntriesRequest() :
	RpcServiceRequest("cbn", "2017-09-12", "PublishRouteEntries")
{
	setMethod(HttpRequest::Method::Post);
}

PublishRouteEntriesRequest::~PublishRouteEntriesRequest()
{}

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

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

std::string PublishRouteEntriesRequest::getCenId()const
{
	return cenId_;
}

void PublishRouteEntriesRequest::setCenId(const std::string& cenId)
{
	cenId_ = cenId;
	setParameter("CenId", cenId);
}

std::string PublishRouteEntriesRequest::getChildInstanceRegionId()const
{
	return childInstanceRegionId_;
}

void PublishRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
{
	childInstanceRegionId_ = childInstanceRegionId;
	setParameter("ChildInstanceRegionId", childInstanceRegionId);
}

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

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

std::string PublishRouteEntriesRequest::getDestinationCidrBlock()const
{
	return destinationCidrBlock_;
}

void PublishRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
{
	destinationCidrBlock_ = destinationCidrBlock;
	setParameter("DestinationCidrBlock", destinationCidrBlock);
}

std::string PublishRouteEntriesRequest::getChildInstanceType()const
{
	return childInstanceType_;
}

void PublishRouteEntriesRequest::setChildInstanceType(const std::string& childInstanceType)
{
	childInstanceType_ = childInstanceType;
	setParameter("ChildInstanceType", childInstanceType);
}

std::string PublishRouteEntriesRequest::getChildInstanceId()const
{
	return childInstanceId_;
}

void PublishRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
{
	childInstanceId_ = childInstanceId;
	setParameter("ChildInstanceId", childInstanceId);
}

std::string PublishRouteEntriesRequest::getChildInstanceRouteTableId()const
{
	return childInstanceRouteTableId_;
}

void PublishRouteEntriesRequest::setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId)
{
	childInstanceRouteTableId_ = childInstanceRouteTableId;
	setParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
}

