Compare commits

...

43 Commits

Author SHA1 Message Date
sdk-team
269c197a87 Support query resourceType. 2021-12-13 04:23:25 +00:00
sdk-team
6aa3c65c39 Support ACR EE, OSS, EIP for deploy. 2021-12-09 08:28:40 +00:00
sdk-team
1d2cdfa39f Add API for New Features. 2021-12-08 08:56:02 +00:00
sdk-team
e2c355f334 Fixed bugs for UnbindSubscription API. 2021-12-08 06:29:57 +00:00
sdk-team
669f7e68c2 Fix DescribeInstances clusterId. 2021-12-07 13:38:36 +00:00
sdk-team
4604ad2323 Add MetaTag APIs. 2021-12-07 07:34:38 +00:00
sdk-team
fe60cca404 Add MetaTag APIs. 2021-12-07 07:25:44 +00:00
sdk-team
288efa5b1f Support Bond Eni. 2021-12-06 13:07:29 +00:00
sdk-team
660dacf04d Support Bond Eni. 2021-12-06 11:51:53 +00:00
sdk-team
fde408fe24 Generated 2020-05-18 for dataworks-public. 2021-12-06 09:41:31 +00:00
sdk-team
f78ca8c724 Modify the input parameter Action of DescribeCenInterRegionBandwidthLimits to be required. 2021-12-06 03:47:38 +00:00
sdk-team
6f8b83d17e Add EventRule Content Filter. 2021-12-03 08:43:24 +00:00
sdk-team
9b5da5d494 Support EndpointType and ServiceType. 2021-12-03 06:19:13 +00:00
sdk-team
ba890b6d6c Update MergeImageFace QueryFaceImageTemplate AddFaceImageTemplate DeleteFaceImageTemplate. 2021-12-02 07:58:02 +00:00
sdk-team
6bdc46aefb Support not switching routes when VBR health check fails. 2021-12-01 06:21:45 +00:00
sdk-team
e2a8813a1b Supported RequestDecision For YN. 2021-12-01 05:43:33 +00:00
sdk-team
37dde26ac1 Support health check paging. 2021-11-30 03:20:26 +00:00
sdk-team
cf984bbcfc Support health check paging. 2021-11-30 02:41:43 +00:00
sdk-team
fe11ae7d12 Add API for unregister sip phone device, masked callee, etc. 2021-11-29 08:54:14 +00:00
sdk-team
4095ec22b9 Update DescribeCdnSMCertificateDetail. 2021-11-29 06:48:50 +00:00
sdk-team
2829dacfb2 Update SetDcdnDomainSMCertificate. 2021-11-29 06:47:05 +00:00
sdk-team
051e0b3a92 Generated 2016-11-01 for live. 2021-11-29 03:24:38 +00:00
sdk-team
d85d6f6494 Support CEN Qos Apis. 2021-11-26 10:17:07 +00:00
sdk-team
353bb56a9b Update GetSyncResult. 2021-11-26 07:08:47 +00:00
sdk-team
c1390eb44e Supported new features etc. 2021-11-25 10:59:06 +00:00
sdk-team
e39d422408 Supported new features etc. 2021-11-25 08:00:29 +00:00
sdk-team
6c4aa68089 Supported new features for outbound. 2021-11-25 07:38:52 +00:00
sdk-team
de92956a15 Delete some abandoned interface. 2021-11-25 06:28:55 +00:00
sdk-team
befec9ee53 Minor changes. 2021-11-25 02:45:18 +00:00
sdk-team
9ca2a7694b Delete some abandoned interface in SDK. 2021-11-24 08:11:13 +00:00
sdk-team
caafbf0de9 Set API DescribeVodDomainSrcBpsData to public. 2021-11-24 03:51:24 +00:00
sdk-team
1c7304d44c Delete some abandoned interface in SDK. 2021-11-23 12:38:57 +00:00
sdk-team
a34003466f Update RecognizeCharacter. 2021-11-23 06:55:48 +00:00
sdk-team
14dc74bf6a Generated 2016-04-08 for Emr. 2021-11-23 06:39:37 +00:00
sdk-team
2373071165 Fix BdsColdStorage. 2021-11-23 04:28:47 +00:00
sdk-team
13d4cbf2f9 Support the IP restrictions in ram policy. 2021-11-23 03:26:55 +00:00
sdk-team
650feae280 Add site monitoring dial DNS_ match_ rule. 2021-11-19 04:26:31 +00:00
sdk-team
d1aee32108 Update apm interface parameter. 2021-11-17 02:30:14 +00:00
sdk-team
607556b08a Add parameter type HDRType. 2021-11-16 10:54:12 +00:00
sdk-team
28afe651a7 Update apm interface parameter. 2021-11-16 09:47:13 +00:00
sdk-team
096a349c41 Update apm interface parameter. 2021-11-16 09:34:07 +00:00
sdk-team
191dc8eb68 Generated 2017-12-28 for ddoscoo. 2021-11-16 09:33:44 +00:00
sdk-team
7a98ea847f Update SetCdnDomainSMCertificate. 2021-11-16 08:48:22 +00:00
2288 changed files with 66919 additions and 76807 deletions

135
CHANGELOG
View File

@@ -1,3 +1,138 @@
2021-12-13 Version: 1.36.974
- Support query resourceType.
2021-12-09 Version: 1.36.973
- Support ACR EE, OSS, EIP for deploy.
2021-12-08 Version: 1.36.972
- Add API for New Features.
2021-12-08 Version: 1.36.971
- Fixed bugs for UnbindSubscription API.
2021-12-07 Version: 1.36.970
- Fix DescribeInstances clusterId.
2021-12-07 Version: 1.36.969
- Add MetaTag APIs.
2021-12-07 Version: 1.36.968
- Add MetaTag APIs.
2021-12-06 Version: 1.36.967
- Support Bond Eni.
2021-12-06 Version: 1.36.966
- Support Bond Eni.
2021-12-06 Version: 1.36.965
- Generated 2020-05-18 for `dataworks-public`.
2021-12-06 Version: 1.36.964
- Modify the input parameter Action of DescribeCenInterRegionBandwidthLimits to be required.
2021-12-03 Version: 1.36.963
- Add EventRule Content Filter.
- Add MetricRule Labels.
2021-12-03 Version: 1.36.962
- Support EndpointType and ServiceType.
2021-12-02 Version: 1.36.961
- Update MergeImageFace QueryFaceImageTemplate AddFaceImageTemplate DeleteFaceImageTemplate.
2021-12-01 Version: 1.36.960
- Support not switching routes when VBR health check fails.
- Support order type when cross-account authorization and display.
2021-12-01 Version: 1.36.959
- Supported RequestDecision For YN.
2021-11-30 Version: 1.36.958
- Support health check paging.
2021-11-30 Version: 1.36.957
- Support health check paging.
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.

View File

@@ -1 +1 @@
1.36.931
1.36.974

View File

