Update ListTransitRouterVpnAttachments fix ResourceType .
This commit is contained in:
@@ -58,6 +58,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getServiceType() const;
|
||||
void setServiceType(const std::string &serviceType);
|
||||
bool getAutoRenew() const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getName() const;
|
||||
@@ -80,6 +82,7 @@ private:
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string serviceType_;
|
||||
bool autoRenew_;
|
||||
std::string name_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
@@ -84,6 +84,8 @@ public:
|
||||
void setDescription(const std::string &description);
|
||||
bool getSourceInstanceIdsReverseMatch() const;
|
||||
void setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch);
|
||||
std::string getGatewayRegionId() const;
|
||||
void setGatewayRegionId(const std::string &gatewayRegionId);
|
||||
std::vector<std::string> getDestinationRouteTableIds() const;
|
||||
void setDestinationRouteTableIds(const std::vector<std::string> &destinationRouteTableIds);
|
||||
std::vector<std::string> getSourceZoneIds() const;
|
||||
@@ -135,6 +137,7 @@ private:
|
||||
std::string cenId_;
|
||||
std::string description_;
|
||||
bool sourceInstanceIdsReverseMatch_;
|
||||
std::string gatewayRegionId_;
|
||||
std::vector<std::string> destinationRouteTableIds_;
|
||||
std::vector<std::string> sourceZoneIds_;
|
||||
std::string transmitDirection_;
|
||||
|
||||
@@ -28,6 +28,12 @@ namespace Cbn {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct TransitRouterCidrList {
|
||||
std::string name;
|
||||
std::string description;
|
||||
std::string cidr;
|
||||
bool publishCidrRoute;
|
||||
};
|
||||
CreateTransitRouterRequest();
|
||||
~CreateTransitRouterRequest();
|
||||
std::string getTransitRouterName() const;
|
||||
@@ -40,6 +46,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getCenId() const;
|
||||
void setCenId(const std::string &cenId);
|
||||
std::vector<TransitRouterCidrList> getTransitRouterCidrList() const;
|
||||
void setTransitRouterCidrList(const std::vector<TransitRouterCidrList> &transitRouterCidrList);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getRegionId() const;
|
||||
@@ -63,6 +71,7 @@ private:
|
||||
std::string serviceMode_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::vector<TransitRouterCidrList> transitRouterCidrList_;
|
||||
std::string type_;
|
||||
std::string regionId_;
|
||||
bool dryRun_;
|
||||
|
||||
@@ -62,6 +62,8 @@ public:
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getTransitRouterAttachmentDescription() const;
|
||||
void setTransitRouterAttachmentDescription(const std::string &transitRouterAttachmentDescription);
|
||||
std::string getAssociateRouteTableId() const;
|
||||
void setAssociateRouteTableId(const std::string &associateRouteTableId);
|
||||
long getVbrOwnerId() const;
|
||||
void setVbrOwnerId(long vbrOwnerId);
|
||||
|
||||
@@ -82,6 +84,7 @@ private:
|
||||
std::string transitRouterId_;
|
||||
std::string resourceType_;
|
||||
std::string transitRouterAttachmentDescription_;
|
||||
std::string associateRouteTableId_;
|
||||
long vbrOwnerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -52,6 +52,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getAutoCreateVpcRoute() const;
|
||||
void setAutoCreateVpcRoute(bool autoCreateVpcRoute);
|
||||
bool getAutoPublishRouteEnabled() const;
|
||||
void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
|
||||
bool getRouteTablePropagationEnabled() const;
|
||||
void setRouteTablePropagationEnabled(bool routeTablePropagationEnabled);
|
||||
bool getDryRun() const;
|
||||
@@ -70,6 +72,8 @@ public:
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getTransitRouterAttachmentDescription() const;
|
||||
void setTransitRouterAttachmentDescription(const std::string &transitRouterAttachmentDescription);
|
||||
std::string getAssociateRouteTableId() const;
|
||||
void setAssociateRouteTableId(const std::string &associateRouteTableId);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
std::string getChargeType() const;
|
||||
@@ -85,6 +89,7 @@ private:
|
||||
std::string transitRouterAttachmentName_;
|
||||
std::string regionId_;
|
||||
bool autoCreateVpcRoute_;
|
||||
bool autoPublishRouteEnabled_;
|
||||
bool routeTablePropagationEnabled_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -94,6 +99,7 @@ private:
|
||||
std::string transitRouterId_;
|
||||
std::string resourceType_;
|
||||
std::string transitRouterAttachmentDescription_;
|
||||
std::string associateRouteTableId_;
|
||||
std::string vpcId_;
|
||||
std::string chargeType_;
|
||||
};
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setNetworkInterfaceIds(const std::vector<std::string> &networkInterfaceIds);
|
||||
std::string getTransitRouterMulticastDomainId() const;
|
||||
void setTransitRouterMulticastDomainId(const std::string &transitRouterMulticastDomainId);
|
||||
std::vector<std::string> getConnectPeerIds() const;
|
||||
void setConnectPeerIds(const std::vector<std::string> &connectPeerIds);
|
||||
std::string getGroupIpAddress() const;
|
||||
void setGroupIpAddress(const std::string &groupIpAddress);
|
||||
bool getDryRun() const;
|
||||
@@ -56,6 +58,7 @@ private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> networkInterfaceIds_;
|
||||
std::string transitRouterMulticastDomainId_;
|
||||
std::vector<std::string> connectPeerIds_;
|
||||
std::string groupIpAddress_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setNetworkInterfaceIds(const std::vector<std::string> &networkInterfaceIds);
|
||||
std::string getTransitRouterMulticastDomainId() const;
|
||||
void setTransitRouterMulticastDomainId(const std::string &transitRouterMulticastDomainId);
|
||||
std::vector<std::string> getConnectPeerIds() const;
|
||||
void setConnectPeerIds(const std::vector<std::string> &connectPeerIds);
|
||||
std::string getGroupIpAddress() const;
|
||||
void setGroupIpAddress(const std::string &groupIpAddress);
|
||||
bool getDryRun() const;
|
||||
@@ -54,6 +56,7 @@ private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> networkInterfaceIds_;
|
||||
std::string transitRouterMulticastDomainId_;
|
||||
std::vector<std::string> connectPeerIds_;
|
||||
std::string groupIpAddress_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -46,30 +46,31 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string geographicSpanId;
|
||||
std::string resourceGroupId;
|
||||
std::string geographicRegionBId;
|
||||
std::string geographicRegionAId;
|
||||
bool isCrossBorder;
|
||||
std::string hasReservationData;
|
||||
std::string businessStatus;
|
||||
std::string reservationInternetChargeType;
|
||||
std::string typeFor95;
|
||||
std::string name;
|
||||
std::string reservationOrderType;
|
||||
std::string bandwidthPackageChargeType;
|
||||
std::string serviceType;
|
||||
long bandwidth;
|
||||
std::string expiredTime;
|
||||
std::string creationTime;
|
||||
std::string ratio;
|
||||
std::vector<std::string> cenIds;
|
||||
std::vector<CenBandwidthPackage::OrginInterRegionBandwidthLimit> orginInterRegionBandwidthLimits;
|
||||
std::string reservationActiveTime;
|
||||
std::string cenBandwidthPackageId;
|
||||
std::string reservationBandwidth;
|
||||
std::vector<CenBandwidthPackage::Tag> tags;
|
||||
std::string status;
|
||||
std::string hasReservationData;
|
||||
std::string reservationInternetChargeType;
|
||||
std::string typeFor95;
|
||||
std::string bandwidthPackageChargeType;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> cenIds;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::string cenId;
|
||||
std::vector<std::string> destinationRegionIds;
|
||||
int nextPriority;
|
||||
std::string gatewayRegionId;
|
||||
std::vector<std::string> prependAsPath;
|
||||
std::string communityMatchMode;
|
||||
std::vector<std::string> srcZoneIds;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setVSwitchIds(const std::vector<std::string> &vSwitchIds);
|
||||
std::string getTransitRouterMulticastDomainId() const;
|
||||
void setTransitRouterMulticastDomainId(const std::string &transitRouterMulticastDomainId);
|
||||
std::vector<std::string> getConnectPeerIds() const;
|
||||
void setConnectPeerIds(const std::vector<std::string> &connectPeerIds);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getGroupIpAddress() const;
|
||||
@@ -64,6 +66,7 @@ private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> vSwitchIds_;
|
||||
std::string transitRouterMulticastDomainId_;
|
||||
std::vector<std::string> connectPeerIds_;
|
||||
std::string nextToken_;
|
||||
std::string groupIpAddress_;
|
||||
std::string resourceId_;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
bool groupMember;
|
||||
std::string vSwitchId;
|
||||
std::string sourceType;
|
||||
std::string connectPeerId;
|
||||
std::string resourceType;
|
||||
std::string networkInterfaceId;
|
||||
long resourceOwnerId;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
std::string createTime;
|
||||
std::string transitRouterRouteEntryNextHopType;
|
||||
std::string transitRouterRouteEntryName;
|
||||
std::string tag;
|
||||
bool operationalMode;
|
||||
std::string transitRouterRouteEntryId;
|
||||
std::string transitRouterRouteEntryStatus;
|
||||
};
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::vector<TransitRouterAttachment::ZoneMapping> zoneMappings;
|
||||
std::string serviceMode;
|
||||
long vpcOwnerId;
|
||||
bool autoPublishRouteEnabled;
|
||||
std::string vpcId;
|
||||
std::string chargeType;
|
||||
std::string creationTime;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
std::string vpnRegionId;
|
||||
std::string creationTime;
|
||||
std::string transitRouterAttachmentName;
|
||||
int resourceType;
|
||||
std::string resourceType;
|
||||
std::string transitRouterAttachmentDescription;
|
||||
std::vector<TransitRouterAttachment::ZoneMapping> zones;
|
||||
std::string transitRouterId;
|
||||
|
||||
@@ -34,9 +34,18 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct TransitRouter
|
||||
{
|
||||
struct TransitRouterCidrListItem
|
||||
{
|
||||
std::string description;
|
||||
std::string cidr;
|
||||
std::string transitRouterCidrId;
|
||||
bool publishCidrRoute;
|
||||
std::string name;
|
||||
};
|
||||
std::string status;
|
||||
std::string type;
|
||||
bool supportMulticast;
|
||||
std::vector<TransitRouter::TransitRouterCidrListItem> transitRouterCidrList;
|
||||
std::string creationTime;
|
||||
std::string cenId;
|
||||
std::string transitRouterDescription;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getServiceType() const;
|
||||
void setServiceType(const std::string &serviceType);
|
||||
std::string getCenBandwidthPackageId() const;
|
||||
void setCenBandwidthPackageId(const std::string &cenBandwidthPackageId);
|
||||
|
||||
@@ -49,6 +51,7 @@ private:
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string serviceType_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -80,6 +80,8 @@ public:
|
||||
void setDescription(const std::string &description);
|
||||
bool getSourceInstanceIdsReverseMatch() const;
|
||||
void setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch);
|
||||
std::string getGatewayRegionId() const;
|
||||
void setGatewayRegionId(const std::string &gatewayRegionId);
|
||||
std::vector<std::string> getDestinationRouteTableIds() const;
|
||||
void setDestinationRouteTableIds(const std::vector<std::string> &destinationRouteTableIds);
|
||||
std::vector<std::string> getSourceZoneIds() const;
|
||||
@@ -129,6 +131,7 @@ private:
|
||||
std::string cenId_;
|
||||
std::string description_;
|
||||
bool sourceInstanceIdsReverseMatch_;
|
||||
std::string gatewayRegionId_;
|
||||
std::vector<std::string> destinationRouteTableIds_;
|
||||
std::vector<std::string> sourceZoneIds_;
|
||||
std::vector<std::string> destinationInstanceIds_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setNetworkInterfaceIds(const std::vector<std::string> &networkInterfaceIds);
|
||||
std::string getTransitRouterMulticastDomainId() const;
|
||||
void setTransitRouterMulticastDomainId(const std::string &transitRouterMulticastDomainId);
|
||||
std::vector<std::string> getConnectPeerIds() const;
|
||||
void setConnectPeerIds(const std::vector<std::string> &connectPeerIds);
|
||||
std::string getGroupIpAddress() const;
|
||||
void setGroupIpAddress(const std::string &groupIpAddress);
|
||||
bool getDryRun() const;
|
||||
@@ -58,6 +60,7 @@ private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> networkInterfaceIds_;
|
||||
std::string transitRouterMulticastDomainId_;
|
||||
std::vector<std::string> connectPeerIds_;
|
||||
std::string groupIpAddress_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setNetworkInterfaceIds(const std::vector<std::string> &networkInterfaceIds);
|
||||
std::string getTransitRouterMulticastDomainId() const;
|
||||
void setTransitRouterMulticastDomainId(const std::string &transitRouterMulticastDomainId);
|
||||
std::vector<std::string> getConnectPeerIds() const;
|
||||
void setConnectPeerIds(const std::vector<std::string> &connectPeerIds);
|
||||
std::string getGroupIpAddress() const;
|
||||
void setGroupIpAddress(const std::string &groupIpAddress);
|
||||
bool getDryRun() const;
|
||||
@@ -56,6 +58,7 @@ private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> networkInterfaceIds_;
|
||||
std::string transitRouterMulticastDomainId_;
|
||||
std::vector<std::string> connectPeerIds_;
|
||||
std::string groupIpAddress_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getTransitRouterAttachmentName() const;
|
||||
void setTransitRouterAttachmentName(const std::string &transitRouterAttachmentName);
|
||||
bool getAutoPublishRouteEnabled() const;
|
||||
void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string transitRouterAttachmentName_;
|
||||
bool autoPublishRouteEnabled_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -151,6 +151,15 @@ void CreateCenBandwidthPackageRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getServiceType() const {
|
||||
return serviceType_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setServiceType(const std::string &serviceType) {
|
||||
serviceType_ = serviceType;
|
||||
setParameter(std::string("ServiceType"), serviceType);
|
||||
}
|
||||
|
||||
bool CreateCenBandwidthPackageRequest::getAutoRenew() const {
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
@@ -257,6 +257,15 @@ void CreateCenRouteMapRequest::setSourceInstanceIdsReverseMatch(bool sourceInsta
|
||||
setParameter(std::string("SourceInstanceIdsReverseMatch"), sourceInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getGatewayRegionId() const {
|
||||
return gatewayRegionId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setGatewayRegionId(const std::string &gatewayRegionId) {
|
||||
gatewayRegionId_ = gatewayRegionId;
|
||||
setParameter(std::string("GatewayRegionId"), gatewayRegionId);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationRouteTableIds() const {
|
||||
return destinationRouteTableIds_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,20 @@ void CreateTransitRouterRequest::setCenId(const std::string &cenId) {
|
||||
setParameter(std::string("CenId"), cenId);
|
||||
}
|
||||
|
||||
std::vector<CreateTransitRouterRequest::TransitRouterCidrList> CreateTransitRouterRequest::getTransitRouterCidrList() const {
|
||||
return transitRouterCidrList_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterRequest::setTransitRouterCidrList(const std::vector<CreateTransitRouterRequest::TransitRouterCidrList> &transitRouterCidrList) {
|
||||
transitRouterCidrList_ = transitRouterCidrList;
|
||||
for(int dep1 = 0; dep1 != transitRouterCidrList.size(); dep1++) {
|
||||
setParameter(std::string("TransitRouterCidrList") + "." + std::to_string(dep1 + 1) + ".Name", transitRouterCidrList[dep1].name);
|
||||
setParameter(std::string("TransitRouterCidrList") + "." + std::to_string(dep1 + 1) + ".Description", transitRouterCidrList[dep1].description);
|
||||
setParameter(std::string("TransitRouterCidrList") + "." + std::to_string(dep1 + 1) + ".Cidr", transitRouterCidrList[dep1].cidr);
|
||||
setParameter(std::string("TransitRouterCidrList") + "." + std::to_string(dep1 + 1) + ".PublishCidrRoute", transitRouterCidrList[dep1].publishCidrRoute ? "true" : "false");
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
@@ -169,6 +169,15 @@ void CreateTransitRouterVbrAttachmentRequest::setTransitRouterAttachmentDescript
|
||||
setParameter(std::string("TransitRouterAttachmentDescription"), transitRouterAttachmentDescription);
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterVbrAttachmentRequest::getAssociateRouteTableId() const {
|
||||
return associateRouteTableId_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterVbrAttachmentRequest::setAssociateRouteTableId(const std::string &associateRouteTableId) {
|
||||
associateRouteTableId_ = associateRouteTableId;
|
||||
setParameter(std::string("AssociateRouteTableId"), associateRouteTableId);
|
||||
}
|
||||
|
||||
long CreateTransitRouterVbrAttachmentRequest::getVbrOwnerId() const {
|
||||
return vbrOwnerId_;
|
||||
}
|
||||
|
||||
@@ -106,6 +106,15 @@ void CreateTransitRouterVpcAttachmentRequest::setAutoCreateVpcRoute(bool autoCre
|
||||
setParameter(std::string("AutoCreateVpcRoute"), autoCreateVpcRoute ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTransitRouterVpcAttachmentRequest::getAutoPublishRouteEnabled() const {
|
||||
return autoPublishRouteEnabled_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterVpcAttachmentRequest::setAutoPublishRouteEnabled(bool autoPublishRouteEnabled) {
|
||||
autoPublishRouteEnabled_ = autoPublishRouteEnabled;
|
||||
setParameter(std::string("AutoPublishRouteEnabled"), autoPublishRouteEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTransitRouterVpcAttachmentRequest::getRouteTablePropagationEnabled() const {
|
||||
return routeTablePropagationEnabled_;
|
||||
}
|
||||
@@ -192,6 +201,15 @@ void CreateTransitRouterVpcAttachmentRequest::setTransitRouterAttachmentDescript
|
||||
setParameter(std::string("TransitRouterAttachmentDescription"), transitRouterAttachmentDescription);
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterVpcAttachmentRequest::getAssociateRouteTableId() const {
|
||||
return associateRouteTableId_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterVpcAttachmentRequest::setAssociateRouteTableId(const std::string &associateRouteTableId) {
|
||||
associateRouteTableId_ = associateRouteTableId;
|
||||
setParameter(std::string("AssociateRouteTableId"), associateRouteTableId);
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterVpcAttachmentRequest::getVpcId() const {
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,14 @@ void DeregisterTransitRouterMulticastGroupMembersRequest::setTransitRouterMultic
|
||||
setParameter(std::string("TransitRouterMulticastDomainId"), transitRouterMulticastDomainId);
|
||||
}
|
||||
|
||||
std::vector<std::string> DeregisterTransitRouterMulticastGroupMembersRequest::getConnectPeerIds() const {
|
||||
return connectPeerIds_;
|
||||
}
|
||||
|
||||
void DeregisterTransitRouterMulticastGroupMembersRequest::setConnectPeerIds(const std::vector<std::string> &connectPeerIds) {
|
||||
connectPeerIds_ = connectPeerIds;
|
||||
}
|
||||
|
||||
std::string DeregisterTransitRouterMulticastGroupMembersRequest::getGroupIpAddress() const {
|
||||
return groupIpAddress_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,14 @@ void DeregisterTransitRouterMulticastGroupSourcesRequest::setTransitRouterMultic
|
||||
setParameter(std::string("TransitRouterMulticastDomainId"), transitRouterMulticastDomainId);
|
||||
}
|
||||
|
||||
std::vector<std::string> DeregisterTransitRouterMulticastGroupSourcesRequest::getConnectPeerIds() const {
|
||||
return connectPeerIds_;
|
||||
}
|
||||
|
||||
void DeregisterTransitRouterMulticastGroupSourcesRequest::setConnectPeerIds(const std::vector<std::string> &connectPeerIds) {
|
||||
connectPeerIds_ = connectPeerIds;
|
||||
}
|
||||
|
||||
std::string DeregisterTransitRouterMulticastGroupSourcesRequest::getGroupIpAddress() const {
|
||||
return groupIpAddress_;
|
||||
}
|
||||
|
||||
@@ -85,6 +85,8 @@ void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
cenBandwidthPackagesObject.name = valueCenBandwidthPackagesCenBandwidthPackage["Name"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["HasReservationData"].isNull())
|
||||
cenBandwidthPackagesObject.hasReservationData = valueCenBandwidthPackagesCenBandwidthPackage["HasReservationData"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ServiceType"].isNull())
|
||||
cenBandwidthPackagesObject.serviceType = valueCenBandwidthPackagesCenBandwidthPackage["ServiceType"].asString();
|
||||
auto allOrginInterRegionBandwidthLimitsNode = valueCenBandwidthPackagesCenBandwidthPackage["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit : allOrginInterRegionBandwidthLimitsNode)
|
||||
{
|
||||
|
||||
@@ -81,6 +81,8 @@ void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
routeMapsObject.matchAddressType = valueRouteMapsRouteMap["MatchAddressType"].asString();
|
||||
if(!valueRouteMapsRouteMap["GatewayZoneId"].isNull())
|
||||
routeMapsObject.gatewayZoneId = valueRouteMapsRouteMap["GatewayZoneId"].asString();
|
||||
if(!valueRouteMapsRouteMap["GatewayRegionId"].isNull())
|
||||
routeMapsObject.gatewayRegionId = valueRouteMapsRouteMap["GatewayRegionId"].asString();
|
||||
auto allSourceRegionIds = value["SourceRegionIds"]["SourceRegionId"];
|
||||
for (auto value : allSourceRegionIds)
|
||||
routeMapsObject.sourceRegionIds.push_back(value.asString());
|
||||
|
||||
@@ -60,6 +60,14 @@ void ListTransitRouterMulticastGroupsRequest::setTransitRouterMulticastDomainId(
|
||||
setParameter(std::string("TransitRouterMulticastDomainId"), transitRouterMulticastDomainId);
|
||||
}
|
||||
|
||||
std::vector<std::string> ListTransitRouterMulticastGroupsRequest::getConnectPeerIds() const {
|
||||
return connectPeerIds_;
|
||||
}
|
||||
|
||||
void ListTransitRouterMulticastGroupsRequest::setConnectPeerIds(const std::vector<std::string> &connectPeerIds) {
|
||||
connectPeerIds_ = connectPeerIds;
|
||||
}
|
||||
|
||||
std::string ListTransitRouterMulticastGroupsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,8 @@ void ListTransitRouterMulticastGroupsResult::parse(const std::string &payload)
|
||||
transitRouterMulticastGroupsObject.resourceOwnerId = std::stol(valueTransitRouterMulticastGroupsTransitRouterMulticastGroup["ResourceOwnerId"].asString());
|
||||
if(!valueTransitRouterMulticastGroupsTransitRouterMulticastGroup["ResourceId"].isNull())
|
||||
transitRouterMulticastGroupsObject.resourceId = valueTransitRouterMulticastGroupsTransitRouterMulticastGroup["ResourceId"].asString();
|
||||
if(!valueTransitRouterMulticastGroupsTransitRouterMulticastGroup["ConnectPeerId"].isNull())
|
||||
transitRouterMulticastGroupsObject.connectPeerId = valueTransitRouterMulticastGroupsTransitRouterMulticastGroup["ConnectPeerId"].asString();
|
||||
transitRouterMulticastGroups_.push_back(transitRouterMulticastGroupsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -61,6 +61,10 @@ void ListTransitRouterRouteEntriesResult::parse(const std::string &payload)
|
||||
transitRouterRouteEntriesObject.transitRouterRouteEntryNextHopId = valueTransitRouterRouteEntriesTransitRouterRouteEntry["TransitRouterRouteEntryNextHopId"].asString();
|
||||
if(!valueTransitRouterRouteEntriesTransitRouterRouteEntry["TransitRouterRouteEntryDescription"].isNull())
|
||||
transitRouterRouteEntriesObject.transitRouterRouteEntryDescription = valueTransitRouterRouteEntriesTransitRouterRouteEntry["TransitRouterRouteEntryDescription"].asString();
|
||||
if(!valueTransitRouterRouteEntriesTransitRouterRouteEntry["OperationalMode"].isNull())
|
||||
transitRouterRouteEntriesObject.operationalMode = valueTransitRouterRouteEntriesTransitRouterRouteEntry["OperationalMode"].asString() == "true";
|
||||
if(!valueTransitRouterRouteEntriesTransitRouterRouteEntry["Tag"].isNull())
|
||||
transitRouterRouteEntriesObject.tag = valueTransitRouterRouteEntriesTransitRouterRouteEntry["Tag"].asString();
|
||||
transitRouterRouteEntries_.push_back(transitRouterRouteEntriesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
|
||||
@@ -65,6 +65,8 @@ void ListTransitRouterVpcAttachmentsResult::parse(const std::string &payload)
|
||||
transitRouterAttachmentsObject.transitRouterAttachmentName = valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["ServiceMode"].isNull())
|
||||
transitRouterAttachmentsObject.serviceMode = valueTransitRouterAttachmentsTransitRouterAttachment["ServiceMode"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["AutoPublishRouteEnabled"].isNull())
|
||||
transitRouterAttachmentsObject.autoPublishRouteEnabled = valueTransitRouterAttachmentsTransitRouterAttachment["AutoPublishRouteEnabled"].asString() == "true";
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["ChargeType"].isNull())
|
||||
transitRouterAttachmentsObject.chargeType = valueTransitRouterAttachmentsTransitRouterAttachment["ChargeType"].asString();
|
||||
auto allZoneMappingsNode = valueTransitRouterAttachmentsTransitRouterAttachment["ZoneMappings"]["ZoneMapping"];
|
||||
|
||||
@@ -52,7 +52,7 @@ void ListTransitRouterVpnAttachmentsResult::parse(const std::string &payload)
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterId"].isNull())
|
||||
transitRouterAttachmentsObject.transitRouterId = valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterId"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["ResourceType"].isNull())
|
||||
transitRouterAttachmentsObject.resourceType = std::stoi(valueTransitRouterAttachmentsTransitRouterAttachment["ResourceType"].asString());
|
||||
transitRouterAttachmentsObject.resourceType = valueTransitRouterAttachmentsTransitRouterAttachment["ResourceType"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["VpnOwnerId"].isNull())
|
||||
transitRouterAttachmentsObject.vpnOwnerId = std::stol(valueTransitRouterAttachmentsTransitRouterAttachment["VpnOwnerId"].asString());
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["VpnId"].isNull())
|
||||
|
||||
@@ -65,6 +65,22 @@ void ListTransitRoutersResult::parse(const std::string &payload)
|
||||
transitRoutersObject.serviceMode = valueTransitRoutersTransitRouter["ServiceMode"].asString();
|
||||
if(!valueTransitRoutersTransitRouter["SupportMulticast"].isNull())
|
||||
transitRoutersObject.supportMulticast = valueTransitRoutersTransitRouter["SupportMulticast"].asString() == "true";
|
||||
auto allTransitRouterCidrListNode = valueTransitRoutersTransitRouter["TransitRouterCidrList"]["TransitRouterCidrListItem"];
|
||||
for (auto valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem : allTransitRouterCidrListNode)
|
||||
{
|
||||
TransitRouter::TransitRouterCidrListItem transitRouterCidrListObject;
|
||||
if(!valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["Cidr"].isNull())
|
||||
transitRouterCidrListObject.cidr = valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["Cidr"].asString();
|
||||
if(!valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["Name"].isNull())
|
||||
transitRouterCidrListObject.name = valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["Name"].asString();
|
||||
if(!valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["Description"].isNull())
|
||||
transitRouterCidrListObject.description = valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["Description"].asString();
|
||||
if(!valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["TransitRouterCidrId"].isNull())
|
||||
transitRouterCidrListObject.transitRouterCidrId = valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["TransitRouterCidrId"].asString();
|
||||
if(!valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["PublishCidrRoute"].isNull())
|
||||
transitRouterCidrListObject.publishCidrRoute = valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["PublishCidrRoute"].asString() == "true";
|
||||
transitRoutersObject.transitRouterCidrList.push_back(transitRouterCidrListObject);
|
||||
}
|
||||
transitRouters_.push_back(transitRoutersObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
@@ -70,6 +70,15 @@ void ModifyCenBandwidthPackageSpecRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageSpecRequest::getServiceType() const {
|
||||
return serviceType_;
|
||||
}
|
||||
|
||||
void ModifyCenBandwidthPackageSpecRequest::setServiceType(const std::string &serviceType) {
|
||||
serviceType_ = serviceType;
|
||||
setParameter(std::string("ServiceType"), serviceType);
|
||||
}
|
||||
|
||||
std::string ModifyCenBandwidthPackageSpecRequest::getCenBandwidthPackageId() const {
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
@@ -239,6 +239,15 @@ void ModifyCenRouteMapRequest::setSourceInstanceIdsReverseMatch(bool sourceInsta
|
||||
setParameter(std::string("SourceInstanceIdsReverseMatch"), sourceInstanceIdsReverseMatch ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getGatewayRegionId() const {
|
||||
return gatewayRegionId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setGatewayRegionId(const std::string &gatewayRegionId) {
|
||||
gatewayRegionId_ = gatewayRegionId;
|
||||
setParameter(std::string("GatewayRegionId"), gatewayRegionId);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationRouteTableIds() const {
|
||||
return destinationRouteTableIds_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,14 @@ void RegisterTransitRouterMulticastGroupMembersRequest::setTransitRouterMulticas
|
||||
setParameter(std::string("TransitRouterMulticastDomainId"), transitRouterMulticastDomainId);
|
||||
}
|
||||
|
||||
std::vector<std::string> RegisterTransitRouterMulticastGroupMembersRequest::getConnectPeerIds() const {
|
||||
return connectPeerIds_;
|
||||
}
|
||||
|
||||
void RegisterTransitRouterMulticastGroupMembersRequest::setConnectPeerIds(const std::vector<std::string> &connectPeerIds) {
|
||||
connectPeerIds_ = connectPeerIds;
|
||||
}
|
||||
|
||||
std::string RegisterTransitRouterMulticastGroupMembersRequest::getGroupIpAddress() const {
|
||||
return groupIpAddress_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,14 @@ void RegisterTransitRouterMulticastGroupSourcesRequest::setTransitRouterMulticas
|
||||
setParameter(std::string("TransitRouterMulticastDomainId"), transitRouterMulticastDomainId);
|
||||
}
|
||||
|
||||
std::vector<std::string> RegisterTransitRouterMulticastGroupSourcesRequest::getConnectPeerIds() const {
|
||||
return connectPeerIds_;
|
||||
}
|
||||
|
||||
void RegisterTransitRouterMulticastGroupSourcesRequest::setConnectPeerIds(const std::vector<std::string> &connectPeerIds) {
|
||||
connectPeerIds_ = connectPeerIds;
|
||||
}
|
||||
|
||||
std::string RegisterTransitRouterMulticastGroupSourcesRequest::getGroupIpAddress() const {
|
||||
return groupIpAddress_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void UpdateTransitRouterVpcAttachmentAttributeRequest::setTransitRouterAttachmen
|
||||
setParameter(std::string("TransitRouterAttachmentName"), transitRouterAttachmentName);
|
||||
}
|
||||
|
||||
bool UpdateTransitRouterVpcAttachmentAttributeRequest::getAutoPublishRouteEnabled() const {
|
||||
return autoPublishRouteEnabled_;
|
||||
}
|
||||
|
||||
void UpdateTransitRouterVpcAttachmentAttributeRequest::setAutoPublishRouteEnabled(bool autoPublishRouteEnabled) {
|
||||
autoPublishRouteEnabled_ = autoPublishRouteEnabled;
|
||||
setParameter(std::string("AutoPublishRouteEnabled"), autoPublishRouteEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
bool UpdateTransitRouterVpcAttachmentAttributeRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user