Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe11ae7d12 | ||
|
|
4095ec22b9 | ||
|
|
2829dacfb2 | ||
|
|
051e0b3a92 | ||
|
|
d85d6f6494 | ||
|
|
353bb56a9b | ||
|
|
c1390eb44e | ||
|
|
e39d422408 | ||
|
|
6c4aa68089 | ||
|
|
de92956a15 | ||
|
|
befec9ee53 | ||
|
|
9ca2a7694b | ||
|
|
caafbf0de9 | ||
|
|
1c7304d44c | ||
|
|
a34003466f | ||
|
|
14dc74bf6a | ||
|
|
2373071165 | ||
|
|
13d4cbf2f9 | ||
|
|
650feae280 | ||
|
|
d1aee32108 | ||
|
|
607556b08a | ||
|
|
28afe651a7 | ||
|
|
096a349c41 | ||
|
|
191dc8eb68 | ||
|
|
7a98ea847f | ||
|
|
d2e8acabaa |
82
CHANGELOG
82
CHANGELOG
@@ -1,3 +1,85 @@
|
||||
2021-11-29 Version: 1.36.956
|
||||
- Add API for unregister sip phone device, masked callee, etc.
|
||||
|
||||
2021-11-29 Version: 1.36.955
|
||||
- Update DescribeCdnSMCertificateDetail.
|
||||
|
||||
2021-11-29 Version: 1.36.954
|
||||
- Update SetDcdnDomainSMCertificate.
|
||||
|
||||
2021-11-29 Version: 1.36.953
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2021-11-26 Version: 1.36.952
|
||||
- Support CEN Qos Apis.
|
||||
- Support TransitRouter Latest Apis.
|
||||
|
||||
2021-11-26 Version: 1.36.951
|
||||
- Update GetSyncResult.
|
||||
|
||||
2021-11-25 Version: 1.36.950
|
||||
- Supported new features etc.
|
||||
|
||||
2021-11-25 Version: 1.36.949
|
||||
- Supported new features etc.
|
||||
|
||||
2021-11-25 Version: 1.36.948
|
||||
- Supported new features for outbound.
|
||||
|
||||
2021-11-25 Version: 1.36.947
|
||||
- Delete some abandoned interface.
|
||||
- Add some interfaces.
|
||||
|
||||
2021-11-25 Version: 1.36.946
|
||||
- Minor changes.
|
||||
|
||||
2021-11-24 Version: 1.36.945
|
||||
- Delete some abandoned interface in SDK.
|
||||
|
||||
2021-11-24 Version: 1.36.944
|
||||
- Set API DescribeVodDomainSrcBpsData to public.
|
||||
|
||||
2021-11-23 Version: 1.36.943
|
||||
- Delete some abandoned interface in SDK.
|
||||
- Add AutoLiveStream series interfaces.
|
||||
- Add UpdateMPUTask, CreateRecordIndexFile interfaces.
|
||||
|
||||
2021-11-23 Version: 1.36.942
|
||||
- Update RecognizeCharacter.
|
||||
|
||||
2021-11-23 Version: 1.36.941
|
||||
- Generated 2016-04-08 for `Emr`.
|
||||
|
||||
2021-11-23 Version: 1.36.940
|
||||
- Fix BdsColdStorage.
|
||||
|
||||
2021-11-23 Version: 1.36.939
|
||||
- Support the IP restrictions in ram policy.
|
||||
|
||||
2021-11-19 Version: 1.36.938
|
||||
- Add site monitoring dial DNS_ match_ rule.
|
||||
|
||||
2021-11-17 Version: 1.36.937
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-16 Version: 1.36.936
|
||||
- Add parameter type HDRType.
|
||||
|
||||
2021-11-16 Version: 1.36.935
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-16 Version: 1.36.934
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-16 Version: 1.36.933
|
||||
- Generated 2017-12-28 for `ddoscoo`.
|
||||
|
||||
2021-11-16 Version: 1.36.932
|
||||
- Update SetCdnDomainSMCertificate.
|
||||
|
||||
2021-11-16 Version: 1.36.931
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-15 Version: 1.36.930
|
||||
- Generated 2020-01-01 for `ddoscoo`.
|
||||
|
||||
|
||||
@@ -23,22 +23,32 @@ set(cbn_public_header
|
||||
set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/ActiveFlowLogRequest.h
|
||||
include/alibabacloud/cbn/model/ActiveFlowLogResult.h
|
||||
include/alibabacloud/cbn/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/AddTraficMatchRuleToTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/AssociateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/AssociateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/AssociateTransitRouterAttachmentWithRouteTableRequest.h
|
||||
include/alibabacloud/cbn/model/AssociateTransitRouterAttachmentWithRouteTableResult.h
|
||||
include/alibabacloud/cbn/model/AttachCenChildInstanceRequest.h
|
||||
include/alibabacloud/cbn/model/AttachCenChildInstanceResult.h
|
||||
include/alibabacloud/cbn/model/CheckTransitRouterServiceRequest.h
|
||||
include/alibabacloud/cbn/model/CheckTransitRouterServiceResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenInterRegionTrafficQosPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenInterRegionTrafficQosPolicyResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/CreateFlowlogRequest.h
|
||||
include/alibabacloud/cbn/model/CreateFlowlogResult.h
|
||||
include/alibabacloud/cbn/model/CreateTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/CreateTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/CreateTransitRouterRequest.h
|
||||
include/alibabacloud/cbn/model/CreateTransitRouterResult.h
|
||||
include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h
|
||||
@@ -57,14 +67,22 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/DeleteCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosPolicyResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosQueueRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosQueueResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/DeleteFlowlogRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteFlowlogResult.h
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterRouteEntryRequest.h
|
||||
@@ -125,8 +143,12 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/EnableCenVbrHealthCheckResult.h
|
||||
include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationRequest.h
|
||||
include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationResult.h
|
||||
include/alibabacloud/cbn/model/ListCenInterRegionTrafficQosPoliciesRequest.h
|
||||
include/alibabacloud/cbn/model/ListCenInterRegionTrafficQosPoliciesResult.h
|
||||
include/alibabacloud/cbn/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/ListTrafficMarkingPoliciesRequest.h
|
||||
include/alibabacloud/cbn/model/ListTrafficMarkingPoliciesResult.h
|
||||
include/alibabacloud/cbn/model/ListTransitRouterAvailableResourceRequest.h
|
||||
include/alibabacloud/cbn/model/ListTransitRouterAvailableResourceResult.h
|
||||
include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h
|
||||
@@ -155,8 +177,16 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/ModifyCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/ModifyFlowLogAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/ModifyFlowLogAttributeResult.h
|
||||
include/alibabacloud/cbn/model/MoveResourceGroupRequest.h
|
||||
include/alibabacloud/cbn/model/MoveResourceGroupResult.h
|
||||
include/alibabacloud/cbn/model/OpenTransitRouterServiceRequest.h
|
||||
include/alibabacloud/cbn/model/OpenTransitRouterServiceResult.h
|
||||
include/alibabacloud/cbn/model/PublishRouteEntriesRequest.h
|
||||
include/alibabacloud/cbn/model/PublishRouteEntriesResult.h
|
||||
include/alibabacloud/cbn/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/ReplaceTransitRouterRouteTableAssociationRequest.h
|
||||
include/alibabacloud/cbn/model/ReplaceTransitRouterRouteTableAssociationResult.h
|
||||
include/alibabacloud/cbn/model/ResolveAndRouteServiceInCenRequest.h
|
||||
include/alibabacloud/cbn/model/ResolveAndRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/RoutePrivateZoneInCenToVpcRequest.h
|
||||
@@ -173,6 +203,12 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/UnroutePrivateZoneInCenToVpcResult.h
|
||||
include/alibabacloud/cbn/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/UntagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosQueueAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UpdateTrafficMarkingPolicyAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateTrafficMarkingPolicyAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UpdateTransitRouterRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateTransitRouterResult.h
|
||||
include/alibabacloud/cbn/model/UpdateTransitRouterPeerAttachmentAttributeRequest.h
|
||||
@@ -192,22 +228,32 @@ set(cbn_src
|
||||
src/CbnClient.cc
|
||||
src/model/ActiveFlowLogRequest.cc
|
||||
src/model/ActiveFlowLogResult.cc
|
||||
src/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.cc
|
||||
src/model/AddTraficMatchRuleToTrafficMarkingPolicyResult.cc
|
||||
src/model/AssociateCenBandwidthPackageRequest.cc
|
||||
src/model/AssociateCenBandwidthPackageResult.cc
|
||||
src/model/AssociateTransitRouterAttachmentWithRouteTableRequest.cc
|
||||
src/model/AssociateTransitRouterAttachmentWithRouteTableResult.cc
|
||||
src/model/AttachCenChildInstanceRequest.cc
|
||||
src/model/AttachCenChildInstanceResult.cc
|
||||
src/model/CheckTransitRouterServiceRequest.cc
|
||||
src/model/CheckTransitRouterServiceResult.cc
|
||||
src/model/CreateCenRequest.cc
|
||||
src/model/CreateCenResult.cc
|
||||
src/model/CreateCenBandwidthPackageRequest.cc
|
||||
src/model/CreateCenBandwidthPackageResult.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToAttachmentRequest.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToAttachmentResult.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/CreateCenInterRegionTrafficQosPolicyRequest.cc
|
||||
src/model/CreateCenInterRegionTrafficQosPolicyResult.cc
|
||||
src/model/CreateCenRouteMapRequest.cc
|
||||
src/model/CreateCenRouteMapResult.cc
|
||||
src/model/CreateFlowlogRequest.cc
|
||||
src/model/CreateFlowlogResult.cc
|
||||
src/model/CreateTrafficMarkingPolicyRequest.cc
|
||||
src/model/CreateTrafficMarkingPolicyResult.cc
|
||||
src/model/CreateTransitRouterRequest.cc
|
||||
src/model/CreateTransitRouterResult.cc
|
||||
src/model/CreateTransitRouterPeerAttachmentRequest.cc
|
||||
@@ -226,14 +272,22 @@ set(cbn_src
|
||||
src/model/DeleteCenResult.cc
|
||||
src/model/DeleteCenBandwidthPackageRequest.cc
|
||||
src/model/DeleteCenBandwidthPackageResult.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToAttachmentResult.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosPolicyRequest.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosPolicyResult.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosQueueRequest.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosQueueResult.cc
|
||||
src/model/DeleteCenRouteMapRequest.cc
|
||||
src/model/DeleteCenRouteMapResult.cc
|
||||
src/model/DeleteFlowlogRequest.cc
|
||||
src/model/DeleteFlowlogResult.cc
|
||||
src/model/DeleteRouteServiceInCenRequest.cc
|
||||
src/model/DeleteRouteServiceInCenResult.cc
|
||||
src/model/DeleteTrafficMarkingPolicyRequest.cc
|
||||
src/model/DeleteTrafficMarkingPolicyResult.cc
|
||||
src/model/DeleteTransitRouterPeerAttachmentRequest.cc
|
||||
src/model/DeleteTransitRouterPeerAttachmentResult.cc
|
||||
src/model/DeleteTransitRouterRouteEntryRequest.cc
|
||||
@@ -294,8 +348,12 @@ set(cbn_src
|
||||
src/model/EnableCenVbrHealthCheckResult.cc
|
||||
src/model/EnableTransitRouterRouteTablePropagationRequest.cc
|
||||
src/model/EnableTransitRouterRouteTablePropagationResult.cc
|
||||
src/model/ListCenInterRegionTrafficQosPoliciesRequest.cc
|
||||
src/model/ListCenInterRegionTrafficQosPoliciesResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ListTrafficMarkingPoliciesRequest.cc
|
||||
src/model/ListTrafficMarkingPoliciesResult.cc
|
||||
src/model/ListTransitRouterAvailableResourceRequest.cc
|
||||
src/model/ListTransitRouterAvailableResourceResult.cc
|
||||
src/model/ListTransitRouterPeerAttachmentsRequest.cc
|
||||
@@ -324,8 +382,16 @@ set(cbn_src
|
||||
src/model/ModifyCenRouteMapResult.cc
|
||||
src/model/ModifyFlowLogAttributeRequest.cc
|
||||
src/model/ModifyFlowLogAttributeResult.cc
|
||||
src/model/MoveResourceGroupRequest.cc
|
||||
src/model/MoveResourceGroupResult.cc
|
||||
src/model/OpenTransitRouterServiceRequest.cc
|
||||
src/model/OpenTransitRouterServiceResult.cc
|
||||
src/model/PublishRouteEntriesRequest.cc
|
||||
src/model/PublishRouteEntriesResult.cc
|
||||
src/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.cc
|
||||
src/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.cc
|
||||
src/model/ReplaceTransitRouterRouteTableAssociationRequest.cc
|
||||
src/model/ReplaceTransitRouterRouteTableAssociationResult.cc
|
||||
src/model/ResolveAndRouteServiceInCenRequest.cc
|
||||
src/model/ResolveAndRouteServiceInCenResult.cc
|
||||
src/model/RoutePrivateZoneInCenToVpcRequest.cc
|
||||
@@ -342,6 +408,12 @@ set(cbn_src
|
||||
src/model/UnroutePrivateZoneInCenToVpcResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosQueueAttributeResult.cc
|
||||
src/model/UpdateTrafficMarkingPolicyAttributeRequest.cc
|
||||
src/model/UpdateTrafficMarkingPolicyAttributeResult.cc
|
||||
src/model/UpdateTransitRouterRequest.cc
|
||||
src/model/UpdateTransitRouterResult.cc
|
||||
src/model/UpdateTransitRouterPeerAttachmentAttributeRequest.cc
|
||||
|
||||
@@ -24,22 +24,32 @@
|
||||
#include "CbnExport.h"
|
||||
#include "model/ActiveFlowLogRequest.h"
|
||||
#include "model/ActiveFlowLogResult.h"
|
||||
#include "model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.h"
|
||||
#include "model/AddTraficMatchRuleToTrafficMarkingPolicyResult.h"
|
||||
#include "model/AssociateCenBandwidthPackageRequest.h"
|
||||
#include "model/AssociateCenBandwidthPackageResult.h"
|
||||
#include "model/AssociateTransitRouterAttachmentWithRouteTableRequest.h"
|
||||
#include "model/AssociateTransitRouterAttachmentWithRouteTableResult.h"
|
||||
#include "model/AttachCenChildInstanceRequest.h"
|
||||
#include "model/AttachCenChildInstanceResult.h"
|
||||
#include "model/CheckTransitRouterServiceRequest.h"
|
||||
#include "model/CheckTransitRouterServiceResult.h"
|
||||
#include "model/CreateCenRequest.h"
|
||||
#include "model/CreateCenResult.h"
|
||||
#include "model/CreateCenBandwidthPackageRequest.h"
|
||||
#include "model/CreateCenBandwidthPackageResult.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToAttachmentRequest.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToAttachmentResult.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/CreateCenInterRegionTrafficQosPolicyRequest.h"
|
||||
#include "model/CreateCenInterRegionTrafficQosPolicyResult.h"
|
||||
#include "model/CreateCenRouteMapRequest.h"
|
||||
#include "model/CreateCenRouteMapResult.h"
|
||||
#include "model/CreateFlowlogRequest.h"
|
||||
#include "model/CreateFlowlogResult.h"
|
||||
#include "model/CreateTrafficMarkingPolicyRequest.h"
|
||||
#include "model/CreateTrafficMarkingPolicyResult.h"
|
||||
#include "model/CreateTransitRouterRequest.h"
|
||||
#include "model/CreateTransitRouterResult.h"
|
||||
#include "model/CreateTransitRouterPeerAttachmentRequest.h"
|
||||
@@ -58,14 +68,22 @@
|
||||
#include "model/DeleteCenResult.h"
|
||||
#include "model/DeleteCenBandwidthPackageRequest.h"
|
||||
#include "model/DeleteCenBandwidthPackageResult.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToAttachmentResult.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosPolicyRequest.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosPolicyResult.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosQueueRequest.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosQueueResult.h"
|
||||
#include "model/DeleteCenRouteMapRequest.h"
|
||||
#include "model/DeleteCenRouteMapResult.h"
|
||||
#include "model/DeleteFlowlogRequest.h"
|
||||
#include "model/DeleteFlowlogResult.h"
|
||||
#include "model/DeleteRouteServiceInCenRequest.h"
|
||||
#include "model/DeleteRouteServiceInCenResult.h"
|
||||
#include "model/DeleteTrafficMarkingPolicyRequest.h"
|
||||
#include "model/DeleteTrafficMarkingPolicyResult.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentRequest.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentResult.h"
|
||||
#include "model/DeleteTransitRouterRouteEntryRequest.h"
|
||||
@@ -126,8 +144,12 @@
|
||||
#include "model/EnableCenVbrHealthCheckResult.h"
|
||||
#include "model/EnableTransitRouterRouteTablePropagationRequest.h"
|
||||
#include "model/EnableTransitRouterRouteTablePropagationResult.h"
|
||||
#include "model/ListCenInterRegionTrafficQosPoliciesRequest.h"
|
||||
#include "model/ListCenInterRegionTrafficQosPoliciesResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ListTrafficMarkingPoliciesRequest.h"
|
||||
#include "model/ListTrafficMarkingPoliciesResult.h"
|
||||
#include "model/ListTransitRouterAvailableResourceRequest.h"
|
||||
#include "model/ListTransitRouterAvailableResourceResult.h"
|
||||
#include "model/ListTransitRouterPeerAttachmentsRequest.h"
|
||||
@@ -156,8 +178,16 @@
|
||||
#include "model/ModifyCenRouteMapResult.h"
|
||||
#include "model/ModifyFlowLogAttributeRequest.h"
|
||||
#include "model/ModifyFlowLogAttributeResult.h"
|
||||
#include "model/MoveResourceGroupRequest.h"
|
||||
#include "model/MoveResourceGroupResult.h"
|
||||
#include "model/OpenTransitRouterServiceRequest.h"
|
||||
#include "model/OpenTransitRouterServiceResult.h"
|
||||
#include "model/PublishRouteEntriesRequest.h"
|
||||
#include "model/PublishRouteEntriesResult.h"
|
||||
#include "model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.h"
|
||||
#include "model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.h"
|
||||
#include "model/ReplaceTransitRouterRouteTableAssociationRequest.h"
|
||||
#include "model/ReplaceTransitRouterRouteTableAssociationResult.h"
|
||||
#include "model/ResolveAndRouteServiceInCenRequest.h"
|
||||
#include "model/ResolveAndRouteServiceInCenResult.h"
|
||||
#include "model/RoutePrivateZoneInCenToVpcRequest.h"
|
||||
@@ -174,6 +204,12 @@
|
||||
#include "model/UnroutePrivateZoneInCenToVpcResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosQueueAttributeResult.h"
|
||||
#include "model/UpdateTrafficMarkingPolicyAttributeRequest.h"
|
||||
#include "model/UpdateTrafficMarkingPolicyAttributeResult.h"
|
||||
#include "model/UpdateTransitRouterRequest.h"
|
||||
#include "model/UpdateTransitRouterResult.h"
|
||||
#include "model/UpdateTransitRouterPeerAttachmentAttributeRequest.h"
|
||||
@@ -200,6 +236,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ActiveFlowLogResult> ActiveFlowLogOutcome;
|
||||
typedef std::future<ActiveFlowLogOutcome> ActiveFlowLogOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ActiveFlowLogRequest&, const ActiveFlowLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveFlowLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddTraficMatchRuleToTrafficMarkingPolicyResult> AddTraficMatchRuleToTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<AddTraficMatchRuleToTrafficMarkingPolicyOutcome> AddTraficMatchRuleToTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest&, const AddTraficMatchRuleToTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTraficMatchRuleToTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssociateCenBandwidthPackageResult> AssociateCenBandwidthPackageOutcome;
|
||||
typedef std::future<AssociateCenBandwidthPackageOutcome> AssociateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AssociateCenBandwidthPackageRequest&, const AssociateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateCenBandwidthPackageAsyncHandler;
|
||||
@@ -209,21 +248,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AttachCenChildInstanceResult> AttachCenChildInstanceOutcome;
|
||||
typedef std::future<AttachCenChildInstanceOutcome> AttachCenChildInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AttachCenChildInstanceRequest&, const AttachCenChildInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachCenChildInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckTransitRouterServiceResult> CheckTransitRouterServiceOutcome;
|
||||
typedef std::future<CheckTransitRouterServiceOutcome> CheckTransitRouterServiceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CheckTransitRouterServiceRequest&, const CheckTransitRouterServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckTransitRouterServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenResult> CreateCenOutcome;
|
||||
typedef std::future<CreateCenOutcome> CreateCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRequest&, const CreateCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenBandwidthPackageResult> CreateCenBandwidthPackageOutcome;
|
||||
typedef std::future<CreateCenBandwidthPackageOutcome> CreateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenBandwidthPackageRequest&, const CreateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenChildInstanceRouteEntryToAttachmentResult> CreateCenChildInstanceRouteEntryToAttachmentOutcome;
|
||||
typedef std::future<CreateCenChildInstanceRouteEntryToAttachmentOutcome> CreateCenChildInstanceRouteEntryToAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest&, const CreateCenChildInstanceRouteEntryToAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenChildInstanceRouteEntryToAttachmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenChildInstanceRouteEntryToCenResult> CreateCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<CreateCenChildInstanceRouteEntryToCenOutcome> CreateCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenChildInstanceRouteEntryToCenRequest&, const CreateCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenInterRegionTrafficQosPolicyResult> CreateCenInterRegionTrafficQosPolicyOutcome;
|
||||
typedef std::future<CreateCenInterRegionTrafficQosPolicyOutcome> CreateCenInterRegionTrafficQosPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenInterRegionTrafficQosPolicyRequest&, const CreateCenInterRegionTrafficQosPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenInterRegionTrafficQosPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenRouteMapResult> CreateCenRouteMapOutcome;
|
||||
typedef std::future<CreateCenRouteMapOutcome> CreateCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRouteMapRequest&, const CreateCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenRouteMapAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFlowlogResult> CreateFlowlogOutcome;
|
||||
typedef std::future<CreateFlowlogOutcome> CreateFlowlogOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateFlowlogRequest&, const CreateFlowlogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFlowlogAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrafficMarkingPolicyResult> CreateTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<CreateTrafficMarkingPolicyOutcome> CreateTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTrafficMarkingPolicyRequest&, const CreateTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTransitRouterResult> CreateTransitRouterOutcome;
|
||||
typedef std::future<CreateTransitRouterOutcome> CreateTransitRouterOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterRequest&, const CreateTransitRouterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterAsyncHandler;
|
||||
@@ -251,9 +302,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCenBandwidthPackageResult> DeleteCenBandwidthPackageOutcome;
|
||||
typedef std::future<DeleteCenBandwidthPackageOutcome> DeleteCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenBandwidthPackageRequest&, const DeleteCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenChildInstanceRouteEntryToAttachmentResult> DeleteCenChildInstanceRouteEntryToAttachmentOutcome;
|
||||
typedef std::future<DeleteCenChildInstanceRouteEntryToAttachmentOutcome> DeleteCenChildInstanceRouteEntryToAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest&, const DeleteCenChildInstanceRouteEntryToAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenChildInstanceRouteEntryToAttachmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenChildInstanceRouteEntryToCenResult> DeleteCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<DeleteCenChildInstanceRouteEntryToCenOutcome> DeleteCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenChildInstanceRouteEntryToCenRequest&, const DeleteCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenInterRegionTrafficQosPolicyResult> DeleteCenInterRegionTrafficQosPolicyOutcome;
|
||||
typedef std::future<DeleteCenInterRegionTrafficQosPolicyOutcome> DeleteCenInterRegionTrafficQosPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenInterRegionTrafficQosPolicyRequest&, const DeleteCenInterRegionTrafficQosPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenInterRegionTrafficQosPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenInterRegionTrafficQosQueueResult> DeleteCenInterRegionTrafficQosQueueOutcome;
|
||||
typedef std::future<DeleteCenInterRegionTrafficQosQueueOutcome> DeleteCenInterRegionTrafficQosQueueOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenInterRegionTrafficQosQueueRequest&, const DeleteCenInterRegionTrafficQosQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenInterRegionTrafficQosQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenRouteMapResult> DeleteCenRouteMapOutcome;
|
||||
typedef std::future<DeleteCenRouteMapOutcome> DeleteCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenRouteMapRequest&, const DeleteCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenRouteMapAsyncHandler;
|
||||
@@ -263,6 +323,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteRouteServiceInCenResult> DeleteRouteServiceInCenOutcome;
|
||||
typedef std::future<DeleteRouteServiceInCenOutcome> DeleteRouteServiceInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteRouteServiceInCenRequest&, const DeleteRouteServiceInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouteServiceInCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTrafficMarkingPolicyResult> DeleteTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<DeleteTrafficMarkingPolicyOutcome> DeleteTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTrafficMarkingPolicyRequest&, const DeleteTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterPeerAttachmentResult> DeleteTransitRouterPeerAttachmentOutcome;
|
||||
typedef std::future<DeleteTransitRouterPeerAttachmentOutcome> DeleteTransitRouterPeerAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterPeerAttachmentRequest&, const DeleteTransitRouterPeerAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterPeerAttachmentAsyncHandler;
|
||||
@@ -353,9 +416,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::EnableTransitRouterRouteTablePropagationResult> EnableTransitRouterRouteTablePropagationOutcome;
|
||||
typedef std::future<EnableTransitRouterRouteTablePropagationOutcome> EnableTransitRouterRouteTablePropagationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::EnableTransitRouterRouteTablePropagationRequest&, const EnableTransitRouterRouteTablePropagationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableTransitRouterRouteTablePropagationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCenInterRegionTrafficQosPoliciesResult> ListCenInterRegionTrafficQosPoliciesOutcome;
|
||||
typedef std::future<ListCenInterRegionTrafficQosPoliciesOutcome> ListCenInterRegionTrafficQosPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListCenInterRegionTrafficQosPoliciesRequest&, const ListCenInterRegionTrafficQosPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCenInterRegionTrafficQosPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTrafficMarkingPoliciesResult> ListTrafficMarkingPoliciesOutcome;
|
||||
typedef std::future<ListTrafficMarkingPoliciesOutcome> ListTrafficMarkingPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTrafficMarkingPoliciesRequest&, const ListTrafficMarkingPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTrafficMarkingPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTransitRouterAvailableResourceResult> ListTransitRouterAvailableResourceOutcome;
|
||||
typedef std::future<ListTransitRouterAvailableResourceOutcome> ListTransitRouterAvailableResourceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterAvailableResourceRequest&, const ListTransitRouterAvailableResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterAvailableResourceAsyncHandler;
|
||||
@@ -398,9 +467,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyFlowLogAttributeResult> ModifyFlowLogAttributeOutcome;
|
||||
typedef std::future<ModifyFlowLogAttributeOutcome> ModifyFlowLogAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ModifyFlowLogAttributeRequest&, const ModifyFlowLogAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyFlowLogAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveResourceGroupResult> MoveResourceGroupOutcome;
|
||||
typedef std::future<MoveResourceGroupOutcome> MoveResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::MoveResourceGroupRequest&, const MoveResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenTransitRouterServiceResult> OpenTransitRouterServiceOutcome;
|
||||
typedef std::future<OpenTransitRouterServiceOutcome> OpenTransitRouterServiceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::OpenTransitRouterServiceRequest&, const OpenTransitRouterServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenTransitRouterServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishRouteEntriesResult> PublishRouteEntriesOutcome;
|
||||
typedef std::future<PublishRouteEntriesOutcome> PublishRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::PublishRouteEntriesRequest&, const PublishRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishRouteEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyResult> RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome> RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest&, const RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTraficMatchRuleFromTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReplaceTransitRouterRouteTableAssociationResult> ReplaceTransitRouterRouteTableAssociationOutcome;
|
||||
typedef std::future<ReplaceTransitRouterRouteTableAssociationOutcome> ReplaceTransitRouterRouteTableAssociationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ReplaceTransitRouterRouteTableAssociationRequest&, const ReplaceTransitRouterRouteTableAssociationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceTransitRouterRouteTableAssociationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResolveAndRouteServiceInCenResult> ResolveAndRouteServiceInCenOutcome;
|
||||
typedef std::future<ResolveAndRouteServiceInCenOutcome> ResolveAndRouteServiceInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ResolveAndRouteServiceInCenRequest&, const ResolveAndRouteServiceInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResolveAndRouteServiceInCenAsyncHandler;
|
||||
@@ -425,6 +506,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCenInterRegionTrafficQosPolicyAttributeResult> UpdateCenInterRegionTrafficQosPolicyAttributeOutcome;
|
||||
typedef std::future<UpdateCenInterRegionTrafficQosPolicyAttributeOutcome> UpdateCenInterRegionTrafficQosPolicyAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest&, const UpdateCenInterRegionTrafficQosPolicyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCenInterRegionTrafficQosPolicyAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCenInterRegionTrafficQosQueueAttributeResult> UpdateCenInterRegionTrafficQosQueueAttributeOutcome;
|
||||
typedef std::future<UpdateCenInterRegionTrafficQosQueueAttributeOutcome> UpdateCenInterRegionTrafficQosQueueAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest&, const UpdateCenInterRegionTrafficQosQueueAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCenInterRegionTrafficQosQueueAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTrafficMarkingPolicyAttributeResult> UpdateTrafficMarkingPolicyAttributeOutcome;
|
||||
typedef std::future<UpdateTrafficMarkingPolicyAttributeOutcome> UpdateTrafficMarkingPolicyAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateTrafficMarkingPolicyAttributeRequest&, const UpdateTrafficMarkingPolicyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTrafficMarkingPolicyAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTransitRouterResult> UpdateTransitRouterOutcome;
|
||||
typedef std::future<UpdateTransitRouterOutcome> UpdateTransitRouterOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterRequest&, const UpdateTransitRouterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterAsyncHandler;
|
||||
@@ -454,6 +544,9 @@ namespace AlibabaCloud
|
||||
ActiveFlowLogOutcome activeFlowLog(const Model::ActiveFlowLogRequest &request)const;
|
||||
void activeFlowLogAsync(const Model::ActiveFlowLogRequest& request, const ActiveFlowLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveFlowLogOutcomeCallable activeFlowLogCallable(const Model::ActiveFlowLogRequest& request) const;
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyOutcome addTraficMatchRuleToTrafficMarkingPolicy(const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest &request)const;
|
||||
void addTraficMatchRuleToTrafficMarkingPolicyAsync(const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest& request, const AddTraficMatchRuleToTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyOutcomeCallable addTraficMatchRuleToTrafficMarkingPolicyCallable(const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest& request) const;
|
||||
AssociateCenBandwidthPackageOutcome associateCenBandwidthPackage(const Model::AssociateCenBandwidthPackageRequest &request)const;
|
||||
void associateCenBandwidthPackageAsync(const Model::AssociateCenBandwidthPackageRequest& request, const AssociateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssociateCenBandwidthPackageOutcomeCallable associateCenBandwidthPackageCallable(const Model::AssociateCenBandwidthPackageRequest& request) const;
|
||||
@@ -463,21 +556,33 @@ namespace AlibabaCloud
|
||||
AttachCenChildInstanceOutcome attachCenChildInstance(const Model::AttachCenChildInstanceRequest &request)const;
|
||||
void attachCenChildInstanceAsync(const Model::AttachCenChildInstanceRequest& request, const AttachCenChildInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachCenChildInstanceOutcomeCallable attachCenChildInstanceCallable(const Model::AttachCenChildInstanceRequest& request) const;
|
||||
CheckTransitRouterServiceOutcome checkTransitRouterService(const Model::CheckTransitRouterServiceRequest &request)const;
|
||||
void checkTransitRouterServiceAsync(const Model::CheckTransitRouterServiceRequest& request, const CheckTransitRouterServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckTransitRouterServiceOutcomeCallable checkTransitRouterServiceCallable(const Model::CheckTransitRouterServiceRequest& request) const;
|
||||
CreateCenOutcome createCen(const Model::CreateCenRequest &request)const;
|
||||
void createCenAsync(const Model::CreateCenRequest& request, const CreateCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenOutcomeCallable createCenCallable(const Model::CreateCenRequest& request) const;
|
||||
CreateCenBandwidthPackageOutcome createCenBandwidthPackage(const Model::CreateCenBandwidthPackageRequest &request)const;
|
||||
void createCenBandwidthPackageAsync(const Model::CreateCenBandwidthPackageRequest& request, const CreateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenBandwidthPackageOutcomeCallable createCenBandwidthPackageCallable(const Model::CreateCenBandwidthPackageRequest& request) const;
|
||||
CreateCenChildInstanceRouteEntryToAttachmentOutcome createCenChildInstanceRouteEntryToAttachment(const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest &request)const;
|
||||
void createCenChildInstanceRouteEntryToAttachmentAsync(const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest& request, const CreateCenChildInstanceRouteEntryToAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenChildInstanceRouteEntryToAttachmentOutcomeCallable createCenChildInstanceRouteEntryToAttachmentCallable(const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest& request) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcome createCenChildInstanceRouteEntryToCen(const Model::CreateCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void createCenChildInstanceRouteEntryToCenAsync(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request, const CreateCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcomeCallable createCenChildInstanceRouteEntryToCenCallable(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
CreateCenInterRegionTrafficQosPolicyOutcome createCenInterRegionTrafficQosPolicy(const Model::CreateCenInterRegionTrafficQosPolicyRequest &request)const;
|
||||
void createCenInterRegionTrafficQosPolicyAsync(const Model::CreateCenInterRegionTrafficQosPolicyRequest& request, const CreateCenInterRegionTrafficQosPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenInterRegionTrafficQosPolicyOutcomeCallable createCenInterRegionTrafficQosPolicyCallable(const Model::CreateCenInterRegionTrafficQosPolicyRequest& request) const;
|
||||
CreateCenRouteMapOutcome createCenRouteMap(const Model::CreateCenRouteMapRequest &request)const;
|
||||
void createCenRouteMapAsync(const Model::CreateCenRouteMapRequest& request, const CreateCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenRouteMapOutcomeCallable createCenRouteMapCallable(const Model::CreateCenRouteMapRequest& request) const;
|
||||
CreateFlowlogOutcome createFlowlog(const Model::CreateFlowlogRequest &request)const;
|
||||
void createFlowlogAsync(const Model::CreateFlowlogRequest& request, const CreateFlowlogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFlowlogOutcomeCallable createFlowlogCallable(const Model::CreateFlowlogRequest& request) const;
|
||||
CreateTrafficMarkingPolicyOutcome createTrafficMarkingPolicy(const Model::CreateTrafficMarkingPolicyRequest &request)const;
|
||||
void createTrafficMarkingPolicyAsync(const Model::CreateTrafficMarkingPolicyRequest& request, const CreateTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrafficMarkingPolicyOutcomeCallable createTrafficMarkingPolicyCallable(const Model::CreateTrafficMarkingPolicyRequest& request) const;
|
||||
CreateTransitRouterOutcome createTransitRouter(const Model::CreateTransitRouterRequest &request)const;
|
||||
void createTransitRouterAsync(const Model::CreateTransitRouterRequest& request, const CreateTransitRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransitRouterOutcomeCallable createTransitRouterCallable(const Model::CreateTransitRouterRequest& request) const;
|
||||
@@ -505,9 +610,18 @@ namespace AlibabaCloud
|
||||
DeleteCenBandwidthPackageOutcome deleteCenBandwidthPackage(const Model::DeleteCenBandwidthPackageRequest &request)const;
|
||||
void deleteCenBandwidthPackageAsync(const Model::DeleteCenBandwidthPackageRequest& request, const DeleteCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenBandwidthPackageOutcomeCallable deleteCenBandwidthPackageCallable(const Model::DeleteCenBandwidthPackageRequest& request) const;
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentOutcome deleteCenChildInstanceRouteEntryToAttachment(const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest &request)const;
|
||||
void deleteCenChildInstanceRouteEntryToAttachmentAsync(const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest& request, const DeleteCenChildInstanceRouteEntryToAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentOutcomeCallable deleteCenChildInstanceRouteEntryToAttachmentCallable(const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest& request) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcome deleteCenChildInstanceRouteEntryToCen(const Model::DeleteCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void deleteCenChildInstanceRouteEntryToCenAsync(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request, const DeleteCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcomeCallable deleteCenChildInstanceRouteEntryToCenCallable(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
DeleteCenInterRegionTrafficQosPolicyOutcome deleteCenInterRegionTrafficQosPolicy(const Model::DeleteCenInterRegionTrafficQosPolicyRequest &request)const;
|
||||
void deleteCenInterRegionTrafficQosPolicyAsync(const Model::DeleteCenInterRegionTrafficQosPolicyRequest& request, const DeleteCenInterRegionTrafficQosPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenInterRegionTrafficQosPolicyOutcomeCallable deleteCenInterRegionTrafficQosPolicyCallable(const Model::DeleteCenInterRegionTrafficQosPolicyRequest& request) const;
|
||||
DeleteCenInterRegionTrafficQosQueueOutcome deleteCenInterRegionTrafficQosQueue(const Model::DeleteCenInterRegionTrafficQosQueueRequest &request)const;
|
||||
void deleteCenInterRegionTrafficQosQueueAsync(const Model::DeleteCenInterRegionTrafficQosQueueRequest& request, const DeleteCenInterRegionTrafficQosQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenInterRegionTrafficQosQueueOutcomeCallable deleteCenInterRegionTrafficQosQueueCallable(const Model::DeleteCenInterRegionTrafficQosQueueRequest& request) const;
|
||||
DeleteCenRouteMapOutcome deleteCenRouteMap(const Model::DeleteCenRouteMapRequest &request)const;
|
||||
void deleteCenRouteMapAsync(const Model::DeleteCenRouteMapRequest& request, const DeleteCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenRouteMapOutcomeCallable deleteCenRouteMapCallable(const Model::DeleteCenRouteMapRequest& request) const;
|
||||
@@ -517,6 +631,9 @@ namespace AlibabaCloud
|
||||
DeleteRouteServiceInCenOutcome deleteRouteServiceInCen(const Model::DeleteRouteServiceInCenRequest &request)const;
|
||||
void deleteRouteServiceInCenAsync(const Model::DeleteRouteServiceInCenRequest& request, const DeleteRouteServiceInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRouteServiceInCenOutcomeCallable deleteRouteServiceInCenCallable(const Model::DeleteRouteServiceInCenRequest& request) const;
|
||||
DeleteTrafficMarkingPolicyOutcome deleteTrafficMarkingPolicy(const Model::DeleteTrafficMarkingPolicyRequest &request)const;
|
||||
void deleteTrafficMarkingPolicyAsync(const Model::DeleteTrafficMarkingPolicyRequest& request, const DeleteTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTrafficMarkingPolicyOutcomeCallable deleteTrafficMarkingPolicyCallable(const Model::DeleteTrafficMarkingPolicyRequest& request) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcome deleteTransitRouterPeerAttachment(const Model::DeleteTransitRouterPeerAttachmentRequest &request)const;
|
||||
void deleteTransitRouterPeerAttachmentAsync(const Model::DeleteTransitRouterPeerAttachmentRequest& request, const DeleteTransitRouterPeerAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcomeCallable deleteTransitRouterPeerAttachmentCallable(const Model::DeleteTransitRouterPeerAttachmentRequest& request) const;
|
||||
@@ -607,9 +724,15 @@ namespace AlibabaCloud
|
||||
EnableTransitRouterRouteTablePropagationOutcome enableTransitRouterRouteTablePropagation(const Model::EnableTransitRouterRouteTablePropagationRequest &request)const;
|
||||
void enableTransitRouterRouteTablePropagationAsync(const Model::EnableTransitRouterRouteTablePropagationRequest& request, const EnableTransitRouterRouteTablePropagationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableTransitRouterRouteTablePropagationOutcomeCallable enableTransitRouterRouteTablePropagationCallable(const Model::EnableTransitRouterRouteTablePropagationRequest& request) const;
|
||||
ListCenInterRegionTrafficQosPoliciesOutcome listCenInterRegionTrafficQosPolicies(const Model::ListCenInterRegionTrafficQosPoliciesRequest &request)const;
|
||||
void listCenInterRegionTrafficQosPoliciesAsync(const Model::ListCenInterRegionTrafficQosPoliciesRequest& request, const ListCenInterRegionTrafficQosPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCenInterRegionTrafficQosPoliciesOutcomeCallable listCenInterRegionTrafficQosPoliciesCallable(const Model::ListCenInterRegionTrafficQosPoliciesRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ListTrafficMarkingPoliciesOutcome listTrafficMarkingPolicies(const Model::ListTrafficMarkingPoliciesRequest &request)const;
|
||||
void listTrafficMarkingPoliciesAsync(const Model::ListTrafficMarkingPoliciesRequest& request, const ListTrafficMarkingPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTrafficMarkingPoliciesOutcomeCallable listTrafficMarkingPoliciesCallable(const Model::ListTrafficMarkingPoliciesRequest& request) const;
|
||||
ListTransitRouterAvailableResourceOutcome listTransitRouterAvailableResource(const Model::ListTransitRouterAvailableResourceRequest &request)const;
|
||||
void listTransitRouterAvailableResourceAsync(const Model::ListTransitRouterAvailableResourceRequest& request, const ListTransitRouterAvailableResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTransitRouterAvailableResourceOutcomeCallable listTransitRouterAvailableResourceCallable(const Model::ListTransitRouterAvailableResourceRequest& request) const;
|
||||
@@ -652,9 +775,21 @@ namespace AlibabaCloud
|
||||
ModifyFlowLogAttributeOutcome modifyFlowLogAttribute(const Model::ModifyFlowLogAttributeRequest &request)const;
|
||||
void modifyFlowLogAttributeAsync(const Model::ModifyFlowLogAttributeRequest& request, const ModifyFlowLogAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyFlowLogAttributeOutcomeCallable modifyFlowLogAttributeCallable(const Model::ModifyFlowLogAttributeRequest& request) const;
|
||||
MoveResourceGroupOutcome moveResourceGroup(const Model::MoveResourceGroupRequest &request)const;
|
||||
void moveResourceGroupAsync(const Model::MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveResourceGroupOutcomeCallable moveResourceGroupCallable(const Model::MoveResourceGroupRequest& request) const;
|
||||
OpenTransitRouterServiceOutcome openTransitRouterService(const Model::OpenTransitRouterServiceRequest &request)const;
|
||||
void openTransitRouterServiceAsync(const Model::OpenTransitRouterServiceRequest& request, const OpenTransitRouterServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenTransitRouterServiceOutcomeCallable openTransitRouterServiceCallable(const Model::OpenTransitRouterServiceRequest& request) const;
|
||||
PublishRouteEntriesOutcome publishRouteEntries(const Model::PublishRouteEntriesRequest &request)const;
|
||||
void publishRouteEntriesAsync(const Model::PublishRouteEntriesRequest& request, const PublishRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishRouteEntriesOutcomeCallable publishRouteEntriesCallable(const Model::PublishRouteEntriesRequest& request) const;
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome removeTraficMatchRuleFromTrafficMarkingPolicy(const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest &request)const;
|
||||
void removeTraficMatchRuleFromTrafficMarkingPolicyAsync(const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest& request, const RemoveTraficMatchRuleFromTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcomeCallable removeTraficMatchRuleFromTrafficMarkingPolicyCallable(const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest& request) const;
|
||||
ReplaceTransitRouterRouteTableAssociationOutcome replaceTransitRouterRouteTableAssociation(const Model::ReplaceTransitRouterRouteTableAssociationRequest &request)const;
|
||||
void replaceTransitRouterRouteTableAssociationAsync(const Model::ReplaceTransitRouterRouteTableAssociationRequest& request, const ReplaceTransitRouterRouteTableAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReplaceTransitRouterRouteTableAssociationOutcomeCallable replaceTransitRouterRouteTableAssociationCallable(const Model::ReplaceTransitRouterRouteTableAssociationRequest& request) const;
|
||||
ResolveAndRouteServiceInCenOutcome resolveAndRouteServiceInCen(const Model::ResolveAndRouteServiceInCenRequest &request)const;
|
||||
void resolveAndRouteServiceInCenAsync(const Model::ResolveAndRouteServiceInCenRequest& request, const ResolveAndRouteServiceInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResolveAndRouteServiceInCenOutcomeCallable resolveAndRouteServiceInCenCallable(const Model::ResolveAndRouteServiceInCenRequest& request) const;
|
||||
@@ -679,6 +814,15 @@ namespace AlibabaCloud
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeOutcome updateCenInterRegionTrafficQosPolicyAttribute(const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest &request)const;
|
||||
void updateCenInterRegionTrafficQosPolicyAttributeAsync(const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest& request, const UpdateCenInterRegionTrafficQosPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeOutcomeCallable updateCenInterRegionTrafficQosPolicyAttributeCallable(const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest& request) const;
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeOutcome updateCenInterRegionTrafficQosQueueAttribute(const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest &request)const;
|
||||
void updateCenInterRegionTrafficQosQueueAttributeAsync(const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest& request, const UpdateCenInterRegionTrafficQosQueueAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeOutcomeCallable updateCenInterRegionTrafficQosQueueAttributeCallable(const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest& request) const;
|
||||
UpdateTrafficMarkingPolicyAttributeOutcome updateTrafficMarkingPolicyAttribute(const Model::UpdateTrafficMarkingPolicyAttributeRequest &request)const;
|
||||
void updateTrafficMarkingPolicyAttributeAsync(const Model::UpdateTrafficMarkingPolicyAttributeRequest& request, const UpdateTrafficMarkingPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTrafficMarkingPolicyAttributeOutcomeCallable updateTrafficMarkingPolicyAttributeCallable(const Model::UpdateTrafficMarkingPolicyAttributeRequest& request) const;
|
||||
UpdateTransitRouterOutcome updateTransitRouter(const Model::UpdateTransitRouterRequest &request)const;
|
||||
void updateTransitRouterAsync(const Model::UpdateTransitRouterRequest& request, const UpdateTransitRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTransitRouterOutcomeCallable updateTransitRouterCallable(const Model::UpdateTransitRouterRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AddTraficMatchRuleToTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TrafficMatchRules
|
||||
{
|
||||
std::vector<int> dstPortRange;
|
||||
int matchDscp;
|
||||
std::string protocol;
|
||||
std::string trafficMatchRuleDescription;
|
||||
std::vector<int> srcPortRange;
|
||||
std::string dstCidr;
|
||||
std::string trafficMatchRuleName;
|
||||
std::string srcCidr;
|
||||
};
|
||||
|
||||
public:
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyRequest();
|
||||
~AddTraficMatchRuleToTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::vector<TrafficMatchRules> getTrafficMatchRules()const;
|
||||
void setTrafficMatchRules(const std::vector<TrafficMatchRules>& trafficMatchRules);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
bool dryRun_;
|
||||
std::vector<TrafficMatchRules> trafficMatchRules_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AddTraficMatchRuleToTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyResult();
|
||||
explicit AddTraficMatchRuleToTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~AddTraficMatchRuleToTrafficMarkingPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CheckTransitRouterServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckTransitRouterServiceRequest();
|
||||
~CheckTransitRouterServiceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICEREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_MODIFYBLACKHOLESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_MODIFYBLACKHOLESTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT ModifyBlackholeStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT CheckTransitRouterServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyBlackholeStatusResult();
|
||||
explicit ModifyBlackholeStatusResult(const std::string &payload);
|
||||
~ModifyBlackholeStatusResult();
|
||||
CheckTransitRouterServiceResult();
|
||||
explicit CheckTransitRouterServiceResult(const std::string &payload);
|
||||
~CheckTransitRouterServiceResult();
|
||||
std::string getEnabled()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string enabled_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_MODIFYBLACKHOLESTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICERESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToAttachmentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
~CreateCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::string routeTableId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToAttachmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentResult();
|
||||
explicit CreateCenChildInstanceRouteEntryToAttachmentResult(const std::string &payload);
|
||||
~CreateCenChildInstanceRouteEntryToAttachmentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenInterRegionTrafficQosPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TrafficQosQueues
|
||||
{
|
||||
std::vector<int> dscps;
|
||||
std::string qosQueueName;
|
||||
std::string remainBandwidthPercent;
|
||||
std::string qosQueueDescription;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateCenInterRegionTrafficQosPolicyRequest();
|
||||
~CreateCenInterRegionTrafficQosPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::vector<TrafficQosQueues> getTrafficQosQueues()const;
|
||||
void setTrafficQosQueues(const std::vector<TrafficQosQueues>& trafficQosQueues);
|
||||
std::string getTrafficQosPolicyName()const;
|
||||
void setTrafficQosPolicyName(const std::string& trafficQosPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTrafficQosPolicyDescription()const;
|
||||
void setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::vector<TrafficQosQueues> trafficQosQueues_;
|
||||
std::string trafficQosPolicyName_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string trafficQosPolicyDescription_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenInterRegionTrafficQosPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenInterRegionTrafficQosPolicyResult();
|
||||
explicit CreateCenInterRegionTrafficQosPolicyResult(const std::string &payload);
|
||||
~CreateCenInterRegionTrafficQosPolicyResult();
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string trafficQosPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
@@ -55,6 +55,10 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
long getInterval()const;
|
||||
void setInterval(long interval);
|
||||
std::string getFlowLogName()const;
|
||||
void setFlowLogName(const std::string& flowLogName);
|
||||
|
||||
@@ -69,6 +73,8 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
long interval_;
|
||||
std::string flowLogName_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TrafficMatchRules
|
||||
{
|
||||
std::vector<int> dstPortRange;
|
||||
int matchDscp;
|
||||
std::string protocol;
|
||||
std::string trafficMatchRuleDescription;
|
||||
std::vector<int> srcPortRange;
|
||||
std::string dstCidr;
|
||||
std::string trafficMatchRuleName;
|
||||
std::string srcCidr;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateTrafficMarkingPolicyRequest();
|
||||
~CreateTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyDescription()const;
|
||||
void setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription);
|
||||
std::string getTrafficMarkingPolicyName()const;
|
||||
void setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::vector<TrafficMatchRules> getTrafficMatchRules()const;
|
||||
void setTrafficMatchRules(const std::vector<TrafficMatchRules>& trafficMatchRules);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
int getPriority()const;
|
||||
void setPriority(int priority);
|
||||
int getMarkingDscp()const;
|
||||
void setMarkingDscp(int markingDscp);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyDescription_;
|
||||
std::string trafficMarkingPolicyName_;
|
||||
bool dryRun_;
|
||||
std::vector<TrafficMatchRules> trafficMatchRules_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
int priority_;
|
||||
int markingDscp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBAIPROTECTMODERESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBAIPROTECTMODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT ModifyWebAIProtectModeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyWebAIProtectModeResult();
|
||||
explicit ModifyWebAIProtectModeResult(const std::string &payload);
|
||||
~ModifyWebAIProtectModeResult();
|
||||
CreateTrafficMarkingPolicyResult();
|
||||
explicit CreateTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~CreateTrafficMarkingPolicyResult();
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string trafficMarkingPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBAIPROTECTMODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBandwidthType()const;
|
||||
void setBandwidthType(const std::string& bandwidthType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
@@ -76,6 +78,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string bandwidthType_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
bool routeTableAssociationEnabled_;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToAttachmentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
~DeleteCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::string routeTableId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
@@ -14,44 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEPORTCONNSCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEPORTCONNSCOUNTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT DescribePortConnsCountResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToAttachmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribePortConnsCountResult();
|
||||
explicit DescribePortConnsCountResult(const std::string &payload);
|
||||
~DescribePortConnsCountResult();
|
||||
long getConns()const;
|
||||
long getCps()const;
|
||||
long getActConns()const;
|
||||
long getInActConns()const;
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentResult();
|
||||
explicit DeleteCenChildInstanceRouteEntryToAttachmentResult(const std::string &payload);
|
||||
~DeleteCenChildInstanceRouteEntryToAttachmentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long conns_;
|
||||
long cps_;
|
||||
long actConns_;
|
||||
long inActConns_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEPORTCONNSCOUNTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenInterRegionTrafficQosPolicyRequest();
|
||||
~DeleteCenInterRegionTrafficQosPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
void setTrafficQosPolicyId(const std::string& trafficQosPolicyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool dryRun_;
|
||||
std::string trafficQosPolicyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyResult();
|
||||
explicit DeleteCenInterRegionTrafficQosPolicyResult(const std::string &payload);
|
||||
~DeleteCenInterRegionTrafficQosPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosQueueRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenInterRegionTrafficQosQueueRequest();
|
||||
~DeleteCenInterRegionTrafficQosQueueRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getQosQueueId()const;
|
||||
void setQosQueueId(const std::string& qosQueueId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string qosQueueId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUEREQUEST_H_
|
||||
@@ -14,38 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTRESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT AttachSceneDefenseObjectResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosQueueResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachSceneDefenseObjectResult();
|
||||
explicit AttachSceneDefenseObjectResult(const std::string &payload);
|
||||
~AttachSceneDefenseObjectResult();
|
||||
bool getSuccess()const;
|
||||
DeleteCenInterRegionTrafficQosQueueResult();
|
||||
explicit DeleteCenInterRegionTrafficQosQueueResult(const std::string &payload);
|
||||
~DeleteCenInterRegionTrafficQosQueueResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTrafficMarkingPolicyRequest();
|
||||
~DeleteTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_MODIFYPORTAUTOCCSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_MODIFYPORTAUTOCCSTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT ModifyPortAutoCcStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyPortAutoCcStatusResult();
|
||||
explicit ModifyPortAutoCcStatusResult(const std::string &payload);
|
||||
~ModifyPortAutoCcStatusResult();
|
||||
DeleteTrafficMarkingPolicyResult();
|
||||
explicit DeleteTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~DeleteTrafficMarkingPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_MODIFYPORTAUTOCCSTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -55,9 +55,9 @@ namespace AlibabaCloud
|
||||
bool isCrossBorder;
|
||||
std::string hasReservationData;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string typeFor95;
|
||||
std::string reservationInternetChargeType;
|
||||
std::string typeFor95;
|
||||
std::string name;
|
||||
std::string reservationOrderType;
|
||||
std::string bandwidthPackageChargeType;
|
||||
long bandwidth;
|
||||
|
||||
@@ -35,14 +35,17 @@ namespace AlibabaCloud
|
||||
struct FlowLog
|
||||
{
|
||||
std::string status;
|
||||
std::string transitRouterAttachmentId;
|
||||
std::string flowLogName;
|
||||
std::string description;
|
||||
std::string logStoreName;
|
||||
std::string peerRegionId;
|
||||
std::string projectName;
|
||||
std::string creationTime;
|
||||
std::string cenId;
|
||||
std::string regionId;
|
||||
std::string flowLogId;
|
||||
long interval;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ namespace AlibabaCloud
|
||||
struct RouteServiceEntry
|
||||
{
|
||||
std::string status;
|
||||
std::string hostRegionId;
|
||||
std::string description;
|
||||
std::string hostRegionId;
|
||||
std::string cenId;
|
||||
std::string host;
|
||||
std::string accessRegionId;
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListCenInterRegionTrafficQosPoliciesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCenInterRegionTrafficQosPoliciesRequest();
|
||||
~ListCenInterRegionTrafficQosPoliciesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getTrafficQosPolicyName()const;
|
||||
void setTrafficQosPolicyName(const std::string& trafficQosPolicyName);
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
void setTrafficQosPolicyId(const std::string& trafficQosPolicyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTrafficQosPolicyDescription()const;
|
||||
void setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextToken_;
|
||||
std::string trafficQosPolicyName_;
|
||||
std::string trafficQosPolicyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string trafficQosPolicyDescription_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListCenInterRegionTrafficQosPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrafficQosPolicy
|
||||
{
|
||||
struct TrafficQosQueue
|
||||
{
|
||||
int remainBandwidthPercent;
|
||||
std::string qosQueueId;
|
||||
std::vector<std::string> dscps;
|
||||
std::string qosQueueName;
|
||||
std::string qosQueueDescription;
|
||||
};
|
||||
std::vector<TrafficQosPolicy::TrafficQosQueue> trafficQosQueues;
|
||||
std::string trafficQosPolicyStatus;
|
||||
std::string trafficQosPolicyName;
|
||||
std::string trafficQosPolicyId;
|
||||
std::string trafficQosPolicyDescription;
|
||||
};
|
||||
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesResult();
|
||||
explicit ListCenInterRegionTrafficQosPoliciesResult(const std::string &payload);
|
||||
~ListCenInterRegionTrafficQosPoliciesResult();
|
||||
std::vector<TrafficQosPolicy> getTrafficQosPolicies()const;
|
||||
int getTotalCount()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrafficQosPolicy> trafficQosPolicies_;
|
||||
int totalCount_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListTrafficMarkingPoliciesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTrafficMarkingPoliciesRequest();
|
||||
~ListTrafficMarkingPoliciesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTrafficMarkingPolicyDescription()const;
|
||||
void setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getTrafficMarkingPolicyName()const;
|
||||
void setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string trafficMarkingPolicyDescription_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
std::string nextToken_;
|
||||
std::string trafficMarkingPolicyName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListTrafficMarkingPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrafficMarkingPolicy
|
||||
{
|
||||
struct TrafficMatchRule
|
||||
{
|
||||
std::string trafficMatchRuleDescription;
|
||||
int matchDscp;
|
||||
std::vector<std::string> dstPortRange;
|
||||
std::string srcCidr;
|
||||
std::string trafficMatchRuleName;
|
||||
std::string trafficMatchRuleStatus;
|
||||
std::string protocol;
|
||||
std::vector<std::string> srcPortRange;
|
||||
std::string dstCidr;
|
||||
std::string trafficMatchRuleId;
|
||||
};
|
||||
std::string trafficMarkingPolicyName;
|
||||
std::vector<TrafficMarkingPolicy::TrafficMatchRule> trafficMatchRules;
|
||||
std::string trafficMarkingPolicyStatus;
|
||||
int markingDscp;
|
||||
int priority;
|
||||
std::string trafficMarkingPolicyId;
|
||||
std::string trafficMarkingPolicyDescription;
|
||||
};
|
||||
|
||||
|
||||
ListTrafficMarkingPoliciesResult();
|
||||
explicit ListTrafficMarkingPoliciesResult(const std::string &payload);
|
||||
~ListTrafficMarkingPoliciesResult();
|
||||
int getTotalCount()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
std::vector<TrafficMarkingPolicy> getTrafficMarkingPolicies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
std::vector<TrafficMarkingPolicy> trafficMarkingPolicies_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESRESULT_H_
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
std::string transitRouterAttachmentName;
|
||||
std::string resourceType;
|
||||
bool autoPublishRouteEnabled;
|
||||
std::string bandwidthType;
|
||||
int bandwidth;
|
||||
std::string creationTime;
|
||||
std::string bandwidthPackageId;
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getInterval()const;
|
||||
void setInterval(long interval);
|
||||
std::string getFlowLogId()const;
|
||||
void setFlowLogId(const std::string& flowLogId);
|
||||
std::string getFlowLogName()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
long interval_;
|
||||
std::string flowLogId_;
|
||||
std::string flowLogName_;
|
||||
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT MoveResourceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoveResourceGroupRequest();
|
||||
~MoveResourceGroupRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getNewResourceGroupId()const;
|
||||
void setNewResourceGroupId(const std::string& newResourceGroupId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string resourceId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::string newResourceGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBRULERESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBRULERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT ModifyWebRuleResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT MoveResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyWebRuleResult();
|
||||
explicit ModifyWebRuleResult(const std::string &payload);
|
||||
~ModifyWebRuleResult();
|
||||
MoveResourceGroupResult();
|
||||
explicit MoveResourceGroupResult(const std::string &payload);
|
||||
~MoveResourceGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBRULERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT OpenTransitRouterServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenTransitRouterServiceRequest();
|
||||
~OpenTransitRouterServiceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATEDOMAINRESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEDOMAINRESOURCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT CreateDomainResourceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT OpenTransitRouterServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDomainResourceResult();
|
||||
explicit CreateDomainResourceResult(const std::string &payload);
|
||||
~CreateDomainResourceResult();
|
||||
OpenTransitRouterServiceResult();
|
||||
explicit OpenTransitRouterServiceResult(const std::string &payload);
|
||||
~OpenTransitRouterServiceResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEDOMAINRESOURCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICERESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest();
|
||||
~RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::vector<std::string> getTrafficMarkRuleIds()const;
|
||||
void setTrafficMarkRuleIds(const std::vector<std::string>& trafficMarkRuleIds);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::vector<std::string> trafficMarkRuleIds_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT RemoveTraficMatchRuleFromTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyResult();
|
||||
explicit RemoveTraficMatchRuleFromTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~RemoveTraficMatchRuleFromTrafficMarkingPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ReplaceTransitRouterRouteTableAssociationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReplaceTransitRouterRouteTableAssociationRequest();
|
||||
~ReplaceTransitRouterRouteTableAssociationRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTransitRouterRouteTableId()const;
|
||||
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string transitRouterRouteTableId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ReplaceTransitRouterRouteTableAssociationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationResult();
|
||||
explicit ReplaceTransitRouterRouteTableAssociationResult(const std::string &payload);
|
||||
~ReplaceTransitRouterRouteTableAssociationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosPolicyAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeRequest();
|
||||
~UpdateCenInterRegionTrafficQosPolicyAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficQosPolicyName()const;
|
||||
void setTrafficQosPolicyName(const std::string& trafficQosPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
void setTrafficQosPolicyId(const std::string& trafficQosPolicyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTrafficQosPolicyDescription()const;
|
||||
void setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficQosPolicyName_;
|
||||
bool dryRun_;
|
||||
std::string trafficQosPolicyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string trafficQosPolicyDescription_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosPolicyAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeResult();
|
||||
explicit UpdateCenInterRegionTrafficQosPolicyAttributeResult(const std::string &payload);
|
||||
~UpdateCenInterRegionTrafficQosPolicyAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosQueueAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeRequest();
|
||||
~UpdateCenInterRegionTrafficQosQueueAttributeRequest();
|
||||
|
||||
std::vector<int> getDscps()const;
|
||||
void setDscps(const std::vector<int>& dscps);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getQosQueueName()const;
|
||||
void setQosQueueName(const std::string& qosQueueName);
|
||||
std::string getRemainBandwidthPercent()const;
|
||||
void setRemainBandwidthPercent(const std::string& remainBandwidthPercent);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getQosQueueId()const;
|
||||
void setQosQueueId(const std::string& qosQueueId);
|
||||
std::string getQosQueueDescription()const;
|
||||
void setQosQueueDescription(const std::string& qosQueueDescription);
|
||||
|
||||
private:
|
||||
std::vector<int> dscps_;
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string qosQueueName_;
|
||||
std::string remainBandwidthPercent_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string qosQueueId_;
|
||||
std::string qosQueueDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosQueueAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeResult();
|
||||
explicit UpdateCenInterRegionTrafficQosQueueAttributeResult(const std::string &payload);
|
||||
~UpdateCenInterRegionTrafficQosQueueAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateTrafficMarkingPolicyAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateTrafficMarkingPolicyAttributeRequest();
|
||||
~UpdateTrafficMarkingPolicyAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyDescription()const;
|
||||
void setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
std::string getTrafficMarkingPolicyName()const;
|
||||
void setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyDescription_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
std::string trafficMarkingPolicyName_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateTrafficMarkingPolicyAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeResult();
|
||||
explicit UpdateTrafficMarkingPolicyAttributeResult(const std::string &payload);
|
||||
~UpdateTrafficMarkingPolicyAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTERESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBandwidthType()const;
|
||||
void setBandwidthType(const std::string& bandwidthType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTransitRouterAttachmentName()const;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string bandwidthType_;
|
||||
std::string clientToken_;
|
||||
std::string transitRouterAttachmentName_;
|
||||
bool autoPublishRouteEnabled_;
|
||||
|
||||
@@ -87,6 +87,42 @@ CbnClient::ActiveFlowLogOutcomeCallable CbnClient::activeFlowLogCallable(const A
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::AddTraficMatchRuleToTrafficMarkingPolicyOutcome CbnClient::addTraficMatchRuleToTrafficMarkingPolicy(const AddTraficMatchRuleToTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddTraficMatchRuleToTrafficMarkingPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddTraficMatchRuleToTrafficMarkingPolicyOutcome(AddTraficMatchRuleToTrafficMarkingPolicyResult(outcome.result()));
|
||||
else
|
||||
return AddTraficMatchRuleToTrafficMarkingPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::addTraficMatchRuleToTrafficMarkingPolicyAsync(const AddTraficMatchRuleToTrafficMarkingPolicyRequest& request, const AddTraficMatchRuleToTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addTraficMatchRuleToTrafficMarkingPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::AddTraficMatchRuleToTrafficMarkingPolicyOutcomeCallable CbnClient::addTraficMatchRuleToTrafficMarkingPolicyCallable(const AddTraficMatchRuleToTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddTraficMatchRuleToTrafficMarkingPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addTraficMatchRuleToTrafficMarkingPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::AssociateCenBandwidthPackageOutcome CbnClient::associateCenBandwidthPackage(const AssociateCenBandwidthPackageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +231,42 @@ CbnClient::AttachCenChildInstanceOutcomeCallable CbnClient::attachCenChildInstan
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CheckTransitRouterServiceOutcome CbnClient::checkTransitRouterService(const CheckTransitRouterServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckTransitRouterServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckTransitRouterServiceOutcome(CheckTransitRouterServiceResult(outcome.result()));
|
||||
else
|
||||
return CheckTransitRouterServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::checkTransitRouterServiceAsync(const CheckTransitRouterServiceRequest& request, const CheckTransitRouterServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkTransitRouterService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::CheckTransitRouterServiceOutcomeCallable CbnClient::checkTransitRouterServiceCallable(const CheckTransitRouterServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckTransitRouterServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkTransitRouterService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenOutcome CbnClient::createCen(const CreateCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +339,42 @@ CbnClient::CreateCenBandwidthPackageOutcomeCallable CbnClient::createCenBandwidt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToAttachmentOutcome CbnClient::createCenChildInstanceRouteEntryToAttachment(const CreateCenChildInstanceRouteEntryToAttachmentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCenChildInstanceRouteEntryToAttachmentOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCenChildInstanceRouteEntryToAttachmentOutcome(CreateCenChildInstanceRouteEntryToAttachmentResult(outcome.result()));
|
||||
else
|
||||
return CreateCenChildInstanceRouteEntryToAttachmentOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::createCenChildInstanceRouteEntryToAttachmentAsync(const CreateCenChildInstanceRouteEntryToAttachmentRequest& request, const CreateCenChildInstanceRouteEntryToAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCenChildInstanceRouteEntryToAttachment(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToAttachmentOutcomeCallable CbnClient::createCenChildInstanceRouteEntryToAttachmentCallable(const CreateCenChildInstanceRouteEntryToAttachmentRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCenChildInstanceRouteEntryToAttachmentOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCenChildInstanceRouteEntryToAttachment(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToCenOutcome CbnClient::createCenChildInstanceRouteEntryToCen(const CreateCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +411,42 @@ CbnClient::CreateCenChildInstanceRouteEntryToCenOutcomeCallable CbnClient::creat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenInterRegionTrafficQosPolicyOutcome CbnClient::createCenInterRegionTrafficQosPolicy(const CreateCenInterRegionTrafficQosPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCenInterRegionTrafficQosPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCenInterRegionTrafficQosPolicyOutcome(CreateCenInterRegionTrafficQosPolicyResult(outcome.result()));
|
||||
else
|
||||
return CreateCenInterRegionTrafficQosPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::createCenInterRegionTrafficQosPolicyAsync(const CreateCenInterRegionTrafficQosPolicyRequest& request, const CreateCenInterRegionTrafficQosPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCenInterRegionTrafficQosPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::CreateCenInterRegionTrafficQosPolicyOutcomeCallable CbnClient::createCenInterRegionTrafficQosPolicyCallable(const CreateCenInterRegionTrafficQosPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCenInterRegionTrafficQosPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCenInterRegionTrafficQosPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenRouteMapOutcome CbnClient::createCenRouteMap(const CreateCenRouteMapRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +519,42 @@ CbnClient::CreateFlowlogOutcomeCallable CbnClient::createFlowlogCallable(const C
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateTrafficMarkingPolicyOutcome CbnClient::createTrafficMarkingPolicy(const CreateTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateTrafficMarkingPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateTrafficMarkingPolicyOutcome(CreateTrafficMarkingPolicyResult(outcome.result()));
|
||||
else
|
||||
return CreateTrafficMarkingPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::createTrafficMarkingPolicyAsync(const CreateTrafficMarkingPolicyRequest& request, const CreateTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createTrafficMarkingPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::CreateTrafficMarkingPolicyOutcomeCallable CbnClient::createTrafficMarkingPolicyCallable(const CreateTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateTrafficMarkingPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createTrafficMarkingPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateTransitRouterOutcome CbnClient::createTransitRouter(const CreateTransitRouterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +879,42 @@ CbnClient::DeleteCenBandwidthPackageOutcomeCallable CbnClient::deleteCenBandwidt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToAttachmentOutcome CbnClient::deleteCenChildInstanceRouteEntryToAttachment(const DeleteCenChildInstanceRouteEntryToAttachmentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCenChildInstanceRouteEntryToAttachmentOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCenChildInstanceRouteEntryToAttachmentOutcome(DeleteCenChildInstanceRouteEntryToAttachmentResult(outcome.result()));
|
||||
else
|
||||
return DeleteCenChildInstanceRouteEntryToAttachmentOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteCenChildInstanceRouteEntryToAttachmentAsync(const DeleteCenChildInstanceRouteEntryToAttachmentRequest& request, const DeleteCenChildInstanceRouteEntryToAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCenChildInstanceRouteEntryToAttachment(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToAttachmentOutcomeCallable CbnClient::deleteCenChildInstanceRouteEntryToAttachmentCallable(const DeleteCenChildInstanceRouteEntryToAttachmentRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCenChildInstanceRouteEntryToAttachmentOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCenChildInstanceRouteEntryToAttachment(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToCenOutcome CbnClient::deleteCenChildInstanceRouteEntryToCen(const DeleteCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +951,78 @@ CbnClient::DeleteCenChildInstanceRouteEntryToCenOutcomeCallable CbnClient::delet
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenInterRegionTrafficQosPolicyOutcome CbnClient::deleteCenInterRegionTrafficQosPolicy(const DeleteCenInterRegionTrafficQosPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCenInterRegionTrafficQosPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCenInterRegionTrafficQosPolicyOutcome(DeleteCenInterRegionTrafficQosPolicyResult(outcome.result()));
|
||||
else
|
||||
return DeleteCenInterRegionTrafficQosPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteCenInterRegionTrafficQosPolicyAsync(const DeleteCenInterRegionTrafficQosPolicyRequest& request, const DeleteCenInterRegionTrafficQosPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCenInterRegionTrafficQosPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenInterRegionTrafficQosPolicyOutcomeCallable CbnClient::deleteCenInterRegionTrafficQosPolicyCallable(const DeleteCenInterRegionTrafficQosPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCenInterRegionTrafficQosPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCenInterRegionTrafficQosPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenInterRegionTrafficQosQueueOutcome CbnClient::deleteCenInterRegionTrafficQosQueue(const DeleteCenInterRegionTrafficQosQueueRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCenInterRegionTrafficQosQueueOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCenInterRegionTrafficQosQueueOutcome(DeleteCenInterRegionTrafficQosQueueResult(outcome.result()));
|
||||
else
|
||||
return DeleteCenInterRegionTrafficQosQueueOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteCenInterRegionTrafficQosQueueAsync(const DeleteCenInterRegionTrafficQosQueueRequest& request, const DeleteCenInterRegionTrafficQosQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCenInterRegionTrafficQosQueue(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenInterRegionTrafficQosQueueOutcomeCallable CbnClient::deleteCenInterRegionTrafficQosQueueCallable(const DeleteCenInterRegionTrafficQosQueueRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCenInterRegionTrafficQosQueueOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCenInterRegionTrafficQosQueue(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenRouteMapOutcome CbnClient::deleteCenRouteMap(const DeleteCenRouteMapRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,6 +1131,42 @@ CbnClient::DeleteRouteServiceInCenOutcomeCallable CbnClient::deleteRouteServiceI
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteTrafficMarkingPolicyOutcome CbnClient::deleteTrafficMarkingPolicy(const DeleteTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteTrafficMarkingPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteTrafficMarkingPolicyOutcome(DeleteTrafficMarkingPolicyResult(outcome.result()));
|
||||
else
|
||||
return DeleteTrafficMarkingPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteTrafficMarkingPolicyAsync(const DeleteTrafficMarkingPolicyRequest& request, const DeleteTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteTrafficMarkingPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteTrafficMarkingPolicyOutcomeCallable CbnClient::deleteTrafficMarkingPolicyCallable(const DeleteTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteTrafficMarkingPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteTrafficMarkingPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteTransitRouterPeerAttachmentOutcome CbnClient::deleteTransitRouterPeerAttachment(const DeleteTransitRouterPeerAttachmentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1923,6 +2247,42 @@ CbnClient::EnableTransitRouterRouteTablePropagationOutcomeCallable CbnClient::en
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::ListCenInterRegionTrafficQosPoliciesOutcome CbnClient::listCenInterRegionTrafficQosPolicies(const ListCenInterRegionTrafficQosPoliciesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCenInterRegionTrafficQosPoliciesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCenInterRegionTrafficQosPoliciesOutcome(ListCenInterRegionTrafficQosPoliciesResult(outcome.result()));
|
||||
else
|
||||
return ListCenInterRegionTrafficQosPoliciesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::listCenInterRegionTrafficQosPoliciesAsync(const ListCenInterRegionTrafficQosPoliciesRequest& request, const ListCenInterRegionTrafficQosPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCenInterRegionTrafficQosPolicies(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::ListCenInterRegionTrafficQosPoliciesOutcomeCallable CbnClient::listCenInterRegionTrafficQosPoliciesCallable(const ListCenInterRegionTrafficQosPoliciesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCenInterRegionTrafficQosPoliciesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCenInterRegionTrafficQosPolicies(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::ListTagResourcesOutcome CbnClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1959,6 +2319,42 @@ CbnClient::ListTagResourcesOutcomeCallable CbnClient::listTagResourcesCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::ListTrafficMarkingPoliciesOutcome CbnClient::listTrafficMarkingPolicies(const ListTrafficMarkingPoliciesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTrafficMarkingPoliciesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTrafficMarkingPoliciesOutcome(ListTrafficMarkingPoliciesResult(outcome.result()));
|
||||
else
|
||||
return ListTrafficMarkingPoliciesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::listTrafficMarkingPoliciesAsync(const ListTrafficMarkingPoliciesRequest& request, const ListTrafficMarkingPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTrafficMarkingPolicies(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::ListTrafficMarkingPoliciesOutcomeCallable CbnClient::listTrafficMarkingPoliciesCallable(const ListTrafficMarkingPoliciesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTrafficMarkingPoliciesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTrafficMarkingPolicies(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::ListTransitRouterAvailableResourceOutcome CbnClient::listTransitRouterAvailableResource(const ListTransitRouterAvailableResourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2463,6 +2859,78 @@ CbnClient::ModifyFlowLogAttributeOutcomeCallable CbnClient::modifyFlowLogAttribu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::MoveResourceGroupOutcome CbnClient::moveResourceGroup(const MoveResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MoveResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MoveResourceGroupOutcome(MoveResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return MoveResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::moveResourceGroupAsync(const MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, moveResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::MoveResourceGroupOutcomeCallable CbnClient::moveResourceGroupCallable(const MoveResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MoveResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->moveResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::OpenTransitRouterServiceOutcome CbnClient::openTransitRouterService(const OpenTransitRouterServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return OpenTransitRouterServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return OpenTransitRouterServiceOutcome(OpenTransitRouterServiceResult(outcome.result()));
|
||||
else
|
||||
return OpenTransitRouterServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::openTransitRouterServiceAsync(const OpenTransitRouterServiceRequest& request, const OpenTransitRouterServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, openTransitRouterService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::OpenTransitRouterServiceOutcomeCallable CbnClient::openTransitRouterServiceCallable(const OpenTransitRouterServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<OpenTransitRouterServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->openTransitRouterService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::PublishRouteEntriesOutcome CbnClient::publishRouteEntries(const PublishRouteEntriesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2499,6 +2967,78 @@ CbnClient::PublishRouteEntriesOutcomeCallable CbnClient::publishRouteEntriesCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome CbnClient::removeTraficMatchRuleFromTrafficMarkingPolicy(const RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome(RemoveTraficMatchRuleFromTrafficMarkingPolicyResult(outcome.result()));
|
||||
else
|
||||
return RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::removeTraficMatchRuleFromTrafficMarkingPolicyAsync(const RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest& request, const RemoveTraficMatchRuleFromTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeTraficMatchRuleFromTrafficMarkingPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcomeCallable CbnClient::removeTraficMatchRuleFromTrafficMarkingPolicyCallable(const RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeTraficMatchRuleFromTrafficMarkingPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::ReplaceTransitRouterRouteTableAssociationOutcome CbnClient::replaceTransitRouterRouteTableAssociation(const ReplaceTransitRouterRouteTableAssociationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReplaceTransitRouterRouteTableAssociationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReplaceTransitRouterRouteTableAssociationOutcome(ReplaceTransitRouterRouteTableAssociationResult(outcome.result()));
|
||||
else
|
||||
return ReplaceTransitRouterRouteTableAssociationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::replaceTransitRouterRouteTableAssociationAsync(const ReplaceTransitRouterRouteTableAssociationRequest& request, const ReplaceTransitRouterRouteTableAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, replaceTransitRouterRouteTableAssociation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::ReplaceTransitRouterRouteTableAssociationOutcomeCallable CbnClient::replaceTransitRouterRouteTableAssociationCallable(const ReplaceTransitRouterRouteTableAssociationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReplaceTransitRouterRouteTableAssociationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->replaceTransitRouterRouteTableAssociation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::ResolveAndRouteServiceInCenOutcome CbnClient::resolveAndRouteServiceInCen(const ResolveAndRouteServiceInCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2787,6 +3327,114 @@ CbnClient::UntagResourcesOutcomeCallable CbnClient::untagResourcesCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::UpdateCenInterRegionTrafficQosPolicyAttributeOutcome CbnClient::updateCenInterRegionTrafficQosPolicyAttribute(const UpdateCenInterRegionTrafficQosPolicyAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateCenInterRegionTrafficQosPolicyAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateCenInterRegionTrafficQosPolicyAttributeOutcome(UpdateCenInterRegionTrafficQosPolicyAttributeResult(outcome.result()));
|
||||
else
|
||||
return UpdateCenInterRegionTrafficQosPolicyAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::updateCenInterRegionTrafficQosPolicyAttributeAsync(const UpdateCenInterRegionTrafficQosPolicyAttributeRequest& request, const UpdateCenInterRegionTrafficQosPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateCenInterRegionTrafficQosPolicyAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::UpdateCenInterRegionTrafficQosPolicyAttributeOutcomeCallable CbnClient::updateCenInterRegionTrafficQosPolicyAttributeCallable(const UpdateCenInterRegionTrafficQosPolicyAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateCenInterRegionTrafficQosPolicyAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateCenInterRegionTrafficQosPolicyAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::UpdateCenInterRegionTrafficQosQueueAttributeOutcome CbnClient::updateCenInterRegionTrafficQosQueueAttribute(const UpdateCenInterRegionTrafficQosQueueAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateCenInterRegionTrafficQosQueueAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateCenInterRegionTrafficQosQueueAttributeOutcome(UpdateCenInterRegionTrafficQosQueueAttributeResult(outcome.result()));
|
||||
else
|
||||
return UpdateCenInterRegionTrafficQosQueueAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::updateCenInterRegionTrafficQosQueueAttributeAsync(const UpdateCenInterRegionTrafficQosQueueAttributeRequest& request, const UpdateCenInterRegionTrafficQosQueueAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateCenInterRegionTrafficQosQueueAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::UpdateCenInterRegionTrafficQosQueueAttributeOutcomeCallable CbnClient::updateCenInterRegionTrafficQosQueueAttributeCallable(const UpdateCenInterRegionTrafficQosQueueAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateCenInterRegionTrafficQosQueueAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateCenInterRegionTrafficQosQueueAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::UpdateTrafficMarkingPolicyAttributeOutcome CbnClient::updateTrafficMarkingPolicyAttribute(const UpdateTrafficMarkingPolicyAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateTrafficMarkingPolicyAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateTrafficMarkingPolicyAttributeOutcome(UpdateTrafficMarkingPolicyAttributeResult(outcome.result()));
|
||||
else
|
||||
return UpdateTrafficMarkingPolicyAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::updateTrafficMarkingPolicyAttributeAsync(const UpdateTrafficMarkingPolicyAttributeRequest& request, const UpdateTrafficMarkingPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateTrafficMarkingPolicyAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::UpdateTrafficMarkingPolicyAttributeOutcomeCallable CbnClient::updateTrafficMarkingPolicyAttributeCallable(const UpdateTrafficMarkingPolicyAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateTrafficMarkingPolicyAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateTrafficMarkingPolicyAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::UpdateTransitRouterOutcome CbnClient::updateTransitRouter(const UpdateTransitRouterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
132
cbn/src/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.cc
Normal file
132
cbn/src/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.cc
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest;
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyRequest::AddTraficMatchRuleToTrafficMarkingPolicyRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "AddTraficMatchRuleToTrafficMarkingPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyRequest::~AddTraficMatchRuleToTrafficMarkingPolicyRequest()
|
||||
{}
|
||||
|
||||
long AddTraficMatchRuleToTrafficMarkingPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTraficMatchRuleToTrafficMarkingPolicyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddTraficMatchRuleToTrafficMarkingPolicyRequest::getTrafficMarkingPolicyId()const
|
||||
{
|
||||
return trafficMarkingPolicyId_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId)
|
||||
{
|
||||
trafficMarkingPolicyId_ = trafficMarkingPolicyId;
|
||||
setParameter("TrafficMarkingPolicyId", trafficMarkingPolicyId);
|
||||
}
|
||||
|
||||
bool AddTraficMatchRuleToTrafficMarkingPolicyRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<AddTraficMatchRuleToTrafficMarkingPolicyRequest::TrafficMatchRules> AddTraficMatchRuleToTrafficMarkingPolicyRequest::getTrafficMatchRules()const
|
||||
{
|
||||
return trafficMatchRules_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setTrafficMatchRules(const std::vector<TrafficMatchRules>& trafficMatchRules)
|
||||
{
|
||||
trafficMatchRules_ = trafficMatchRules;
|
||||
for(int dep1 = 0; dep1!= trafficMatchRules.size(); dep1++) {
|
||||
auto trafficMatchRulesObj = trafficMatchRules.at(dep1);
|
||||
std::string trafficMatchRulesObjStr = "TrafficMatchRules." + std::to_string(dep1 + 1);
|
||||
for(int dep2 = 0; dep2!= trafficMatchRulesObj.dstPortRange.size(); dep2++) {
|
||||
setParameter(trafficMatchRulesObjStr + ".DstPortRange."+ std::to_string(dep2), std::to_string(trafficMatchRulesObj.dstPortRange.at(dep2)));
|
||||
}
|
||||
setParameter(trafficMatchRulesObjStr + ".MatchDscp", std::to_string(trafficMatchRulesObj.matchDscp));
|
||||
setParameter(trafficMatchRulesObjStr + ".Protocol", trafficMatchRulesObj.protocol);
|
||||
setParameter(trafficMatchRulesObjStr + ".TrafficMatchRuleDescription", trafficMatchRulesObj.trafficMatchRuleDescription);
|
||||
for(int dep2 = 0; dep2!= trafficMatchRulesObj.srcPortRange.size(); dep2++) {
|
||||
setParameter(trafficMatchRulesObjStr + ".SrcPortRange."+ std::to_string(dep2), std::to_string(trafficMatchRulesObj.srcPortRange.at(dep2)));
|
||||
}
|
||||
setParameter(trafficMatchRulesObjStr + ".DstCidr", trafficMatchRulesObj.dstCidr);
|
||||
setParameter(trafficMatchRulesObjStr + ".TrafficMatchRuleName", trafficMatchRulesObj.trafficMatchRuleName);
|
||||
setParameter(trafficMatchRulesObjStr + ".SrcCidr", trafficMatchRulesObj.srcCidr);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddTraficMatchRuleToTrafficMarkingPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddTraficMatchRuleToTrafficMarkingPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddTraficMatchRuleToTrafficMarkingPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/AddTraficMatchRuleToTrafficMarkingPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyResult::AddTraficMatchRuleToTrafficMarkingPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyResult::AddTraficMatchRuleToTrafficMarkingPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyResult::~AddTraficMatchRuleToTrafficMarkingPolicyResult()
|
||||
{}
|
||||
|
||||
void AddTraficMatchRuleToTrafficMarkingPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
84
cbn/src/model/CheckTransitRouterServiceRequest.cc
Normal file
84
cbn/src/model/CheckTransitRouterServiceRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CheckTransitRouterServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CheckTransitRouterServiceRequest;
|
||||
|
||||
CheckTransitRouterServiceRequest::CheckTransitRouterServiceRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CheckTransitRouterService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckTransitRouterServiceRequest::~CheckTransitRouterServiceRequest()
|
||||
{}
|
||||
|
||||
long CheckTransitRouterServiceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CheckTransitRouterServiceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CheckTransitRouterServiceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CheckTransitRouterServiceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CheckTransitRouterServiceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CheckTransitRouterServiceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CheckTransitRouterServiceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CheckTransitRouterServiceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CheckTransitRouterServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CheckTransitRouterServiceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/DisableSceneDefensePolicyResult.h>
|
||||
#include <alibabacloud/cbn/model/CheckTransitRouterServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DisableSceneDefensePolicyResult::DisableSceneDefensePolicyResult() :
|
||||
CheckTransitRouterServiceResult::CheckTransitRouterServiceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableSceneDefensePolicyResult::DisableSceneDefensePolicyResult(const std::string &payload) :
|
||||
CheckTransitRouterServiceResult::CheckTransitRouterServiceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableSceneDefensePolicyResult::~DisableSceneDefensePolicyResult()
|
||||
CheckTransitRouterServiceResult::~CheckTransitRouterServiceResult()
|
||||
{}
|
||||
|
||||
void DisableSceneDefensePolicyResult::parse(const std::string &payload)
|
||||
void CheckTransitRouterServiceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Enabled"].isNull())
|
||||
enabled_ = value["Enabled"].asString();
|
||||
|
||||
}
|
||||
|
||||
bool DisableSceneDefensePolicyResult::getSuccess()const
|
||||
std::string CheckTransitRouterServiceResult::getEnabled()const
|
||||
{
|
||||
return success_;
|
||||
return enabled_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToAttachmentRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateCenChildInstanceRouteEntryToAttachmentRequest;
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentRequest::CreateCenChildInstanceRouteEntryToAttachmentRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateCenChildInstanceRouteEntryToAttachment")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentRequest::~CreateCenChildInstanceRouteEntryToAttachmentRequest()
|
||||
{}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToAttachmentRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
bool CreateCenChildInstanceRouteEntryToAttachmentRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToAttachmentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToAttachmentRequest::getTransitRouterAttachmentId()const
|
||||
{
|
||||
return transitRouterAttachmentId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
|
||||
{
|
||||
transitRouterAttachmentId_ = transitRouterAttachmentId;
|
||||
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToAttachmentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentResult::CreateCenChildInstanceRouteEntryToAttachmentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentResult::CreateCenChildInstanceRouteEntryToAttachmentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentResult::~CreateCenChildInstanceRouteEntryToAttachmentResult()
|
||||
{}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToAttachmentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
159
cbn/src/model/CreateCenInterRegionTrafficQosPolicyRequest.cc
Normal file
159
cbn/src/model/CreateCenInterRegionTrafficQosPolicyRequest.cc
Normal file
@@ -0,0 +1,159 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenInterRegionTrafficQosPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateCenInterRegionTrafficQosPolicyRequest;
|
||||
|
||||
CreateCenInterRegionTrafficQosPolicyRequest::CreateCenInterRegionTrafficQosPolicyRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateCenInterRegionTrafficQosPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCenInterRegionTrafficQosPolicyRequest::~CreateCenInterRegionTrafficQosPolicyRequest()
|
||||
{}
|
||||
|
||||
long CreateCenInterRegionTrafficQosPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::vector<CreateCenInterRegionTrafficQosPolicyRequest::TrafficQosQueues> CreateCenInterRegionTrafficQosPolicyRequest::getTrafficQosQueues()const
|
||||
{
|
||||
return trafficQosQueues_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setTrafficQosQueues(const std::vector<TrafficQosQueues>& trafficQosQueues)
|
||||
{
|
||||
trafficQosQueues_ = trafficQosQueues;
|
||||
for(int dep1 = 0; dep1!= trafficQosQueues.size(); dep1++) {
|
||||
auto trafficQosQueuesObj = trafficQosQueues.at(dep1);
|
||||
std::string trafficQosQueuesObjStr = "TrafficQosQueues." + std::to_string(dep1 + 1);
|
||||
for(int dep2 = 0; dep2!= trafficQosQueuesObj.dscps.size(); dep2++) {
|
||||
setParameter(trafficQosQueuesObjStr + ".Dscps."+ std::to_string(dep2), std::to_string(trafficQosQueuesObj.dscps.at(dep2)));
|
||||
}
|
||||
setParameter(trafficQosQueuesObjStr + ".QosQueueName", trafficQosQueuesObj.qosQueueName);
|
||||
setParameter(trafficQosQueuesObjStr + ".RemainBandwidthPercent", trafficQosQueuesObj.remainBandwidthPercent);
|
||||
setParameter(trafficQosQueuesObjStr + ".QosQueueDescription", trafficQosQueuesObj.qosQueueDescription);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getTrafficQosPolicyName()const
|
||||
{
|
||||
return trafficQosPolicyName_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setTrafficQosPolicyName(const std::string& trafficQosPolicyName)
|
||||
{
|
||||
trafficQosPolicyName_ = trafficQosPolicyName;
|
||||
setParameter("TrafficQosPolicyName", trafficQosPolicyName);
|
||||
}
|
||||
|
||||
bool CreateCenInterRegionTrafficQosPolicyRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getTrafficQosPolicyDescription()const
|
||||
{
|
||||
return trafficQosPolicyDescription_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription)
|
||||
{
|
||||
trafficQosPolicyDescription_ = trafficQosPolicyDescription;
|
||||
setParameter("TrafficQosPolicyDescription", trafficQosPolicyDescription);
|
||||
}
|
||||
|
||||
long CreateCenInterRegionTrafficQosPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getTransitRouterId()const
|
||||
{
|
||||
return transitRouterId_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setTransitRouterId(const std::string& transitRouterId)
|
||||
{
|
||||
transitRouterId_ = transitRouterId;
|
||||
setParameter("TransitRouterId", transitRouterId);
|
||||
}
|
||||
|
||||
std::string CreateCenInterRegionTrafficQosPolicyRequest::getTransitRouterAttachmentId()const
|
||||
{
|
||||
return transitRouterAttachmentId_;
|
||||
}
|
||||
|
||||
void CreateCenInterRegionTrafficQosPolicyRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
|
||||
{
|
||||
transitRouterAttachmentId_ = transitRouterAttachmentId;
|
||||
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/AttachSceneDefenseObjectResult.h>
|
||||
#include <alibabacloud/cbn/model/CreateCenInterRegionTrafficQosPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
AttachSceneDefenseObjectResult::AttachSceneDefenseObjectResult() :
|
||||
CreateCenInterRegionTrafficQosPolicyResult::CreateCenInterRegionTrafficQosPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AttachSceneDefenseObjectResult::AttachSceneDefenseObjectResult(const std::string &payload) :
|
||||
CreateCenInterRegionTrafficQosPolicyResult::CreateCenInterRegionTrafficQosPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AttachSceneDefenseObjectResult::~AttachSceneDefenseObjectResult()
|
||||
CreateCenInterRegionTrafficQosPolicyResult::~CreateCenInterRegionTrafficQosPolicyResult()
|
||||
{}
|
||||
|
||||
void AttachSceneDefenseObjectResult::parse(const std::string &payload)
|
||||
void CreateCenInterRegionTrafficQosPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["TrafficQosPolicyId"].isNull())
|
||||
trafficQosPolicyId_ = value["TrafficQosPolicyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
bool AttachSceneDefenseObjectResult::getSuccess()const
|
||||
std::string CreateCenInterRegionTrafficQosPolicyResult::getTrafficQosPolicyId()const
|
||||
{
|
||||
return success_;
|
||||
return trafficQosPolicyId_;
|
||||
}
|
||||
|
||||
@@ -137,6 +137,28 @@ void CreateFlowlogRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getTransitRouterAttachmentId()const
|
||||
{
|
||||
return transitRouterAttachmentId_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
|
||||
{
|
||||
transitRouterAttachmentId_ = transitRouterAttachmentId;
|
||||
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
|
||||
}
|
||||
|
||||
long CreateFlowlogRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void CreateFlowlogRequest::setInterval(long interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
}
|
||||
|
||||
std::string CreateFlowlogRequest::getFlowLogName()const
|
||||
{
|
||||
return flowLogName_;
|
||||
|
||||
176
cbn/src/model/CreateTrafficMarkingPolicyRequest.cc
Normal file
176
cbn/src/model/CreateTrafficMarkingPolicyRequest.cc
Normal file
@@ -0,0 +1,176 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateTrafficMarkingPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateTrafficMarkingPolicyRequest;
|
||||
|
||||
CreateTrafficMarkingPolicyRequest::CreateTrafficMarkingPolicyRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateTrafficMarkingPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTrafficMarkingPolicyRequest::~CreateTrafficMarkingPolicyRequest()
|
||||
{}
|
||||
|
||||
long CreateTrafficMarkingPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyRequest::getTrafficMarkingPolicyDescription()const
|
||||
{
|
||||
return trafficMarkingPolicyDescription_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription)
|
||||
{
|
||||
trafficMarkingPolicyDescription_ = trafficMarkingPolicyDescription;
|
||||
setParameter("TrafficMarkingPolicyDescription", trafficMarkingPolicyDescription);
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyRequest::getTrafficMarkingPolicyName()const
|
||||
{
|
||||
return trafficMarkingPolicyName_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName)
|
||||
{
|
||||
trafficMarkingPolicyName_ = trafficMarkingPolicyName;
|
||||
setParameter("TrafficMarkingPolicyName", trafficMarkingPolicyName);
|
||||
}
|
||||
|
||||
bool CreateTrafficMarkingPolicyRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<CreateTrafficMarkingPolicyRequest::TrafficMatchRules> CreateTrafficMarkingPolicyRequest::getTrafficMatchRules()const
|
||||
{
|
||||
return trafficMatchRules_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setTrafficMatchRules(const std::vector<TrafficMatchRules>& trafficMatchRules)
|
||||
{
|
||||
trafficMatchRules_ = trafficMatchRules;
|
||||
for(int dep1 = 0; dep1!= trafficMatchRules.size(); dep1++) {
|
||||
auto trafficMatchRulesObj = trafficMatchRules.at(dep1);
|
||||
std::string trafficMatchRulesObjStr = "TrafficMatchRules." + std::to_string(dep1 + 1);
|
||||
for(int dep2 = 0; dep2!= trafficMatchRulesObj.dstPortRange.size(); dep2++) {
|
||||
setParameter(trafficMatchRulesObjStr + ".DstPortRange."+ std::to_string(dep2), std::to_string(trafficMatchRulesObj.dstPortRange.at(dep2)));
|
||||
}
|
||||
setParameter(trafficMatchRulesObjStr + ".MatchDscp", std::to_string(trafficMatchRulesObj.matchDscp));
|
||||
setParameter(trafficMatchRulesObjStr + ".Protocol", trafficMatchRulesObj.protocol);
|
||||
setParameter(trafficMatchRulesObjStr + ".TrafficMatchRuleDescription", trafficMatchRulesObj.trafficMatchRuleDescription);
|
||||
for(int dep2 = 0; dep2!= trafficMatchRulesObj.srcPortRange.size(); dep2++) {
|
||||
setParameter(trafficMatchRulesObjStr + ".SrcPortRange."+ std::to_string(dep2), std::to_string(trafficMatchRulesObj.srcPortRange.at(dep2)));
|
||||
}
|
||||
setParameter(trafficMatchRulesObjStr + ".DstCidr", trafficMatchRulesObj.dstCidr);
|
||||
setParameter(trafficMatchRulesObjStr + ".TrafficMatchRuleName", trafficMatchRulesObj.trafficMatchRuleName);
|
||||
setParameter(trafficMatchRulesObjStr + ".SrcCidr", trafficMatchRulesObj.srcCidr);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateTrafficMarkingPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyRequest::getTransitRouterId()const
|
||||
{
|
||||
return transitRouterId_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setTransitRouterId(const std::string& transitRouterId)
|
||||
{
|
||||
transitRouterId_ = transitRouterId;
|
||||
setParameter("TransitRouterId", transitRouterId);
|
||||
}
|
||||
|
||||
int CreateTrafficMarkingPolicyRequest::getPriority()const
|
||||
{
|
||||
return priority_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setPriority(int priority)
|
||||
{
|
||||
priority_ = priority;
|
||||
setParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
int CreateTrafficMarkingPolicyRequest::getMarkingDscp()const
|
||||
{
|
||||
return markingDscp_;
|
||||
}
|
||||
|
||||
void CreateTrafficMarkingPolicyRequest::setMarkingDscp(int markingDscp)
|
||||
{
|
||||
markingDscp_ = markingDscp;
|
||||
setParameter("MarkingDscp", std::to_string(markingDscp));
|
||||
}
|
||||
|
||||
@@ -14,31 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/ModifyNetworkRuleAttributeResult.h>
|
||||
#include <alibabacloud/cbn/model/CreateTrafficMarkingPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ModifyNetworkRuleAttributeResult::ModifyNetworkRuleAttributeResult() :
|
||||
CreateTrafficMarkingPolicyResult::CreateTrafficMarkingPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyNetworkRuleAttributeResult::ModifyNetworkRuleAttributeResult(const std::string &payload) :
|
||||
CreateTrafficMarkingPolicyResult::CreateTrafficMarkingPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyNetworkRuleAttributeResult::~ModifyNetworkRuleAttributeResult()
|
||||
CreateTrafficMarkingPolicyResult::~CreateTrafficMarkingPolicyResult()
|
||||
{}
|
||||
|
||||
void ModifyNetworkRuleAttributeResult::parse(const std::string &payload)
|
||||
void CreateTrafficMarkingPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TrafficMarkingPolicyId"].isNull())
|
||||
trafficMarkingPolicyId_ = value["TrafficMarkingPolicyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateTrafficMarkingPolicyResult::getTrafficMarkingPolicyId()const
|
||||
{
|
||||
return trafficMarkingPolicyId_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void CreateTransitRouterPeerAttachmentRequest::setResourceOwnerId(long resourceO
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterPeerAttachmentRequest::getBandwidthType()const
|
||||
{
|
||||
return bandwidthType_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterPeerAttachmentRequest::setBandwidthType(const std::string& bandwidthType)
|
||||
{
|
||||
bandwidthType_ = bandwidthType;
|
||||
setParameter("BandwidthType", bandwidthType);
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterPeerAttachmentRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
|
||||
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest;
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentRequest::DeleteCenChildInstanceRouteEntryToAttachmentRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCenChildInstanceRouteEntryToAttachment")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentRequest::~DeleteCenChildInstanceRouteEntryToAttachmentRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToAttachmentRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
bool DeleteCenChildInstanceRouteEntryToAttachmentRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToAttachmentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToAttachmentRequest::getTransitRouterAttachmentId()const
|
||||
{
|
||||
return transitRouterAttachmentId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
|
||||
{
|
||||
transitRouterAttachmentId_ = transitRouterAttachmentId;
|
||||
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToAttachmentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentResult::DeleteCenChildInstanceRouteEntryToAttachmentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentResult::DeleteCenChildInstanceRouteEntryToAttachmentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentResult::~DeleteCenChildInstanceRouteEntryToAttachmentResult()
|
||||
{}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToAttachmentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
106
cbn/src/model/DeleteCenInterRegionTrafficQosPolicyRequest.cc
Normal file
106
cbn/src/model/DeleteCenInterRegionTrafficQosPolicyRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenInterRegionTrafficQosPolicyRequest;
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyRequest::DeleteCenInterRegionTrafficQosPolicyRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCenInterRegionTrafficQosPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyRequest::~DeleteCenInterRegionTrafficQosPolicyRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenInterRegionTrafficQosPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosPolicyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
bool DeleteCenInterRegionTrafficQosPolicyRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosPolicyRequest::getTrafficQosPolicyId()const
|
||||
{
|
||||
return trafficQosPolicyId_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setTrafficQosPolicyId(const std::string& trafficQosPolicyId)
|
||||
{
|
||||
trafficQosPolicyId_ = trafficQosPolicyId;
|
||||
setParameter("TrafficQosPolicyId", trafficQosPolicyId);
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteCenInterRegionTrafficQosPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
cbn/src/model/DeleteCenInterRegionTrafficQosPolicyResult.cc
Normal file
44
cbn/src/model/DeleteCenInterRegionTrafficQosPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyResult::DeleteCenInterRegionTrafficQosPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyResult::DeleteCenInterRegionTrafficQosPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyResult::~DeleteCenInterRegionTrafficQosPolicyResult()
|
||||
{}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
106
cbn/src/model/DeleteCenInterRegionTrafficQosQueueRequest.cc
Normal file
106
cbn/src/model/DeleteCenInterRegionTrafficQosQueueRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosQueueRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenInterRegionTrafficQosQueueRequest;
|
||||
|
||||
DeleteCenInterRegionTrafficQosQueueRequest::DeleteCenInterRegionTrafficQosQueueRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCenInterRegionTrafficQosQueue")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCenInterRegionTrafficQosQueueRequest::~DeleteCenInterRegionTrafficQosQueueRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenInterRegionTrafficQosQueueRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosQueueRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
bool DeleteCenInterRegionTrafficQosQueueRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosQueueRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosQueueRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteCenInterRegionTrafficQosQueueRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenInterRegionTrafficQosQueueRequest::getQosQueueId()const
|
||||
{
|
||||
return qosQueueId_;
|
||||
}
|
||||
|
||||
void DeleteCenInterRegionTrafficQosQueueRequest::setQosQueueId(const std::string& qosQueueId)
|
||||
{
|
||||
qosQueueId_ = qosQueueId;
|
||||
setParameter("QosQueueId", qosQueueId);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,31 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/ReceiveNotifyResult.h>
|
||||
#include <alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosQueueResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ReceiveNotifyResult::ReceiveNotifyResult() :
|
||||
DeleteCenInterRegionTrafficQosQueueResult::DeleteCenInterRegionTrafficQosQueueResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ReceiveNotifyResult::ReceiveNotifyResult(const std::string &payload) :
|
||||
DeleteCenInterRegionTrafficQosQueueResult::DeleteCenInterRegionTrafficQosQueueResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ReceiveNotifyResult::~ReceiveNotifyResult()
|
||||
DeleteCenInterRegionTrafficQosQueueResult::~DeleteCenInterRegionTrafficQosQueueResult()
|
||||
{}
|
||||
|
||||
void ReceiveNotifyResult::parse(const std::string &payload)
|
||||
void DeleteCenInterRegionTrafficQosQueueResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TraceId"].isNull())
|
||||
traceId_ = value["TraceId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyResult::getTraceId()const
|
||||
{
|
||||
return traceId_;
|
||||
}
|
||||
|
||||
106
cbn/src/model/DeleteTrafficMarkingPolicyRequest.cc
Normal file
106
cbn/src/model/DeleteTrafficMarkingPolicyRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteTrafficMarkingPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteTrafficMarkingPolicyRequest;
|
||||
|
||||
DeleteTrafficMarkingPolicyRequest::DeleteTrafficMarkingPolicyRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteTrafficMarkingPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTrafficMarkingPolicyRequest::~DeleteTrafficMarkingPolicyRequest()
|
||||
{}
|
||||
|
||||
long DeleteTrafficMarkingPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteTrafficMarkingPolicyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DeleteTrafficMarkingPolicyRequest::getTrafficMarkingPolicyId()const
|
||||
{
|
||||
return trafficMarkingPolicyId_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId)
|
||||
{
|
||||
trafficMarkingPolicyId_ = trafficMarkingPolicyId;
|
||||
setParameter("TrafficMarkingPolicyId", trafficMarkingPolicyId);
|
||||
}
|
||||
|
||||
bool DeleteTrafficMarkingPolicyRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTrafficMarkingPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteTrafficMarkingPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteTrafficMarkingPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteTrafficMarkingPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/ModifyWebPreciseAccessRuleResult.h>
|
||||
#include <alibabacloud/cbn/model/DeleteTrafficMarkingPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ModifyWebPreciseAccessRuleResult::ModifyWebPreciseAccessRuleResult() :
|
||||
DeleteTrafficMarkingPolicyResult::DeleteTrafficMarkingPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyWebPreciseAccessRuleResult::ModifyWebPreciseAccessRuleResult(const std::string &payload) :
|
||||
DeleteTrafficMarkingPolicyResult::DeleteTrafficMarkingPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyWebPreciseAccessRuleResult::~ModifyWebPreciseAccessRuleResult()
|
||||
DeleteTrafficMarkingPolicyResult::~DeleteTrafficMarkingPolicyResult()
|
||||
{}
|
||||
|
||||
void ModifyWebPreciseAccessRuleResult::parse(const std::string &payload)
|
||||
void DeleteTrafficMarkingPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -43,60 +43,60 @@ void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackage : allCenBandwidthPackagesNode)
|
||||
{
|
||||
CenBandwidthPackage cenBandwidthPackagesObject;
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["CenBandwidthPackageId"].isNull())
|
||||
cenBandwidthPackagesObject.cenBandwidthPackageId = valueCenBandwidthPackagesCenBandwidthPackage["CenBandwidthPackageId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Name"].isNull())
|
||||
cenBandwidthPackagesObject.name = valueCenBandwidthPackagesCenBandwidthPackage["Name"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Description"].isNull())
|
||||
cenBandwidthPackagesObject.description = valueCenBandwidthPackagesCenBandwidthPackage["Description"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Bandwidth"].isNull())
|
||||
cenBandwidthPackagesObject.bandwidth = std::stol(valueCenBandwidthPackagesCenBandwidthPackage["Bandwidth"].asString());
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["BandwidthPackageChargeType"].isNull())
|
||||
cenBandwidthPackagesObject.bandwidthPackageChargeType = valueCenBandwidthPackagesCenBandwidthPackage["BandwidthPackageChargeType"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionAId"].isNull())
|
||||
cenBandwidthPackagesObject.geographicRegionAId = valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionAId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionBId"].isNull())
|
||||
cenBandwidthPackagesObject.geographicRegionBId = valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionBId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["GeographicSpanId"].isNull())
|
||||
cenBandwidthPackagesObject.geographicSpanId = valueCenBandwidthPackagesCenBandwidthPackage["GeographicSpanId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["BusinessStatus"].isNull())
|
||||
cenBandwidthPackagesObject.businessStatus = valueCenBandwidthPackagesCenBandwidthPackage["BusinessStatus"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["CreationTime"].isNull())
|
||||
cenBandwidthPackagesObject.creationTime = valueCenBandwidthPackagesCenBandwidthPackage["CreationTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ExpiredTime"].isNull())
|
||||
cenBandwidthPackagesObject.expiredTime = valueCenBandwidthPackagesCenBandwidthPackage["ExpiredTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Status"].isNull())
|
||||
cenBandwidthPackagesObject.status = valueCenBandwidthPackagesCenBandwidthPackage["Status"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["IsCrossBorder"].isNull())
|
||||
cenBandwidthPackagesObject.isCrossBorder = valueCenBandwidthPackagesCenBandwidthPackage["IsCrossBorder"].asString() == "true";
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["TypeFor95"].isNull())
|
||||
cenBandwidthPackagesObject.typeFor95 = valueCenBandwidthPackagesCenBandwidthPackage["TypeFor95"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Ratio"].isNull())
|
||||
cenBandwidthPackagesObject.ratio = valueCenBandwidthPackagesCenBandwidthPackage["Ratio"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["HasReservationData"].isNull())
|
||||
cenBandwidthPackagesObject.hasReservationData = valueCenBandwidthPackagesCenBandwidthPackage["HasReservationData"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationBandwidth"].isNull())
|
||||
cenBandwidthPackagesObject.reservationBandwidth = valueCenBandwidthPackagesCenBandwidthPackage["ReservationBandwidth"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationInternetChargeType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationInternetChargeType = valueCenBandwidthPackagesCenBandwidthPackage["ReservationInternetChargeType"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationActiveTime"].isNull())
|
||||
cenBandwidthPackagesObject.reservationActiveTime = valueCenBandwidthPackagesCenBandwidthPackage["ReservationActiveTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Status"].isNull())
|
||||
cenBandwidthPackagesObject.status = valueCenBandwidthPackagesCenBandwidthPackage["Status"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["CreationTime"].isNull())
|
||||
cenBandwidthPackagesObject.creationTime = valueCenBandwidthPackagesCenBandwidthPackage["CreationTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationOrderType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationOrderType = valueCenBandwidthPackagesCenBandwidthPackage["ReservationOrderType"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["BandwidthPackageChargeType"].isNull())
|
||||
cenBandwidthPackagesObject.bandwidthPackageChargeType = valueCenBandwidthPackagesCenBandwidthPackage["BandwidthPackageChargeType"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["CenBandwidthPackageId"].isNull())
|
||||
cenBandwidthPackagesObject.cenBandwidthPackageId = valueCenBandwidthPackagesCenBandwidthPackage["CenBandwidthPackageId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationInternetChargeType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationInternetChargeType = valueCenBandwidthPackagesCenBandwidthPackage["ReservationInternetChargeType"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Ratio"].isNull())
|
||||
cenBandwidthPackagesObject.ratio = valueCenBandwidthPackagesCenBandwidthPackage["Ratio"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionAId"].isNull())
|
||||
cenBandwidthPackagesObject.geographicRegionAId = valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionAId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["TypeFor95"].isNull())
|
||||
cenBandwidthPackagesObject.typeFor95 = valueCenBandwidthPackagesCenBandwidthPackage["TypeFor95"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Bandwidth"].isNull())
|
||||
cenBandwidthPackagesObject.bandwidth = std::stol(valueCenBandwidthPackagesCenBandwidthPackage["Bandwidth"].asString());
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Description"].isNull())
|
||||
cenBandwidthPackagesObject.description = valueCenBandwidthPackagesCenBandwidthPackage["Description"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ExpiredTime"].isNull())
|
||||
cenBandwidthPackagesObject.expiredTime = valueCenBandwidthPackagesCenBandwidthPackage["ExpiredTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationBandwidth"].isNull())
|
||||
cenBandwidthPackagesObject.reservationBandwidth = valueCenBandwidthPackagesCenBandwidthPackage["ReservationBandwidth"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["GeographicSpanId"].isNull())
|
||||
cenBandwidthPackagesObject.geographicSpanId = valueCenBandwidthPackagesCenBandwidthPackage["GeographicSpanId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionBId"].isNull())
|
||||
cenBandwidthPackagesObject.geographicRegionBId = valueCenBandwidthPackagesCenBandwidthPackage["GeographicRegionBId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ResourceGroupId"].isNull())
|
||||
cenBandwidthPackagesObject.resourceGroupId = valueCenBandwidthPackagesCenBandwidthPackage["ResourceGroupId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["IsCrossBorder"].isNull())
|
||||
cenBandwidthPackagesObject.isCrossBorder = valueCenBandwidthPackagesCenBandwidthPackage["IsCrossBorder"].asString() == "true";
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["BusinessStatus"].isNull())
|
||||
cenBandwidthPackagesObject.businessStatus = valueCenBandwidthPackagesCenBandwidthPackage["BusinessStatus"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["Name"].isNull())
|
||||
cenBandwidthPackagesObject.name = valueCenBandwidthPackagesCenBandwidthPackage["Name"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["HasReservationData"].isNull())
|
||||
cenBandwidthPackagesObject.hasReservationData = valueCenBandwidthPackagesCenBandwidthPackage["HasReservationData"].asString();
|
||||
auto allOrginInterRegionBandwidthLimitsNode = valueCenBandwidthPackagesCenBandwidthPackage["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit : allOrginInterRegionBandwidthLimitsNode)
|
||||
{
|
||||
CenBandwidthPackage::OrginInterRegionBandwidthLimit orginInterRegionBandwidthLimitsObject;
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.oppositeRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.geographicSpanId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].asString();
|
||||
cenBandwidthPackagesObject.orginInterRegionBandwidthLimits.push_back(orginInterRegionBandwidthLimitsObject);
|
||||
}
|
||||
auto allTagsNode = valueCenBandwidthPackagesCenBandwidthPackage["Tags"]["Tag"];
|
||||
@@ -114,12 +114,12 @@ void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
cenBandwidthPackagesObject.cenIds.push_back(value.asString());
|
||||
cenBandwidthPackages_.push_back(cenBandwidthPackagesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -43,34 +43,40 @@ void DescribeFlowlogsResult::parse(const std::string &payload)
|
||||
for (auto valueFlowLogsFlowLog : allFlowLogsNode)
|
||||
{
|
||||
FlowLog flowLogsObject;
|
||||
if(!valueFlowLogsFlowLog["FlowLogId"].isNull())
|
||||
flowLogsObject.flowLogId = valueFlowLogsFlowLog["FlowLogId"].asString();
|
||||
if(!valueFlowLogsFlowLog["Status"].isNull())
|
||||
flowLogsObject.status = valueFlowLogsFlowLog["Status"].asString();
|
||||
if(!valueFlowLogsFlowLog["CreationTime"].isNull())
|
||||
flowLogsObject.creationTime = valueFlowLogsFlowLog["CreationTime"].asString();
|
||||
if(!valueFlowLogsFlowLog["FlowLogName"].isNull())
|
||||
flowLogsObject.flowLogName = valueFlowLogsFlowLog["FlowLogName"].asString();
|
||||
if(!valueFlowLogsFlowLog["Description"].isNull())
|
||||
flowLogsObject.description = valueFlowLogsFlowLog["Description"].asString();
|
||||
if(!valueFlowLogsFlowLog["CreationTime"].isNull())
|
||||
flowLogsObject.creationTime = valueFlowLogsFlowLog["CreationTime"].asString();
|
||||
if(!valueFlowLogsFlowLog["CenId"].isNull())
|
||||
flowLogsObject.cenId = valueFlowLogsFlowLog["CenId"].asString();
|
||||
if(!valueFlowLogsFlowLog["ProjectName"].isNull())
|
||||
flowLogsObject.projectName = valueFlowLogsFlowLog["ProjectName"].asString();
|
||||
if(!valueFlowLogsFlowLog["CenId"].isNull())
|
||||
flowLogsObject.cenId = valueFlowLogsFlowLog["CenId"].asString();
|
||||
if(!valueFlowLogsFlowLog["LogStoreName"].isNull())
|
||||
flowLogsObject.logStoreName = valueFlowLogsFlowLog["LogStoreName"].asString();
|
||||
if(!valueFlowLogsFlowLog["Status"].isNull())
|
||||
flowLogsObject.status = valueFlowLogsFlowLog["Status"].asString();
|
||||
if(!valueFlowLogsFlowLog["RegionId"].isNull())
|
||||
flowLogsObject.regionId = valueFlowLogsFlowLog["RegionId"].asString();
|
||||
if(!valueFlowLogsFlowLog["FlowLogId"].isNull())
|
||||
flowLogsObject.flowLogId = valueFlowLogsFlowLog["FlowLogId"].asString();
|
||||
if(!valueFlowLogsFlowLog["PeerRegionId"].isNull())
|
||||
flowLogsObject.peerRegionId = valueFlowLogsFlowLog["PeerRegionId"].asString();
|
||||
if(!valueFlowLogsFlowLog["TransitRouterAttachmentId"].isNull())
|
||||
flowLogsObject.transitRouterAttachmentId = valueFlowLogsFlowLog["TransitRouterAttachmentId"].asString();
|
||||
if(!valueFlowLogsFlowLog["Interval"].isNull())
|
||||
flowLogsObject.interval = std::stol(valueFlowLogsFlowLog["Interval"].asString());
|
||||
flowLogs_.push_back(flowLogsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = value["PageSize"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -43,33 +43,33 @@ void DescribeRouteServicesInCenResult::parse(const std::string &payload)
|
||||
for (auto valueRouteServiceEntriesRouteServiceEntry : allRouteServiceEntriesNode)
|
||||
{
|
||||
RouteServiceEntry routeServiceEntriesObject;
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["CenId"].isNull())
|
||||
routeServiceEntriesObject.cenId = valueRouteServiceEntriesRouteServiceEntry["CenId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["Host"].isNull())
|
||||
routeServiceEntriesObject.host = valueRouteServiceEntriesRouteServiceEntry["Host"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["HostRegionId"].isNull())
|
||||
routeServiceEntriesObject.hostRegionId = valueRouteServiceEntriesRouteServiceEntry["HostRegionId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["AccessRegionId"].isNull())
|
||||
routeServiceEntriesObject.accessRegionId = valueRouteServiceEntriesRouteServiceEntry["AccessRegionId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["UpdateInterval"].isNull())
|
||||
routeServiceEntriesObject.updateInterval = valueRouteServiceEntriesRouteServiceEntry["UpdateInterval"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["Status"].isNull())
|
||||
routeServiceEntriesObject.status = valueRouteServiceEntriesRouteServiceEntry["Status"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["HostVpcId"].isNull())
|
||||
routeServiceEntriesObject.hostVpcId = valueRouteServiceEntriesRouteServiceEntry["HostVpcId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["Host"].isNull())
|
||||
routeServiceEntriesObject.host = valueRouteServiceEntriesRouteServiceEntry["Host"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["Description"].isNull())
|
||||
routeServiceEntriesObject.description = valueRouteServiceEntriesRouteServiceEntry["Description"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["HostVpcId"].isNull())
|
||||
routeServiceEntriesObject.hostVpcId = valueRouteServiceEntriesRouteServiceEntry["HostVpcId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["CenId"].isNull())
|
||||
routeServiceEntriesObject.cenId = valueRouteServiceEntriesRouteServiceEntry["CenId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["AccessRegionId"].isNull())
|
||||
routeServiceEntriesObject.accessRegionId = valueRouteServiceEntriesRouteServiceEntry["AccessRegionId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["HostRegionId"].isNull())
|
||||
routeServiceEntriesObject.hostRegionId = valueRouteServiceEntriesRouteServiceEntry["HostRegionId"].asString();
|
||||
if(!valueRouteServiceEntriesRouteServiceEntry["UpdateInterval"].isNull())
|
||||
routeServiceEntriesObject.updateInterval = valueRouteServiceEntriesRouteServiceEntry["UpdateInterval"].asString();
|
||||
auto allCidrs = value["Cidrs"]["Cidr"];
|
||||
for (auto value : allCidrs)
|
||||
routeServiceEntriesObject.cidrs.push_back(value.asString());
|
||||
routeServiceEntries_.push_back(routeServiceEntriesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
150
cbn/src/model/ListCenInterRegionTrafficQosPoliciesRequest.cc
Normal file
150
cbn/src/model/ListCenInterRegionTrafficQosPoliciesRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/ListCenInterRegionTrafficQosPoliciesRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::ListCenInterRegionTrafficQosPoliciesRequest;
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesRequest::ListCenInterRegionTrafficQosPoliciesRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "ListCenInterRegionTrafficQosPolicies")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesRequest::~ListCenInterRegionTrafficQosPoliciesRequest()
|
||||
{}
|
||||
|
||||
long ListCenInterRegionTrafficQosPoliciesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getTrafficQosPolicyName()const
|
||||
{
|
||||
return trafficQosPolicyName_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setTrafficQosPolicyName(const std::string& trafficQosPolicyName)
|
||||
{
|
||||
trafficQosPolicyName_ = trafficQosPolicyName;
|
||||
setParameter("TrafficQosPolicyName", trafficQosPolicyName);
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getTrafficQosPolicyId()const
|
||||
{
|
||||
return trafficQosPolicyId_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setTrafficQosPolicyId(const std::string& trafficQosPolicyId)
|
||||
{
|
||||
trafficQosPolicyId_ = trafficQosPolicyId;
|
||||
setParameter("TrafficQosPolicyId", trafficQosPolicyId);
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getTrafficQosPolicyDescription()const
|
||||
{
|
||||
return trafficQosPolicyDescription_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription)
|
||||
{
|
||||
trafficQosPolicyDescription_ = trafficQosPolicyDescription;
|
||||
setParameter("TrafficQosPolicyDescription", trafficQosPolicyDescription);
|
||||
}
|
||||
|
||||
long ListCenInterRegionTrafficQosPoliciesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getTransitRouterId()const
|
||||
{
|
||||
return transitRouterId_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setTransitRouterId(const std::string& transitRouterId)
|
||||
{
|
||||
transitRouterId_ = transitRouterId;
|
||||
setParameter("TransitRouterId", transitRouterId);
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesRequest::getTransitRouterAttachmentId()const
|
||||
{
|
||||
return transitRouterAttachmentId_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
|
||||
{
|
||||
transitRouterAttachmentId_ = transitRouterAttachmentId;
|
||||
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
|
||||
}
|
||||
|
||||
int ListCenInterRegionTrafficQosPoliciesRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
101
cbn/src/model/ListCenInterRegionTrafficQosPoliciesResult.cc
Normal file
101
cbn/src/model/ListCenInterRegionTrafficQosPoliciesResult.cc
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/ListCenInterRegionTrafficQosPoliciesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesResult::ListCenInterRegionTrafficQosPoliciesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesResult::ListCenInterRegionTrafficQosPoliciesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesResult::~ListCenInterRegionTrafficQosPoliciesResult()
|
||||
{}
|
||||
|
||||
void ListCenInterRegionTrafficQosPoliciesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrafficQosPoliciesNode = value["TrafficQosPolicies"]["TrafficQosPolicy"];
|
||||
for (auto valueTrafficQosPoliciesTrafficQosPolicy : allTrafficQosPoliciesNode)
|
||||
{
|
||||
TrafficQosPolicy trafficQosPoliciesObject;
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyName"].isNull())
|
||||
trafficQosPoliciesObject.trafficQosPolicyName = valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyName"].asString();
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyStatus"].isNull())
|
||||
trafficQosPoliciesObject.trafficQosPolicyStatus = valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyStatus"].asString();
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyId"].isNull())
|
||||
trafficQosPoliciesObject.trafficQosPolicyId = valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyId"].asString();
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyDescription"].isNull())
|
||||
trafficQosPoliciesObject.trafficQosPolicyDescription = valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosPolicyDescription"].asString();
|
||||
auto allTrafficQosQueuesNode = valueTrafficQosPoliciesTrafficQosPolicy["TrafficQosQueues"]["TrafficQosQueue"];
|
||||
for (auto valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue : allTrafficQosQueuesNode)
|
||||
{
|
||||
TrafficQosPolicy::TrafficQosQueue trafficQosQueuesObject;
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["QosQueueName"].isNull())
|
||||
trafficQosQueuesObject.qosQueueName = valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["QosQueueName"].asString();
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["RemainBandwidthPercent"].isNull())
|
||||
trafficQosQueuesObject.remainBandwidthPercent = std::stoi(valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["RemainBandwidthPercent"].asString());
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["QosQueueId"].isNull())
|
||||
trafficQosQueuesObject.qosQueueId = valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["QosQueueId"].asString();
|
||||
if(!valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["QosQueueDescription"].isNull())
|
||||
trafficQosQueuesObject.qosQueueDescription = valueTrafficQosPoliciesTrafficQosPolicyTrafficQosQueuesTrafficQosQueue["QosQueueDescription"].asString();
|
||||
auto allDscps = value["Dscps"]["Dscp"];
|
||||
for (auto value : allDscps)
|
||||
trafficQosQueuesObject.dscps.push_back(value.asString());
|
||||
trafficQosPoliciesObject.trafficQosQueues.push_back(trafficQosQueuesObject);
|
||||
}
|
||||
trafficQosPolicies_.push_back(trafficQosPoliciesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stoi(value["MaxResults"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<ListCenInterRegionTrafficQosPoliciesResult::TrafficQosPolicy> ListCenInterRegionTrafficQosPoliciesResult::getTrafficQosPolicies()const
|
||||
{
|
||||
return trafficQosPolicies_;
|
||||
}
|
||||
|
||||
int ListCenInterRegionTrafficQosPoliciesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCenInterRegionTrafficQosPoliciesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
int ListCenInterRegionTrafficQosPoliciesResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
139
cbn/src/model/ListTrafficMarkingPoliciesRequest.cc
Normal file
139
cbn/src/model/ListTrafficMarkingPoliciesRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/ListTrafficMarkingPoliciesRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::ListTrafficMarkingPoliciesRequest;
|
||||
|
||||
ListTrafficMarkingPoliciesRequest::ListTrafficMarkingPoliciesRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "ListTrafficMarkingPolicies")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTrafficMarkingPoliciesRequest::~ListTrafficMarkingPoliciesRequest()
|
||||
{}
|
||||
|
||||
long ListTrafficMarkingPoliciesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getTrafficMarkingPolicyDescription()const
|
||||
{
|
||||
return trafficMarkingPolicyDescription_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription)
|
||||
{
|
||||
trafficMarkingPolicyDescription_ = trafficMarkingPolicyDescription;
|
||||
setParameter("TrafficMarkingPolicyDescription", trafficMarkingPolicyDescription);
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getTrafficMarkingPolicyId()const
|
||||
{
|
||||
return trafficMarkingPolicyId_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId)
|
||||
{
|
||||
trafficMarkingPolicyId_ = trafficMarkingPolicyId;
|
||||
setParameter("TrafficMarkingPolicyId", trafficMarkingPolicyId);
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getTrafficMarkingPolicyName()const
|
||||
{
|
||||
return trafficMarkingPolicyName_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName)
|
||||
{
|
||||
trafficMarkingPolicyName_ = trafficMarkingPolicyName;
|
||||
setParameter("TrafficMarkingPolicyName", trafficMarkingPolicyName);
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListTrafficMarkingPoliciesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesRequest::getTransitRouterId()const
|
||||
{
|
||||
return transitRouterId_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setTransitRouterId(const std::string& transitRouterId)
|
||||
{
|
||||
transitRouterId_ = transitRouterId;
|
||||
setParameter("TransitRouterId", transitRouterId);
|
||||
}
|
||||
|
||||
int ListTrafficMarkingPoliciesRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void ListTrafficMarkingPoliciesRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
116
cbn/src/model/ListTrafficMarkingPoliciesResult.cc
Normal file
116
cbn/src/model/ListTrafficMarkingPoliciesResult.cc
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/ListTrafficMarkingPoliciesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ListTrafficMarkingPoliciesResult::ListTrafficMarkingPoliciesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListTrafficMarkingPoliciesResult::ListTrafficMarkingPoliciesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListTrafficMarkingPoliciesResult::~ListTrafficMarkingPoliciesResult()
|
||||
{}
|
||||
|
||||
void ListTrafficMarkingPoliciesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrafficMarkingPoliciesNode = value["TrafficMarkingPolicies"]["TrafficMarkingPolicy"];
|
||||
for (auto valueTrafficMarkingPoliciesTrafficMarkingPolicy : allTrafficMarkingPoliciesNode)
|
||||
{
|
||||
TrafficMarkingPolicy trafficMarkingPoliciesObject;
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyStatus"].isNull())
|
||||
trafficMarkingPoliciesObject.trafficMarkingPolicyStatus = valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyStatus"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyId"].isNull())
|
||||
trafficMarkingPoliciesObject.trafficMarkingPolicyId = valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyId"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicy["MarkingDscp"].isNull())
|
||||
trafficMarkingPoliciesObject.markingDscp = std::stoi(valueTrafficMarkingPoliciesTrafficMarkingPolicy["MarkingDscp"].asString());
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyName"].isNull())
|
||||
trafficMarkingPoliciesObject.trafficMarkingPolicyName = valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyName"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicy["Priority"].isNull())
|
||||
trafficMarkingPoliciesObject.priority = std::stoi(valueTrafficMarkingPoliciesTrafficMarkingPolicy["Priority"].asString());
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyDescription"].isNull())
|
||||
trafficMarkingPoliciesObject.trafficMarkingPolicyDescription = valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMarkingPolicyDescription"].asString();
|
||||
auto allTrafficMatchRulesNode = valueTrafficMarkingPoliciesTrafficMarkingPolicy["TrafficMatchRules"]["TrafficMatchRule"];
|
||||
for (auto valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule : allTrafficMatchRulesNode)
|
||||
{
|
||||
TrafficMarkingPolicy::TrafficMatchRule trafficMatchRulesObject;
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["MatchDscp"].isNull())
|
||||
trafficMatchRulesObject.matchDscp = std::stoi(valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["MatchDscp"].asString());
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["DstCidr"].isNull())
|
||||
trafficMatchRulesObject.dstCidr = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["DstCidr"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleDescription"].isNull())
|
||||
trafficMatchRulesObject.trafficMatchRuleDescription = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleDescription"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["Protocol"].isNull())
|
||||
trafficMatchRulesObject.protocol = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["Protocol"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleId"].isNull())
|
||||
trafficMatchRulesObject.trafficMatchRuleId = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleId"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["SrcCidr"].isNull())
|
||||
trafficMatchRulesObject.srcCidr = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["SrcCidr"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleName"].isNull())
|
||||
trafficMatchRulesObject.trafficMatchRuleName = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleName"].asString();
|
||||
if(!valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleStatus"].isNull())
|
||||
trafficMatchRulesObject.trafficMatchRuleStatus = valueTrafficMarkingPoliciesTrafficMarkingPolicyTrafficMatchRulesTrafficMatchRule["TrafficMatchRuleStatus"].asString();
|
||||
auto allDstPortRange = value["DstPortRange"]["DstPortRange"];
|
||||
for (auto value : allDstPortRange)
|
||||
trafficMatchRulesObject.dstPortRange.push_back(value.asString());
|
||||
auto allSrcPortRange = value["SrcPortRange"]["SrcPortRange"];
|
||||
for (auto value : allSrcPortRange)
|
||||
trafficMatchRulesObject.srcPortRange.push_back(value.asString());
|
||||
trafficMarkingPoliciesObject.trafficMatchRules.push_back(trafficMatchRulesObject);
|
||||
}
|
||||
trafficMarkingPolicies_.push_back(trafficMarkingPoliciesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stoi(value["MaxResults"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListTrafficMarkingPoliciesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListTrafficMarkingPoliciesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
int ListTrafficMarkingPoliciesResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
std::vector<ListTrafficMarkingPoliciesResult::TrafficMarkingPolicy> ListTrafficMarkingPoliciesResult::getTrafficMarkingPolicies()const
|
||||
{
|
||||
return trafficMarkingPolicies_;
|
||||
}
|
||||
|
||||
@@ -75,6 +75,8 @@ void ListTransitRouterPeerAttachmentsResult::parse(const std::string &payload)
|
||||
transitRouterAttachmentsObject.geographicSpanId = valueTransitRouterAttachmentsTransitRouterAttachment["GeographicSpanId"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["CenBandwidthPackageId"].isNull())
|
||||
transitRouterAttachmentsObject.cenBandwidthPackageId = valueTransitRouterAttachmentsTransitRouterAttachment["CenBandwidthPackageId"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["BandwidthType"].isNull())
|
||||
transitRouterAttachmentsObject.bandwidthType = valueTransitRouterAttachmentsTransitRouterAttachment["BandwidthType"].asString();
|
||||
transitRouterAttachments_.push_back(transitRouterAttachmentsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -115,6 +115,17 @@ void ModifyFlowLogAttributeRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ModifyFlowLogAttributeRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void ModifyFlowLogAttributeRequest::setInterval(long interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
}
|
||||
|
||||
std::string ModifyFlowLogAttributeRequest::getFlowLogId()const
|
||||
{
|
||||
return flowLogId_;
|
||||
|
||||
128
cbn/src/model/MoveResourceGroupRequest.cc
Normal file
128
cbn/src/model/MoveResourceGroupRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/MoveResourceGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::MoveResourceGroupRequest;
|
||||
|
||||
MoveResourceGroupRequest::MoveResourceGroupRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "MoveResourceGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MoveResourceGroupRequest::~MoveResourceGroupRequest()
|
||||
{}
|
||||
|
||||
long MoveResourceGroupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
bool MoveResourceGroupRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long MoveResourceGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getNewResourceGroupId()const
|
||||
{
|
||||
return newResourceGroupId_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setNewResourceGroupId(const std::string& newResourceGroupId)
|
||||
{
|
||||
newResourceGroupId_ = newResourceGroupId;
|
||||
setParameter("NewResourceGroupId", newResourceGroupId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/ModifyHttp2EnableResult.h>
|
||||
#include <alibabacloud/cbn/model/MoveResourceGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ModifyHttp2EnableResult::ModifyHttp2EnableResult() :
|
||||
MoveResourceGroupResult::MoveResourceGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyHttp2EnableResult::ModifyHttp2EnableResult(const std::string &payload) :
|
||||
MoveResourceGroupResult::MoveResourceGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyHttp2EnableResult::~ModifyHttp2EnableResult()
|
||||
MoveResourceGroupResult::~MoveResourceGroupResult()
|
||||
{}
|
||||
|
||||
void ModifyHttp2EnableResult::parse(const std::string &payload)
|
||||
void MoveResourceGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
84
cbn/src/model/OpenTransitRouterServiceRequest.cc
Normal file
84
cbn/src/model/OpenTransitRouterServiceRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/OpenTransitRouterServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::OpenTransitRouterServiceRequest;
|
||||
|
||||
OpenTransitRouterServiceRequest::OpenTransitRouterServiceRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "OpenTransitRouterService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenTransitRouterServiceRequest::~OpenTransitRouterServiceRequest()
|
||||
{}
|
||||
|
||||
long OpenTransitRouterServiceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void OpenTransitRouterServiceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string OpenTransitRouterServiceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void OpenTransitRouterServiceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string OpenTransitRouterServiceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void OpenTransitRouterServiceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string OpenTransitRouterServiceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void OpenTransitRouterServiceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long OpenTransitRouterServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void OpenTransitRouterServiceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,31 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/ConfigNetworkRegionBlockResult.h>
|
||||
#include <alibabacloud/cbn/model/OpenTransitRouterServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ConfigNetworkRegionBlockResult::ConfigNetworkRegionBlockResult() :
|
||||
OpenTransitRouterServiceResult::OpenTransitRouterServiceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ConfigNetworkRegionBlockResult::ConfigNetworkRegionBlockResult(const std::string &payload) :
|
||||
OpenTransitRouterServiceResult::OpenTransitRouterServiceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ConfigNetworkRegionBlockResult::~ConfigNetworkRegionBlockResult()
|
||||
OpenTransitRouterServiceResult::~OpenTransitRouterServiceResult()
|
||||
{}
|
||||
|
||||
void ConfigNetworkRegionBlockResult::parse(const std::string &payload)
|
||||
void OpenTransitRouterServiceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string OpenTransitRouterServiceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest;
|
||||
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "RemoveTraficMatchRuleFromTrafficMarkingPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::~RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest()
|
||||
{}
|
||||
|
||||
long RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getTrafficMarkingPolicyId()const
|
||||
{
|
||||
return trafficMarkingPolicyId_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId)
|
||||
{
|
||||
trafficMarkingPolicyId_ = trafficMarkingPolicyId;
|
||||
setParameter("TrafficMarkingPolicyId", trafficMarkingPolicyId);
|
||||
}
|
||||
|
||||
bool RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::vector<std::string> RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getTrafficMarkRuleIds()const
|
||||
{
|
||||
return trafficMarkRuleIds_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setTrafficMarkRuleIds(const std::vector<std::string>& trafficMarkRuleIds)
|
||||
{
|
||||
trafficMarkRuleIds_ = trafficMarkRuleIds;
|
||||
for(int dep1 = 0; dep1!= trafficMarkRuleIds.size(); dep1++) {
|
||||
setParameter("TrafficMarkRuleIds."+ std::to_string(dep1), trafficMarkRuleIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
long RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/CreateWebRuleResult.h>
|
||||
#include <alibabacloud/cbn/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
CreateWebRuleResult::CreateWebRuleResult() :
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyResult::RemoveTraficMatchRuleFromTrafficMarkingPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateWebRuleResult::CreateWebRuleResult(const std::string &payload) :
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyResult::RemoveTraficMatchRuleFromTrafficMarkingPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateWebRuleResult::~CreateWebRuleResult()
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyResult::~RemoveTraficMatchRuleFromTrafficMarkingPolicyResult()
|
||||
{}
|
||||
|
||||
void CreateWebRuleResult::parse(const std::string &payload)
|
||||
void RemoveTraficMatchRuleFromTrafficMarkingPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/ReplaceTransitRouterRouteTableAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::ReplaceTransitRouterRouteTableAssociationRequest;
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationRequest::ReplaceTransitRouterRouteTableAssociationRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "ReplaceTransitRouterRouteTableAssociation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationRequest::~ReplaceTransitRouterRouteTableAssociationRequest()
|
||||
{}
|
||||
|
||||
long ReplaceTransitRouterRouteTableAssociationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ReplaceTransitRouterRouteTableAssociationRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ReplaceTransitRouterRouteTableAssociationRequest::getTransitRouterRouteTableId()const
|
||||
{
|
||||
return transitRouterRouteTableId_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId)
|
||||
{
|
||||
transitRouterRouteTableId_ = transitRouterRouteTableId;
|
||||
setParameter("TransitRouterRouteTableId", transitRouterRouteTableId);
|
||||
}
|
||||
|
||||
bool ReplaceTransitRouterRouteTableAssociationRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ReplaceTransitRouterRouteTableAssociationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ReplaceTransitRouterRouteTableAssociationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ReplaceTransitRouterRouteTableAssociationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReplaceTransitRouterRouteTableAssociationRequest::getTransitRouterAttachmentId()const
|
||||
{
|
||||
return transitRouterAttachmentId_;
|
||||
}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
|
||||
{
|
||||
transitRouterAttachmentId_ = transitRouterAttachmentId;
|
||||
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/ReplaceTransitRouterRouteTableAssociationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationResult::ReplaceTransitRouterRouteTableAssociationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationResult::ReplaceTransitRouterRouteTableAssociationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationResult::~ReplaceTransitRouterRouteTableAssociationResult()
|
||||
{}
|
||||
|
||||
void ReplaceTransitRouterRouteTableAssociationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest;
|
||||
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeRequest::UpdateCenInterRegionTrafficQosPolicyAttributeRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "UpdateCenInterRegionTrafficQosPolicyAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeRequest::~UpdateCenInterRegionTrafficQosPolicyAttributeRequest()
|
||||
{}
|
||||
|
||||
long UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getTrafficQosPolicyName()const
|
||||
{
|
||||
return trafficQosPolicyName_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setTrafficQosPolicyName(const std::string& trafficQosPolicyName)
|
||||
{
|
||||
trafficQosPolicyName_ = trafficQosPolicyName;
|
||||
setParameter("TrafficQosPolicyName", trafficQosPolicyName);
|
||||
}
|
||||
|
||||
bool UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getTrafficQosPolicyId()const
|
||||
{
|
||||
return trafficQosPolicyId_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setTrafficQosPolicyId(const std::string& trafficQosPolicyId)
|
||||
{
|
||||
trafficQosPolicyId_ = trafficQosPolicyId;
|
||||
setParameter("TrafficQosPolicyId", trafficQosPolicyId);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getTrafficQosPolicyDescription()const
|
||||
{
|
||||
return trafficQosPolicyDescription_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription)
|
||||
{
|
||||
trafficQosPolicyDescription_ = trafficQosPolicyDescription;
|
||||
setParameter("TrafficQosPolicyDescription", trafficQosPolicyDescription);
|
||||
}
|
||||
|
||||
long UpdateCenInterRegionTrafficQosPolicyAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/DeleteWebRuleResult.h>
|
||||
#include <alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteWebRuleResult::DeleteWebRuleResult() :
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeResult::UpdateCenInterRegionTrafficQosPolicyAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteWebRuleResult::DeleteWebRuleResult(const std::string &payload) :
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeResult::UpdateCenInterRegionTrafficQosPolicyAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteWebRuleResult::~DeleteWebRuleResult()
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeResult::~UpdateCenInterRegionTrafficQosPolicyAttributeResult()
|
||||
{}
|
||||
|
||||
void DeleteWebRuleResult::parse(const std::string &payload)
|
||||
void UpdateCenInterRegionTrafficQosPolicyAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -0,0 +1,152 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest;
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeRequest::UpdateCenInterRegionTrafficQosQueueAttributeRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "UpdateCenInterRegionTrafficQosQueueAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeRequest::~UpdateCenInterRegionTrafficQosQueueAttributeRequest()
|
||||
{}
|
||||
|
||||
std::vector<int> UpdateCenInterRegionTrafficQosQueueAttributeRequest::getDscps()const
|
||||
{
|
||||
return dscps_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setDscps(const std::vector<int>& dscps)
|
||||
{
|
||||
dscps_ = dscps;
|
||||
for(int dep1 = 0; dep1!= dscps.size(); dep1++) {
|
||||
setParameter("Dscps."+ std::to_string(dep1), std::to_string(dscps.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
long UpdateCenInterRegionTrafficQosQueueAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getQosQueueName()const
|
||||
{
|
||||
return qosQueueName_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setQosQueueName(const std::string& qosQueueName)
|
||||
{
|
||||
qosQueueName_ = qosQueueName;
|
||||
setParameter("QosQueueName", qosQueueName);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getRemainBandwidthPercent()const
|
||||
{
|
||||
return remainBandwidthPercent_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setRemainBandwidthPercent(const std::string& remainBandwidthPercent)
|
||||
{
|
||||
remainBandwidthPercent_ = remainBandwidthPercent;
|
||||
setParameter("RemainBandwidthPercent", remainBandwidthPercent);
|
||||
}
|
||||
|
||||
bool UpdateCenInterRegionTrafficQosQueueAttributeRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UpdateCenInterRegionTrafficQosQueueAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getQosQueueId()const
|
||||
{
|
||||
return qosQueueId_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setQosQueueId(const std::string& qosQueueId)
|
||||
{
|
||||
qosQueueId_ = qosQueueId;
|
||||
setParameter("QosQueueId", qosQueueId);
|
||||
}
|
||||
|
||||
std::string UpdateCenInterRegionTrafficQosQueueAttributeRequest::getQosQueueDescription()const
|
||||
{
|
||||
return qosQueueDescription_;
|
||||
}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeRequest::setQosQueueDescription(const std::string& qosQueueDescription)
|
||||
{
|
||||
qosQueueDescription_ = qosQueueDescription;
|
||||
setParameter("QosQueueDescription", qosQueueDescription);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosQueueAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeResult::UpdateCenInterRegionTrafficQosQueueAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeResult::UpdateCenInterRegionTrafficQosQueueAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeResult::~UpdateCenInterRegionTrafficQosQueueAttributeResult()
|
||||
{}
|
||||
|
||||
void UpdateCenInterRegionTrafficQosQueueAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
128
cbn/src/model/UpdateTrafficMarkingPolicyAttributeRequest.cc
Normal file
128
cbn/src/model/UpdateTrafficMarkingPolicyAttributeRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/UpdateTrafficMarkingPolicyAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::UpdateTrafficMarkingPolicyAttributeRequest;
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeRequest::UpdateTrafficMarkingPolicyAttributeRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "UpdateTrafficMarkingPolicyAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeRequest::~UpdateTrafficMarkingPolicyAttributeRequest()
|
||||
{}
|
||||
|
||||
long UpdateTrafficMarkingPolicyAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateTrafficMarkingPolicyAttributeRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string UpdateTrafficMarkingPolicyAttributeRequest::getTrafficMarkingPolicyDescription()const
|
||||
{
|
||||
return trafficMarkingPolicyDescription_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription)
|
||||
{
|
||||
trafficMarkingPolicyDescription_ = trafficMarkingPolicyDescription;
|
||||
setParameter("TrafficMarkingPolicyDescription", trafficMarkingPolicyDescription);
|
||||
}
|
||||
|
||||
std::string UpdateTrafficMarkingPolicyAttributeRequest::getTrafficMarkingPolicyId()const
|
||||
{
|
||||
return trafficMarkingPolicyId_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId)
|
||||
{
|
||||
trafficMarkingPolicyId_ = trafficMarkingPolicyId;
|
||||
setParameter("TrafficMarkingPolicyId", trafficMarkingPolicyId);
|
||||
}
|
||||
|
||||
std::string UpdateTrafficMarkingPolicyAttributeRequest::getTrafficMarkingPolicyName()const
|
||||
{
|
||||
return trafficMarkingPolicyName_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName)
|
||||
{
|
||||
trafficMarkingPolicyName_ = trafficMarkingPolicyName;
|
||||
setParameter("TrafficMarkingPolicyName", trafficMarkingPolicyName);
|
||||
}
|
||||
|
||||
bool UpdateTrafficMarkingPolicyAttributeRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateTrafficMarkingPolicyAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateTrafficMarkingPolicyAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UpdateTrafficMarkingPolicyAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
cbn/src/model/UpdateTrafficMarkingPolicyAttributeResult.cc
Normal file
44
cbn/src/model/UpdateTrafficMarkingPolicyAttributeResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/UpdateTrafficMarkingPolicyAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeResult::UpdateTrafficMarkingPolicyAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeResult::UpdateTrafficMarkingPolicyAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeResult::~UpdateTrafficMarkingPolicyAttributeResult()
|
||||
{}
|
||||
|
||||
void UpdateTrafficMarkingPolicyAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void UpdateTransitRouterPeerAttachmentAttributeRequest::setResourceOwnerId(long
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateTransitRouterPeerAttachmentAttributeRequest::getBandwidthType()const
|
||||
{
|
||||
return bandwidthType_;
|
||||
}
|
||||
|
||||
void UpdateTransitRouterPeerAttachmentAttributeRequest::setBandwidthType(const std::string& bandwidthType)
|
||||
{
|
||||
bandwidthType_ = bandwidthType;
|
||||
setParameter("BandwidthType", bandwidthType);
|
||||
}
|
||||
|
||||
std::string UpdateTransitRouterPeerAttachmentAttributeRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
|
||||
@@ -155,6 +155,10 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListRecentCallDetailRecordsResult.h
|
||||
include/alibabacloud/ccc/model/ListRolesRequest.h
|
||||
include/alibabacloud/ccc/model/ListRolesResult.h
|
||||
include/alibabacloud/ccc/model/ListSipCallRecordsRequest.h
|
||||
include/alibabacloud/ccc/model/ListSipCallRecordsResult.h
|
||||
include/alibabacloud/ccc/model/ListSipTracesRequest.h
|
||||
include/alibabacloud/ccc/model/ListSipTracesResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h
|
||||
@@ -380,6 +384,10 @@ set(ccc_src
|
||||
src/model/ListRecentCallDetailRecordsResult.cc
|
||||
src/model/ListRolesRequest.cc
|
||||
src/model/ListRolesResult.cc
|
||||
src/model/ListSipCallRecordsRequest.cc
|
||||
src/model/ListSipCallRecordsResult.cc
|
||||
src/model/ListSipTracesRequest.cc
|
||||
src/model/ListSipTracesResult.cc
|
||||
src/model/ListSkillGroupsRequest.cc
|
||||
src/model/ListSkillGroupsResult.cc
|
||||
src/model/ListSkillLevelsOfUserRequest.cc
|
||||
|
||||
@@ -156,6 +156,10 @@
|
||||
#include "model/ListRecentCallDetailRecordsResult.h"
|
||||
#include "model/ListRolesRequest.h"
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/ListSipCallRecordsRequest.h"
|
||||
#include "model/ListSipCallRecordsResult.h"
|
||||
#include "model/ListSipTracesRequest.h"
|
||||
#include "model/ListSipTracesResult.h"
|
||||
#include "model/ListSkillGroupsRequest.h"
|
||||
#include "model/ListSkillGroupsResult.h"
|
||||
#include "model/ListSkillLevelsOfUserRequest.h"
|
||||
@@ -454,6 +458,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListRolesResult> ListRolesOutcome;
|
||||
typedef std::future<ListRolesOutcome> ListRolesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRolesRequest&, const ListRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRolesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSipCallRecordsResult> ListSipCallRecordsOutcome;
|
||||
typedef std::future<ListSipCallRecordsOutcome> ListSipCallRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSipCallRecordsRequest&, const ListSipCallRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSipCallRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSipTracesResult> ListSipTracesOutcome;
|
||||
typedef std::future<ListSipTracesOutcome> ListSipTracesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSipTracesRequest&, const ListSipTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSipTracesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsResult> ListSkillGroupsOutcome;
|
||||
typedef std::future<ListSkillGroupsOutcome> ListSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsRequest&, const ListSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsAsyncHandler;
|
||||
@@ -792,6 +802,12 @@ namespace AlibabaCloud
|
||||
ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const;
|
||||
void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const;
|
||||
ListSipCallRecordsOutcome listSipCallRecords(const Model::ListSipCallRecordsRequest &request)const;
|
||||
void listSipCallRecordsAsync(const Model::ListSipCallRecordsRequest& request, const ListSipCallRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSipCallRecordsOutcomeCallable listSipCallRecordsCallable(const Model::ListSipCallRecordsRequest& request) const;
|
||||
ListSipTracesOutcome listSipTraces(const Model::ListSipTracesRequest &request)const;
|
||||
void listSipTracesAsync(const Model::ListSipTracesRequest& request, const ListSipTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSipTracesOutcomeCallable listSipTracesCallable(const Model::ListSipTracesRequest& request) const;
|
||||
ListSkillGroupsOutcome listSkillGroups(const Model::ListSkillGroupsRequest &request)const;
|
||||
void listSkillGroupsAsync(const Model::ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOutcomeCallable listSkillGroupsCallable(const Model::ListSkillGroupsRequest& request) const;
|
||||
|
||||
@@ -38,16 +38,16 @@ namespace AlibabaCloud
|
||||
explicit CreateCampaignResult(const std::string &payload);
|
||||
~CreateCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCampaignId()const;
|
||||
long getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string campaignId_;
|
||||
long httpStatusCode_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
|
||||
@@ -69,27 +69,38 @@ namespace AlibabaCloud
|
||||
std::string queueName;
|
||||
int queueType;
|
||||
};
|
||||
struct CustomerEventsItem
|
||||
{
|
||||
struct EventSequenceItem6
|
||||
{
|
||||
long eventTime;
|
||||
std::string event;
|
||||
};
|
||||
std::vector<CustomerEventsItem::EventSequenceItem6> eventSequence5;
|
||||
std::string customerId;
|
||||
};
|
||||
std::vector<AgentEventsItem> agentEvents;
|
||||
std::string skillGroupIds;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string releaseInitiator;
|
||||
std::string contactDisposition;
|
||||
std::string instanceId;
|
||||
int satisfaction;
|
||||
long startTime;
|
||||
std::string contactId;
|
||||
long callDuration;
|
||||
std::string callingNumber;
|
||||
std::vector<QueueEventsItem> queueEvents;
|
||||
std::string calleeLocation;
|
||||
bool recordingReady;
|
||||
long releaseTime;
|
||||
std::vector<CustomerEventsItem> customerEvents;
|
||||
std::string skillGroupNames;
|
||||
std::string satisfactionSurveyChannel;
|
||||
std::string agentIds;
|
||||
bool satisfactionSurveyOffered;
|
||||
long establishedTime;
|
||||
std::string skillGroupIds;
|
||||
std::string releaseInitiator;
|
||||
std::string instanceId;
|
||||
long startTime;
|
||||
long callDuration;
|
||||
std::vector<QueueEventsItem> queueEvents;
|
||||
std::string calleeLocation;
|
||||
long releaseTime;
|
||||
std::string satisfactionSurveyChannel;
|
||||
std::string agentIds;
|
||||
std::string callerLocation;
|
||||
std::string agentNames;
|
||||
std::vector<IvrEventsItem> ivrEvents;
|
||||
|
||||
@@ -50,7 +50,6 @@ namespace AlibabaCloud
|
||||
bool simulation;
|
||||
std::string campaignId;
|
||||
std::string state;
|
||||
long completedRate;
|
||||
long actualEndTime;
|
||||
long planedEndTime;
|
||||
std::string queueName;
|
||||
|
||||
@@ -51,7 +51,6 @@ namespace AlibabaCloud
|
||||
bool simulation;
|
||||
std::string campaignId;
|
||||
std::string state;
|
||||
long completedRate;
|
||||
long actualEndTime;
|
||||
long planedEndTime;
|
||||
std::string queueName;
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_EMPTYAUTOCCBLACKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_EMPTYAUTOCCBLACKLISTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT EmptyAutoCcBlacklistRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CCC_EXPORT ListSipCallRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EmptyAutoCcBlacklistRequest();
|
||||
~EmptyAutoCcBlacklistRequest();
|
||||
ListSipCallRecordsRequest();
|
||||
~ListSipCallRecordsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getContactIdList()const;
|
||||
void setContactIdList(const std::string& contactIdList);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string sourceIp_;
|
||||
std::string contactIdList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_EMPTYAUTOCCBLACKLISTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user