@@ -25,10 +25,14 @@ set(alb_public_header_model
include/alibabacloud/alb/model/AddEntriesToAclResult.h
include/alibabacloud/alb/model/AddServersToServerGroupRequest.h
include/alibabacloud/alb/model/AddServersToServerGroupResult.h
include/alibabacloud/alb/model/ApplyHealthCheckTemplateToServerGroupRequest.h
include/alibabacloud/alb/model/ApplyHealthCheckTemplateToServerGroupResult.h
include/alibabacloud/alb/model/AssociateAclsWithListenerRequest.h
include/alibabacloud/alb/model/AssociateAclsWithListenerResult.h
include/alibabacloud/alb/model/AssociateAdditionalCertificatesWithListenerRequest.h
include/alibabacloud/alb/model/AssociateAdditionalCertificatesWithListenerResult.h
include/alibabacloud/alb/model/AttachCommonBandwidthPackageToLoadBalancerRequest.h
include/alibabacloud/alb/model/AttachCommonBandwidthPackageToLoadBalancerResult.h
include/alibabacloud/alb/model/CreateAclRequest.h
include/alibabacloud/alb/model/CreateAclResult.h
include/alibabacloud/alb/model/CreateHealthCheckTemplateRequest.h
@@ -65,6 +69,8 @@ set(alb_public_header_model
include/alibabacloud/alb/model/DescribeRegionsResult.h
include/alibabacloud/alb/model/DescribeZonesRequest.h
include/alibabacloud/alb/model/DescribeZonesResult.h
include/alibabacloud/alb/model/DetachCommonBandwidthPackageFromLoadBalancerRequest.h
include/alibabacloud/alb/model/DetachCommonBandwidthPackageFromLoadBalancerResult.h
include/alibabacloud/alb/model/DisableDeletionProtectionRequest.h
include/alibabacloud/alb/model/DisableDeletionProtectionResult.h
include/alibabacloud/alb/model/DisableLoadBalancerAccessLogRequest.h
@@ -81,6 +87,8 @@ set(alb_public_header_model
include/alibabacloud/alb/model/GetHealthCheckTemplateAttributeResult.h
include/alibabacloud/alb/model/GetListenerAttributeRequest.h
include/alibabacloud/alb/model/GetListenerAttributeResult.h
include/alibabacloud/alb/model/GetListenerHealthStatusRequest.h
include/alibabacloud/alb/model/GetListenerHealthStatusResult.h
include/alibabacloud/alb/model/GetLoadBalancerAttributeRequest.h
include/alibabacloud/alb/model/GetLoadBalancerAttributeResult.h
include/alibabacloud/alb/model/ListAclEntriesRequest.h
@@ -145,6 +153,8 @@ set(alb_public_header_model
include/alibabacloud/alb/model/UpdateLoadBalancerAttributeResult.h
include/alibabacloud/alb/model/UpdateLoadBalancerEditionRequest.h
include/alibabacloud/alb/model/UpdateLoadBalancerEditionResult.h
include/alibabacloud/alb/model/UpdateLoadBalancerZonesRequest.h
include/alibabacloud/alb/model/UpdateLoadBalancerZonesResult.h
include/alibabacloud/alb/model/UpdateRuleAttributeRequest.h
include/alibabacloud/alb/model/UpdateRuleAttributeResult.h
include/alibabacloud/alb/model/UpdateRulesAttributeRequest.h
@@ -162,10 +172,14 @@ set(alb_src
src/model/AddEntriesToAclResult.cc
src/model/AddServersToServerGroupRequest.cc
src/model/AddServersToServerGroupResult.cc
src/model/ApplyHealthCheckTemplateToServerGroupRequest.cc
src/model/ApplyHealthCheckTemplateToServerGroupResult.cc
src/model/AssociateAclsWithListenerRequest.cc
src/model/AssociateAclsWithListenerResult.cc
src/model/AssociateAdditionalCertificatesWithListenerRequest.cc
src/model/AssociateAdditionalCertificatesWithListenerResult.cc
src/model/AttachCommonBandwidthPackageToLoadBalancerRequest.cc
src/model/AttachCommonBandwidthPackageToLoadBalancerResult.cc
src/model/CreateAclRequest.cc
src/model/CreateAclResult.cc
src/model/CreateHealthCheckTemplateRequest.cc
@@ -202,6 +216,8 @@ set(alb_src
src/model/DescribeRegionsResult.cc
src/model/DescribeZonesRequest.cc
src/model/DescribeZonesResult.cc
src/model/DetachCommonBandwidthPackageFromLoadBalancerRequest.cc
src/model/DetachCommonBandwidthPackageFromLoadBalancerResult.cc
src/model/DisableDeletionProtectionRequest.cc
src/model/DisableDeletionProtectionResult.cc
src/model/DisableLoadBalancerAccessLogRequest.cc
@@ -218,6 +234,8 @@ set(alb_src
src/model/GetHealthCheckTemplateAttributeResult.cc
src/model/GetListenerAttributeRequest.cc
src/model/GetListenerAttributeResult.cc
src/model/GetListenerHealthStatusRequest.cc
src/model/GetListenerHealthStatusResult.cc
src/model/GetLoadBalancerAttributeRequest.cc
src/model/GetLoadBalancerAttributeResult.cc
src/model/ListAclEntriesRequest.cc
@@ -282,6 +300,8 @@ set(alb_src
src/model/UpdateLoadBalancerAttributeResult.cc
src/model/UpdateLoadBalancerEditionRequest.cc
src/model/UpdateLoadBalancerEditionResult.cc
src/model/UpdateLoadBalancerZonesRequest.cc
src/model/UpdateLoadBalancerZonesResult.cc
src/model/UpdateRuleAttributeRequest.cc
src/model/UpdateRuleAttributeResult.cc
src/model/UpdateRulesAttributeRequest.cc

View File

@@ -26,10 +26,14 @@
#include "model/AddEntriesToAclResult.h"
#include "model/AddServersToServerGroupRequest.h"
#include "model/AddServersToServerGroupResult.h"
#include "model/ApplyHealthCheckTemplateToServerGroupRequest.h"
#include "model/ApplyHealthCheckTemplateToServerGroupResult.h"
#include "model/AssociateAclsWithListenerRequest.h"
#include "model/AssociateAclsWithListenerResult.h"
#include "model/AssociateAdditionalCertificatesWithListenerRequest.h"
#include "model/AssociateAdditionalCertificatesWithListenerResult.h"
#include "model/AttachCommonBandwidthPackageToLoadBalancerRequest.h"
#include "model/AttachCommonBandwidthPackageToLoadBalancerResult.h"
#include "model/CreateAclRequest.h"
#include "model/CreateAclResult.h"
#include "model/CreateHealthCheckTemplateRequest.h"
@@ -66,6 +70,8 @@
#include "model/DescribeRegionsResult.h"
#include "model/DescribeZonesRequest.h"
#include "model/DescribeZonesResult.h"
#include "model/DetachCommonBandwidthPackageFromLoadBalancerRequest.h"
#include "model/DetachCommonBandwidthPackageFromLoadBalancerResult.h"
#include "model/DisableDeletionProtectionRequest.h"
#include "model/DisableDeletionProtectionResult.h"
#include "model/DisableLoadBalancerAccessLogRequest.h"
@@ -82,6 +88,8 @@
#include "model/GetHealthCheckTemplateAttributeResult.h"
#include "model/GetListenerAttributeRequest.h"
#include "model/GetListenerAttributeResult.h"
#include "model/GetListenerHealthStatusRequest.h"
#include "model/GetListenerHealthStatusResult.h"
#include "model/GetLoadBalancerAttributeRequest.h"
#include "model/GetLoadBalancerAttributeResult.h"
#include "model/ListAclEntriesRequest.h"
@@ -146,6 +154,8 @@
#include "model/UpdateLoadBalancerAttributeResult.h"
#include "model/UpdateLoadBalancerEditionRequest.h"
#include "model/UpdateLoadBalancerEditionResult.h"
#include "model/UpdateLoadBalancerZonesRequest.h"
#include "model/UpdateLoadBalancerZonesResult.h"
#include "model/UpdateRuleAttributeRequest.h"
#include "model/UpdateRuleAttributeResult.h"
#include "model/UpdateRulesAttributeRequest.h"
@@ -171,12 +181,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddServersToServerGroupResult> AddServersToServerGroupOutcome;
typedef std::future<AddServersToServerGroupOutcome> AddServersToServerGroupOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::AddServersToServerGroupRequest&, const AddServersToServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddServersToServerGroupAsyncHandler;
typedef Outcome<Error, Model::ApplyHealthCheckTemplateToServerGroupResult> ApplyHealthCheckTemplateToServerGroupOutcome;
typedef std::future<ApplyHealthCheckTemplateToServerGroupOutcome> ApplyHealthCheckTemplateToServerGroupOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::ApplyHealthCheckTemplateToServerGroupRequest&, const ApplyHealthCheckTemplateToServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyHealthCheckTemplateToServerGroupAsyncHandler;
typedef Outcome<Error, Model::AssociateAclsWithListenerResult> AssociateAclsWithListenerOutcome;
typedef std::future<AssociateAclsWithListenerOutcome> AssociateAclsWithListenerOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::AssociateAclsWithListenerRequest&, const AssociateAclsWithListenerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateAclsWithListenerAsyncHandler;
typedef Outcome<Error, Model::AssociateAdditionalCertificatesWithListenerResult> AssociateAdditionalCertificatesWithListenerOutcome;
typedef std::future<AssociateAdditionalCertificatesWithListenerOutcome> AssociateAdditionalCertificatesWithListenerOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::AssociateAdditionalCertificatesWithListenerRequest&, const AssociateAdditionalCertificatesWithListenerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateAdditionalCertificatesWithListenerAsyncHandler;
typedef Outcome<Error, Model::AttachCommonBandwidthPackageToLoadBalancerResult> AttachCommonBandwidthPackageToLoadBalancerOutcome;
typedef std::future<AttachCommonBandwidthPackageToLoadBalancerOutcome> AttachCommonBandwidthPackageToLoadBalancerOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::AttachCommonBandwidthPackageToLoadBalancerRequest&, const AttachCommonBandwidthPackageToLoadBalancerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachCommonBandwidthPackageToLoadBalancerAsyncHandler;
typedef Outcome<Error, Model::CreateAclResult> CreateAclOutcome;
typedef std::future<CreateAclOutcome> CreateAclOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::CreateAclRequest&, const CreateAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAclAsyncHandler;
@@ -231,6 +247,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
typedef Outcome<Error, Model::DetachCommonBandwidthPackageFromLoadBalancerResult> DetachCommonBandwidthPackageFromLoadBalancerOutcome;
typedef std::future<DetachCommonBandwidthPackageFromLoadBalancerOutcome> DetachCommonBandwidthPackageFromLoadBalancerOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::DetachCommonBandwidthPackageFromLoadBalancerRequest&, const DetachCommonBandwidthPackageFromLoadBalancerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachCommonBandwidthPackageFromLoadBalancerAsyncHandler;
typedef Outcome<Error, Model::DisableDeletionProtectionResult> DisableDeletionProtectionOutcome;
typedef std::future<DisableDeletionProtectionOutcome> DisableDeletionProtectionOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::DisableDeletionProtectionRequest&, const DisableDeletionProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDeletionProtectionAsyncHandler;
@@ -255,6 +274,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetListenerAttributeResult> GetListenerAttributeOutcome;
typedef std::future<GetListenerAttributeOutcome> GetListenerAttributeOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::GetListenerAttributeRequest&, const GetListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetListenerAttributeAsyncHandler;
typedef Outcome<Error, Model::GetListenerHealthStatusResult> GetListenerHealthStatusOutcome;
typedef std::future<GetListenerHealthStatusOutcome> GetListenerHealthStatusOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::GetListenerHealthStatusRequest&, const GetListenerHealthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetListenerHealthStatusAsyncHandler;
typedef Outcome<Error, Model::GetLoadBalancerAttributeResult> GetLoadBalancerAttributeOutcome;
typedef std::future<GetLoadBalancerAttributeOutcome> GetLoadBalancerAttributeOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::GetLoadBalancerAttributeRequest&, const GetLoadBalancerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoadBalancerAttributeAsyncHandler;
@@ -351,6 +373,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateLoadBalancerEditionResult> UpdateLoadBalancerEditionOutcome;
typedef std::future<UpdateLoadBalancerEditionOutcome> UpdateLoadBalancerEditionOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::UpdateLoadBalancerEditionRequest&, const UpdateLoadBalancerEditionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoadBalancerEditionAsyncHandler;
typedef Outcome<Error, Model::UpdateLoadBalancerZonesResult> UpdateLoadBalancerZonesOutcome;
typedef std::future<UpdateLoadBalancerZonesOutcome> UpdateLoadBalancerZonesOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::UpdateLoadBalancerZonesRequest&, const UpdateLoadBalancerZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoadBalancerZonesAsyncHandler;
typedef Outcome<Error, Model::UpdateRuleAttributeResult> UpdateRuleAttributeOutcome;
typedef std::future<UpdateRuleAttributeOutcome> UpdateRuleAttributeOutcomeCallable;
typedef std::function<void(const AlbClient*, const Model::UpdateRuleAttributeRequest&, const UpdateRuleAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRuleAttributeAsyncHandler;
@@ -377,12 +402,18 @@ namespace AlibabaCloud
AddServersToServerGroupOutcome addServersToServerGroup(const Model::AddServersToServerGroupRequest &request)const;
void addServersToServerGroupAsync(const Model::AddServersToServerGroupRequest& request, const AddServersToServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddServersToServerGroupOutcomeCallable addServersToServerGroupCallable(const Model::AddServersToServerGroupRequest& request) const;
ApplyHealthCheckTemplateToServerGroupOutcome applyHealthCheckTemplateToServerGroup(const Model::ApplyHealthCheckTemplateToServerGroupRequest &request)const;
void applyHealthCheckTemplateToServerGroupAsync(const Model::ApplyHealthCheckTemplateToServerGroupRequest& request, const ApplyHealthCheckTemplateToServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyHealthCheckTemplateToServerGroupOutcomeCallable applyHealthCheckTemplateToServerGroupCallable(const Model::ApplyHealthCheckTemplateToServerGroupRequest& request) const;
AssociateAclsWithListenerOutcome associateAclsWithListener(const Model::AssociateAclsWithListenerRequest &request)const;
void associateAclsWithListenerAsync(const Model::AssociateAclsWithListenerRequest& request, const AssociateAclsWithListenerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssociateAclsWithListenerOutcomeCallable associateAclsWithListenerCallable(const Model::AssociateAclsWithListenerRequest& request) const;
AssociateAdditionalCertificatesWithListenerOutcome associateAdditionalCertificatesWithListener(const Model::AssociateAdditionalCertificatesWithListenerRequest &request)const;
void associateAdditionalCertificatesWithListenerAsync(const Model::AssociateAdditionalCertificatesWithListenerRequest& request, const AssociateAdditionalCertificatesWithListenerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssociateAdditionalCertificatesWithListenerOutcomeCallable associateAdditionalCertificatesWithListenerCallable(const Model::AssociateAdditionalCertificatesWithListenerRequest& request) const;
AttachCommonBandwidthPackageToLoadBalancerOutcome attachCommonBandwidthPackageToLoadBalancer(const Model::AttachCommonBandwidthPackageToLoadBalancerRequest &request)const;
void attachCommonBandwidthPackageToLoadBalancerAsync(const Model::AttachCommonBandwidthPackageToLoadBalancerRequest& request, const AttachCommonBandwidthPackageToLoadBalancerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachCommonBandwidthPackageToLoadBalancerOutcomeCallable attachCommonBandwidthPackageToLoadBalancerCallable(const Model::AttachCommonBandwidthPackageToLoadBalancerRequest& request) const;
CreateAclOutcome createAcl(const Model::CreateAclRequest &request)const;
void createAclAsync(const Model::CreateAclRequest& request, const CreateAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAclOutcomeCallable createAclCallable(const Model::CreateAclRequest& request) const;
@@ -437,6 +468,9 @@ namespace AlibabaCloud
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
DetachCommonBandwidthPackageFromLoadBalancerOutcome detachCommonBandwidthPackageFromLoadBalancer(const Model::DetachCommonBandwidthPackageFromLoadBalancerRequest &request)const;
void detachCommonBandwidthPackageFromLoadBalancerAsync(const Model::DetachCommonBandwidthPackageFromLoadBalancerRequest& request, const DetachCommonBandwidthPackageFromLoadBalancerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachCommonBandwidthPackageFromLoadBalancerOutcomeCallable detachCommonBandwidthPackageFromLoadBalancerCallable(const Model::DetachCommonBandwidthPackageFromLoadBalancerRequest& request) const;
DisableDeletionProtectionOutcome disableDeletionProtection(const Model::DisableDeletionProtectionRequest &request)const;
void disableDeletionProtectionAsync(const Model::DisableDeletionProtectionRequest& request, const DisableDeletionProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableDeletionProtectionOutcomeCallable disableDeletionProtectionCallable(const Model::DisableDeletionProtectionRequest& request) const;
@@ -461,6 +495,9 @@ namespace AlibabaCloud
GetListenerAttributeOutcome getListenerAttribute(const Model::GetListenerAttributeRequest &request)const;
void getListenerAttributeAsync(const Model::GetListenerAttributeRequest& request, const GetListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetListenerAttributeOutcomeCallable getListenerAttributeCallable(const Model::GetListenerAttributeRequest& request) const;
GetListenerHealthStatusOutcome getListenerHealthStatus(const Model::GetListenerHealthStatusRequest &request)const;
void getListenerHealthStatusAsync(const Model::GetListenerHealthStatusRequest& request, const GetListenerHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetListenerHealthStatusOutcomeCallable getListenerHealthStatusCallable(const Model::GetListenerHealthStatusRequest& request) const;
GetLoadBalancerAttributeOutcome getLoadBalancerAttribute(const Model::GetLoadBalancerAttributeRequest &request)const;
void getLoadBalancerAttributeAsync(const Model::GetLoadBalancerAttributeRequest& request, const GetLoadBalancerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLoadBalancerAttributeOutcomeCallable getLoadBalancerAttributeCallable(const Model::GetLoadBalancerAttributeRequest& request) const;
@@ -557,6 +594,9 @@ namespace AlibabaCloud
UpdateLoadBalancerEditionOutcome updateLoadBalancerEdition(const Model::UpdateLoadBalancerEditionRequest &request)const;
void updateLoadBalancerEditionAsync(const Model::UpdateLoadBalancerEditionRequest& request, const UpdateLoadBalancerEditionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLoadBalancerEditionOutcomeCallable updateLoadBalancerEditionCallable(const Model::UpdateLoadBalancerEditionRequest& request) const;
UpdateLoadBalancerZonesOutcome updateLoadBalancerZones(const Model::UpdateLoadBalancerZonesRequest &request)const;
void updateLoadBalancerZonesAsync(const Model::UpdateLoadBalancerZonesRequest& request, const UpdateLoadBalancerZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLoadBalancerZonesOutcomeCallable updateLoadBalancerZonesCallable(const Model::UpdateLoadBalancerZonesRequest& request) const;
UpdateRuleAttributeOutcome updateRuleAttribute(const Model::UpdateRuleAttributeRequest &request)const;
void updateRuleAttributeAsync(const Model::UpdateRuleAttributeRequest& request, const UpdateRuleAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateRuleAttributeOutcomeCallable updateRuleAttributeCallable(const Model::UpdateRuleAttributeRequest& request) const;

View File

@@ -29,6 +29,7 @@ namespace Model {
class ALIBABACLOUD_ALB_EXPORT AddServersToServerGroupRequest : public RpcServiceRequest {
public:
struct Servers {
bool remoteIpEnabled;
std::string serverType;
int port;
std::string description;

View File

@@ -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_ALB_MODEL_APPLYHEALTHCHECKTEMPLATETOSERVERGROUPREQUEST_H_
#define ALIBABACLOUD_ALB_MODEL_APPLYHEALTHCHECKTEMPLATETOSERVERGROUPREQUEST_H_
#include <alibabacloud/alb/AlbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alb {
namespace Model {
class ALIBABACLOUD_ALB_EXPORT ApplyHealthCheckTemplateToServerGroupRequest : public RpcServiceRequest {
public:
ApplyHealthCheckTemplateToServerGroupRequest();
~ApplyHealthCheckTemplateToServerGroupRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getServerGroupId() const;
void setServerGroupId(const std::string &serverGroupId);
bool getDryRun() const;
void setDryRun(bool dryRun);
std::string getHealthCheckTemplateId() const;
void setHealthCheckTemplateId(const std::string &healthCheckTemplateId);
private:
std::string clientToken_;
std::string serverGroupId_;
bool dryRun_;
std::string healthCheckTemplateId_;
};
} // namespace Model
} // namespace Alb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALB_MODEL_APPLYHEALTHCHECKTEMPLATETOSERVERGROUPREQUEST_H_

View File

@@ -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_ALB_MODEL_APPLYHEALTHCHECKTEMPLATETOSERVERGROUPRESULT_H_
#define ALIBABACLOUD_ALB_MODEL_APPLYHEALTHCHECKTEMPLATETOSERVERGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alb/AlbExport.h>
namespace AlibabaCloud
{
namespace Alb
{
namespace Model
{
class ALIBABACLOUD_ALB_EXPORT ApplyHealthCheckTemplateToServerGroupResult : public ServiceResult
{
public:
ApplyHealthCheckTemplateToServerGroupResult();
explicit ApplyHealthCheckTemplateToServerGroupResult(const std::string &payload);
~ApplyHealthCheckTemplateToServerGroupResult();
std::string getJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALB_MODEL_APPLYHEALTHCHECKTEMPLATETOSERVERGROUPRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* 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_ALB_MODEL_ATTACHCOMMONBANDWIDTHPACKAGETOLOADBALANCERREQUEST_H_
#define ALIBABACLOUD_ALB_MODEL_ATTACHCOMMONBANDWIDTHPACKAGETOLOADBALANCERREQUEST_H_
#include <alibabacloud/alb/AlbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alb {
namespace Model {
class ALIBABACLOUD_ALB_EXPORT AttachCommonBandwidthPackageToLoadBalancerRequest : public RpcServiceRequest {
public:
AttachCommonBandwidthPackageToLoadBalancerRequest();
~AttachCommonBandwidthPackageToLoadBalancerRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getBandwidthPackageId() const;
void setBandwidthPackageId(const std::string &bandwidthPackageId);
bool getDryRun() const;
void setDryRun(bool dryRun);
std::string getLoadBalancerId() const;
void setLoadBalancerId(const std::string &loadBalancerId);
private:
std::string clientToken_;
std::string regionId_;
std::string bandwidthPackageId_;
bool dryRun_;
std::string loadBalancerId_;
};
} // namespace Model
} // namespace Alb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALB_MODEL_ATTACHCOMMONBANDWIDTHPACKAGETOLOADBALANCERREQUEST_H_

View File

@@ -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_ALB_MODEL_ATTACHCOMMONBANDWIDTHPACKAGETOLOADBALANCERRESULT_H_
#define ALIBABACLOUD_ALB_MODEL_ATTACHCOMMONBANDWIDTHPACKAGETOLOADBALANCERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alb/AlbExport.h>
namespace AlibabaCloud
{
namespace Alb
{
namespace Model
{
class ALIBABACLOUD_ALB_EXPORT AttachCommonBandwidthPackageToLoadBalancerResult : public ServiceResult
{
public:
AttachCommonBandwidthPackageToLoadBalancerResult();
explicit AttachCommonBandwidthPackageToLoadBalancerResult(const std::string &payload);
~AttachCommonBandwidthPackageToLoadBalancerResult();
std::string getJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALB_MODEL_ATTACHCOMMONBANDWIDTHPACKAGETOLOADBALANCERRESULT_H_

View File

@@ -33,6 +33,7 @@ public:
std::string status;
};
struct LoadBalancerBillingConfig {
std::string bandwidthPackageId;
std::string internetChargeType;
int internetBandwidth;
std::string payType;
@@ -40,6 +41,7 @@ public:
struct ZoneMappings {
std::string vSwitchId;
std::string zoneId;
std::string allocationId;
};
CreateLoadBalancerRequest();
~CreateLoadBalancerRequest();
@@ -51,6 +53,8 @@ public:
void setModificationProtectionConfig(const ModificationProtectionConfig &modificationProtectionConfig);
LoadBalancerBillingConfig getLoadBalancerBillingConfig() const;
void setLoadBalancerBillingConfig(const LoadBalancerBillingConfig &loadBalancerBillingConfig);
std::string getAddressIpVersion() const;
void setAddressIpVersion(const std::string &addressIpVersion);
bool getDeletionProtectionEnabled() const;
void setDeletionProtectionEnabled(bool deletionProtectionEnabled);
std::string getResourceGroupId() const;
@@ -73,6 +77,7 @@ private:
std::string clientToken_;
ModificationProtectionConfig modificationProtectionConfig_;
LoadBalancerBillingConfig loadBalancerBillingConfig_;
std::string addressIpVersion_;
bool deletionProtectionEnabled_;
std::string resourceGroupId_;
std::string loadBalancerName_;

View File

@@ -66,10 +66,14 @@ public:
void setResourceGroupId(const std::string &resourceGroupId);
std::string getProtocol() const;
void setProtocol(const std::string &protocol);
bool getUpstreamKeepaliveEnabled() const;
void setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled);
StickySessionConfig getStickySessionConfig() const;
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
bool getDryRun() const;
void setDryRun(bool dryRun);
bool getIpv6Enabled() const;
void setIpv6Enabled(bool ipv6Enabled);
std::string getServerGroupType() const;
void setServerGroupType(const std::string &serverGroupType);
std::string getVpcId() const;
@@ -82,8 +86,10 @@ private:
std::string scheduler_;
std::string resourceGroupId_;
std::string protocol_;
bool upstreamKeepaliveEnabled_;
StickySessionConfig stickySessionConfig_;
bool dryRun_;
bool ipv6Enabled_;
std::string serverGroupType_;
std::string vpcId_;
};

View File

@@ -0,0 +1,54 @@
/*
* 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_ALB_MODEL_DETACHCOMMONBANDWIDTHPACKAGEFROMLOADBALANCERREQUEST_H_
#define ALIBABACLOUD_ALB_MODEL_DETACHCOMMONBANDWIDTHPACKAGEFROMLOADBALANCERREQUEST_H_
#include <alibabacloud/alb/AlbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alb {
namespace Model {
class ALIBABACLOUD_ALB_EXPORT DetachCommonBandwidthPackageFromLoadBalancerRequest : public RpcServiceRequest {
public:
DetachCommonBandwidthPackageFromLoadBalancerRequest();
~DetachCommonBandwidthPackageFromLoadBalancerRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getBandwidthPackageId() const;
void setBandwidthPackageId(const std::string &bandwidthPackageId);
bool getDryRun() const;
void setDryRun(bool dryRun);
std::string getLoadBalancerId() const;
void setLoadBalancerId(const std::string &loadBalancerId);
private:
std::string clientToken_;
std::string regionId_;
std::string bandwidthPackageId_;
bool dryRun_;
std::string loadBalancerId_;
};
} // namespace Model
} // namespace Alb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALB_MODEL_DETACHCOMMONBANDWIDTHPACKAGEFROMLOADBALANCERREQUEST_H_

View File

@@ -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_ALB_MODEL_DETACHCOMMONBANDWIDTHPACKAGEFROMLOADBALANCERRESULT_H_
#define ALIBABACLOUD_ALB_MODEL_DETACHCOMMONBANDWIDTHPACKAGEFROMLOADBALANCERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alb/AlbExport.h>
namespace AlibabaCloud
{
namespace Alb
{
namespace Model
{
class ALIBABACLOUD_ALB_EXPORT DetachCommonBandwidthPackageFromLoadBalancerResult : public ServiceResult
{
public:
DetachCommonBandwidthPackageFromLoadBalancerResult();
explicit DetachCommonBandwidthPackageFromLoadBalancerResult(const std::string &payload);
~DetachCommonBandwidthPackageFromLoadBalancerResult();
std::string getJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALB_MODEL_DETACHCOMMONBANDWIDTHPACKAGEFROMLOADBALANCERRESULT_H_

View File

@@ -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_ALB_MODEL_GETLISTENERHEALTHSTATUSREQUEST_H_
#define ALIBABACLOUD_ALB_MODEL_GETLISTENERHEALTHSTATUSREQUEST_H_
#include <alibabacloud/alb/AlbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alb {
namespace Model {
class ALIBABACLOUD_ALB_EXPORT GetListenerHealthStatusRequest : public RpcServiceRequest {
public:
GetListenerHealthStatusRequest();
~GetListenerHealthStatusRequest();
bool getIncludeRule() const;
void setIncludeRule(bool includeRule);
std::string getListenerId() const;
void setListenerId(const std::string &listenerId);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
long getMaxResults() const;
void setMaxResults(long maxResults);
private:
bool includeRule_;
std::string listenerId_;
std::string nextToken_;
long maxResults_;
};
} // namespace Model
} // namespace Alb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALB_MODEL_GETLISTENERHEALTHSTATUSREQUEST_H_

View File

@@ -0,0 +1,109 @@
/*
* 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_ALB_MODEL_GETLISTENERHEALTHSTATUSRESULT_H_
#define ALIBABACLOUD_ALB_MODEL_GETLISTENERHEALTHSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alb/AlbExport.h>
namespace AlibabaCloud
{
namespace Alb
{
namespace Model
{
class ALIBABACLOUD_ALB_EXPORT GetListenerHealthStatusResult : public ServiceResult
{
public:
struct ListenerHealthStatusModel
{
struct ServerGroupHealthStatusModel
{
struct BackendServerHealthStatusModel
{
struct Reason
{
std::string expectedResponse;
std::string actualResponse;
std::string reasonCode;
};
std::string status;
std::string serverId;
int port;
std::string serverIp;
Reason reason;
};
std::string actionType;
std::vector<ServerGroupHealthStatusModel::BackendServerHealthStatusModel> nonNormalServers;
std::string serverGroupId;
std::string healthCheckEnabled;
};
int listenerPort;
std::vector<ListenerHealthStatusModel::ServerGroupHealthStatusModel> serverGroupInfos;
std::string listenerProtocol;
std::string listenerId;
};
struct RuleHealthStatusModel
{
struct ServerGroupHealthStatusModel2
{
struct NonNormalServer
{
struct Reason4
{
std::string expectedResponse;
std::string actualResponse;
std::string reasonCode;
};
std::string status;
std::string serverId;
Reason4 reason4;
int port;
std::string serverIp;
};
std::string actionType;
std::string serverGroupId;
std::string healthCheckEnabled;
std::vector<ServerGroupHealthStatusModel2::NonNormalServer> nonNormalServers3;
};
std::vector<RuleHealthStatusModel::ServerGroupHealthStatusModel2> serverGroupInfos1;
std::string ruleId;
};
GetListenerHealthStatusResult();
explicit GetListenerHealthStatusResult(const std::string &payload);
~GetListenerHealthStatusResult();
std::vector<RuleHealthStatusModel> getRuleHealthStatus()const;
std::vector<ListenerHealthStatusModel> getListenerHealthStatus()const;
std::string getNextToken()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RuleHealthStatusModel> ruleHealthStatus_;
std::vector<ListenerHealthStatusModel> listenerHealthStatus_;
std::string nextToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ALB_MODEL_GETLISTENERHEALTHSTATUSRESULT_H_

View File

@@ -68,6 +68,7 @@ namespace AlibabaCloud
struct LoadBalancerAddress
{
std::string address;
std::string ipv6Address;
};
std::string zoneId;
std::string vSwitchId;
@@ -79,56 +80,62 @@ namespace AlibabaCloud
explicit GetLoadBalancerAttributeResult(const std::string &payload);
~GetLoadBalancerAttributeResult();
bool getServiceManagedEnabled()const;
std::string getLoadBalancerEdition()const;
std::string getAddressIpVersion()const;
std::string getResourceGroupId()const;
LoadBalancerBillingConfig getLoadBalancerBillingConfig()const;
std::vector<std::string> getFeatureLabels()const;
std::string getCreateTime()const;
std::string getLoadBalancerId()const;
std::vector<ZoneMapping> getZoneMappings()const;
std::string getDNSName()const;
std::string getIpv6AddressType()const;
int getBandwidthCapacity()const;
DeletionProtectionConfig getDeletionProtectionConfig()const;
std::string getServiceManagedMode()const;
std::string getBandwidthPackageId()const;
std::vector<Tag> getTags()const;
std::string getLoadBalancerEdition()const;
LoadBalancerBillingConfig getLoadBalancerBillingConfig()const;
std::string getCreateTime()const;
ModificationProtectionConfig getModificationProtectionConfig()const;
std::string getLoadBalancerName()const;
AccessLogConfig getAccessLogConfig()const;
int getBandwidthCapacity()const;
DeletionProtectionConfig getDeletionProtectionConfig()const;
bool getConfigManagedEnabled()const;
std::string getLoadBalancerBussinessStatus()const;
std::string getVpcId()const;
std::string getServiceManagedMode()const;
std::string getBandwidthPackageId()const;
std::string getRegionId()const;
std::string getAddressAllocatedMode()const;
std::string getAddressType()const;
std::string getLoadBalancerStatus()const;
std::vector<Tag> getTags()const;
std::vector<LoadBalancerOperationLock> getLoadBalancerOperationLocks()const;
protected:
void parse(const std::string &payload);
private:
bool serviceManagedEnabled_;
std::string loadBalancerEdition_;
std::string addressIpVersion_;
std::string resourceGroupId_;
LoadBalancerBillingConfig loadBalancerBillingConfig_;
std::vector<std::string> featureLabels_;
std::string createTime_;
std::string loadBalancerId_;
std::vector<ZoneMapping> zoneMappings_;
std::string dNSName_;
std::string ipv6AddressType_;
int bandwidthCapacity_;
DeletionProtectionConfig deletionProtectionConfig_;
std::string serviceManagedMode_;
std::string bandwidthPackageId_;
std::vector<Tag> tags_;
std::string loadBalancerEdition_;
LoadBalancerBillingConfig loadBalancerBillingConfig_;
std::string createTime_;
ModificationProtectionConfig modificationProtectionConfig_;
std::string loadBalancerName_;
AccessLogConfig accessLogConfig_;
int bandwidthCapacity_;
DeletionProtectionConfig deletionProtectionConfig_;
bool configManagedEnabled_;
std::string loadBalancerBussinessStatus_;
std::string vpcId_;
std::string serviceManagedMode_;
std::string bandwidthPackageId_;
std::string regionId_;
std::string addressAllocatedMode_;
std::string addressType_;
std::string loadBalancerStatus_;
std::vector<Tag> tags_;
std::vector<LoadBalancerOperationLock> loadBalancerOperationLocks_;
};

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct Acl
{
bool serviceManagedEnabled;
bool configManagedEnabled;
std::string aclStatus;
std::string resourceGroupId;
std::string aclId;

View File

@@ -38,6 +38,8 @@ public:
void setLoadBalancerNames(const std::vector<std::string> &loadBalancerNames);
std::vector<std::string> getLoadBalancerIds() const;
void setLoadBalancerIds(const std::vector<std::string> &loadBalancerIds);
std::string getAddressIpVersion() const;
void setAddressIpVersion(const std::string &addressIpVersion);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getNextToken() const;
@@ -60,12 +62,15 @@ public:
void setMaxResults(int maxResults);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
std::string getIpv6AddressType() const;
void setIpv6AddressType(const std::string &ipv6AddressType);
std::string getPayType() const;
void setPayType(const std::string &payType);
private:
std::vector<std::string> loadBalancerNames_;
std::vector<std::string> loadBalancerIds_;
std::string addressIpVersion_;
std::string resourceGroupId_;
std::string nextToken_;
std::string loadBalancerBussinessStatus_;
@@ -77,6 +82,7 @@ private:
std::string internetChargeType_;
int maxResults_;
std::string zoneId_;
std::string ipv6AddressType_;
std::string payType_;
};
} // namespace Model

View File

@@ -67,15 +67,18 @@ namespace AlibabaCloud
};
bool serviceManagedEnabled;
std::string loadBalancerEdition;
std::string addressIpVersion;
std::string resourceGroupId;
LoadBalancerBillingConfig loadBalancerBillingConfig;
std::string createTime;
std::string loadBalancerId;
std::string dNSName;
ModificationProtectionConfig modificationProtectionConfig;
std::string ipv6AddressType;
std::string loadBalancerName;
AccessLogConfig accessLogConfig;
int bandwidthCapacity;
bool configManagedEnabled;
DeletionProtectionConfig deletionProtectionConfig;
std::string loadBalancerBussinessStatus;
std::string vpcId;

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string serverId;
int port;
std::string serverIp;
bool remoteIpEnabled;
std::string serverGroupId;
int weight;
};

View File

@@ -67,10 +67,14 @@ namespace AlibabaCloud
std::vector<std::string> relatedLoadBalancerIds;
std::string resourceGroupId;
std::string scheduler;
bool upstreamKeepaliveEnabled;
StickySessionConfig stickySessionConfig;
std::string serverGroupId;
int serverCount;
std::string serverGroupType;
std::string serverGroupStatus;
bool ipv6Enabled;
bool configManagedEnabled;
std::string vpcId;
std::string serviceManagedMode;
HealthCheckConfig healthCheckConfig;

View File

@@ -29,6 +29,7 @@ namespace Model {
class ALIBABACLOUD_ALB_EXPORT ReplaceServersInServerGroupRequest : public RpcServiceRequest {
public:
struct AddedServers {
bool remoteIpEnabled;
std::string serverType;
int port;
std::string description;

View File

@@ -0,0 +1,56 @@
/*
* 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_ALB_MODEL_UPDATELOADBALANCERZONESREQUEST_H_
#define ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERZONESREQUEST_H_
#include <alibabacloud/alb/AlbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Alb {
namespace Model {
class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerZonesRequest : public RpcServiceRequest {
public:
struct ZoneMappings {
std::string vSwitchId;
std::string zoneId;
std::string allocationId;
};
UpdateLoadBalancerZonesRequest();
~UpdateLoadBalancerZonesRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
bool getDryRun() const;
void setDryRun(bool dryRun);
std::vector<ZoneMappings> getZoneMappings() const;
void setZoneMappings(const std::vector<ZoneMappings> &zoneMappings);
std::string getLoadBalancerId() const;
void setLoadBalancerId(const std::string &loadBalancerId);
private:
std::string clientToken_;
bool dryRun_;
std::vector<ZoneMappings> zoneMappings_;
std::string loadBalancerId_;
};
} // namespace Model
} // namespace Alb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERZONESREQUEST_H_

View File

@@ -14,29 +14,29 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBRESULT_H_
#ifndef ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERZONESRESULT_H_
#define ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERZONESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/alb/AlbExport.h>
namespace AlibabaCloud
{
namespace Vod
namespace Alb
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT SubmitAICaptionExtractionJobResult : public ServiceResult
class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerZonesResult : public ServiceResult
{
public:
SubmitAICaptionExtractionJobResult();
explicit SubmitAICaptionExtractionJobResult(const std::string &payload);
~SubmitAICaptionExtractionJobResult();
UpdateLoadBalancerZonesResult();
explicit UpdateLoadBalancerZonesResult(const std::string &payload);
~UpdateLoadBalancerZonesResult();
std::string getJobId()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAICAPTIONEXTRACTIONJOBRESULT_H_
#endif // !ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERZONESRESULT_H_

View File

@@ -64,6 +64,8 @@ public:
void setScheduler(const std::string &scheduler);
std::string getServerGroupId() const;
void setServerGroupId(const std::string &serverGroupId);
bool getUpstreamKeepaliveEnabled() const;
void setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled);
StickySessionConfig getStickySessionConfig() const;
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
bool getDryRun() const;
@@ -75,6 +77,7 @@ private:
HealthCheckConfig healthCheckConfig_;
std::string scheduler_;
std::string serverGroupId_;
bool upstreamKeepaliveEnabled_;
StickySessionConfig stickySessionConfig_;
bool dryRun_;
};

View File

@@ -123,6 +123,42 @@ AlbClient::AddServersToServerGroupOutcomeCallable AlbClient::addServersToServerG
return task->get_future();
}
AlbClient::ApplyHealthCheckTemplateToServerGroupOutcome AlbClient::applyHealthCheckTemplateToServerGroup(const ApplyHealthCheckTemplateToServerGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ApplyHealthCheckTemplateToServerGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ApplyHealthCheckTemplateToServerGroupOutcome(ApplyHealthCheckTemplateToServerGroupResult(outcome.result()));
else
return ApplyHealthCheckTemplateToServerGroupOutcome(outcome.error());
}
void AlbClient::applyHealthCheckTemplateToServerGroupAsync(const ApplyHealthCheckTemplateToServerGroupRequest& request, const ApplyHealthCheckTemplateToServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, applyHealthCheckTemplateToServerGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
AlbClient::ApplyHealthCheckTemplateToServerGroupOutcomeCallable AlbClient::applyHealthCheckTemplateToServerGroupCallable(const ApplyHealthCheckTemplateToServerGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ApplyHealthCheckTemplateToServerGroupOutcome()>>(
[this, request]()
{
return this->applyHealthCheckTemplateToServerGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlbClient::AssociateAclsWithListenerOutcome AlbClient::associateAclsWithListener(const AssociateAclsWithListenerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -195,6 +231,42 @@ AlbClient::AssociateAdditionalCertificatesWithListenerOutcomeCallable AlbClient:
return task->get_future();
}
AlbClient::AttachCommonBandwidthPackageToLoadBalancerOutcome AlbClient::attachCommonBandwidthPackageToLoadBalancer(const AttachCommonBandwidthPackageToLoadBalancerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AttachCommonBandwidthPackageToLoadBalancerOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AttachCommonBandwidthPackageToLoadBalancerOutcome(AttachCommonBandwidthPackageToLoadBalancerResult(outcome.result()));
else
return AttachCommonBandwidthPackageToLoadBalancerOutcome(outcome.error());
}
void AlbClient::attachCommonBandwidthPackageToLoadBalancerAsync(const AttachCommonBandwidthPackageToLoadBalancerRequest& request, const AttachCommonBandwidthPackageToLoadBalancerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, attachCommonBandwidthPackageToLoadBalancer(request), context);
};
asyncExecute(new Runnable(fn));
}
AlbClient::AttachCommonBandwidthPackageToLoadBalancerOutcomeCallable AlbClient::attachCommonBandwidthPackageToLoadBalancerCallable(const AttachCommonBandwidthPackageToLoadBalancerRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AttachCommonBandwidthPackageToLoadBalancerOutcome()>>(
[this, request]()
{
return this->attachCommonBandwidthPackageToLoadBalancer(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlbClient::CreateAclOutcome AlbClient::createAcl(const CreateAclRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -843,6 +915,42 @@ AlbClient::DescribeZonesOutcomeCallable AlbClient::describeZonesCallable(const D
return task->get_future();
}
AlbClient::DetachCommonBandwidthPackageFromLoadBalancerOutcome AlbClient::detachCommonBandwidthPackageFromLoadBalancer(const DetachCommonBandwidthPackageFromLoadBalancerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DetachCommonBandwidthPackageFromLoadBalancerOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DetachCommonBandwidthPackageFromLoadBalancerOutcome(DetachCommonBandwidthPackageFromLoadBalancerResult(outcome.result()));
else
return DetachCommonBandwidthPackageFromLoadBalancerOutcome(outcome.error());
}
void AlbClient::detachCommonBandwidthPackageFromLoadBalancerAsync(const DetachCommonBandwidthPackageFromLoadBalancerRequest& request, const DetachCommonBandwidthPackageFromLoadBalancerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, detachCommonBandwidthPackageFromLoadBalancer(request), context);
};
asyncExecute(new Runnable(fn));
}
AlbClient::DetachCommonBandwidthPackageFromLoadBalancerOutcomeCallable AlbClient::detachCommonBandwidthPackageFromLoadBalancerCallable(const DetachCommonBandwidthPackageFromLoadBalancerRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DetachCommonBandwidthPackageFromLoadBalancerOutcome()>>(
[this, request]()
{
return this->detachCommonBandwidthPackageFromLoadBalancer(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlbClient::DisableDeletionProtectionOutcome AlbClient::disableDeletionProtection(const DisableDeletionProtectionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1131,6 +1239,42 @@ AlbClient::GetListenerAttributeOutcomeCallable AlbClient::getListenerAttributeCa
return task->get_future();
}
AlbClient::GetListenerHealthStatusOutcome AlbClient::getListenerHealthStatus(const GetListenerHealthStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetListenerHealthStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetListenerHealthStatusOutcome(GetListenerHealthStatusResult(outcome.result()));
else
return GetListenerHealthStatusOutcome(outcome.error());
}
void AlbClient::getListenerHealthStatusAsync(const GetListenerHealthStatusRequest& request, const GetListenerHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getListenerHealthStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
AlbClient::GetListenerHealthStatusOutcomeCallable AlbClient::getListenerHealthStatusCallable(const GetListenerHealthStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetListenerHealthStatusOutcome()>>(
[this, request]()
{
return this->getListenerHealthStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlbClient::GetLoadBalancerAttributeOutcome AlbClient::getLoadBalancerAttribute(const GetLoadBalancerAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2283,6 +2427,42 @@ AlbClient::UpdateLoadBalancerEditionOutcomeCallable AlbClient::updateLoadBalance
return task->get_future();
}
AlbClient::UpdateLoadBalancerZonesOutcome AlbClient::updateLoadBalancerZones(const UpdateLoadBalancerZonesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateLoadBalancerZonesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateLoadBalancerZonesOutcome(UpdateLoadBalancerZonesResult(outcome.result()));
else
return UpdateLoadBalancerZonesOutcome(outcome.error());
}
void AlbClient::updateLoadBalancerZonesAsync(const UpdateLoadBalancerZonesRequest& request, const UpdateLoadBalancerZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateLoadBalancerZones(request), context);
};
asyncExecute(new Runnable(fn));
}
AlbClient::UpdateLoadBalancerZonesOutcomeCallable AlbClient::updateLoadBalancerZonesCallable(const UpdateLoadBalancerZonesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateLoadBalancerZonesOutcome()>>(
[this, request]()
{
return this->updateLoadBalancerZones(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlbClient::UpdateRuleAttributeOutcome AlbClient::updateRuleAttribute(const UpdateRuleAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -50,6 +50,7 @@ std::vector<AddServersToServerGroupRequest::Servers> AddServersToServerGroupRequ
void AddServersToServerGroupRequest::setServers(const std::vector<AddServersToServerGroupRequest::Servers> &servers) {
servers_ = servers;
for(int dep1 = 0; dep1 != servers.size(); dep1++) {
setParameter(std::string("Servers") + "." + std::to_string(dep1 + 1) + ".RemoteIpEnabled", servers[dep1].remoteIpEnabled ? "true" : "false");
setParameter(std::string("Servers") + "." + std::to_string(dep1 + 1) + ".ServerType", servers[dep1].serverType);
setParameter(std::string("Servers") + "." + std::to_string(dep1 + 1) + ".Port", std::to_string(servers[dep1].port));
setParameter(std::string("Servers") + "." + std::to_string(dep1 + 1) + ".Description", servers[dep1].description);

View File

@@ -0,0 +1,63 @@
/*
* 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/alb/model/ApplyHealthCheckTemplateToServerGroupRequest.h>
using AlibabaCloud::Alb::Model::ApplyHealthCheckTemplateToServerGroupRequest;
ApplyHealthCheckTemplateToServerGroupRequest::ApplyHealthCheckTemplateToServerGroupRequest()
: RpcServiceRequest("alb", "2020-06-16", "ApplyHealthCheckTemplateToServerGroup") {
setMethod(HttpRequest::Method::Post);
}
ApplyHealthCheckTemplateToServerGroupRequest::~ApplyHealthCheckTemplateToServerGroupRequest() {}
std::string ApplyHealthCheckTemplateToServerGroupRequest::getClientToken() const {
return clientToken_;
}
void ApplyHealthCheckTemplateToServerGroupRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
std::string ApplyHealthCheckTemplateToServerGroupRequest::getServerGroupId() const {
return serverGroupId_;
}
void ApplyHealthCheckTemplateToServerGroupRequest::setServerGroupId(const std::string &serverGroupId) {
serverGroupId_ = serverGroupId;
setParameter(std::string("ServerGroupId"), serverGroupId);
}
bool ApplyHealthCheckTemplateToServerGroupRequest::getDryRun() const {
return dryRun_;
}
void ApplyHealthCheckTemplateToServerGroupRequest::setDryRun(bool dryRun) {
dryRun_ = dryRun;
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
}
std::string ApplyHealthCheckTemplateToServerGroupRequest::getHealthCheckTemplateId() const {
return healthCheckTemplateId_;
}
void ApplyHealthCheckTemplateToServerGroupRequest::setHealthCheckTemplateId(const std::string &healthCheckTemplateId) {
healthCheckTemplateId_ = healthCheckTemplateId;
setParameter(std::string("HealthCheckTemplateId"), healthCheckTemplateId);
}

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/ddoscoo/model/CreateSceneDefensePolicyResult.h>
#include <alibabacloud/alb/model/ApplyHealthCheckTemplateToServerGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ddoscoo;
using namespace AlibabaCloud::Ddoscoo::Model;
using namespace AlibabaCloud::Alb;
using namespace AlibabaCloud::Alb::Model;
CreateSceneDefensePolicyResult::CreateSceneDefensePolicyResult() :
ApplyHealthCheckTemplateToServerGroupResult::ApplyHealthCheckTemplateToServerGroupResult() :
ServiceResult()
{}
CreateSceneDefensePolicyResult::CreateSceneDefensePolicyResult(const std::string &payload) :
ApplyHealthCheckTemplateToServerGroupResult::ApplyHealthCheckTemplateToServerGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSceneDefensePolicyResult::~CreateSceneDefensePolicyResult()
ApplyHealthCheckTemplateToServerGroupResult::~ApplyHealthCheckTemplateToServerGroupResult()
{}
void CreateSceneDefensePolicyResult::parse(const std::string &payload)
void ApplyHealthCheckTemplateToServerGroupResult::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["JobId"].isNull())
jobId_ = value["JobId"].asString();
}
bool CreateSceneDefensePolicyResult::getSuccess()const
std::string ApplyHealthCheckTemplateToServerGroupResult::getJobId()const
{
return success_;
return jobId_;
}

View File

@@ -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.
*/
#include <alibabacloud/alb/model/AttachCommonBandwidthPackageToLoadBalancerRequest.h>
using AlibabaCloud::Alb::Model::AttachCommonBandwidthPackageToLoadBalancerRequest;
AttachCommonBandwidthPackageToLoadBalancerRequest::AttachCommonBandwidthPackageToLoadBalancerRequest()
: RpcServiceRequest("alb", "2020-06-16", "AttachCommonBandwidthPackageToLoadBalancer") {
setMethod(HttpRequest::Method::Post);
}
AttachCommonBandwidthPackageToLoadBalancerRequest::~AttachCommonBandwidthPackageToLoadBalancerRequest() {}
std::string AttachCommonBandwidthPackageToLoadBalancerRequest::getClientToken() const {
return clientToken_;
}
void AttachCommonBandwidthPackageToLoadBalancerRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
std::string AttachCommonBandwidthPackageToLoadBalancerRequest::getRegionId() const {
return regionId_;
}
void AttachCommonBandwidthPackageToLoadBalancerRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
std::string AttachCommonBandwidthPackageToLoadBalancerRequest::getBandwidthPackageId() const {
return bandwidthPackageId_;
}
void AttachCommonBandwidthPackageToLoadBalancerRequest::setBandwidthPackageId(const std::string &bandwidthPackageId) {
bandwidthPackageId_ = bandwidthPackageId;
setParameter(std::string("BandwidthPackageId"), bandwidthPackageId);
}
bool AttachCommonBandwidthPackageToLoadBalancerRequest::getDryRun() const {
return dryRun_;
}
void AttachCommonBandwidthPackageToLoadBalancerRequest::setDryRun(bool dryRun) {
dryRun_ = dryRun;
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
}
std::string AttachCommonBandwidthPackageToLoadBalancerRequest::getLoadBalancerId() const {
return loadBalancerId_;
}
void AttachCommonBandwidthPackageToLoadBalancerRequest::setLoadBalancerId(const std::string &loadBalancerId) {
loadBalancerId_ = loadBalancerId;
setParameter(std::string("LoadBalancerId"), loadBalancerId);
}

View File

@@ -14,39 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/ddoscoo/model/DescribeUdpReflectResult.h>
#include <alibabacloud/alb/model/AttachCommonBandwidthPackageToLoadBalancerResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ddoscoo;
using namespace AlibabaCloud::Ddoscoo::Model;
using namespace AlibabaCloud::Alb;
using namespace AlibabaCloud::Alb::Model;
DescribeUdpReflectResult::DescribeUdpReflectResult() :
AttachCommonBandwidthPackageToLoadBalancerResult::AttachCommonBandwidthPackageToLoadBalancerResult() :
ServiceResult()
{}
DescribeUdpReflectResult::DescribeUdpReflectResult(const std::string &payload) :
AttachCommonBandwidthPackageToLoadBalancerResult::AttachCommonBandwidthPackageToLoadBalancerResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeUdpReflectResult::~DescribeUdpReflectResult()
AttachCommonBandwidthPackageToLoadBalancerResult::~AttachCommonBandwidthPackageToLoadBalancerResult()
{}
void DescribeUdpReflectResult::parse(const std::string &payload)
void AttachCommonBandwidthPackageToLoadBalancerResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allUdpSports = value["UdpSports"]["UdpSports"];
for (const auto &item : allUdpSports)
udpSports_.push_back(item.asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
}
std::vector<std::string> DescribeUdpReflectResult::getUdpSports()const
std::string AttachCommonBandwidthPackageToLoadBalancerResult::getJobId()const
{
return udpSports_;
return jobId_;
}

View File

@@ -59,11 +59,21 @@ CreateLoadBalancerRequest::LoadBalancerBillingConfig CreateLoadBalancerRequest::
void CreateLoadBalancerRequest::setLoadBalancerBillingConfig(const CreateLoadBalancerRequest::LoadBalancerBillingConfig &loadBalancerBillingConfig) {
loadBalancerBillingConfig_ = loadBalancerBillingConfig;
setParameter(std::string("LoadBalancerBillingConfig") + ".BandwidthPackageId", loadBalancerBillingConfig.bandwidthPackageId);
setParameter(std::string("LoadBalancerBillingConfig") + ".InternetChargeType", loadBalancerBillingConfig.internetChargeType);
setParameter(std::string("LoadBalancerBillingConfig") + ".InternetBandwidth", std::to_string(loadBalancerBillingConfig.internetBandwidth));
setParameter(std::string("LoadBalancerBillingConfig") + ".PayType", loadBalancerBillingConfig.payType);
}
std::string CreateLoadBalancerRequest::getAddressIpVersion() const {
return addressIpVersion_;
}
void CreateLoadBalancerRequest::setAddressIpVersion(const std::string &addressIpVersion) {
addressIpVersion_ = addressIpVersion;
setParameter(std::string("AddressIpVersion"), addressIpVersion);
}
bool CreateLoadBalancerRequest::getDeletionProtectionEnabled() const {
return deletionProtectionEnabled_;
}
@@ -127,6 +137,7 @@ void CreateLoadBalancerRequest::setZoneMappings(const std::vector<CreateLoadBala
for(int dep1 = 0; dep1 != zoneMappings.size(); dep1++) {
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".VSwitchId", zoneMappings[dep1].vSwitchId);
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".ZoneId", zoneMappings[dep1].zoneId);
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".AllocationId", zoneMappings[dep1].allocationId);
}
}

View File

@@ -96,6 +96,15 @@ void CreateServerGroupRequest::setProtocol(const std::string &protocol) {
setParameter(std::string("Protocol"), protocol);
}
bool CreateServerGroupRequest::getUpstreamKeepaliveEnabled() const {
return upstreamKeepaliveEnabled_;
}
void CreateServerGroupRequest::setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled) {
upstreamKeepaliveEnabled_ = upstreamKeepaliveEnabled;
setParameter(std::string("UpstreamKeepaliveEnabled"), upstreamKeepaliveEnabled ? "true" : "false");
}
CreateServerGroupRequest::StickySessionConfig CreateServerGroupRequest::getStickySessionConfig() const {
return stickySessionConfig_;
}
@@ -117,6 +126,15 @@ void CreateServerGroupRequest::setDryRun(bool dryRun) {
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
}
bool CreateServerGroupRequest::getIpv6Enabled() const {
return ipv6Enabled_;
}
void CreateServerGroupRequest::setIpv6Enabled(bool ipv6Enabled) {
ipv6Enabled_ = ipv6Enabled;
setParameter(std::string("Ipv6Enabled"), ipv6Enabled ? "true" : "false");
}
std::string CreateServerGroupRequest::getServerGroupType() const {
return serverGroupType_;
}

View File

@@ -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.
*/
#include <alibabacloud/alb/model/DetachCommonBandwidthPackageFromLoadBalancerRequest.h>
using AlibabaCloud::Alb::Model::DetachCommonBandwidthPackageFromLoadBalancerRequest;
DetachCommonBandwidthPackageFromLoadBalancerRequest::DetachCommonBandwidthPackageFromLoadBalancerRequest()
: RpcServiceRequest("alb", "2020-06-16", "DetachCommonBandwidthPackageFromLoadBalancer") {
setMethod(HttpRequest::Method::Post);
}
DetachCommonBandwidthPackageFromLoadBalancerRequest::~DetachCommonBandwidthPackageFromLoadBalancerRequest() {}
std::string DetachCommonBandwidthPackageFromLoadBalancerRequest::getClientToken() const {
return clientToken_;
}
void DetachCommonBandwidthPackageFromLoadBalancerRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
std::string DetachCommonBandwidthPackageFromLoadBalancerRequest::getRegionId() const {
return regionId_;
}
void DetachCommonBandwidthPackageFromLoadBalancerRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
std::string DetachCommonBandwidthPackageFromLoadBalancerRequest::getBandwidthPackageId() const {
return bandwidthPackageId_;
}
void DetachCommonBandwidthPackageFromLoadBalancerRequest::setBandwidthPackageId(const std::string &bandwidthPackageId) {
bandwidthPackageId_ = bandwidthPackageId;
setParameter(std::string("BandwidthPackageId"), bandwidthPackageId);
}
bool DetachCommonBandwidthPackageFromLoadBalancerRequest::getDryRun() const {
return dryRun_;
}
void DetachCommonBandwidthPackageFromLoadBalancerRequest::setDryRun(bool dryRun) {
dryRun_ = dryRun;
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
}
std::string DetachCommonBandwidthPackageFromLoadBalancerRequest::getLoadBalancerId() const {
return loadBalancerId_;
}
void DetachCommonBandwidthPackageFromLoadBalancerRequest::setLoadBalancerId(const std::string &loadBalancerId) {
loadBalancerId_ = loadBalancerId;
setParameter(std::string("LoadBalancerId"), loadBalancerId);
}

View File

@@ -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.
*/
#include <alibabacloud/alb/model/DetachCommonBandwidthPackageFromLoadBalancerResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alb;
using namespace AlibabaCloud::Alb::Model;
DetachCommonBandwidthPackageFromLoadBalancerResult::DetachCommonBandwidthPackageFromLoadBalancerResult() :
ServiceResult()
{}
DetachCommonBandwidthPackageFromLoadBalancerResult::DetachCommonBandwidthPackageFromLoadBalancerResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetachCommonBandwidthPackageFromLoadBalancerResult::~DetachCommonBandwidthPackageFromLoadBalancerResult()
{}
void DetachCommonBandwidthPackageFromLoadBalancerResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
}
std::string DetachCommonBandwidthPackageFromLoadBalancerResult::getJobId()const
{
return jobId_;
}

View File

@@ -0,0 +1,63 @@
/*
* 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/alb/model/GetListenerHealthStatusRequest.h>
using AlibabaCloud::Alb::Model::GetListenerHealthStatusRequest;
GetListenerHealthStatusRequest::GetListenerHealthStatusRequest()
: RpcServiceRequest("alb", "2020-06-16", "GetListenerHealthStatus") {
setMethod(HttpRequest::Method::Post);
}
GetListenerHealthStatusRequest::~GetListenerHealthStatusRequest() {}
bool GetListenerHealthStatusRequest::getIncludeRule() const {
return includeRule_;
}
void GetListenerHealthStatusRequest::setIncludeRule(bool includeRule) {
includeRule_ = includeRule;
setParameter(std::string("IncludeRule"), includeRule ? "true" : "false");
}
std::string GetListenerHealthStatusRequest::getListenerId() const {
return listenerId_;
}
void GetListenerHealthStatusRequest::setListenerId(const std::string &listenerId) {
listenerId_ = listenerId;
setParameter(std::string("ListenerId"), listenerId);
}
std::string GetListenerHealthStatusRequest::getNextToken() const {
return nextToken_;
}
void GetListenerHealthStatusRequest::setNextToken(const std::string &nextToken) {
nextToken_ = nextToken;
setParameter(std::string("NextToken"), nextToken);
}
long GetListenerHealthStatusRequest::getMaxResults() const {
return maxResults_;
}
void GetListenerHealthStatusRequest::setMaxResults(long maxResults) {
maxResults_ = maxResults;
setParameter(std::string("MaxResults"), std::to_string(maxResults));
}

View File

@@ -0,0 +1,147 @@
/*
* 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/alb/model/GetListenerHealthStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alb;
using namespace AlibabaCloud::Alb::Model;
GetListenerHealthStatusResult::GetListenerHealthStatusResult() :
ServiceResult()
{}
GetListenerHealthStatusResult::GetListenerHealthStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetListenerHealthStatusResult::~GetListenerHealthStatusResult()
{}
void GetListenerHealthStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allListenerHealthStatusNode = value["ListenerHealthStatus"]["ListenerHealthStatusModel"];
for (auto valueListenerHealthStatusListenerHealthStatusModel : allListenerHealthStatusNode)
{
ListenerHealthStatusModel listenerHealthStatusObject;
if(!valueListenerHealthStatusListenerHealthStatusModel["ListenerId"].isNull())
listenerHealthStatusObject.listenerId = valueListenerHealthStatusListenerHealthStatusModel["ListenerId"].asString();
if(!valueListenerHealthStatusListenerHealthStatusModel["ListenerPort"].isNull())
listenerHealthStatusObject.listenerPort = std::stoi(valueListenerHealthStatusListenerHealthStatusModel["ListenerPort"].asString());
if(!valueListenerHealthStatusListenerHealthStatusModel["ListenerProtocol"].isNull())
listenerHealthStatusObject.listenerProtocol = valueListenerHealthStatusListenerHealthStatusModel["ListenerProtocol"].asString();
auto allServerGroupInfosNode = valueListenerHealthStatusListenerHealthStatusModel["ServerGroupInfos"]["ServerGroupHealthStatusModel"];
for (auto valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel : allServerGroupInfosNode)
{
ListenerHealthStatusModel::ServerGroupHealthStatusModel serverGroupInfosObject;
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["HealthCheckEnabled"].isNull())
serverGroupInfosObject.healthCheckEnabled = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["HealthCheckEnabled"].asString();
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ServerGroupId"].isNull())
serverGroupInfosObject.serverGroupId = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ServerGroupId"].asString();
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ActionType"].isNull())
serverGroupInfosObject.actionType = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ActionType"].asString();
auto allNonNormalServersNode = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["NonNormalServers"]["BackendServerHealthStatusModel"];
for (auto valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel : allNonNormalServersNode)
{
ListenerHealthStatusModel::ServerGroupHealthStatusModel::BackendServerHealthStatusModel nonNormalServersObject;
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["Port"].isNull())
nonNormalServersObject.port = std::stoi(valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["Port"].asString());
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["ServerId"].isNull())
nonNormalServersObject.serverId = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["ServerId"].asString();
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["ServerIp"].isNull())
nonNormalServersObject.serverIp = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["ServerIp"].asString();
if(!valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["Status"].isNull())
nonNormalServersObject.status = valueListenerHealthStatusListenerHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersBackendServerHealthStatusModel["Status"].asString();
auto reasonNode = value["Reason"];
if(!reasonNode["ActualResponse"].isNull())
nonNormalServersObject.reason.actualResponse = reasonNode["ActualResponse"].asString();
if(!reasonNode["ExpectedResponse"].isNull())
nonNormalServersObject.reason.expectedResponse = reasonNode["ExpectedResponse"].asString();
if(!reasonNode["ReasonCode"].isNull())
nonNormalServersObject.reason.reasonCode = reasonNode["ReasonCode"].asString();
serverGroupInfosObject.nonNormalServers.push_back(nonNormalServersObject);
}
listenerHealthStatusObject.serverGroupInfos.push_back(serverGroupInfosObject);
}
listenerHealthStatus_.push_back(listenerHealthStatusObject);
}
auto allRuleHealthStatusNode = value["RuleHealthStatus"]["RuleHealthStatusModel"];
for (auto valueRuleHealthStatusRuleHealthStatusModel : allRuleHealthStatusNode)
{
RuleHealthStatusModel ruleHealthStatusObject;
if(!valueRuleHealthStatusRuleHealthStatusModel["RuleId"].isNull())
ruleHealthStatusObject.ruleId = valueRuleHealthStatusRuleHealthStatusModel["RuleId"].asString();
auto allServerGroupInfos1Node = valueRuleHealthStatusRuleHealthStatusModel["ServerGroupInfos"]["ServerGroupHealthStatusModel"];
for (auto valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel : allServerGroupInfos1Node)
{
RuleHealthStatusModel::ServerGroupHealthStatusModel2 serverGroupInfos1Object;
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["HealthCheckEnabled"].isNull())
serverGroupInfos1Object.healthCheckEnabled = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["HealthCheckEnabled"].asString();
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ServerGroupId"].isNull())
serverGroupInfos1Object.serverGroupId = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ServerGroupId"].asString();
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ActionType"].isNull())
serverGroupInfos1Object.actionType = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["ActionType"].asString();
auto allNonNormalServers3Node = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModel["NonNormalServers"]["NonNormalServer"];
for (auto valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer : allNonNormalServers3Node)
{
RuleHealthStatusModel::ServerGroupHealthStatusModel2::NonNormalServer nonNormalServers3Object;
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["Port"].isNull())
nonNormalServers3Object.port = std::stoi(valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["Port"].asString());
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["ServerId"].isNull())
nonNormalServers3Object.serverId = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["ServerId"].asString();
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["ServerIp"].isNull())
nonNormalServers3Object.serverIp = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["ServerIp"].asString();
if(!valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["Status"].isNull())
nonNormalServers3Object.status = valueRuleHealthStatusRuleHealthStatusModelServerGroupInfosServerGroupHealthStatusModelNonNormalServersNonNormalServer["Status"].asString();
auto reason4Node = value["Reason"];
if(!reason4Node["ActualResponse"].isNull())
nonNormalServers3Object.reason4.actualResponse = reason4Node["ActualResponse"].asString();
if(!reason4Node["ExpectedResponse"].isNull())
nonNormalServers3Object.reason4.expectedResponse = reason4Node["ExpectedResponse"].asString();
if(!reason4Node["ReasonCode"].isNull())
nonNormalServers3Object.reason4.reasonCode = reason4Node["ReasonCode"].asString();
serverGroupInfos1Object.nonNormalServers3.push_back(nonNormalServers3Object);
}
ruleHealthStatusObject.serverGroupInfos1.push_back(serverGroupInfos1Object);
}
ruleHealthStatus_.push_back(ruleHealthStatusObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::vector<GetListenerHealthStatusResult::RuleHealthStatusModel> GetListenerHealthStatusResult::getRuleHealthStatus()const
{
return ruleHealthStatus_;
}
std::vector<GetListenerHealthStatusResult::ListenerHealthStatusModel> GetListenerHealthStatusResult::getListenerHealthStatus()const
{
return listenerHealthStatus_;
}
std::string GetListenerHealthStatusResult::getNextToken()const
{
return nextToken_;
}

View File

@@ -73,6 +73,8 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
ZoneMapping::LoadBalancerAddress loadBalancerAddressesObject;
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Address"].isNull())
loadBalancerAddressesObject.address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Address"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].isNull())
loadBalancerAddressesObject.ipv6Address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].asString();
zoneMappingsObject.loadBalancerAddresses.push_back(loadBalancerAddressesObject);
}
zoneMappings_.push_back(zoneMappingsObject);
@@ -134,6 +136,12 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
resourceGroupId_ = value["ResourceGroupId"].asString();
if(!value["VpcId"].isNull())
vpcId_ = value["VpcId"].asString();
if(!value["ConfigManagedEnabled"].isNull())
configManagedEnabled_ = value["ConfigManagedEnabled"].asString() == "true";
if(!value["AddressIpVersion"].isNull())
addressIpVersion_ = value["AddressIpVersion"].asString();
if(!value["Ipv6AddressType"].isNull())
ipv6AddressType_ = value["Ipv6AddressType"].asString();
}
@@ -142,9 +150,9 @@ bool GetLoadBalancerAttributeResult::getServiceManagedEnabled()const
return serviceManagedEnabled_;
}
std::string GetLoadBalancerAttributeResult::getLoadBalancerEdition()const
std::string GetLoadBalancerAttributeResult::getAddressIpVersion()const
{
return loadBalancerEdition_;
return addressIpVersion_;
}
std::string GetLoadBalancerAttributeResult::getResourceGroupId()const
@@ -152,21 +160,11 @@ std::string GetLoadBalancerAttributeResult::getResourceGroupId()const
return resourceGroupId_;
}
GetLoadBalancerAttributeResult::LoadBalancerBillingConfig GetLoadBalancerAttributeResult::getLoadBalancerBillingConfig()const
{
return loadBalancerBillingConfig_;
}
std::vector<std::string> GetLoadBalancerAttributeResult::getFeatureLabels()const
{
return featureLabels_;
}
std::string GetLoadBalancerAttributeResult::getCreateTime()const
{
return createTime_;
}
std::string GetLoadBalancerAttributeResult::getLoadBalancerId()const
{
return loadBalancerId_;
@@ -182,6 +180,51 @@ std::string GetLoadBalancerAttributeResult::getDNSName()const
return dNSName_;
}
std::string GetLoadBalancerAttributeResult::getIpv6AddressType()const
{
return ipv6AddressType_;
}
int GetLoadBalancerAttributeResult::getBandwidthCapacity()const
{
return bandwidthCapacity_;
}
GetLoadBalancerAttributeResult::DeletionProtectionConfig GetLoadBalancerAttributeResult::getDeletionProtectionConfig()const
{
return deletionProtectionConfig_;
}
std::string GetLoadBalancerAttributeResult::getServiceManagedMode()const
{
return serviceManagedMode_;
}
std::string GetLoadBalancerAttributeResult::getBandwidthPackageId()const
{
return bandwidthPackageId_;
}
std::vector<GetLoadBalancerAttributeResult::Tag> GetLoadBalancerAttributeResult::getTags()const
{
return tags_;
}
std::string GetLoadBalancerAttributeResult::getLoadBalancerEdition()const
{
return loadBalancerEdition_;
}
GetLoadBalancerAttributeResult::LoadBalancerBillingConfig GetLoadBalancerAttributeResult::getLoadBalancerBillingConfig()const
{
return loadBalancerBillingConfig_;
}
std::string GetLoadBalancerAttributeResult::getCreateTime()const
{
return createTime_;
}
GetLoadBalancerAttributeResult::ModificationProtectionConfig GetLoadBalancerAttributeResult::getModificationProtectionConfig()const
{
return modificationProtectionConfig_;
@@ -197,14 +240,9 @@ GetLoadBalancerAttributeResult::AccessLogConfig GetLoadBalancerAttributeResult::
return accessLogConfig_;
}
int GetLoadBalancerAttributeResult::getBandwidthCapacity()const
bool GetLoadBalancerAttributeResult::getConfigManagedEnabled()const
{
return bandwidthCapacity_;
}
GetLoadBalancerAttributeResult::DeletionProtectionConfig GetLoadBalancerAttributeResult::getDeletionProtectionConfig()const
{
return deletionProtectionConfig_;
return configManagedEnabled_;
}
std::string GetLoadBalancerAttributeResult::getLoadBalancerBussinessStatus()const
@@ -217,16 +255,6 @@ std::string GetLoadBalancerAttributeResult::getVpcId()const
return vpcId_;
}
std::string GetLoadBalancerAttributeResult::getServiceManagedMode()const
{
return serviceManagedMode_;
}
std::string GetLoadBalancerAttributeResult::getBandwidthPackageId()const
{
return bandwidthPackageId_;
}
std::string GetLoadBalancerAttributeResult::getRegionId()const
{
return regionId_;
@@ -247,11 +275,6 @@ std::string GetLoadBalancerAttributeResult::getLoadBalancerStatus()const
return loadBalancerStatus_;
}
std::vector<GetLoadBalancerAttributeResult::Tag> GetLoadBalancerAttributeResult::getTags()const
{
return tags_;
}
std::vector<GetLoadBalancerAttributeResult::LoadBalancerOperationLock> GetLoadBalancerAttributeResult::getLoadBalancerOperationLocks()const
{
return loadBalancerOperationLocks_;

View File

@@ -57,6 +57,8 @@ void ListAclsResult::parse(const std::string &payload)
aclsObject.serviceManagedEnabled = valueAclsAcl["ServiceManagedEnabled"].asString() == "true";
if(!valueAclsAcl["ServiceManagedMode"].isNull())
aclsObject.serviceManagedMode = valueAclsAcl["ServiceManagedMode"].asString();
if(!valueAclsAcl["ConfigManagedEnabled"].isNull())
aclsObject.configManagedEnabled = valueAclsAcl["ConfigManagedEnabled"].asString() == "true";
acls_.push_back(aclsObject);
}
if(!value["MaxResults"].isNull())

View File

@@ -47,6 +47,15 @@ void ListLoadBalancersRequest::setLoadBalancerIds(const std::vector<ListLoadBala
}
}
std::string ListLoadBalancersRequest::getAddressIpVersion() const {
return addressIpVersion_;
}
void ListLoadBalancersRequest::setAddressIpVersion(const std::string &addressIpVersion) {
addressIpVersion_ = addressIpVersion;
setParameter(std::string("AddressIpVersion"), addressIpVersion);
}
std::string ListLoadBalancersRequest::getResourceGroupId() const {
return resourceGroupId_;
}
@@ -151,6 +160,15 @@ void ListLoadBalancersRequest::setZoneId(const std::string &zoneId) {
setParameter(std::string("ZoneId"), zoneId);
}
std::string ListLoadBalancersRequest::getIpv6AddressType() const {
return ipv6AddressType_;
}
void ListLoadBalancersRequest::setIpv6AddressType(const std::string &ipv6AddressType) {
ipv6AddressType_ = ipv6AddressType;
setParameter(std::string("Ipv6AddressType"), ipv6AddressType);
}
std::string ListLoadBalancersRequest::getPayType() const {
return payType_;
}

View File

@@ -73,6 +73,12 @@ void ListLoadBalancersResult::parse(const std::string &payload)
loadBalancersObject.resourceGroupId = valueLoadBalancersloadBalancer["ResourceGroupId"].asString();
if(!valueLoadBalancersloadBalancer["VpcId"].isNull())
loadBalancersObject.vpcId = valueLoadBalancersloadBalancer["VpcId"].asString();
if(!valueLoadBalancersloadBalancer["ConfigManagedEnabled"].isNull())
loadBalancersObject.configManagedEnabled = valueLoadBalancersloadBalancer["ConfigManagedEnabled"].asString() == "true";
if(!valueLoadBalancersloadBalancer["AddressIpVersion"].isNull())
loadBalancersObject.addressIpVersion = valueLoadBalancersloadBalancer["AddressIpVersion"].asString();
if(!valueLoadBalancersloadBalancer["Ipv6AddressType"].isNull())
loadBalancersObject.ipv6AddressType = valueLoadBalancersloadBalancer["Ipv6AddressType"].asString();
auto allLoadBalancerOperationLocksNode = valueLoadBalancersloadBalancer["LoadBalancerOperationLocks"]["LoadBalancerOperationLock"];
for (auto valueLoadBalancersloadBalancerLoadBalancerOperationLocksLoadBalancerOperationLock : allLoadBalancerOperationLocksNode)
{

View File

@@ -59,6 +59,8 @@ void ListServerGroupServersResult::parse(const std::string &payload)
serversObject.weight = std::stoi(valueServersBackendServer["Weight"].asString());
if(!valueServersBackendServer["ServerGroupId"].isNull())
serversObject.serverGroupId = valueServersBackendServer["ServerGroupId"].asString();
if(!valueServersBackendServer["RemoteIpEnabled"].isNull())
serversObject.remoteIpEnabled = valueServersBackendServer["RemoteIpEnabled"].asString() == "true";
servers_.push_back(serversObject);
}
if(!value["MaxResults"].isNull())

View File

@@ -63,6 +63,14 @@ void ListServerGroupsResult::parse(const std::string &payload)
serverGroupsObject.serviceManagedEnabled = valueServerGroupsServerGroup["ServiceManagedEnabled"].asString() == "true";
if(!valueServerGroupsServerGroup["ServiceManagedMode"].isNull())
serverGroupsObject.serviceManagedMode = valueServerGroupsServerGroup["ServiceManagedMode"].asString();
if(!valueServerGroupsServerGroup["ConfigManagedEnabled"].isNull())
serverGroupsObject.configManagedEnabled = valueServerGroupsServerGroup["ConfigManagedEnabled"].asString() == "true";
if(!valueServerGroupsServerGroup["UpstreamKeepaliveEnabled"].isNull())
serverGroupsObject.upstreamKeepaliveEnabled = valueServerGroupsServerGroup["UpstreamKeepaliveEnabled"].asString() == "true";
if(!valueServerGroupsServerGroup["Ipv6Enabled"].isNull())
serverGroupsObject.ipv6Enabled = valueServerGroupsServerGroup["Ipv6Enabled"].asString() == "true";
if(!valueServerGroupsServerGroup["ServerCount"].isNull())
serverGroupsObject.serverCount = std::stoi(valueServerGroupsServerGroup["ServerCount"].asString());
auto allTagsNode = valueServerGroupsServerGroup["Tags"]["Tag"];
for (auto valueServerGroupsServerGroupTagsTag : allTagsNode)
{

View File

@@ -50,6 +50,7 @@ std::vector<ReplaceServersInServerGroupRequest::AddedServers> ReplaceServersInSe
void ReplaceServersInServerGroupRequest::setAddedServers(const std::vector<ReplaceServersInServerGroupRequest::AddedServers> &addedServers) {
addedServers_ = addedServers;
for(int dep1 = 0; dep1 != addedServers.size(); dep1++) {
setParameter(std::string("AddedServers") + "." + std::to_string(dep1 + 1) + ".RemoteIpEnabled", addedServers[dep1].remoteIpEnabled ? "true" : "false");
setParameter(std::string("AddedServers") + "." + std::to_string(dep1 + 1) + ".ServerType", addedServers[dep1].serverType);
setParameter(std::string("AddedServers") + "." + std::to_string(dep1 + 1) + ".Port", std::to_string(addedServers[dep1].port));
setParameter(std::string("AddedServers") + "." + std::to_string(dep1 + 1) + ".Description", addedServers[dep1].description);

View File

@@ -0,0 +1,67 @@
/*
* 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/alb/model/UpdateLoadBalancerZonesRequest.h>
using AlibabaCloud::Alb::Model::UpdateLoadBalancerZonesRequest;
UpdateLoadBalancerZonesRequest::UpdateLoadBalancerZonesRequest()
: RpcServiceRequest("alb", "2020-06-16", "UpdateLoadBalancerZones") {
setMethod(HttpRequest::Method::Post);
}
UpdateLoadBalancerZonesRequest::~UpdateLoadBalancerZonesRequest() {}
std::string UpdateLoadBalancerZonesRequest::getClientToken() const {
return clientToken_;
}
void UpdateLoadBalancerZonesRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
bool UpdateLoadBalancerZonesRequest::getDryRun() const {
return dryRun_;
}
void UpdateLoadBalancerZonesRequest::setDryRun(bool dryRun) {
dryRun_ = dryRun;
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
}
std::vector<UpdateLoadBalancerZonesRequest::ZoneMappings> UpdateLoadBalancerZonesRequest::getZoneMappings() const {
return zoneMappings_;
}
void UpdateLoadBalancerZonesRequest::setZoneMappings(const std::vector<UpdateLoadBalancerZonesRequest::ZoneMappings> &zoneMappings) {
zoneMappings_ = zoneMappings;
for(int dep1 = 0; dep1 != zoneMappings.size(); dep1++) {
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".VSwitchId", zoneMappings[dep1].vSwitchId);
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".ZoneId", zoneMappings[dep1].zoneId);
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".AllocationId", zoneMappings[dep1].allocationId);
}
}
std::string UpdateLoadBalancerZonesRequest::getLoadBalancerId() const {
return loadBalancerId_;
}
void UpdateLoadBalancerZonesRequest::setLoadBalancerId(const std::string &loadBalancerId) {
loadBalancerId_ = loadBalancerId;
setParameter(std::string("LoadBalancerId"), loadBalancerId);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/vod/model/SubmitAICaptionExtractionJobResult.h>
#include <alibabacloud/alb/model/UpdateLoadBalancerZonesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
using namespace AlibabaCloud::Alb;
using namespace AlibabaCloud::Alb::Model;
SubmitAICaptionExtractionJobResult::SubmitAICaptionExtractionJobResult() :
UpdateLoadBalancerZonesResult::UpdateLoadBalancerZonesResult() :
ServiceResult()
{}
SubmitAICaptionExtractionJobResult::SubmitAICaptionExtractionJobResult(const std::string &payload) :
UpdateLoadBalancerZonesResult::UpdateLoadBalancerZonesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SubmitAICaptionExtractionJobResult::~SubmitAICaptionExtractionJobResult()
UpdateLoadBalancerZonesResult::~UpdateLoadBalancerZonesResult()
{}
void SubmitAICaptionExtractionJobResult::parse(const std::string &payload)
void UpdateLoadBalancerZonesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -44,7 +44,7 @@ void SubmitAICaptionExtractionJobResult::parse(const std::string &payload)
}
std::string SubmitAICaptionExtractionJobResult::getJobId()const
std::string UpdateLoadBalancerZonesResult::getJobId()const
{
return jobId_;
}

View File

@@ -87,6 +87,15 @@ void UpdateServerGroupAttributeRequest::setServerGroupId(const std::string &serv
setParameter(std::string("ServerGroupId"), serverGroupId);
}
bool UpdateServerGroupAttributeRequest::getUpstreamKeepaliveEnabled() const {
return upstreamKeepaliveEnabled_;
}
void UpdateServerGroupAttributeRequest::setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled) {
upstreamKeepaliveEnabled_ = upstreamKeepaliveEnabled;
setParameter(std::string("UpstreamKeepaliveEnabled"), upstreamKeepaliveEnabled ? "true" : "false");
}
UpdateServerGroupAttributeRequest::StickySessionConfig UpdateServerGroupAttributeRequest::getStickySessionConfig() const {
return stickySessionConfig_;
}

View File

@@ -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

View File

@@ -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;

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_;
};

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_;

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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;

View File

@@ -34,8 +34,8 @@ namespace AlibabaCloud
public:
struct CenInterRegionBandwidthLimit
{
std::string status;
std::string transitRouterAttachmentId;
std::string status;
std::string geographicSpanId;
std::string oppositeRegionId;
std::string cenId;

View File

@@ -38,12 +38,13 @@ namespace AlibabaCloud
std::string linkStatus;
int healthCheckInterval;
std::string vbrInstanceId;
std::string healthCheckSourceIp;
int healthyThreshold;
std::string healthCheckSourceIp;
std::string cenId;
long packetLoss;
std::string healthCheckTargetIp;
long delay;
bool healthCheckOnly;
};

View File

@@ -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;
};

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct GrantRule
{
std::string childInstanceType;
std::string orderType;
std::string cenId;
long childInstanceOwnerId;
std::string childInstanceId;

View File

@@ -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;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setHealthyThreshold(int healthyThreshold);
long getVbrInstanceOwnerId()const;
void setVbrInstanceOwnerId(long vbrInstanceOwnerId);
bool getHealthCheckOnly()const;
void setHealthCheckOnly(bool healthCheckOnly);
std::string getVbrInstanceRegionId()const;
void setVbrInstanceRegionId(const std::string& vbrInstanceRegionId);
std::string getResourceOwnerAccount()const;
@@ -66,6 +68,7 @@ namespace AlibabaCloud
std::string healthCheckTargetIp_;
int healthyThreshold_;
long vbrInstanceOwnerId_;
bool healthCheckOnly_;
std::string vbrInstanceRegionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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;

View File

@@ -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_;

View File

@@ -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_

View File

@@ -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_

View File

@@ -14,47 +14,47 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICREQUEST_H_
#ifndef ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
#include <alibabacloud/cbn/CbnExport.h>
namespace AlibabaCloud
{
namespace Rtc
namespace Cbn
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelMetricRequest : public RpcServiceRequest
class ALIBABACLOUD_CBN_EXPORT OpenTransitRouterServiceRequest : public RpcServiceRequest
{
public:
DescribeRtcChannelMetricRequest();
~DescribeRtcChannelMetricRequest();
OpenTransitRouterServiceRequest();
~OpenTransitRouterServiceRequest();
std::string getShowLog()const;
void setShowLog(const std::string& showLog);
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);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
std::string getTimePoint()const;
void setTimePoint(const std::string& timePoint);
private:
std::string showLog_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
long ownerId_;
std::string appId_;
std::string channelId_;
std::string timePoint_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICREQUEST_H_
#endif // !ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_;

View File

@@ -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();

View 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));
}

View 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/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());
}

Some files were not shown because too many files have changed in this diff Show More