Generate SDK by new Generator
This commit is contained in:
@@ -36,17 +36,6 @@ void ActiveFlowLogRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ActiveFlowLogRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ActiveFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ActiveFlowLogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,6 +47,17 @@ void ActiveFlowLogRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ActiveFlowLogRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void ActiveFlowLogRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ActiveFlowLogRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -69,15 +69,15 @@ void ActiveFlowLogRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ActiveFlowLogRequest::getCenId()const
|
||||
std::string ActiveFlowLogRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return cenId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ActiveFlowLogRequest::setCenId(const std::string& cenId)
|
||||
void ActiveFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ActiveFlowLogRequest::getOwnerAccount()const
|
||||
|
||||
@@ -35,13 +35,9 @@ ActiveFlowLogResult::~ActiveFlowLogResult()
|
||||
|
||||
void ActiveFlowLogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void AssociateCenBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,15 +47,15 @@ void AssociateCenBandwidthPackageRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
std::string AssociateCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
void AssociateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getOwnerAccount()const
|
||||
@@ -91,3 +80,14 @@ void AssociateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AssociateCenBandwidthPackageResult::~AssociateCenBandwidthPackageResult()
|
||||
|
||||
void AssociateCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ AttachCenChildInstanceRequest::AttachCenChildInstanceRequest() :
|
||||
AttachCenChildInstanceRequest::~AttachCenChildInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long AttachCenChildInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void AttachCenChildInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,6 +47,28 @@ void AttachCenChildInstanceRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -113,14 +113,14 @@ void AttachCenChildInstanceRequest::setChildInstanceOwnerId(long childInstanceOw
|
||||
setCoreParameter("ChildInstanceOwnerId", std::to_string(childInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceRegionId()const
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
void AttachCenChildInstanceRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachCenChildInstanceResult::~AttachCenChildInstanceResult()
|
||||
|
||||
void AttachCenChildInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateCenBandwidthPackageRequest::CreateCenBandwidthPackageRequest() :
|
||||
CreateCenBandwidthPackageRequest::~CreateCenBandwidthPackageRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getGeographicRegionBId()const
|
||||
{
|
||||
return geographicRegionBId_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setGeographicRegionBId(const std::string& geographicRegionBId)
|
||||
{
|
||||
geographicRegionBId_ = geographicRegionBId;
|
||||
setCoreParameter("GeographicRegionBId", geographicRegionBId);
|
||||
}
|
||||
|
||||
long CreateCenBandwidthPackageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,6 +36,50 @@ void CreateCenBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getBandwidthPackageChargeType()const
|
||||
{
|
||||
return bandwidthPackageChargeType_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType)
|
||||
{
|
||||
bandwidthPackageChargeType_ = bandwidthPackageChargeType;
|
||||
setCoreParameter("BandwidthPackageChargeType", bandwidthPackageChargeType);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getGeographicRegionBId()const
|
||||
{
|
||||
return geographicRegionBId_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setGeographicRegionBId(const std::string& geographicRegionBId)
|
||||
{
|
||||
geographicRegionBId_ = geographicRegionBId;
|
||||
setCoreParameter("GeographicRegionBId", geographicRegionBId);
|
||||
}
|
||||
|
||||
int CreateCenBandwidthPackageRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
@@ -91,17 +124,6 @@ void CreateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
int CreateCenBandwidthPackageRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
@@ -124,17 +146,6 @@ void CreateCenBandwidthPackageRequest::setOwnerAccount(const std::string& ownerA
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateCenBandwidthPackageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -146,17 +157,6 @@ void CreateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getBandwidthPackageChargeType()const
|
||||
{
|
||||
return bandwidthPackageChargeType_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType)
|
||||
{
|
||||
bandwidthPackageChargeType_ = bandwidthPackageChargeType;
|
||||
setCoreParameter("BandwidthPackageChargeType", bandwidthPackageChargeType);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateCenBandwidthPackageResult::~CreateCenBandwidthPackageResult()
|
||||
|
||||
void CreateCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CenBandwidthPackageId"].isNull())
|
||||
cenBandwidthPackageId_ = value["CenBandwidthPackageId"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateCenRequest::CreateCenRequest() :
|
||||
CreateCenRequest::~CreateCenRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCenRequest::getProtectionLevel()const
|
||||
{
|
||||
return protectionLevel_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setProtectionLevel(const std::string& protectionLevel)
|
||||
{
|
||||
protectionLevel_ = protectionLevel;
|
||||
setCoreParameter("ProtectionLevel", protectionLevel);
|
||||
}
|
||||
|
||||
long CreateCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void CreateCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -69,28 +47,6 @@ void CreateCenRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -102,6 +58,28 @@ void CreateCenRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,3 +91,25 @@ void CreateCenRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getProtectionLevel()const
|
||||
{
|
||||
return protectionLevel_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setProtectionLevel(const std::string& protectionLevel)
|
||||
{
|
||||
protectionLevel_ = protectionLevel;
|
||||
setCoreParameter("ProtectionLevel", protectionLevel);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateCenResult::~CreateCenResult()
|
||||
|
||||
void CreateCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CenId"].isNull())
|
||||
cenId_ = value["CenId"].asString();
|
||||
|
||||
@@ -25,18 +25,6 @@ CreateCenRouteMapRequest::CreateCenRouteMapRequest() :
|
||||
CreateCenRouteMapRequest::~CreateCenRouteMapRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getRouteTypes()const
|
||||
{
|
||||
return routeTypes_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& routeTypes)
|
||||
{
|
||||
routeTypes_ = routeTypes;
|
||||
for(int i = 0; i!= routeTypes.size(); i++)
|
||||
setCoreParameter("RouteTypes."+ std::to_string(i), routeTypes.at(i));
|
||||
}
|
||||
|
||||
long CreateCenRouteMapRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -48,17 +36,6 @@ void CreateCenRouteMapRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setCidrMatchMode(const std::string& cidrMatchMode)
|
||||
{
|
||||
cidrMatchMode_ = cidrMatchMode;
|
||||
setCoreParameter("CidrMatchMode", cidrMatchMode);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCommunityMatchMode()const
|
||||
{
|
||||
return communityMatchMode_;
|
||||
@@ -70,17 +47,6 @@ void CreateCenRouteMapRequest::setCommunityMatchMode(const std::string& communit
|
||||
setCoreParameter("CommunityMatchMode", communityMatchMode);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getMapResult()const
|
||||
{
|
||||
return mapResult_;
|
||||
@@ -92,39 +58,6 @@ void CreateCenRouteMapRequest::setMapResult(const std::string& mapResult)
|
||||
setCoreParameter("MapResult", mapResult);
|
||||
}
|
||||
|
||||
int CreateCenRouteMapRequest::getAsPathLength()const
|
||||
{
|
||||
return asPathLength_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setAsPathLength(int asPathLength)
|
||||
{
|
||||
asPathLength_ = asPathLength;
|
||||
setCoreParameter("AsPathLength", std::to_string(asPathLength));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
bool CreateCenRouteMapRequest::getSourceInstanceIdsReverseMatch()const
|
||||
{
|
||||
return sourceInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch)
|
||||
{
|
||||
sourceInstanceIdsReverseMatch_ = sourceInstanceIdsReverseMatch;
|
||||
setCoreParameter("SourceInstanceIdsReverseMatch", sourceInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateCenRouteMapRequest::getNextPriority()const
|
||||
{
|
||||
return nextPriority_;
|
||||
@@ -148,18 +81,6 @@ void CreateCenRouteMapRequest::setDestinationCidrBlocks(const std::vector<std::s
|
||||
setCoreParameter("DestinationCidrBlocks."+ std::to_string(i), destinationCidrBlocks.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationRouteTableIds()const
|
||||
{
|
||||
return destinationRouteTableIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds)
|
||||
{
|
||||
destinationRouteTableIds_ = destinationRouteTableIds;
|
||||
for(int i = 0; i!= destinationRouteTableIds.size(); i++)
|
||||
setCoreParameter("DestinationRouteTableIds."+ std::to_string(i), destinationRouteTableIds.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getSourceInstanceIds()const
|
||||
{
|
||||
return sourceInstanceIds_;
|
||||
@@ -184,29 +105,6 @@ void CreateCenRouteMapRequest::setSourceRegionIds(const std::vector<std::string>
|
||||
setCoreParameter("SourceRegionIds."+ std::to_string(i), sourceRegionIds.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getTransmitDirection()const
|
||||
{
|
||||
return transmitDirection_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setTransmitDirection(const std::string& transmitDirection)
|
||||
{
|
||||
transmitDirection_ = transmitDirection;
|
||||
setCoreParameter("TransmitDirection", transmitDirection);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationInstanceIds()const
|
||||
{
|
||||
return destinationInstanceIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationInstanceIds(const std::vector<std::string>& destinationInstanceIds)
|
||||
{
|
||||
destinationInstanceIds_ = destinationInstanceIds;
|
||||
for(int i = 0; i!= destinationInstanceIds.size(); i++)
|
||||
setCoreParameter("DestinationInstanceIds."+ std::to_string(i), destinationInstanceIds.at(i));
|
||||
}
|
||||
|
||||
std::vector<long> CreateCenRouteMapRequest::getMatchAsns()const
|
||||
{
|
||||
return matchAsns_;
|
||||
@@ -219,28 +117,6 @@ void CreateCenRouteMapRequest::setMatchAsns(const std::vector<long>& matchAsns)
|
||||
setCoreParameter("MatchAsns."+ std::to_string(i), std::to_string(matchAsns.at(i)));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int CreateCenRouteMapRequest::getPreference()const
|
||||
{
|
||||
return preference_;
|
||||
@@ -252,17 +128,6 @@ void CreateCenRouteMapRequest::setPreference(int preference)
|
||||
setCoreParameter("Preference", std::to_string(preference));
|
||||
}
|
||||
|
||||
bool CreateCenRouteMapRequest::getDestinationInstanceIdsReverseMatch()const
|
||||
{
|
||||
return destinationInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationInstanceIdsReverseMatch(bool destinationInstanceIdsReverseMatch)
|
||||
{
|
||||
destinationInstanceIdsReverseMatch_ = destinationInstanceIdsReverseMatch;
|
||||
setCoreParameter("DestinationInstanceIdsReverseMatch", destinationInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
long CreateCenRouteMapRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -309,17 +174,6 @@ void CreateCenRouteMapRequest::setSourceRouteTableIds(const std::vector<std::str
|
||||
setCoreParameter("SourceRouteTableIds."+ std::to_string(i), sourceRouteTableIds.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getAsPathMatchMode()const
|
||||
{
|
||||
return asPathMatchMode_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setAsPathMatchMode(const std::string& asPathMatchMode)
|
||||
{
|
||||
asPathMatchMode_ = asPathMatchMode;
|
||||
setCoreParameter("AsPathMatchMode", asPathMatchMode);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getSourceChildInstanceTypes()const
|
||||
{
|
||||
return sourceChildInstanceTypes_;
|
||||
@@ -332,18 +186,6 @@ void CreateCenRouteMapRequest::setSourceChildInstanceTypes(const std::vector<std
|
||||
setCoreParameter("SourceChildInstanceTypes."+ std::to_string(i), sourceChildInstanceTypes.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getMatchCommunitySet()const
|
||||
{
|
||||
return matchCommunitySet_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setMatchCommunitySet(const std::vector<std::string>& matchCommunitySet)
|
||||
{
|
||||
matchCommunitySet_ = matchCommunitySet;
|
||||
for(int i = 0; i!= matchCommunitySet.size(); i++)
|
||||
setCoreParameter("MatchCommunitySet."+ std::to_string(i), matchCommunitySet.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCommunityOperateMode()const
|
||||
{
|
||||
return communityOperateMode_;
|
||||
@@ -355,17 +197,6 @@ void CreateCenRouteMapRequest::setCommunityOperateMode(const std::string& commun
|
||||
setCoreParameter("CommunityOperateMode", communityOperateMode);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getOperateCommunitySet()const
|
||||
{
|
||||
return operateCommunitySet_;
|
||||
@@ -378,3 +209,161 @@ void CreateCenRouteMapRequest::setOperateCommunitySet(const std::vector<std::str
|
||||
setCoreParameter("OperateCommunitySet."+ std::to_string(i), operateCommunitySet.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getRouteTypes()const
|
||||
{
|
||||
return routeTypes_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& routeTypes)
|
||||
{
|
||||
routeTypes_ = routeTypes;
|
||||
for(int i = 0; i!= routeTypes.size(); i++)
|
||||
setCoreParameter("RouteTypes."+ std::to_string(i), routeTypes.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setCidrMatchMode(const std::string& cidrMatchMode)
|
||||
{
|
||||
cidrMatchMode_ = cidrMatchMode;
|
||||
setCoreParameter("CidrMatchMode", cidrMatchMode);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
bool CreateCenRouteMapRequest::getSourceInstanceIdsReverseMatch()const
|
||||
{
|
||||
return sourceInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch)
|
||||
{
|
||||
sourceInstanceIdsReverseMatch_ = sourceInstanceIdsReverseMatch;
|
||||
setCoreParameter("SourceInstanceIdsReverseMatch", sourceInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationRouteTableIds()const
|
||||
{
|
||||
return destinationRouteTableIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds)
|
||||
{
|
||||
destinationRouteTableIds_ = destinationRouteTableIds;
|
||||
for(int i = 0; i!= destinationRouteTableIds.size(); i++)
|
||||
setCoreParameter("DestinationRouteTableIds."+ std::to_string(i), destinationRouteTableIds.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getTransmitDirection()const
|
||||
{
|
||||
return transmitDirection_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setTransmitDirection(const std::string& transmitDirection)
|
||||
{
|
||||
transmitDirection_ = transmitDirection;
|
||||
setCoreParameter("TransmitDirection", transmitDirection);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationInstanceIds()const
|
||||
{
|
||||
return destinationInstanceIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationInstanceIds(const std::vector<std::string>& destinationInstanceIds)
|
||||
{
|
||||
destinationInstanceIds_ = destinationInstanceIds;
|
||||
for(int i = 0; i!= destinationInstanceIds.size(); i++)
|
||||
setCoreParameter("DestinationInstanceIds."+ std::to_string(i), destinationInstanceIds.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
bool CreateCenRouteMapRequest::getDestinationInstanceIdsReverseMatch()const
|
||||
{
|
||||
return destinationInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationInstanceIdsReverseMatch(bool destinationInstanceIdsReverseMatch)
|
||||
{
|
||||
destinationInstanceIdsReverseMatch_ = destinationInstanceIdsReverseMatch;
|
||||
setCoreParameter("DestinationInstanceIdsReverseMatch", destinationInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getAsPathMatchMode()const
|
||||
{
|
||||
return asPathMatchMode_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setAsPathMatchMode(const std::string& asPathMatchMode)
|
||||
{
|
||||
asPathMatchMode_ = asPathMatchMode;
|
||||
setCoreParameter("AsPathMatchMode", asPathMatchMode);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getMatchCommunitySet()const
|
||||
{
|
||||
return matchCommunitySet_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setMatchCommunitySet(const std::vector<std::string>& matchCommunitySet)
|
||||
{
|
||||
matchCommunitySet_ = matchCommunitySet;
|
||||
for(int i = 0; i!= matchCommunitySet.size(); i++)
|
||||
setCoreParameter("MatchCommunitySet."+ std::to_string(i), matchCommunitySet.at(i));
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateCenRouteMapResult::~CreateCenRouteMapResult()
|
||||
|
||||
void CreateCenRouteMapResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RouteMapId"].isNull())
|
||||
routeMapId_ = value["RouteMapId"].asString();
|
||||
|
||||
@@ -36,6 +36,50 @@ void CreateFlowlogRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
@@ -69,39 +113,6 @@ void CreateFlowlogRequest::setResourceOwnerAccount(const std::string& resourceOw
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -113,17 +124,6 @@ void CreateFlowlogRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateFlowlogRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateFlowlogResult::~CreateFlowlogResult()
|
||||
|
||||
void CreateFlowlogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeactiveFlowLogRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeactiveFlowLogRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeactiveFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeactiveFlowLogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,6 +47,17 @@ void DeactiveFlowLogRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DeactiveFlowLogRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeactiveFlowLogRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeactiveFlowLogRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -69,15 +69,15 @@ void DeactiveFlowLogRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeactiveFlowLogRequest::getCenId()const
|
||||
std::string DeactiveFlowLogRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return cenId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeactiveFlowLogRequest::setCenId(const std::string& cenId)
|
||||
void DeactiveFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeactiveFlowLogRequest::getOwnerAccount()const
|
||||
|
||||
@@ -35,13 +35,9 @@ DeactiveFlowLogResult::~DeactiveFlowLogResult()
|
||||
|
||||
void DeactiveFlowLogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string DeleteCenBandwidthPackageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -80,3 +69,14 @@ void DeleteCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteCenBandwidthPackageResult::~DeleteCenBandwidthPackageResult()
|
||||
|
||||
void DeleteCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteCenResult::~DeleteCenResult()
|
||||
|
||||
void DeleteCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteCenRouteMapRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenRouteMapRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,6 +47,17 @@ void DeleteCenRouteMapRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenRouteMapRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -69,17 +69,6 @@ void DeleteCenRouteMapRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void DeleteCenRouteMapRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getRouteMapId()const
|
||||
{
|
||||
return routeMapId_;
|
||||
@@ -102,3 +91,14 @@ void DeleteCenRouteMapRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenRouteMapRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void DeleteCenRouteMapRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteCenRouteMapResult::~DeleteCenRouteMapResult()
|
||||
|
||||
void DeleteCenRouteMapResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteFlowlogRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteFlowlogRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteFlowlogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteFlowlogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,6 +47,17 @@ void DeleteFlowlogRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DeleteFlowlogRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeleteFlowlogRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteFlowlogRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -69,15 +69,15 @@ void DeleteFlowlogRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteFlowlogRequest::getCenId()const
|
||||
std::string DeleteFlowlogRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return cenId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteFlowlogRequest::setCenId(const std::string& cenId)
|
||||
void DeleteFlowlogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteFlowlogRequest::getOwnerAccount()const
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteFlowlogResult::~DeleteFlowlogResult()
|
||||
|
||||
void DeleteFlowlogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteRouteServiceInCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,15 +47,15 @@ void DeleteRouteServiceInCenRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getOwnerAccount()const
|
||||
std::string DeleteRouteServiceInCenRequest::getAccessRegionId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessRegionId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void DeleteRouteServiceInCenRequest::setAccessRegionId(const std::string& accessRegionId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessRegionId_ = accessRegionId;
|
||||
setCoreParameter("AccessRegionId", accessRegionId);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getHost()const
|
||||
@@ -91,15 +80,37 @@ void DeleteRouteServiceInCenRequest::setHostRegionId(const std::string& hostRegi
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getAccessRegionId()const
|
||||
std::string DeleteRouteServiceInCenRequest::getHostVpcId()const
|
||||
{
|
||||
return accessRegionId_;
|
||||
return hostVpcId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setAccessRegionId(const std::string& accessRegionId)
|
||||
void DeleteRouteServiceInCenRequest::setHostVpcId(const std::string& hostVpcId)
|
||||
{
|
||||
accessRegionId_ = accessRegionId;
|
||||
setCoreParameter("AccessRegionId", accessRegionId);
|
||||
hostVpcId_ = hostVpcId;
|
||||
setCoreParameter("HostVpcId", hostVpcId);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteRouteServiceInCenRequest::getOwnerId()const
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteRouteServiceInCenResult::~DeleteRouteServiceInCenResult()
|
||||
|
||||
void DeleteRouteServiceInCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCenAttachedChildInstanceAttributeRequest::DescribeCenAttachedChildInstan
|
||||
DescribeCenAttachedChildInstanceAttributeRequest::~DescribeCenAttachedChildInstanceAttributeRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void DescribeCenAttachedChildInstanceAttributeRequest::setResourceOwnerId(long r
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,6 +47,28 @@ void DescribeCenAttachedChildInstanceAttributeRequest::setCenId(const std::strin
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -102,14 +102,14 @@ void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceType(cons
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceRegionId()const
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenAttachedChildInstanceAttributeResult::~DescribeCenAttachedChildInstan
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CenId"].isNull())
|
||||
cenId_ = value["CenId"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeCenAttachedChildInstancesRequest::setResourceOwnerId(long resourceO
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,15 +47,15 @@ void DescribeCenAttachedChildInstancesRequest::setCenId(const std::string& cenId
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getOwnerAccount()const
|
||||
int DescribeCenAttachedChildInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void DescribeCenAttachedChildInstancesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesRequest::getPageSize()const
|
||||
@@ -80,6 +69,39 @@ void DescribeCenAttachedChildInstancesRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstancesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,25 +124,3 @@ void DescribeCenAttachedChildInstancesRequest::setChildInstanceType(const std::s
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenAttachedChildInstancesResult::~DescribeCenAttachedChildInstancesResul
|
||||
|
||||
void DescribeCenAttachedChildInstancesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChildInstances = value["ChildInstances"]["ChildInstance"];
|
||||
for (auto value : allChildInstances)
|
||||
|
||||
@@ -25,23 +25,6 @@ DescribeCenBandwidthPackagesRequest::DescribeCenBandwidthPackagesRequest() :
|
||||
DescribeCenBandwidthPackagesRequest::~DescribeCenBandwidthPackagesRequest()
|
||||
{}
|
||||
|
||||
std::vector<DescribeCenBandwidthPackagesRequest::Filter> DescribeCenBandwidthPackagesRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setCoreParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
long DescribeCenBandwidthPackagesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -53,48 +36,15 @@ void DescribeCenBandwidthPackagesRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
|
||||
bool DescribeCenBandwidthPackagesRequest::getIncludeReservationData()const
|
||||
{
|
||||
{
|
||||
return includeReservationData_;
|
||||
}
|
||||
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setIncludeReservationData(bool includeReservationData)
|
||||
{
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenBandwidthPackagesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeCenBandwidthPackagesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenBandwidthPackagesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
includeReservationData_ = includeReservationData;
|
||||
setCoreParameter("IncludeReservationData", includeReservationData ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeCenBandwidthPackagesRequest::getPageNumber()const
|
||||
@@ -119,3 +69,64 @@ void DescribeCenBandwidthPackagesRequest::setIsOrKey(bool isOrKey)
|
||||
setCoreParameter("IsOrKey", isOrKey ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeCenBandwidthPackagesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenBandwidthPackagesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenBandwidthPackagesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenBandwidthPackagesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<DescribeCenBandwidthPackagesRequest::Filter> DescribeCenBandwidthPackagesRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setCoreParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenBandwidthPackagesResult::~DescribeCenBandwidthPackagesResult()
|
||||
|
||||
void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCenBandwidthPackages = value["CenBandwidthPackages"]["CenBandwidthPackage"];
|
||||
for (auto value : allCenBandwidthPackages)
|
||||
@@ -77,6 +73,30 @@ void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
cenBandwidthPackagesObject.typeFor95 = value["TypeFor95"].asString();
|
||||
if(!value["Ratio"].isNull())
|
||||
cenBandwidthPackagesObject.ratio = value["Ratio"].asString();
|
||||
if(!value["HasReservationData"].isNull())
|
||||
cenBandwidthPackagesObject.hasReservationData = value["HasReservationData"].asString();
|
||||
if(!value["ReservationBandwidth"].isNull())
|
||||
cenBandwidthPackagesObject.reservationBandwidth = value["ReservationBandwidth"].asString();
|
||||
if(!value["ReservationInternetChargeType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationInternetChargeType = value["ReservationInternetChargeType"].asString();
|
||||
if(!value["ReservationActiveTime"].isNull())
|
||||
cenBandwidthPackagesObject.reservationActiveTime = value["ReservationActiveTime"].asString();
|
||||
if(!value["ReservationOrderType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationOrderType = value["ReservationOrderType"].asString();
|
||||
auto allOrginInterRegionBandwidthLimits = value["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto value : allOrginInterRegionBandwidthLimits)
|
||||
{
|
||||
CenBandwidthPackage::OrginInterRegionBandwidthLimit orginInterRegionBandwidthLimitsObject;
|
||||
if(!value["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = value["LocalRegionId"].asString();
|
||||
if(!value["OppositeRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.oppositeRegionId = value["OppositeRegionId"].asString();
|
||||
if(!value["GeographicSpanId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.geographicSpanId = value["GeographicSpanId"].asString();
|
||||
if(!value["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = value["BandwidthLimit"].asString();
|
||||
cenBandwidthPackagesObject.orginInterRegionBandwidthLimits.push_back(orginInterRegionBandwidthLimitsObject);
|
||||
}
|
||||
auto allCenIds = value["CenIds"]["CenId"];
|
||||
for (auto value : allCenIds)
|
||||
cenBandwidthPackagesObject.cenIds.push_back(value.asString());
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCenChildInstanceRouteEntriesRequest::DescribeCenChildInstanceRouteEntrie
|
||||
DescribeCenChildInstanceRouteEntriesRequest::~DescribeCenChildInstanceRouteEntriesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DescribeCenChildInstanceRouteEntriesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void DescribeCenChildInstanceRouteEntriesRequest::setResourceOwnerId(long resour
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,15 +47,15 @@ void DescribeCenChildInstanceRouteEntriesRequest::setCenId(const std::string& ce
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getOwnerAccount()const
|
||||
int DescribeCenChildInstanceRouteEntriesRequest::getPageNumber()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenChildInstanceRouteEntriesRequest::getPageSize()const
|
||||
@@ -91,6 +69,39 @@ void DescribeCenChildInstanceRouteEntriesRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenChildInstanceRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,15 +124,15 @@ void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceType(const std
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
int DescribeCenChildInstanceRouteEntriesRequest::getPageNumber()const
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return pageNumber_;
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setPageNumber(int pageNumber)
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getStatus()const
|
||||
@@ -135,14 +146,3 @@ void DescribeCenChildInstanceRouteEntriesRequest::setStatus(const std::string& s
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenChildInstanceRouteEntriesResult::~DescribeCenChildInstanceRouteEntrie
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCenRouteEntries = value["CenRouteEntries"]["CenRouteEntry"];
|
||||
for (auto value : allCenRouteEntries)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCenGeographicSpanRemainingBandwidthRequest::DescribeCenGeographicSpanRem
|
||||
DescribeCenGeographicSpanRemainingBandwidthRequest::~DescribeCenGeographicSpanRemainingBandwidthRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCenGeographicSpanRemainingBandwidthRequest::getGeographicRegionBId()const
|
||||
{
|
||||
return geographicRegionBId_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setGeographicRegionBId(const std::string& geographicRegionBId)
|
||||
{
|
||||
geographicRegionBId_ = geographicRegionBId;
|
||||
setCoreParameter("GeographicRegionBId", geographicRegionBId);
|
||||
}
|
||||
|
||||
long DescribeCenGeographicSpanRemainingBandwidthRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,6 +36,50 @@ void DescribeCenGeographicSpanRemainingBandwidthRequest::setResourceOwnerId(long
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpanRemainingBandwidthRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpanRemainingBandwidthRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpanRemainingBandwidthRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpanRemainingBandwidthRequest::getGeographicRegionBId()const
|
||||
{
|
||||
return geographicRegionBId_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setGeographicRegionBId(const std::string& geographicRegionBId)
|
||||
{
|
||||
geographicRegionBId_ = geographicRegionBId;
|
||||
setCoreParameter("GeographicRegionBId", geographicRegionBId);
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpanRemainingBandwidthRequest::getGeographicRegionAId()const
|
||||
{
|
||||
return geographicRegionAId_;
|
||||
@@ -69,17 +102,6 @@ void DescribeCenGeographicSpanRemainingBandwidthRequest::setResourceOwnerAccount
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpanRemainingBandwidthRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpanRemainingBandwidthRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,17 +113,6 @@ void DescribeCenGeographicSpanRemainingBandwidthRequest::setOwnerAccount(const s
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpanRemainingBandwidthRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenGeographicSpanRemainingBandwidthRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,14 +124,3 @@ void DescribeCenGeographicSpanRemainingBandwidthRequest::setOwnerId(long ownerId
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpanRemainingBandwidthRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenGeographicSpanRemainingBandwidthResult::~DescribeCenGeographicSpanRem
|
||||
|
||||
void DescribeCenGeographicSpanRemainingBandwidthResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RemainingBandwidth"].isNull())
|
||||
remainingBandwidth_ = std::stol(value["RemainingBandwidth"].asString());
|
||||
|
||||
@@ -36,6 +36,17 @@ void DescribeCenGeographicSpansRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpansRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpansRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpansRequest::getGeographicSpanId()const
|
||||
{
|
||||
return geographicSpanId_;
|
||||
@@ -47,6 +58,17 @@ void DescribeCenGeographicSpansRequest::setGeographicSpanId(const std::string& g
|
||||
setCoreParameter("GeographicSpanId", geographicSpanId);
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpansRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpansRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenGeographicSpansRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,17 +91,6 @@ void DescribeCenGeographicSpansRequest::setOwnerAccount(const std::string& owner
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpansRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpansRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenGeographicSpansRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,14 +102,3 @@ void DescribeCenGeographicSpansRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeCenGeographicSpansRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenGeographicSpansRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenGeographicSpansResult::~DescribeCenGeographicSpansResult()
|
||||
|
||||
void DescribeCenGeographicSpansResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGeographicSpanModels = value["GeographicSpanModels"]["GeographicSpanModel"];
|
||||
for (auto value : allGeographicSpanModels)
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeCenInterRegionBandwidthLimitsRequest::setResourceOwnerId(long resou
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenInterRegionBandwidthLimitsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenInterRegionBandwidthLimitsRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,39 +47,6 @@ void DescribeCenInterRegionBandwidthLimitsRequest::setCenId(const std::string& c
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenInterRegionBandwidthLimitsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeCenInterRegionBandwidthLimitsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenInterRegionBandwidthLimitsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeCenInterRegionBandwidthLimitsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -102,3 +58,47 @@ void DescribeCenInterRegionBandwidthLimitsRequest::setPageNumber(int pageNumber)
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenInterRegionBandwidthLimitsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenInterRegionBandwidthLimitsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenInterRegionBandwidthLimitsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenInterRegionBandwidthLimitsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenInterRegionBandwidthLimitsResult::~DescribeCenInterRegionBandwidthLim
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCenInterRegionBandwidthLimits = value["CenInterRegionBandwidthLimits"]["CenInterRegionBandwidthLimit"];
|
||||
for (auto value : allCenInterRegionBandwidthLimits)
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeCenPrivateZoneRoutesRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenPrivateZoneRoutesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenPrivateZoneRoutesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenPrivateZoneRoutesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,28 +47,6 @@ void DescribeCenPrivateZoneRoutesRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
int DescribeCenPrivateZoneRoutesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenPrivateZoneRoutesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenPrivateZoneRoutesRequest::getHostRegionId()const
|
||||
{
|
||||
return hostRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenPrivateZoneRoutesRequest::setHostRegionId(const std::string& hostRegionId)
|
||||
{
|
||||
hostRegionId_ = hostRegionId;
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenPrivateZoneRoutesRequest::getAccessRegionId()const
|
||||
{
|
||||
return accessRegionId_;
|
||||
@@ -102,3 +69,36 @@ void DescribeCenPrivateZoneRoutesRequest::setPageNumber(int pageNumber)
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenPrivateZoneRoutesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenPrivateZoneRoutesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenPrivateZoneRoutesRequest::getHostRegionId()const
|
||||
{
|
||||
return hostRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenPrivateZoneRoutesRequest::setHostRegionId(const std::string& hostRegionId)
|
||||
{
|
||||
hostRegionId_ = hostRegionId;
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenPrivateZoneRoutesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenPrivateZoneRoutesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenPrivateZoneRoutesResult::~DescribeCenPrivateZoneRoutesResult()
|
||||
|
||||
void DescribeCenPrivateZoneRoutesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPrivateZoneInfos = value["PrivateZoneInfos"]["PrivateZoneInfo"];
|
||||
for (auto value : allPrivateZoneInfos)
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeCenRegionDomainRouteEntriesRequest::setResourceOwnerId(long resourc
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,50 +47,6 @@ void DescribeCenRegionDomainRouteEntriesRequest::setCenId(const std::string& cen
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
int DescribeCenRegionDomainRouteEntriesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenRegionDomainRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeCenRegionDomainRouteEntriesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -113,6 +58,61 @@ void DescribeCenRegionDomainRouteEntriesRequest::setPageNumber(int pageNumber)
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenRegionDomainRouteEntriesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenRegionDomainRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenRegionDomainRouteEntriesResult::~DescribeCenRegionDomainRouteEntriesR
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCenRouteEntries = value["CenRouteEntries"]["CenRouteEntry"];
|
||||
for (auto value : allCenRouteEntries)
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeCenRouteMapsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,26 +47,15 @@ void DescribeCenRouteMapsRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getOwnerAccount()const
|
||||
int DescribeCenRouteMapsRequest::getPageNumber()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void DescribeCenRouteMapsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCenRouteMapsRequest::getPageSize()const
|
||||
@@ -91,6 +69,39 @@ void DescribeCenRouteMapsRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getTransmitDirection()const
|
||||
{
|
||||
return transmitDirection_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setTransmitDirection(const std::string& transmitDirection)
|
||||
{
|
||||
transmitDirection_ = transmitDirection;
|
||||
setCoreParameter("TransmitDirection", transmitDirection);
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getRouteMapId()const
|
||||
{
|
||||
return routeMapId_;
|
||||
@@ -113,25 +124,14 @@ void DescribeCenRouteMapsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeCenRouteMapsRequest::getPageNumber()const
|
||||
std::string DescribeCenRouteMapsRequest::getCenRegionId()const
|
||||
{
|
||||
return pageNumber_;
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setPageNumber(int pageNumber)
|
||||
void DescribeCenRouteMapsRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getTransmitDirection()const
|
||||
{
|
||||
return transmitDirection_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setTransmitDirection(const std::string& transmitDirection)
|
||||
{
|
||||
transmitDirection_ = transmitDirection;
|
||||
setCoreParameter("TransmitDirection", transmitDirection);
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenRouteMapsResult::~DescribeCenRouteMapsResult()
|
||||
|
||||
void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRouteMaps = value["RouteMaps"]["RouteMap"];
|
||||
for (auto value : allRouteMaps)
|
||||
@@ -67,8 +63,6 @@ void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
routeMapsObject.cidrMatchMode = value["CidrMatchMode"].asString();
|
||||
if(!value["AsPathMatchMode"].isNull())
|
||||
routeMapsObject.asPathMatchMode = value["AsPathMatchMode"].asString();
|
||||
if(!value["AsPathLength"].isNull())
|
||||
routeMapsObject.asPathLength = std::stoi(value["AsPathLength"].asString());
|
||||
if(!value["CommunityMatchMode"].isNull())
|
||||
routeMapsObject.communityMatchMode = value["CommunityMatchMode"].asString();
|
||||
if(!value["CommunityOperateMode"].isNull())
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeCenVbrHealthCheckRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,72 +47,6 @@ void DescribeCenVbrHealthCheckRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
long DescribeCenVbrHealthCheckRequest::getVbrInstanceOwnerId()const
|
||||
{
|
||||
return vbrInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setVbrInstanceOwnerId(long vbrInstanceOwnerId)
|
||||
{
|
||||
vbrInstanceOwnerId_ = vbrInstanceOwnerId;
|
||||
setCoreParameter("VbrInstanceOwnerId", std::to_string(vbrInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getVbrInstanceId()const
|
||||
{
|
||||
return vbrInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setVbrInstanceId(const std::string& vbrInstanceId)
|
||||
{
|
||||
vbrInstanceId_ = vbrInstanceId;
|
||||
setCoreParameter("VbrInstanceId", vbrInstanceId);
|
||||
}
|
||||
|
||||
int DescribeCenVbrHealthCheckRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenVbrHealthCheckRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getVbrInstanceRegionId()const
|
||||
{
|
||||
return vbrInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setVbrInstanceRegionId(const std::string& vbrInstanceRegionId)
|
||||
{
|
||||
vbrInstanceRegionId_ = vbrInstanceRegionId;
|
||||
setCoreParameter("VbrInstanceRegionId", vbrInstanceRegionId);
|
||||
}
|
||||
|
||||
int DescribeCenVbrHealthCheckRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -135,3 +58,80 @@ void DescribeCenVbrHealthCheckRequest::setPageNumber(int pageNumber)
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long DescribeCenVbrHealthCheckRequest::getVbrInstanceOwnerId()const
|
||||
{
|
||||
return vbrInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setVbrInstanceOwnerId(long vbrInstanceOwnerId)
|
||||
{
|
||||
vbrInstanceOwnerId_ = vbrInstanceOwnerId;
|
||||
setCoreParameter("VbrInstanceOwnerId", std::to_string(vbrInstanceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeCenVbrHealthCheckRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getVbrInstanceRegionId()const
|
||||
{
|
||||
return vbrInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setVbrInstanceRegionId(const std::string& vbrInstanceRegionId)
|
||||
{
|
||||
vbrInstanceRegionId_ = vbrInstanceRegionId;
|
||||
setCoreParameter("VbrInstanceRegionId", vbrInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenVbrHealthCheckRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenVbrHealthCheckRequest::getVbrInstanceId()const
|
||||
{
|
||||
return vbrInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenVbrHealthCheckRequest::setVbrInstanceId(const std::string& vbrInstanceId)
|
||||
{
|
||||
vbrInstanceId_ = vbrInstanceId;
|
||||
setCoreParameter("VbrInstanceId", vbrInstanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCenVbrHealthCheckResult::~DescribeCenVbrHealthCheckResult()
|
||||
|
||||
void DescribeCenVbrHealthCheckResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allVbrHealthChecks = value["VbrHealthChecks"]["VbrHealthCheck"];
|
||||
for (auto value : allVbrHealthChecks)
|
||||
|
||||
@@ -25,23 +25,6 @@ DescribeCensRequest::DescribeCensRequest() :
|
||||
DescribeCensRequest::~DescribeCensRequest()
|
||||
{}
|
||||
|
||||
std::vector<DescribeCensRequest::Filter> DescribeCensRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void DescribeCensRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setCoreParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
long DescribeCensRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -53,26 +36,15 @@ void DescribeCensRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
|
||||
int DescribeCensRequest::getPageNumber()const
|
||||
{
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
|
||||
void DescribeCensRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCensRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCensRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCensRequest::getPageSize()const
|
||||
@@ -103,6 +75,28 @@ void DescribeCensRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeCensRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCensRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCensRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCensRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCensRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -114,14 +108,20 @@ void DescribeCensRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
std::vector<DescribeCensRequest::Filter> DescribeCensRequest::getFilter()const
|
||||
{
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
|
||||
void DescribeCensRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
filter_ = filter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setCoreParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeCensResult::~DescribeCensResult()
|
||||
|
||||
void DescribeCensResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCens = value["Cens"]["Cen"];
|
||||
for (auto value : allCens)
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeChildInstanceRegionsResult::~DescribeChildInstanceRegionsResult()
|
||||
|
||||
void DescribeChildInstanceRegionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRegions = value["Regions"]["Region"];
|
||||
for (auto value : allRegions)
|
||||
|
||||
@@ -36,39 +36,6 @@ void DescribeFlowlogsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getLogStoreName()const
|
||||
{
|
||||
return logStoreName_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setLogStoreName(const std::string& logStoreName)
|
||||
{
|
||||
logStoreName_ = logStoreName;
|
||||
setCoreParameter("LogStoreName", logStoreName);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -91,17 +58,6 @@ void DescribeFlowlogsRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -113,17 +69,6 @@ void DescribeFlowlogsRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long DescribeFlowlogsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeFlowlogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -157,6 +102,61 @@ void DescribeFlowlogsRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getLogStoreName()const
|
||||
{
|
||||
return logStoreName_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setLogStoreName(const std::string& logStoreName)
|
||||
{
|
||||
logStoreName_ = logStoreName;
|
||||
setCoreParameter("LogStoreName", logStoreName);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeFlowlogsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getFlowLogId()const
|
||||
{
|
||||
return flowLogId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeFlowlogsResult::~DescribeFlowlogsResult()
|
||||
|
||||
void DescribeFlowlogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFlowLogs = value["FlowLogs"]["FlowLog"];
|
||||
for (auto value : allFlowLogs)
|
||||
|
||||
@@ -36,6 +36,28 @@ void DescribeGeographicRegionMembershipRequest::setResourceOwnerId(long resource
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeGeographicRegionMembershipRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeGeographicRegionMembershipRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeGeographicRegionMembershipRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeGeographicRegionMembershipRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeGeographicRegionMembershipRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +80,6 @@ void DescribeGeographicRegionMembershipRequest::setOwnerAccount(const std::strin
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeGeographicRegionMembershipRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeGeographicRegionMembershipRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeGeographicRegionMembershipRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -80,17 +91,6 @@ void DescribeGeographicRegionMembershipRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeGeographicRegionMembershipRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeGeographicRegionMembershipRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeGeographicRegionMembershipRequest::getGeographicRegionId()const
|
||||
{
|
||||
return geographicRegionId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeGeographicRegionMembershipResult::~DescribeGeographicRegionMembershipRes
|
||||
|
||||
void DescribeGeographicRegionMembershipResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRegionIds = value["RegionIds"]["RegionId"];
|
||||
for (auto value : allRegionIds)
|
||||
|
||||
@@ -36,15 +36,26 @@ void DescribeGrantRulesToCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getResourceOwnerAccount()const
|
||||
std::string DescribeGrantRulesToCenRequest::getCenId()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DescribeGrantRulesToCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void DescribeGrantRulesToCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeGrantRulesToCenRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getRegionId()const
|
||||
@@ -58,15 +69,15 @@ void DescribeGrantRulesToCenRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getCenId()const
|
||||
std::string DescribeGrantRulesToCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return cenId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeGrantRulesToCenRequest::setCenId(const std::string& cenId)
|
||||
void DescribeGrantRulesToCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getOwnerAccount()const
|
||||
@@ -91,14 +102,3 @@ void DescribeGrantRulesToCenRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeGrantRulesToCenRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeGrantRulesToCenResult::~DescribeGrantRulesToCenResult()
|
||||
|
||||
void DescribeGrantRulesToCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGrantRules = value["GrantRules"]["GrantRule"];
|
||||
for (auto value : allGrantRules)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribePublishedRouteEntriesRequest::DescribePublishedRouteEntriesRequest() :
|
||||
DescribePublishedRouteEntriesRequest::~DescribePublishedRouteEntriesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DescribePublishedRouteEntriesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void DescribePublishedRouteEntriesRequest::setResourceOwnerId(long resourceOwner
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,15 +47,15 @@ void DescribePublishedRouteEntriesRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
int DescribePublishedRouteEntriesRequest::getPageNumber()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
void DescribePublishedRouteEntriesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setCoreParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribePublishedRouteEntriesRequest::getPageSize()const
|
||||
@@ -91,6 +69,39 @@ void DescribePublishedRouteEntriesRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setCoreParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
@@ -102,6 +113,17 @@ void DescribePublishedRouteEntriesRequest::setChildInstanceType(const std::strin
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getChildInstanceRouteTableId()const
|
||||
{
|
||||
return childInstanceRouteTableId_;
|
||||
@@ -113,25 +135,3 @@ void DescribePublishedRouteEntriesRequest::setChildInstanceRouteTableId(const st
|
||||
setCoreParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
|
||||
}
|
||||
|
||||
int DescribePublishedRouteEntriesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribePublishedRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribePublishedRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribePublishedRouteEntriesResult::~DescribePublishedRouteEntriesResult()
|
||||
|
||||
void DescribePublishedRouteEntriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPublishedRouteEntries = value["PublishedRouteEntries"]["PublishedRouteEntry"];
|
||||
for (auto value : allPublishedRouteEntries)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeRouteConflictRequest::DescribeRouteConflictRequest() :
|
||||
DescribeRouteConflictRequest::~DescribeRouteConflictRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRouteConflictRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DescribeRouteConflictRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,6 +36,39 @@ void DescribeRouteConflictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeRouteConflictRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeRouteConflictRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRouteConflictRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeRouteConflictRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -80,17 +102,6 @@ void DescribeRouteConflictRequest::setDestinationCidrBlock(const std::string& de
|
||||
setCoreParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
int DescribeRouteConflictRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeRouteConflictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,6 +124,17 @@ void DescribeRouteConflictRequest::setChildInstanceType(const std::string& child
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string DescribeRouteConflictRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeRouteConflictRequest::getChildInstanceRouteTableId()const
|
||||
{
|
||||
return childInstanceRouteTableId_;
|
||||
@@ -124,25 +146,3 @@ void DescribeRouteConflictRequest::setChildInstanceRouteTableId(const std::strin
|
||||
setCoreParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
|
||||
}
|
||||
|
||||
int DescribeRouteConflictRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeRouteConflictRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeRouteConflictRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeRouteConflictResult::~DescribeRouteConflictResult()
|
||||
|
||||
void DescribeRouteConflictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRouteConflicts = value["RouteConflicts"]["RouteConflict"];
|
||||
for (auto value : allRouteConflicts)
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeRouteServicesInCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeRouteServicesInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeRouteServicesInCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,15 +47,26 @@ void DescribeRouteServicesInCenRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeRouteServicesInCenRequest::getOwnerAccount()const
|
||||
std::string DescribeRouteServicesInCenRequest::getAccessRegionId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessRegionId_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void DescribeRouteServicesInCenRequest::setAccessRegionId(const std::string& accessRegionId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessRegionId_ = accessRegionId;
|
||||
setCoreParameter("AccessRegionId", accessRegionId);
|
||||
}
|
||||
|
||||
int DescribeRouteServicesInCenRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeRouteServicesInCenRequest::getPageSize()const
|
||||
@@ -102,15 +102,37 @@ void DescribeRouteServicesInCenRequest::setHostRegionId(const std::string& hostR
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeRouteServicesInCenRequest::getAccessRegionId()const
|
||||
std::string DescribeRouteServicesInCenRequest::getHostVpcId()const
|
||||
{
|
||||
return accessRegionId_;
|
||||
return hostVpcId_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setAccessRegionId(const std::string& accessRegionId)
|
||||
void DescribeRouteServicesInCenRequest::setHostVpcId(const std::string& hostVpcId)
|
||||
{
|
||||
accessRegionId_ = accessRegionId;
|
||||
setCoreParameter("AccessRegionId", accessRegionId);
|
||||
hostVpcId_ = hostVpcId;
|
||||
setCoreParameter("HostVpcId", hostVpcId);
|
||||
}
|
||||
|
||||
std::string DescribeRouteServicesInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeRouteServicesInCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeRouteServicesInCenRequest::getOwnerId()const
|
||||
@@ -124,14 +146,3 @@ void DescribeRouteServicesInCenRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeRouteServicesInCenRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRouteServicesInCenRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeRouteServicesInCenResult::~DescribeRouteServicesInCenResult()
|
||||
|
||||
void DescribeRouteServicesInCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRouteServiceEntries = value["RouteServiceEntries"]["RouteServiceEntry"];
|
||||
for (auto value : allRouteServiceEntries)
|
||||
|
||||
@@ -25,17 +25,6 @@ DetachCenChildInstanceRequest::DetachCenChildInstanceRequest() :
|
||||
DetachCenChildInstanceRequest::~DetachCenChildInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DetachCenChildInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void DetachCenChildInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,17 +47,6 @@ void DetachCenChildInstanceRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DetachCenChildInstanceRequest::getCenOwnerId()const
|
||||
{
|
||||
return cenOwnerId_;
|
||||
@@ -91,6 +58,39 @@ void DetachCenChildInstanceRequest::setCenOwnerId(long cenOwnerId)
|
||||
setCoreParameter("CenOwnerId", std::to_string(cenOwnerId));
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DetachCenChildInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -124,14 +124,14 @@ void DetachCenChildInstanceRequest::setChildInstanceOwnerId(long childInstanceOw
|
||||
setCoreParameter("ChildInstanceOwnerId", std::to_string(childInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string DetachCenChildInstanceRequest::getChildInstanceRegionId()const
|
||||
std::string DetachCenChildInstanceRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DetachCenChildInstanceRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
void DetachCenChildInstanceRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DetachCenChildInstanceResult::~DetachCenChildInstanceResult()
|
||||
|
||||
void DetachCenChildInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void DisableCenVbrHealthCheckRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DisableCenVbrHealthCheckRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,6 +58,28 @@ void DisableCenVbrHealthCheckRequest::setVbrInstanceOwnerId(long vbrInstanceOwne
|
||||
setCoreParameter("VbrInstanceOwnerId", std::to_string(vbrInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getVbrInstanceRegionId()const
|
||||
{
|
||||
return vbrInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DisableCenVbrHealthCheckRequest::setVbrInstanceRegionId(const std::string& vbrInstanceRegionId)
|
||||
{
|
||||
vbrInstanceRegionId_ = vbrInstanceRegionId;
|
||||
setCoreParameter("VbrInstanceRegionId", vbrInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DisableCenVbrHealthCheckRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -80,17 +91,6 @@ void DisableCenVbrHealthCheckRequest::setOwnerAccount(const std::string& ownerAc
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getVbrInstanceId()const
|
||||
{
|
||||
return vbrInstanceId_;
|
||||
}
|
||||
|
||||
void DisableCenVbrHealthCheckRequest::setVbrInstanceId(const std::string& vbrInstanceId)
|
||||
{
|
||||
vbrInstanceId_ = vbrInstanceId;
|
||||
setCoreParameter("VbrInstanceId", vbrInstanceId);
|
||||
}
|
||||
|
||||
long DisableCenVbrHealthCheckRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,14 +102,14 @@ void DisableCenVbrHealthCheckRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DisableCenVbrHealthCheckRequest::getVbrInstanceRegionId()const
|
||||
std::string DisableCenVbrHealthCheckRequest::getVbrInstanceId()const
|
||||
{
|
||||
return vbrInstanceRegionId_;
|
||||
return vbrInstanceId_;
|
||||
}
|
||||
|
||||
void DisableCenVbrHealthCheckRequest::setVbrInstanceRegionId(const std::string& vbrInstanceRegionId)
|
||||
void DisableCenVbrHealthCheckRequest::setVbrInstanceId(const std::string& vbrInstanceId)
|
||||
{
|
||||
vbrInstanceRegionId_ = vbrInstanceRegionId;
|
||||
setCoreParameter("VbrInstanceRegionId", vbrInstanceRegionId);
|
||||
vbrInstanceId_ = vbrInstanceId;
|
||||
setCoreParameter("VbrInstanceId", vbrInstanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DisableCenVbrHealthCheckResult::~DisableCenVbrHealthCheckResult()
|
||||
|
||||
void DisableCenVbrHealthCheckResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void EnableCenVbrHealthCheckRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,50 +47,6 @@ void EnableCenVbrHealthCheckRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getHealthCheckSourceIp()const
|
||||
{
|
||||
return healthCheckSourceIp_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setHealthCheckSourceIp(const std::string& healthCheckSourceIp)
|
||||
{
|
||||
healthCheckSourceIp_ = healthCheckSourceIp;
|
||||
setCoreParameter("HealthCheckSourceIp", healthCheckSourceIp);
|
||||
}
|
||||
|
||||
long EnableCenVbrHealthCheckRequest::getVbrInstanceOwnerId()const
|
||||
{
|
||||
return vbrInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setVbrInstanceOwnerId(long vbrInstanceOwnerId)
|
||||
{
|
||||
vbrInstanceOwnerId_ = vbrInstanceOwnerId;
|
||||
setCoreParameter("VbrInstanceOwnerId", std::to_string(vbrInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getVbrInstanceId()const
|
||||
{
|
||||
return vbrInstanceId_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setVbrInstanceId(const std::string& vbrInstanceId)
|
||||
{
|
||||
vbrInstanceId_ = vbrInstanceId;
|
||||
setCoreParameter("VbrInstanceId", vbrInstanceId);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getHealthCheckTargetIp()const
|
||||
{
|
||||
return healthCheckTargetIp_;
|
||||
@@ -113,15 +58,15 @@ void EnableCenVbrHealthCheckRequest::setHealthCheckTargetIp(const std::string& h
|
||||
setCoreParameter("HealthCheckTargetIp", healthCheckTargetIp);
|
||||
}
|
||||
|
||||
long EnableCenVbrHealthCheckRequest::getOwnerId()const
|
||||
long EnableCenVbrHealthCheckRequest::getVbrInstanceOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
return vbrInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setOwnerId(long ownerId)
|
||||
void EnableCenVbrHealthCheckRequest::setVbrInstanceOwnerId(long vbrInstanceOwnerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
vbrInstanceOwnerId_ = vbrInstanceOwnerId;
|
||||
setCoreParameter("VbrInstanceOwnerId", std::to_string(vbrInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getVbrInstanceRegionId()const
|
||||
@@ -135,3 +80,58 @@ void EnableCenVbrHealthCheckRequest::setVbrInstanceRegionId(const std::string& v
|
||||
setCoreParameter("VbrInstanceRegionId", vbrInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long EnableCenVbrHealthCheckRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getHealthCheckSourceIp()const
|
||||
{
|
||||
return healthCheckSourceIp_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setHealthCheckSourceIp(const std::string& healthCheckSourceIp)
|
||||
{
|
||||
healthCheckSourceIp_ = healthCheckSourceIp;
|
||||
setCoreParameter("HealthCheckSourceIp", healthCheckSourceIp);
|
||||
}
|
||||
|
||||
std::string EnableCenVbrHealthCheckRequest::getVbrInstanceId()const
|
||||
{
|
||||
return vbrInstanceId_;
|
||||
}
|
||||
|
||||
void EnableCenVbrHealthCheckRequest::setVbrInstanceId(const std::string& vbrInstanceId)
|
||||
{
|
||||
vbrInstanceId_ = vbrInstanceId;
|
||||
setCoreParameter("VbrInstanceId", vbrInstanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ EnableCenVbrHealthCheckResult::~EnableCenVbrHealthCheckResult()
|
||||
|
||||
void EnableCenVbrHealthCheckResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ ModifyCenAttributeRequest::ModifyCenAttributeRequest() :
|
||||
ModifyCenAttributeRequest::~ModifyCenAttributeRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getProtectionLevel()const
|
||||
{
|
||||
return protectionLevel_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setProtectionLevel(const std::string& protectionLevel)
|
||||
{
|
||||
protectionLevel_ = protectionLevel;
|
||||
setCoreParameter("ProtectionLevel", protectionLevel);
|
||||
}
|
||||
|
||||
long ModifyCenAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void ModifyCenAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,28 +47,6 @@ void ModifyCenAttributeRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -102,6 +58,28 @@ void ModifyCenAttributeRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyCenAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,3 +91,25 @@ void ModifyCenAttributeRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getProtectionLevel()const
|
||||
{
|
||||
return protectionLevel_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setProtectionLevel(const std::string& protectionLevel)
|
||||
{
|
||||
protectionLevel_ = protectionLevel;
|
||||
setCoreParameter("ProtectionLevel", protectionLevel);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyCenAttributeResult::~ModifyCenAttributeResult()
|
||||
|
||||
void ModifyCenAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,17 @@ void ModifyCenBandwidthPackageAttributeRequest::setResourceOwnerId(long resource
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -47,17 +58,6 @@ void ModifyCenBandwidthPackageAttributeRequest::setResourceOwnerAccount(const st
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -69,28 +69,6 @@ void ModifyCenBandwidthPackageAttributeRequest::setOwnerAccount(const std::strin
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long ModifyCenBandwidthPackageAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,3 +80,25 @@ void ModifyCenBandwidthPackageAttributeRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyCenBandwidthPackageAttributeResult::~ModifyCenBandwidthPackageAttributeRes
|
||||
|
||||
void ModifyCenBandwidthPackageAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -58,17 +58,6 @@ void ModifyCenBandwidthPackageSpecRequest::setBandwidth(int bandwidth)
|
||||
setCoreParameter("Bandwidth", std::to_string(bandwidth));
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageSpecRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageSpecRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageSpecRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,3 +80,14 @@ void ModifyCenBandwidthPackageSpecRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageSpecRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageSpecRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyCenBandwidthPackageSpecResult::~ModifyCenBandwidthPackageSpecResult()
|
||||
|
||||
void ModifyCenBandwidthPackageSpecResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,18 +25,6 @@ ModifyCenRouteMapRequest::ModifyCenRouteMapRequest() :
|
||||
ModifyCenRouteMapRequest::~ModifyCenRouteMapRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getRouteTypes()const
|
||||
{
|
||||
return routeTypes_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& routeTypes)
|
||||
{
|
||||
routeTypes_ = routeTypes;
|
||||
for(int i = 0; i!= routeTypes.size(); i++)
|
||||
setCoreParameter("RouteTypes."+ std::to_string(i), routeTypes.at(i));
|
||||
}
|
||||
|
||||
long ModifyCenRouteMapRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -48,17 +36,6 @@ void ModifyCenRouteMapRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setCidrMatchMode(const std::string& cidrMatchMode)
|
||||
{
|
||||
cidrMatchMode_ = cidrMatchMode;
|
||||
setCoreParameter("CidrMatchMode", cidrMatchMode);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCommunityMatchMode()const
|
||||
{
|
||||
return communityMatchMode_;
|
||||
@@ -70,17 +47,6 @@ void ModifyCenRouteMapRequest::setCommunityMatchMode(const std::string& communit
|
||||
setCoreParameter("CommunityMatchMode", communityMatchMode);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getMapResult()const
|
||||
{
|
||||
return mapResult_;
|
||||
@@ -92,39 +58,6 @@ void ModifyCenRouteMapRequest::setMapResult(const std::string& mapResult)
|
||||
setCoreParameter("MapResult", mapResult);
|
||||
}
|
||||
|
||||
int ModifyCenRouteMapRequest::getAsPathLength()const
|
||||
{
|
||||
return asPathLength_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setAsPathLength(int asPathLength)
|
||||
{
|
||||
asPathLength_ = asPathLength;
|
||||
setCoreParameter("AsPathLength", std::to_string(asPathLength));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
bool ModifyCenRouteMapRequest::getSourceInstanceIdsReverseMatch()const
|
||||
{
|
||||
return sourceInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch)
|
||||
{
|
||||
sourceInstanceIdsReverseMatch_ = sourceInstanceIdsReverseMatch;
|
||||
setCoreParameter("SourceInstanceIdsReverseMatch", sourceInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
int ModifyCenRouteMapRequest::getNextPriority()const
|
||||
{
|
||||
return nextPriority_;
|
||||
@@ -148,18 +81,6 @@ void ModifyCenRouteMapRequest::setDestinationCidrBlocks(const std::vector<std::s
|
||||
setCoreParameter("DestinationCidrBlocks."+ std::to_string(i), destinationCidrBlocks.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationRouteTableIds()const
|
||||
{
|
||||
return destinationRouteTableIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds)
|
||||
{
|
||||
destinationRouteTableIds_ = destinationRouteTableIds;
|
||||
for(int i = 0; i!= destinationRouteTableIds.size(); i++)
|
||||
setCoreParameter("DestinationRouteTableIds."+ std::to_string(i), destinationRouteTableIds.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getSourceInstanceIds()const
|
||||
{
|
||||
return sourceInstanceIds_;
|
||||
@@ -184,18 +105,6 @@ void ModifyCenRouteMapRequest::setSourceRegionIds(const std::vector<std::string>
|
||||
setCoreParameter("SourceRegionIds."+ std::to_string(i), sourceRegionIds.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationInstanceIds()const
|
||||
{
|
||||
return destinationInstanceIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationInstanceIds(const std::vector<std::string>& destinationInstanceIds)
|
||||
{
|
||||
destinationInstanceIds_ = destinationInstanceIds;
|
||||
for(int i = 0; i!= destinationInstanceIds.size(); i++)
|
||||
setCoreParameter("DestinationInstanceIds."+ std::to_string(i), destinationInstanceIds.at(i));
|
||||
}
|
||||
|
||||
std::vector<int> ModifyCenRouteMapRequest::getMatchAsns()const
|
||||
{
|
||||
return matchAsns_;
|
||||
@@ -208,28 +117,6 @@ void ModifyCenRouteMapRequest::setMatchAsns(const std::vector<int>& matchAsns)
|
||||
setCoreParameter("MatchAsns."+ std::to_string(i), std::to_string(matchAsns.at(i)));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int ModifyCenRouteMapRequest::getPreference()const
|
||||
{
|
||||
return preference_;
|
||||
@@ -241,28 +128,6 @@ void ModifyCenRouteMapRequest::setPreference(int preference)
|
||||
setCoreParameter("Preference", std::to_string(preference));
|
||||
}
|
||||
|
||||
bool ModifyCenRouteMapRequest::getDestinationInstanceIdsReverseMatch()const
|
||||
{
|
||||
return destinationInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationInstanceIdsReverseMatch(bool destinationInstanceIdsReverseMatch)
|
||||
{
|
||||
destinationInstanceIdsReverseMatch_ = destinationInstanceIdsReverseMatch;
|
||||
setCoreParameter("DestinationInstanceIdsReverseMatch", destinationInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getRouteMapId()const
|
||||
{
|
||||
return routeMapId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setRouteMapId(const std::string& routeMapId)
|
||||
{
|
||||
routeMapId_ = routeMapId;
|
||||
setCoreParameter("RouteMapId", routeMapId);
|
||||
}
|
||||
|
||||
long ModifyCenRouteMapRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -309,17 +174,6 @@ void ModifyCenRouteMapRequest::setSourceRouteTableIds(const std::vector<std::str
|
||||
setCoreParameter("SourceRouteTableIds."+ std::to_string(i), sourceRouteTableIds.at(i));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getAsPathMatchMode()const
|
||||
{
|
||||
return asPathMatchMode_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setAsPathMatchMode(const std::string& asPathMatchMode)
|
||||
{
|
||||
asPathMatchMode_ = asPathMatchMode;
|
||||
setCoreParameter("AsPathMatchMode", asPathMatchMode);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getSourceChildInstanceTypes()const
|
||||
{
|
||||
return sourceChildInstanceTypes_;
|
||||
@@ -332,18 +186,6 @@ void ModifyCenRouteMapRequest::setSourceChildInstanceTypes(const std::vector<std
|
||||
setCoreParameter("SourceChildInstanceTypes."+ std::to_string(i), sourceChildInstanceTypes.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getMatchCommunitySet()const
|
||||
{
|
||||
return matchCommunitySet_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setMatchCommunitySet(const std::vector<std::string>& matchCommunitySet)
|
||||
{
|
||||
matchCommunitySet_ = matchCommunitySet;
|
||||
for(int i = 0; i!= matchCommunitySet.size(); i++)
|
||||
setCoreParameter("MatchCommunitySet."+ std::to_string(i), matchCommunitySet.at(i));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCommunityOperateMode()const
|
||||
{
|
||||
return communityOperateMode_;
|
||||
@@ -355,17 +197,6 @@ void ModifyCenRouteMapRequest::setCommunityOperateMode(const std::string& commun
|
||||
setCoreParameter("CommunityOperateMode", communityOperateMode);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getOperateCommunitySet()const
|
||||
{
|
||||
return operateCommunitySet_;
|
||||
@@ -378,3 +209,161 @@ void ModifyCenRouteMapRequest::setOperateCommunitySet(const std::vector<std::str
|
||||
setCoreParameter("OperateCommunitySet."+ std::to_string(i), operateCommunitySet.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getRouteTypes()const
|
||||
{
|
||||
return routeTypes_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& routeTypes)
|
||||
{
|
||||
routeTypes_ = routeTypes;
|
||||
for(int i = 0; i!= routeTypes.size(); i++)
|
||||
setCoreParameter("RouteTypes."+ std::to_string(i), routeTypes.at(i));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setCidrMatchMode(const std::string& cidrMatchMode)
|
||||
{
|
||||
cidrMatchMode_ = cidrMatchMode;
|
||||
setCoreParameter("CidrMatchMode", cidrMatchMode);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
bool ModifyCenRouteMapRequest::getSourceInstanceIdsReverseMatch()const
|
||||
{
|
||||
return sourceInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch)
|
||||
{
|
||||
sourceInstanceIdsReverseMatch_ = sourceInstanceIdsReverseMatch;
|
||||
setCoreParameter("SourceInstanceIdsReverseMatch", sourceInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationRouteTableIds()const
|
||||
{
|
||||
return destinationRouteTableIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds)
|
||||
{
|
||||
destinationRouteTableIds_ = destinationRouteTableIds;
|
||||
for(int i = 0; i!= destinationRouteTableIds.size(); i++)
|
||||
setCoreParameter("DestinationRouteTableIds."+ std::to_string(i), destinationRouteTableIds.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationInstanceIds()const
|
||||
{
|
||||
return destinationInstanceIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationInstanceIds(const std::vector<std::string>& destinationInstanceIds)
|
||||
{
|
||||
destinationInstanceIds_ = destinationInstanceIds;
|
||||
for(int i = 0; i!= destinationInstanceIds.size(); i++)
|
||||
setCoreParameter("DestinationInstanceIds."+ std::to_string(i), destinationInstanceIds.at(i));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
bool ModifyCenRouteMapRequest::getDestinationInstanceIdsReverseMatch()const
|
||||
{
|
||||
return destinationInstanceIdsReverseMatch_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationInstanceIdsReverseMatch(bool destinationInstanceIdsReverseMatch)
|
||||
{
|
||||
destinationInstanceIdsReverseMatch_ = destinationInstanceIdsReverseMatch;
|
||||
setCoreParameter("DestinationInstanceIdsReverseMatch", destinationInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getRouteMapId()const
|
||||
{
|
||||
return routeMapId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setRouteMapId(const std::string& routeMapId)
|
||||
{
|
||||
routeMapId_ = routeMapId;
|
||||
setCoreParameter("RouteMapId", routeMapId);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getAsPathMatchMode()const
|
||||
{
|
||||
return asPathMatchMode_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setAsPathMatchMode(const std::string& asPathMatchMode)
|
||||
{
|
||||
asPathMatchMode_ = asPathMatchMode;
|
||||
setCoreParameter("AsPathMatchMode", asPathMatchMode);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getMatchCommunitySet()const
|
||||
{
|
||||
return matchCommunitySet_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setMatchCommunitySet(const std::vector<std::string>& matchCommunitySet)
|
||||
{
|
||||
matchCommunitySet_ = matchCommunitySet;
|
||||
for(int i = 0; i!= matchCommunitySet.size(); i++)
|
||||
setCoreParameter("MatchCommunitySet."+ std::to_string(i), matchCommunitySet.at(i));
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setCenRegionId(const std::string& cenRegionId)
|
||||
{
|
||||
cenRegionId_ = cenRegionId;
|
||||
setCoreParameter("CenRegionId", cenRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyCenRouteMapResult::~ModifyCenRouteMapResult()
|
||||
|
||||
void ModifyCenRouteMapResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void ModifyFlowLogAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,17 +47,6 @@ void ModifyFlowLogAttributeRequest::setClientToken(const std::string& clientToke
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -80,17 +58,6 @@ void ModifyFlowLogAttributeRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -102,6 +69,39 @@ void ModifyFlowLogAttributeRequest::setDescription(const std::string& descriptio
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyFlowLogAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyFlowLogAttributeResult::~ModifyFlowLogAttributeResult()
|
||||
|
||||
void ModifyFlowLogAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ PublishRouteEntriesRequest::PublishRouteEntriesRequest() :
|
||||
PublishRouteEntriesRequest::~PublishRouteEntriesRequest()
|
||||
{}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void PublishRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long PublishRouteEntriesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void PublishRouteEntriesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void PublishRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,6 +47,28 @@ void PublishRouteEntriesRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void PublishRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void PublishRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
@@ -91,6 +91,17 @@ void PublishRouteEntriesRequest::setChildInstanceType(const std::string& childIn
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void PublishRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getChildInstanceRouteTableId()const
|
||||
{
|
||||
return childInstanceRouteTableId_;
|
||||
@@ -102,14 +113,3 @@ void PublishRouteEntriesRequest::setChildInstanceRouteTableId(const std::string&
|
||||
setCoreParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
|
||||
}
|
||||
|
||||
std::string PublishRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void PublishRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ PublishRouteEntriesResult::~PublishRouteEntriesResult()
|
||||
|
||||
void PublishRouteEntriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,29 +36,6 @@ void ResolveAndRouteServiceInCenRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::vector<std::string> ResolveAndRouteServiceInCenRequest::getAccessRegionIds()const
|
||||
{
|
||||
return accessRegionIds_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setAccessRegionIds(const std::vector<std::string>& accessRegionIds)
|
||||
{
|
||||
accessRegionIds_ = accessRegionIds;
|
||||
for(int i = 0; i!= accessRegionIds.size(); i++)
|
||||
setCoreParameter("AccessRegionIds."+ std::to_string(i), accessRegionIds.at(i));
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -81,15 +58,15 @@ void ResolveAndRouteServiceInCenRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getOwnerAccount()const
|
||||
long ResolveAndRouteServiceInCenRequest::getUpdateInterval()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return updateInterval_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void ResolveAndRouteServiceInCenRequest::setUpdateInterval(long updateInterval)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
updateInterval_ = updateInterval;
|
||||
setCoreParameter("UpdateInterval", std::to_string(updateInterval));
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getHost()const
|
||||
@@ -114,6 +91,39 @@ void ResolveAndRouteServiceInCenRequest::setHostRegionId(const std::string& host
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getHostVpcId()const
|
||||
{
|
||||
return hostVpcId_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setHostVpcId(const std::string& hostVpcId)
|
||||
{
|
||||
hostVpcId_ = hostVpcId;
|
||||
setCoreParameter("HostVpcId", hostVpcId);
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ResolveAndRouteServiceInCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ResolveAndRouteServiceInCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -125,14 +135,15 @@ void ResolveAndRouteServiceInCenRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ResolveAndRouteServiceInCenRequest::getUpdateInterval()const
|
||||
std::vector<std::string> ResolveAndRouteServiceInCenRequest::getAccessRegionIds()const
|
||||
{
|
||||
return updateInterval_;
|
||||
return accessRegionIds_;
|
||||
}
|
||||
|
||||
void ResolveAndRouteServiceInCenRequest::setUpdateInterval(long updateInterval)
|
||||
void ResolveAndRouteServiceInCenRequest::setAccessRegionIds(const std::vector<std::string>& accessRegionIds)
|
||||
{
|
||||
updateInterval_ = updateInterval;
|
||||
setCoreParameter("UpdateInterval", std::to_string(updateInterval));
|
||||
accessRegionIds_ = accessRegionIds;
|
||||
for(int i = 0; i!= accessRegionIds.size(); i++)
|
||||
setCoreParameter("AccessRegionIds."+ std::to_string(i), accessRegionIds.at(i));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ResolveAndRouteServiceInCenResult::~ResolveAndRouteServiceInCenResult()
|
||||
|
||||
void ResolveAndRouteServiceInCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void RoutePrivateZoneInCenToVpcRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,28 +47,6 @@ void RoutePrivateZoneInCenToVpcRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getHostRegionId()const
|
||||
{
|
||||
return hostRegionId_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setHostRegionId(const std::string& hostRegionId)
|
||||
{
|
||||
hostRegionId_ = hostRegionId;
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getAccessRegionId()const
|
||||
{
|
||||
return accessRegionId_;
|
||||
@@ -91,15 +58,15 @@ void RoutePrivateZoneInCenToVpcRequest::setAccessRegionId(const std::string& acc
|
||||
setCoreParameter("AccessRegionId", accessRegionId);
|
||||
}
|
||||
|
||||
long RoutePrivateZoneInCenToVpcRequest::getOwnerId()const
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getHostRegionId()const
|
||||
{
|
||||
return ownerId_;
|
||||
return hostRegionId_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setOwnerId(long ownerId)
|
||||
void RoutePrivateZoneInCenToVpcRequest::setHostRegionId(const std::string& hostRegionId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
hostRegionId_ = hostRegionId;
|
||||
setCoreParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getHostVpcId()const
|
||||
@@ -113,3 +80,36 @@ void RoutePrivateZoneInCenToVpcRequest::setHostVpcId(const std::string& hostVpcI
|
||||
setCoreParameter("HostVpcId", hostVpcId);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RoutePrivateZoneInCenToVpcRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long RoutePrivateZoneInCenToVpcRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RoutePrivateZoneInCenToVpcRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ RoutePrivateZoneInCenToVpcResult::~RoutePrivateZoneInCenToVpcResult()
|
||||
|
||||
void RoutePrivateZoneInCenToVpcResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ SetCenInterRegionBandwidthLimitRequest::SetCenInterRegionBandwidthLimitRequest()
|
||||
SetCenInterRegionBandwidthLimitRequest::~SetCenInterRegionBandwidthLimitRequest()
|
||||
{}
|
||||
|
||||
std::string SetCenInterRegionBandwidthLimitRequest::getLocalRegionId()const
|
||||
{
|
||||
return localRegionId_;
|
||||
}
|
||||
|
||||
void SetCenInterRegionBandwidthLimitRequest::setLocalRegionId(const std::string& localRegionId)
|
||||
{
|
||||
localRegionId_ = localRegionId;
|
||||
setCoreParameter("LocalRegionId", localRegionId);
|
||||
}
|
||||
|
||||
long SetCenInterRegionBandwidthLimitRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void SetCenInterRegionBandwidthLimitRequest::setResourceOwnerId(long resourceOwn
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SetCenInterRegionBandwidthLimitRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SetCenInterRegionBandwidthLimitRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SetCenInterRegionBandwidthLimitRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,6 +47,17 @@ void SetCenInterRegionBandwidthLimitRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string SetCenInterRegionBandwidthLimitRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SetCenInterRegionBandwidthLimitRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SetCenInterRegionBandwidthLimitRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,17 +80,6 @@ void SetCenInterRegionBandwidthLimitRequest::setOppositeRegionId(const std::stri
|
||||
setCoreParameter("OppositeRegionId", oppositeRegionId);
|
||||
}
|
||||
|
||||
long SetCenInterRegionBandwidthLimitRequest::getBandwidthLimit()const
|
||||
{
|
||||
return bandwidthLimit_;
|
||||
}
|
||||
|
||||
void SetCenInterRegionBandwidthLimitRequest::setBandwidthLimit(long bandwidthLimit)
|
||||
{
|
||||
bandwidthLimit_ = bandwidthLimit;
|
||||
setCoreParameter("BandwidthLimit", std::to_string(bandwidthLimit));
|
||||
}
|
||||
|
||||
long SetCenInterRegionBandwidthLimitRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,3 +91,25 @@ void SetCenInterRegionBandwidthLimitRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetCenInterRegionBandwidthLimitRequest::getLocalRegionId()const
|
||||
{
|
||||
return localRegionId_;
|
||||
}
|
||||
|
||||
void SetCenInterRegionBandwidthLimitRequest::setLocalRegionId(const std::string& localRegionId)
|
||||
{
|
||||
localRegionId_ = localRegionId;
|
||||
setCoreParameter("LocalRegionId", localRegionId);
|
||||
}
|
||||
|
||||
long SetCenInterRegionBandwidthLimitRequest::getBandwidthLimit()const
|
||||
{
|
||||
return bandwidthLimit_;
|
||||
}
|
||||
|
||||
void SetCenInterRegionBandwidthLimitRequest::setBandwidthLimit(long bandwidthLimit)
|
||||
{
|
||||
bandwidthLimit_ = bandwidthLimit;
|
||||
setCoreParameter("BandwidthLimit", std::to_string(bandwidthLimit));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ SetCenInterRegionBandwidthLimitResult::~SetCenInterRegionBandwidthLimitResult()
|
||||
|
||||
void SetCenInterRegionBandwidthLimitResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void UnassociateCenBandwidthPackageRequest::setResourceOwnerId(long resourceOwne
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnassociateCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UnassociateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UnassociateCenBandwidthPackageRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,15 +47,15 @@ void UnassociateCenBandwidthPackageRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string UnassociateCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
std::string UnassociateCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UnassociateCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
void UnassociateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UnassociateCenBandwidthPackageRequest::getOwnerAccount()const
|
||||
@@ -91,3 +80,14 @@ void UnassociateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnassociateCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void UnassociateCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setCoreParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ UnassociateCenBandwidthPackageResult::~UnassociateCenBandwidthPackageResult()
|
||||
|
||||
void UnassociateCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void UnroutePrivateZoneInCenToVpcRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnroutePrivateZoneInCenToVpcRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UnroutePrivateZoneInCenToVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UnroutePrivateZoneInCenToVpcRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -58,17 +47,6 @@ void UnroutePrivateZoneInCenToVpcRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string UnroutePrivateZoneInCenToVpcRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UnroutePrivateZoneInCenToVpcRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string UnroutePrivateZoneInCenToVpcRequest::getAccessRegionId()const
|
||||
{
|
||||
return accessRegionId_;
|
||||
@@ -80,6 +58,28 @@ void UnroutePrivateZoneInCenToVpcRequest::setAccessRegionId(const std::string& a
|
||||
setCoreParameter("AccessRegionId", accessRegionId);
|
||||
}
|
||||
|
||||
std::string UnroutePrivateZoneInCenToVpcRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UnroutePrivateZoneInCenToVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UnroutePrivateZoneInCenToVpcRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UnroutePrivateZoneInCenToVpcRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UnroutePrivateZoneInCenToVpcRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ UnroutePrivateZoneInCenToVpcResult::~UnroutePrivateZoneInCenToVpcResult()
|
||||
|
||||
void UnroutePrivateZoneInCenToVpcResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,28 @@ void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long UntagResourcesRequest::getTagOwnerUid()const
|
||||
{
|
||||
return tagOwnerUid_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagOwnerUid(long tagOwnerUid)
|
||||
{
|
||||
tagOwnerUid_ = tagOwnerUid;
|
||||
setCoreParameter("TagOwnerUid", std::to_string(tagOwnerUid));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getTagOwnerBid()const
|
||||
{
|
||||
return tagOwnerBid_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagOwnerBid(const std::string& tagOwnerBid)
|
||||
{
|
||||
tagOwnerBid_ = tagOwnerBid;
|
||||
setCoreParameter("TagOwnerBid", tagOwnerBid);
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
@@ -70,28 +92,6 @@ void UntagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UntagResourcesRequest::getTagOwnerUid()const
|
||||
{
|
||||
return tagOwnerUid_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagOwnerUid(long tagOwnerUid)
|
||||
{
|
||||
tagOwnerUid_ = tagOwnerUid;
|
||||
setCoreParameter("TagOwnerUid", std::to_string(tagOwnerUid));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getTagOwnerBid()const
|
||||
{
|
||||
return tagOwnerBid_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagOwnerBid(const std::string& tagOwnerBid)
|
||||
{
|
||||
tagOwnerBid_ = tagOwnerBid;
|
||||
setCoreParameter("TagOwnerBid", tagOwnerBid);
|
||||
}
|
||||
|
||||
long UntagResourcesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -103,6 +103,17 @@ void UntagResourcesRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey()const
|
||||
{
|
||||
return tagKey_;
|
||||
@@ -115,14 +126,3 @@ void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
setCoreParameter("TagKey."+ std::to_string(i), tagKey.at(i));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ UntagResourcesResult::~UntagResourcesResult()
|
||||
|
||||
void UntagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ WithdrawPublishedRouteEntriesRequest::WithdrawPublishedRouteEntriesRequest() :
|
||||
WithdrawPublishedRouteEntriesRequest::~WithdrawPublishedRouteEntriesRequest()
|
||||
{}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void WithdrawPublishedRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long WithdrawPublishedRouteEntriesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void WithdrawPublishedRouteEntriesRequest::setResourceOwnerId(long resourceOwner
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void WithdrawPublishedRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
@@ -69,6 +47,28 @@ void WithdrawPublishedRouteEntriesRequest::setCenId(const std::string& cenId)
|
||||
setCoreParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void WithdrawPublishedRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void WithdrawPublishedRouteEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
@@ -91,6 +91,17 @@ void WithdrawPublishedRouteEntriesRequest::setChildInstanceType(const std::strin
|
||||
setCoreParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void WithdrawPublishedRouteEntriesRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setCoreParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getChildInstanceRouteTableId()const
|
||||
{
|
||||
return childInstanceRouteTableId_;
|
||||
@@ -102,14 +113,3 @@ void WithdrawPublishedRouteEntriesRequest::setChildInstanceRouteTableId(const st
|
||||
setCoreParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
|
||||
}
|
||||
|
||||
std::string WithdrawPublishedRouteEntriesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void WithdrawPublishedRouteEntriesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setCoreParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ WithdrawPublishedRouteEntriesResult::~WithdrawPublishedRouteEntriesResult()
|
||||
|
||||
void WithdrawPublishedRouteEntriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user