138 lines
3.7 KiB
C++
138 lines
3.7 KiB
C++
/*
|
|
* 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/ResolveAndRouteServiceInCenRequest.h>
|
|
|
|
using AlibabaCloud::Cbn::Model::ResolveAndRouteServiceInCenRequest;
|
|
|
|
ResolveAndRouteServiceInCenRequest::ResolveAndRouteServiceInCenRequest() :
|
|
RpcServiceRequest("cbn", "2017-09-12", "ResolveAndRouteServiceInCen")
|
|
{}
|
|
|
|
ResolveAndRouteServiceInCenRequest::~ResolveAndRouteServiceInCenRequest()
|
|
{}
|
|
|
|
long ResolveAndRouteServiceInCenRequest::getResourceOwnerId()const
|
|
{
|
|
return resourceOwnerId_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setResourceOwnerId(long resourceOwnerId)
|
|
{
|
|
resourceOwnerId_ = resourceOwnerId;
|
|
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getResourceOwnerAccount()const
|
|
{
|
|
return resourceOwnerAccount_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
{
|
|
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getClientToken()const
|
|
{
|
|
return clientToken_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setClientToken(const std::string& clientToken)
|
|
{
|
|
clientToken_ = clientToken;
|
|
setParameter("ClientToken", clientToken);
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getCenId()const
|
|
{
|
|
return cenId_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setCenId(const std::string& cenId)
|
|
{
|
|
cenId_ = cenId;
|
|
setParameter("CenId", cenId);
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getOwnerAccount()const
|
|
{
|
|
return ownerAccount_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
{
|
|
ownerAccount_ = ownerAccount;
|
|
setParameter("OwnerAccount", ownerAccount);
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getHost()const
|
|
{
|
|
return host_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setHost(const std::string& host)
|
|
{
|
|
host_ = host;
|
|
setParameter("Host", host);
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getHostRegionId()const
|
|
{
|
|
return hostRegionId_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setHostRegionId(const std::string& hostRegionId)
|
|
{
|
|
hostRegionId_ = hostRegionId;
|
|
setParameter("HostRegionId", hostRegionId);
|
|
}
|
|
|
|
std::string ResolveAndRouteServiceInCenRequest::getAccessRegionId()const
|
|
{
|
|
return accessRegionId_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setAccessRegionId(const std::string& accessRegionId)
|
|
{
|
|
accessRegionId_ = accessRegionId;
|
|
setParameter("AccessRegionId", accessRegionId);
|
|
}
|
|
|
|
long ResolveAndRouteServiceInCenRequest::getOwnerId()const
|
|
{
|
|
return ownerId_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setOwnerId(long ownerId)
|
|
{
|
|
ownerId_ = ownerId;
|
|
setParameter("OwnerId", std::to_string(ownerId));
|
|
}
|
|
|
|
long ResolveAndRouteServiceInCenRequest::getUpdateInterval()const
|
|
{
|
|
return updateInterval_;
|
|
}
|
|
|
|
void ResolveAndRouteServiceInCenRequest::setUpdateInterval(long updateInterval)
|
|
{
|
|
updateInterval_ = updateInterval;
|
|
setParameter("UpdateInterval", std::to_string(updateInterval));
|
|
}
|
|
|