Support CEN latest Apis.

This commit is contained in:
sdk-team
2021-08-11 03:10:56 +00:00
parent 5df0ee7c86
commit 16b816ae59
143 changed files with 11601 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2021-08-11 Version: 1.36.848
- Support CEN latest Apis.
2021-08-10 Version: 1.36.847
- Supported DescribeSavingsPlansUsageTotal.
- Supported DescribeSavingsPlansUsageDetail.

View File

@@ -1 +1 @@
1.36.847
1.36.848

View File

@@ -25,6 +25,8 @@ set(cbn_public_header_model
include/alibabacloud/cbn/model/ActiveFlowLogResult.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/CreateCenRequest.h
@@ -37,6 +39,18 @@ set(cbn_public_header_model
include/alibabacloud/cbn/model/CreateCenRouteMapResult.h
include/alibabacloud/cbn/model/CreateFlowlogRequest.h
include/alibabacloud/cbn/model/CreateFlowlogResult.h
include/alibabacloud/cbn/model/CreateTransitRouterRequest.h
include/alibabacloud/cbn/model/CreateTransitRouterResult.h
include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h
include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentResult.h
include/alibabacloud/cbn/model/CreateTransitRouterRouteEntryRequest.h
include/alibabacloud/cbn/model/CreateTransitRouterRouteEntryResult.h
include/alibabacloud/cbn/model/CreateTransitRouterRouteTableRequest.h
include/alibabacloud/cbn/model/CreateTransitRouterRouteTableResult.h
include/alibabacloud/cbn/model/CreateTransitRouterVbrAttachmentRequest.h
include/alibabacloud/cbn/model/CreateTransitRouterVbrAttachmentResult.h
include/alibabacloud/cbn/model/CreateTransitRouterVpcAttachmentRequest.h
include/alibabacloud/cbn/model/CreateTransitRouterVpcAttachmentResult.h
include/alibabacloud/cbn/model/DeactiveFlowLogRequest.h
include/alibabacloud/cbn/model/DeactiveFlowLogResult.h
include/alibabacloud/cbn/model/DeleteCenRequest.h
@@ -51,6 +65,16 @@ set(cbn_public_header_model
include/alibabacloud/cbn/model/DeleteFlowlogResult.h
include/alibabacloud/cbn/model/DeleteRouteServiceInCenRequest.h
include/alibabacloud/cbn/model/DeleteRouteServiceInCenResult.h
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentRequest.h
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentResult.h
include/alibabacloud/cbn/model/DeleteTransitRouterRouteEntryRequest.h
include/alibabacloud/cbn/model/DeleteTransitRouterRouteEntryResult.h
include/alibabacloud/cbn/model/DeleteTransitRouterRouteTableRequest.h
include/alibabacloud/cbn/model/DeleteTransitRouterRouteTableResult.h
include/alibabacloud/cbn/model/DeleteTransitRouterVbrAttachmentRequest.h
include/alibabacloud/cbn/model/DeleteTransitRouterVbrAttachmentResult.h
include/alibabacloud/cbn/model/DeleteTransitRouterVpcAttachmentRequest.h
include/alibabacloud/cbn/model/DeleteTransitRouterVpcAttachmentResult.h
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstanceAttributeRequest.h
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstanceAttributeResult.h
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstancesRequest.h
@@ -93,10 +117,34 @@ set(cbn_public_header_model
include/alibabacloud/cbn/model/DetachCenChildInstanceResult.h
include/alibabacloud/cbn/model/DisableCenVbrHealthCheckRequest.h
include/alibabacloud/cbn/model/DisableCenVbrHealthCheckResult.h
include/alibabacloud/cbn/model/DisableTransitRouterRouteTablePropagationRequest.h
include/alibabacloud/cbn/model/DisableTransitRouterRouteTablePropagationResult.h
include/alibabacloud/cbn/model/DissociateTransitRouterAttachmentFromRouteTableRequest.h
include/alibabacloud/cbn/model/DissociateTransitRouterAttachmentFromRouteTableResult.h
include/alibabacloud/cbn/model/EnableCenVbrHealthCheckRequest.h
include/alibabacloud/cbn/model/EnableCenVbrHealthCheckResult.h
include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationRequest.h
include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationResult.h
include/alibabacloud/cbn/model/ListTagResourcesRequest.h
include/alibabacloud/cbn/model/ListTagResourcesResult.h
include/alibabacloud/cbn/model/ListTransitRouterAvailableResourceRequest.h
include/alibabacloud/cbn/model/ListTransitRouterAvailableResourceResult.h
include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h
include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsResult.h
include/alibabacloud/cbn/model/ListTransitRouterRouteEntriesRequest.h
include/alibabacloud/cbn/model/ListTransitRouterRouteEntriesResult.h
include/alibabacloud/cbn/model/ListTransitRouterRouteTableAssociationsRequest.h
include/alibabacloud/cbn/model/ListTransitRouterRouteTableAssociationsResult.h
include/alibabacloud/cbn/model/ListTransitRouterRouteTablePropagationsRequest.h
include/alibabacloud/cbn/model/ListTransitRouterRouteTablePropagationsResult.h
include/alibabacloud/cbn/model/ListTransitRouterRouteTablesRequest.h
include/alibabacloud/cbn/model/ListTransitRouterRouteTablesResult.h
include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsRequest.h
include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsResult.h
include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsRequest.h
include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsResult.h
include/alibabacloud/cbn/model/ListTransitRoutersRequest.h
include/alibabacloud/cbn/model/ListTransitRoutersResult.h
include/alibabacloud/cbn/model/ModifyCenAttributeRequest.h
include/alibabacloud/cbn/model/ModifyCenAttributeResult.h
include/alibabacloud/cbn/model/ModifyCenBandwidthPackageAttributeRequest.h
@@ -125,6 +173,18 @@ 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/UpdateTransitRouterRequest.h
include/alibabacloud/cbn/model/UpdateTransitRouterResult.h
include/alibabacloud/cbn/model/UpdateTransitRouterPeerAttachmentAttributeRequest.h
include/alibabacloud/cbn/model/UpdateTransitRouterPeerAttachmentAttributeResult.h
include/alibabacloud/cbn/model/UpdateTransitRouterRouteEntryRequest.h
include/alibabacloud/cbn/model/UpdateTransitRouterRouteEntryResult.h
include/alibabacloud/cbn/model/UpdateTransitRouterRouteTableRequest.h
include/alibabacloud/cbn/model/UpdateTransitRouterRouteTableResult.h
include/alibabacloud/cbn/model/UpdateTransitRouterVbrAttachmentAttributeRequest.h
include/alibabacloud/cbn/model/UpdateTransitRouterVbrAttachmentAttributeResult.h
include/alibabacloud/cbn/model/UpdateTransitRouterVpcAttachmentAttributeRequest.h
include/alibabacloud/cbn/model/UpdateTransitRouterVpcAttachmentAttributeResult.h
include/alibabacloud/cbn/model/WithdrawPublishedRouteEntriesRequest.h
include/alibabacloud/cbn/model/WithdrawPublishedRouteEntriesResult.h )
@@ -134,6 +194,8 @@ set(cbn_src
src/model/ActiveFlowLogResult.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/CreateCenRequest.cc
@@ -146,6 +208,18 @@ set(cbn_src
src/model/CreateCenRouteMapResult.cc
src/model/CreateFlowlogRequest.cc
src/model/CreateFlowlogResult.cc
src/model/CreateTransitRouterRequest.cc
src/model/CreateTransitRouterResult.cc
src/model/CreateTransitRouterPeerAttachmentRequest.cc
src/model/CreateTransitRouterPeerAttachmentResult.cc
src/model/CreateTransitRouterRouteEntryRequest.cc
src/model/CreateTransitRouterRouteEntryResult.cc
src/model/CreateTransitRouterRouteTableRequest.cc
src/model/CreateTransitRouterRouteTableResult.cc
src/model/CreateTransitRouterVbrAttachmentRequest.cc
src/model/CreateTransitRouterVbrAttachmentResult.cc
src/model/CreateTransitRouterVpcAttachmentRequest.cc
src/model/CreateTransitRouterVpcAttachmentResult.cc
src/model/DeactiveFlowLogRequest.cc
src/model/DeactiveFlowLogResult.cc
src/model/DeleteCenRequest.cc
@@ -160,6 +234,16 @@ set(cbn_src
src/model/DeleteFlowlogResult.cc
src/model/DeleteRouteServiceInCenRequest.cc
src/model/DeleteRouteServiceInCenResult.cc
src/model/DeleteTransitRouterPeerAttachmentRequest.cc
src/model/DeleteTransitRouterPeerAttachmentResult.cc
src/model/DeleteTransitRouterRouteEntryRequest.cc
src/model/DeleteTransitRouterRouteEntryResult.cc
src/model/DeleteTransitRouterRouteTableRequest.cc
src/model/DeleteTransitRouterRouteTableResult.cc
src/model/DeleteTransitRouterVbrAttachmentRequest.cc
src/model/DeleteTransitRouterVbrAttachmentResult.cc
src/model/DeleteTransitRouterVpcAttachmentRequest.cc
src/model/DeleteTransitRouterVpcAttachmentResult.cc
src/model/DescribeCenAttachedChildInstanceAttributeRequest.cc
src/model/DescribeCenAttachedChildInstanceAttributeResult.cc
src/model/DescribeCenAttachedChildInstancesRequest.cc
@@ -202,10 +286,34 @@ set(cbn_src
src/model/DetachCenChildInstanceResult.cc
src/model/DisableCenVbrHealthCheckRequest.cc
src/model/DisableCenVbrHealthCheckResult.cc
src/model/DisableTransitRouterRouteTablePropagationRequest.cc
src/model/DisableTransitRouterRouteTablePropagationResult.cc
src/model/DissociateTransitRouterAttachmentFromRouteTableRequest.cc
src/model/DissociateTransitRouterAttachmentFromRouteTableResult.cc
src/model/EnableCenVbrHealthCheckRequest.cc
src/model/EnableCenVbrHealthCheckResult.cc
src/model/EnableTransitRouterRouteTablePropagationRequest.cc
src/model/EnableTransitRouterRouteTablePropagationResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ListTransitRouterAvailableResourceRequest.cc
src/model/ListTransitRouterAvailableResourceResult.cc
src/model/ListTransitRouterPeerAttachmentsRequest.cc
src/model/ListTransitRouterPeerAttachmentsResult.cc
src/model/ListTransitRouterRouteEntriesRequest.cc
src/model/ListTransitRouterRouteEntriesResult.cc
src/model/ListTransitRouterRouteTableAssociationsRequest.cc
src/model/ListTransitRouterRouteTableAssociationsResult.cc
src/model/ListTransitRouterRouteTablePropagationsRequest.cc
src/model/ListTransitRouterRouteTablePropagationsResult.cc
src/model/ListTransitRouterRouteTablesRequest.cc
src/model/ListTransitRouterRouteTablesResult.cc
src/model/ListTransitRouterVbrAttachmentsRequest.cc
src/model/ListTransitRouterVbrAttachmentsResult.cc
src/model/ListTransitRouterVpcAttachmentsRequest.cc
src/model/ListTransitRouterVpcAttachmentsResult.cc
src/model/ListTransitRoutersRequest.cc
src/model/ListTransitRoutersResult.cc
src/model/ModifyCenAttributeRequest.cc
src/model/ModifyCenAttributeResult.cc
src/model/ModifyCenBandwidthPackageAttributeRequest.cc
@@ -234,6 +342,18 @@ set(cbn_src
src/model/UnroutePrivateZoneInCenToVpcResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateTransitRouterRequest.cc
src/model/UpdateTransitRouterResult.cc
src/model/UpdateTransitRouterPeerAttachmentAttributeRequest.cc
src/model/UpdateTransitRouterPeerAttachmentAttributeResult.cc
src/model/UpdateTransitRouterRouteEntryRequest.cc
src/model/UpdateTransitRouterRouteEntryResult.cc
src/model/UpdateTransitRouterRouteTableRequest.cc
src/model/UpdateTransitRouterRouteTableResult.cc
src/model/UpdateTransitRouterVbrAttachmentAttributeRequest.cc
src/model/UpdateTransitRouterVbrAttachmentAttributeResult.cc
src/model/UpdateTransitRouterVpcAttachmentAttributeRequest.cc
src/model/UpdateTransitRouterVpcAttachmentAttributeResult.cc
src/model/WithdrawPublishedRouteEntriesRequest.cc
src/model/WithdrawPublishedRouteEntriesResult.cc )

View File

@@ -26,6 +26,8 @@
#include "model/ActiveFlowLogResult.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/CreateCenRequest.h"
@@ -38,6 +40,18 @@
#include "model/CreateCenRouteMapResult.h"
#include "model/CreateFlowlogRequest.h"
#include "model/CreateFlowlogResult.h"
#include "model/CreateTransitRouterRequest.h"
#include "model/CreateTransitRouterResult.h"
#include "model/CreateTransitRouterPeerAttachmentRequest.h"
#include "model/CreateTransitRouterPeerAttachmentResult.h"
#include "model/CreateTransitRouterRouteEntryRequest.h"
#include "model/CreateTransitRouterRouteEntryResult.h"
#include "model/CreateTransitRouterRouteTableRequest.h"
#include "model/CreateTransitRouterRouteTableResult.h"
#include "model/CreateTransitRouterVbrAttachmentRequest.h"
#include "model/CreateTransitRouterVbrAttachmentResult.h"
#include "model/CreateTransitRouterVpcAttachmentRequest.h"
#include "model/CreateTransitRouterVpcAttachmentResult.h"
#include "model/DeactiveFlowLogRequest.h"
#include "model/DeactiveFlowLogResult.h"
#include "model/DeleteCenRequest.h"
@@ -52,6 +66,16 @@
#include "model/DeleteFlowlogResult.h"
#include "model/DeleteRouteServiceInCenRequest.h"
#include "model/DeleteRouteServiceInCenResult.h"
#include "model/DeleteTransitRouterPeerAttachmentRequest.h"
#include "model/DeleteTransitRouterPeerAttachmentResult.h"
#include "model/DeleteTransitRouterRouteEntryRequest.h"
#include "model/DeleteTransitRouterRouteEntryResult.h"
#include "model/DeleteTransitRouterRouteTableRequest.h"
#include "model/DeleteTransitRouterRouteTableResult.h"
#include "model/DeleteTransitRouterVbrAttachmentRequest.h"
#include "model/DeleteTransitRouterVbrAttachmentResult.h"
#include "model/DeleteTransitRouterVpcAttachmentRequest.h"
#include "model/DeleteTransitRouterVpcAttachmentResult.h"
#include "model/DescribeCenAttachedChildInstanceAttributeRequest.h"
#include "model/DescribeCenAttachedChildInstanceAttributeResult.h"
#include "model/DescribeCenAttachedChildInstancesRequest.h"
@@ -94,10 +118,34 @@
#include "model/DetachCenChildInstanceResult.h"
#include "model/DisableCenVbrHealthCheckRequest.h"
#include "model/DisableCenVbrHealthCheckResult.h"
#include "model/DisableTransitRouterRouteTablePropagationRequest.h"
#include "model/DisableTransitRouterRouteTablePropagationResult.h"
#include "model/DissociateTransitRouterAttachmentFromRouteTableRequest.h"
#include "model/DissociateTransitRouterAttachmentFromRouteTableResult.h"
#include "model/EnableCenVbrHealthCheckRequest.h"
#include "model/EnableCenVbrHealthCheckResult.h"
#include "model/EnableTransitRouterRouteTablePropagationRequest.h"
#include "model/EnableTransitRouterRouteTablePropagationResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ListTransitRouterAvailableResourceRequest.h"
#include "model/ListTransitRouterAvailableResourceResult.h"
#include "model/ListTransitRouterPeerAttachmentsRequest.h"
#include "model/ListTransitRouterPeerAttachmentsResult.h"
#include "model/ListTransitRouterRouteEntriesRequest.h"
#include "model/ListTransitRouterRouteEntriesResult.h"
#include "model/ListTransitRouterRouteTableAssociationsRequest.h"
#include "model/ListTransitRouterRouteTableAssociationsResult.h"
#include "model/ListTransitRouterRouteTablePropagationsRequest.h"
#include "model/ListTransitRouterRouteTablePropagationsResult.h"
#include "model/ListTransitRouterRouteTablesRequest.h"
#include "model/ListTransitRouterRouteTablesResult.h"
#include "model/ListTransitRouterVbrAttachmentsRequest.h"
#include "model/ListTransitRouterVbrAttachmentsResult.h"
#include "model/ListTransitRouterVpcAttachmentsRequest.h"
#include "model/ListTransitRouterVpcAttachmentsResult.h"
#include "model/ListTransitRoutersRequest.h"
#include "model/ListTransitRoutersResult.h"
#include "model/ModifyCenAttributeRequest.h"
#include "model/ModifyCenAttributeResult.h"
#include "model/ModifyCenBandwidthPackageAttributeRequest.h"
@@ -126,6 +174,18 @@
#include "model/UnroutePrivateZoneInCenToVpcResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateTransitRouterRequest.h"
#include "model/UpdateTransitRouterResult.h"
#include "model/UpdateTransitRouterPeerAttachmentAttributeRequest.h"
#include "model/UpdateTransitRouterPeerAttachmentAttributeResult.h"
#include "model/UpdateTransitRouterRouteEntryRequest.h"
#include "model/UpdateTransitRouterRouteEntryResult.h"
#include "model/UpdateTransitRouterRouteTableRequest.h"
#include "model/UpdateTransitRouterRouteTableResult.h"
#include "model/UpdateTransitRouterVbrAttachmentAttributeRequest.h"
#include "model/UpdateTransitRouterVbrAttachmentAttributeResult.h"
#include "model/UpdateTransitRouterVpcAttachmentAttributeRequest.h"
#include "model/UpdateTransitRouterVpcAttachmentAttributeResult.h"
#include "model/WithdrawPublishedRouteEntriesRequest.h"
#include "model/WithdrawPublishedRouteEntriesResult.h"
@@ -143,6 +203,9 @@ namespace AlibabaCloud
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;
typedef Outcome<Error, Model::AssociateTransitRouterAttachmentWithRouteTableResult> AssociateTransitRouterAttachmentWithRouteTableOutcome;
typedef std::future<AssociateTransitRouterAttachmentWithRouteTableOutcome> AssociateTransitRouterAttachmentWithRouteTableOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::AssociateTransitRouterAttachmentWithRouteTableRequest&, const AssociateTransitRouterAttachmentWithRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateTransitRouterAttachmentWithRouteTableAsyncHandler;
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;
@@ -161,6 +224,24 @@ namespace AlibabaCloud
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::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;
typedef Outcome<Error, Model::CreateTransitRouterPeerAttachmentResult> CreateTransitRouterPeerAttachmentOutcome;
typedef std::future<CreateTransitRouterPeerAttachmentOutcome> CreateTransitRouterPeerAttachmentOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterPeerAttachmentRequest&, const CreateTransitRouterPeerAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterPeerAttachmentAsyncHandler;
typedef Outcome<Error, Model::CreateTransitRouterRouteEntryResult> CreateTransitRouterRouteEntryOutcome;
typedef std::future<CreateTransitRouterRouteEntryOutcome> CreateTransitRouterRouteEntryOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterRouteEntryRequest&, const CreateTransitRouterRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterRouteEntryAsyncHandler;
typedef Outcome<Error, Model::CreateTransitRouterRouteTableResult> CreateTransitRouterRouteTableOutcome;
typedef std::future<CreateTransitRouterRouteTableOutcome> CreateTransitRouterRouteTableOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterRouteTableRequest&, const CreateTransitRouterRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterRouteTableAsyncHandler;
typedef Outcome<Error, Model::CreateTransitRouterVbrAttachmentResult> CreateTransitRouterVbrAttachmentOutcome;
typedef std::future<CreateTransitRouterVbrAttachmentOutcome> CreateTransitRouterVbrAttachmentOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterVbrAttachmentRequest&, const CreateTransitRouterVbrAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterVbrAttachmentAsyncHandler;
typedef Outcome<Error, Model::CreateTransitRouterVpcAttachmentResult> CreateTransitRouterVpcAttachmentOutcome;
typedef std::future<CreateTransitRouterVpcAttachmentOutcome> CreateTransitRouterVpcAttachmentOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterVpcAttachmentRequest&, const CreateTransitRouterVpcAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterVpcAttachmentAsyncHandler;
typedef Outcome<Error, Model::DeactiveFlowLogResult> DeactiveFlowLogOutcome;
typedef std::future<DeactiveFlowLogOutcome> DeactiveFlowLogOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DeactiveFlowLogRequest&, const DeactiveFlowLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeactiveFlowLogAsyncHandler;
@@ -182,6 +263,21 @@ 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::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;
typedef Outcome<Error, Model::DeleteTransitRouterRouteEntryResult> DeleteTransitRouterRouteEntryOutcome;
typedef std::future<DeleteTransitRouterRouteEntryOutcome> DeleteTransitRouterRouteEntryOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterRouteEntryRequest&, const DeleteTransitRouterRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterRouteEntryAsyncHandler;
typedef Outcome<Error, Model::DeleteTransitRouterRouteTableResult> DeleteTransitRouterRouteTableOutcome;
typedef std::future<DeleteTransitRouterRouteTableOutcome> DeleteTransitRouterRouteTableOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterRouteTableRequest&, const DeleteTransitRouterRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterRouteTableAsyncHandler;
typedef Outcome<Error, Model::DeleteTransitRouterVbrAttachmentResult> DeleteTransitRouterVbrAttachmentOutcome;
typedef std::future<DeleteTransitRouterVbrAttachmentOutcome> DeleteTransitRouterVbrAttachmentOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterVbrAttachmentRequest&, const DeleteTransitRouterVbrAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterVbrAttachmentAsyncHandler;
typedef Outcome<Error, Model::DeleteTransitRouterVpcAttachmentResult> DeleteTransitRouterVpcAttachmentOutcome;
typedef std::future<DeleteTransitRouterVpcAttachmentOutcome> DeleteTransitRouterVpcAttachmentOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterVpcAttachmentRequest&, const DeleteTransitRouterVpcAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterVpcAttachmentAsyncHandler;
typedef Outcome<Error, Model::DescribeCenAttachedChildInstanceAttributeResult> DescribeCenAttachedChildInstanceAttributeOutcome;
typedef std::future<DescribeCenAttachedChildInstanceAttributeOutcome> DescribeCenAttachedChildInstanceAttributeOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DescribeCenAttachedChildInstanceAttributeRequest&, const DescribeCenAttachedChildInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenAttachedChildInstanceAttributeAsyncHandler;
@@ -245,12 +341,48 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DisableCenVbrHealthCheckResult> DisableCenVbrHealthCheckOutcome;
typedef std::future<DisableCenVbrHealthCheckOutcome> DisableCenVbrHealthCheckOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DisableCenVbrHealthCheckRequest&, const DisableCenVbrHealthCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableCenVbrHealthCheckAsyncHandler;
typedef Outcome<Error, Model::DisableTransitRouterRouteTablePropagationResult> DisableTransitRouterRouteTablePropagationOutcome;
typedef std::future<DisableTransitRouterRouteTablePropagationOutcome> DisableTransitRouterRouteTablePropagationOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DisableTransitRouterRouteTablePropagationRequest&, const DisableTransitRouterRouteTablePropagationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableTransitRouterRouteTablePropagationAsyncHandler;
typedef Outcome<Error, Model::DissociateTransitRouterAttachmentFromRouteTableResult> DissociateTransitRouterAttachmentFromRouteTableOutcome;
typedef std::future<DissociateTransitRouterAttachmentFromRouteTableOutcome> DissociateTransitRouterAttachmentFromRouteTableOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::DissociateTransitRouterAttachmentFromRouteTableRequest&, const DissociateTransitRouterAttachmentFromRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DissociateTransitRouterAttachmentFromRouteTableAsyncHandler;
typedef Outcome<Error, Model::EnableCenVbrHealthCheckResult> EnableCenVbrHealthCheckOutcome;
typedef std::future<EnableCenVbrHealthCheckOutcome> EnableCenVbrHealthCheckOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::EnableCenVbrHealthCheckRequest&, const EnableCenVbrHealthCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableCenVbrHealthCheckAsyncHandler;
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::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::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;
typedef Outcome<Error, Model::ListTransitRouterPeerAttachmentsResult> ListTransitRouterPeerAttachmentsOutcome;
typedef std::future<ListTransitRouterPeerAttachmentsOutcome> ListTransitRouterPeerAttachmentsOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterPeerAttachmentsRequest&, const ListTransitRouterPeerAttachmentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterPeerAttachmentsAsyncHandler;
typedef Outcome<Error, Model::ListTransitRouterRouteEntriesResult> ListTransitRouterRouteEntriesOutcome;
typedef std::future<ListTransitRouterRouteEntriesOutcome> ListTransitRouterRouteEntriesOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterRouteEntriesRequest&, const ListTransitRouterRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterRouteEntriesAsyncHandler;
typedef Outcome<Error, Model::ListTransitRouterRouteTableAssociationsResult> ListTransitRouterRouteTableAssociationsOutcome;
typedef std::future<ListTransitRouterRouteTableAssociationsOutcome> ListTransitRouterRouteTableAssociationsOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterRouteTableAssociationsRequest&, const ListTransitRouterRouteTableAssociationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterRouteTableAssociationsAsyncHandler;
typedef Outcome<Error, Model::ListTransitRouterRouteTablePropagationsResult> ListTransitRouterRouteTablePropagationsOutcome;
typedef std::future<ListTransitRouterRouteTablePropagationsOutcome> ListTransitRouterRouteTablePropagationsOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterRouteTablePropagationsRequest&, const ListTransitRouterRouteTablePropagationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterRouteTablePropagationsAsyncHandler;
typedef Outcome<Error, Model::ListTransitRouterRouteTablesResult> ListTransitRouterRouteTablesOutcome;
typedef std::future<ListTransitRouterRouteTablesOutcome> ListTransitRouterRouteTablesOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterRouteTablesRequest&, const ListTransitRouterRouteTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterRouteTablesAsyncHandler;
typedef Outcome<Error, Model::ListTransitRouterVbrAttachmentsResult> ListTransitRouterVbrAttachmentsOutcome;
typedef std::future<ListTransitRouterVbrAttachmentsOutcome> ListTransitRouterVbrAttachmentsOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterVbrAttachmentsRequest&, const ListTransitRouterVbrAttachmentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterVbrAttachmentsAsyncHandler;
typedef Outcome<Error, Model::ListTransitRouterVpcAttachmentsResult> ListTransitRouterVpcAttachmentsOutcome;
typedef std::future<ListTransitRouterVpcAttachmentsOutcome> ListTransitRouterVpcAttachmentsOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterVpcAttachmentsRequest&, const ListTransitRouterVpcAttachmentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterVpcAttachmentsAsyncHandler;
typedef Outcome<Error, Model::ListTransitRoutersResult> ListTransitRoutersOutcome;
typedef std::future<ListTransitRoutersOutcome> ListTransitRoutersOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ListTransitRoutersRequest&, const ListTransitRoutersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRoutersAsyncHandler;
typedef Outcome<Error, Model::ModifyCenAttributeResult> ModifyCenAttributeOutcome;
typedef std::future<ModifyCenAttributeOutcome> ModifyCenAttributeOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::ModifyCenAttributeRequest&, const ModifyCenAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCenAttributeAsyncHandler;
@@ -293,6 +425,24 @@ 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::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;
typedef Outcome<Error, Model::UpdateTransitRouterPeerAttachmentAttributeResult> UpdateTransitRouterPeerAttachmentAttributeOutcome;
typedef std::future<UpdateTransitRouterPeerAttachmentAttributeOutcome> UpdateTransitRouterPeerAttachmentAttributeOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterPeerAttachmentAttributeRequest&, const UpdateTransitRouterPeerAttachmentAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterPeerAttachmentAttributeAsyncHandler;
typedef Outcome<Error, Model::UpdateTransitRouterRouteEntryResult> UpdateTransitRouterRouteEntryOutcome;
typedef std::future<UpdateTransitRouterRouteEntryOutcome> UpdateTransitRouterRouteEntryOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterRouteEntryRequest&, const UpdateTransitRouterRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterRouteEntryAsyncHandler;
typedef Outcome<Error, Model::UpdateTransitRouterRouteTableResult> UpdateTransitRouterRouteTableOutcome;
typedef std::future<UpdateTransitRouterRouteTableOutcome> UpdateTransitRouterRouteTableOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterRouteTableRequest&, const UpdateTransitRouterRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterRouteTableAsyncHandler;
typedef Outcome<Error, Model::UpdateTransitRouterVbrAttachmentAttributeResult> UpdateTransitRouterVbrAttachmentAttributeOutcome;
typedef std::future<UpdateTransitRouterVbrAttachmentAttributeOutcome> UpdateTransitRouterVbrAttachmentAttributeOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterVbrAttachmentAttributeRequest&, const UpdateTransitRouterVbrAttachmentAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterVbrAttachmentAttributeAsyncHandler;
typedef Outcome<Error, Model::UpdateTransitRouterVpcAttachmentAttributeResult> UpdateTransitRouterVpcAttachmentAttributeOutcome;
typedef std::future<UpdateTransitRouterVpcAttachmentAttributeOutcome> UpdateTransitRouterVpcAttachmentAttributeOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterVpcAttachmentAttributeRequest&, const UpdateTransitRouterVpcAttachmentAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterVpcAttachmentAttributeAsyncHandler;
typedef Outcome<Error, Model::WithdrawPublishedRouteEntriesResult> WithdrawPublishedRouteEntriesOutcome;
typedef std::future<WithdrawPublishedRouteEntriesOutcome> WithdrawPublishedRouteEntriesOutcomeCallable;
typedef std::function<void(const CbnClient*, const Model::WithdrawPublishedRouteEntriesRequest&, const WithdrawPublishedRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WithdrawPublishedRouteEntriesAsyncHandler;
@@ -307,6 +457,9 @@ namespace AlibabaCloud
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;
AssociateTransitRouterAttachmentWithRouteTableOutcome associateTransitRouterAttachmentWithRouteTable(const Model::AssociateTransitRouterAttachmentWithRouteTableRequest &request)const;
void associateTransitRouterAttachmentWithRouteTableAsync(const Model::AssociateTransitRouterAttachmentWithRouteTableRequest& request, const AssociateTransitRouterAttachmentWithRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssociateTransitRouterAttachmentWithRouteTableOutcomeCallable associateTransitRouterAttachmentWithRouteTableCallable(const Model::AssociateTransitRouterAttachmentWithRouteTableRequest& request) const;
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;
@@ -325,6 +478,24 @@ namespace AlibabaCloud
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;
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;
CreateTransitRouterPeerAttachmentOutcome createTransitRouterPeerAttachment(const Model::CreateTransitRouterPeerAttachmentRequest &request)const;
void createTransitRouterPeerAttachmentAsync(const Model::CreateTransitRouterPeerAttachmentRequest& request, const CreateTransitRouterPeerAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransitRouterPeerAttachmentOutcomeCallable createTransitRouterPeerAttachmentCallable(const Model::CreateTransitRouterPeerAttachmentRequest& request) const;
CreateTransitRouterRouteEntryOutcome createTransitRouterRouteEntry(const Model::CreateTransitRouterRouteEntryRequest &request)const;
void createTransitRouterRouteEntryAsync(const Model::CreateTransitRouterRouteEntryRequest& request, const CreateTransitRouterRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransitRouterRouteEntryOutcomeCallable createTransitRouterRouteEntryCallable(const Model::CreateTransitRouterRouteEntryRequest& request) const;
CreateTransitRouterRouteTableOutcome createTransitRouterRouteTable(const Model::CreateTransitRouterRouteTableRequest &request)const;
void createTransitRouterRouteTableAsync(const Model::CreateTransitRouterRouteTableRequest& request, const CreateTransitRouterRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransitRouterRouteTableOutcomeCallable createTransitRouterRouteTableCallable(const Model::CreateTransitRouterRouteTableRequest& request) const;
CreateTransitRouterVbrAttachmentOutcome createTransitRouterVbrAttachment(const Model::CreateTransitRouterVbrAttachmentRequest &request)const;
void createTransitRouterVbrAttachmentAsync(const Model::CreateTransitRouterVbrAttachmentRequest& request, const CreateTransitRouterVbrAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransitRouterVbrAttachmentOutcomeCallable createTransitRouterVbrAttachmentCallable(const Model::CreateTransitRouterVbrAttachmentRequest& request) const;
CreateTransitRouterVpcAttachmentOutcome createTransitRouterVpcAttachment(const Model::CreateTransitRouterVpcAttachmentRequest &request)const;
void createTransitRouterVpcAttachmentAsync(const Model::CreateTransitRouterVpcAttachmentRequest& request, const CreateTransitRouterVpcAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransitRouterVpcAttachmentOutcomeCallable createTransitRouterVpcAttachmentCallable(const Model::CreateTransitRouterVpcAttachmentRequest& request) const;
DeactiveFlowLogOutcome deactiveFlowLog(const Model::DeactiveFlowLogRequest &request)const;
void deactiveFlowLogAsync(const Model::DeactiveFlowLogRequest& request, const DeactiveFlowLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeactiveFlowLogOutcomeCallable deactiveFlowLogCallable(const Model::DeactiveFlowLogRequest& request) const;
@@ -346,6 +517,21 @@ 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;
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;
DeleteTransitRouterRouteEntryOutcome deleteTransitRouterRouteEntry(const Model::DeleteTransitRouterRouteEntryRequest &request)const;
void deleteTransitRouterRouteEntryAsync(const Model::DeleteTransitRouterRouteEntryRequest& request, const DeleteTransitRouterRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTransitRouterRouteEntryOutcomeCallable deleteTransitRouterRouteEntryCallable(const Model::DeleteTransitRouterRouteEntryRequest& request) const;
DeleteTransitRouterRouteTableOutcome deleteTransitRouterRouteTable(const Model::DeleteTransitRouterRouteTableRequest &request)const;
void deleteTransitRouterRouteTableAsync(const Model::DeleteTransitRouterRouteTableRequest& request, const DeleteTransitRouterRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTransitRouterRouteTableOutcomeCallable deleteTransitRouterRouteTableCallable(const Model::DeleteTransitRouterRouteTableRequest& request) const;
DeleteTransitRouterVbrAttachmentOutcome deleteTransitRouterVbrAttachment(const Model::DeleteTransitRouterVbrAttachmentRequest &request)const;
void deleteTransitRouterVbrAttachmentAsync(const Model::DeleteTransitRouterVbrAttachmentRequest& request, const DeleteTransitRouterVbrAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTransitRouterVbrAttachmentOutcomeCallable deleteTransitRouterVbrAttachmentCallable(const Model::DeleteTransitRouterVbrAttachmentRequest& request) const;
DeleteTransitRouterVpcAttachmentOutcome deleteTransitRouterVpcAttachment(const Model::DeleteTransitRouterVpcAttachmentRequest &request)const;
void deleteTransitRouterVpcAttachmentAsync(const Model::DeleteTransitRouterVpcAttachmentRequest& request, const DeleteTransitRouterVpcAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTransitRouterVpcAttachmentOutcomeCallable deleteTransitRouterVpcAttachmentCallable(const Model::DeleteTransitRouterVpcAttachmentRequest& request) const;
DescribeCenAttachedChildInstanceAttributeOutcome describeCenAttachedChildInstanceAttribute(const Model::DescribeCenAttachedChildInstanceAttributeRequest &request)const;
void describeCenAttachedChildInstanceAttributeAsync(const Model::DescribeCenAttachedChildInstanceAttributeRequest& request, const DescribeCenAttachedChildInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCenAttachedChildInstanceAttributeOutcomeCallable describeCenAttachedChildInstanceAttributeCallable(const Model::DescribeCenAttachedChildInstanceAttributeRequest& request) const;
@@ -409,12 +595,48 @@ namespace AlibabaCloud
DisableCenVbrHealthCheckOutcome disableCenVbrHealthCheck(const Model::DisableCenVbrHealthCheckRequest &request)const;
void disableCenVbrHealthCheckAsync(const Model::DisableCenVbrHealthCheckRequest& request, const DisableCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableCenVbrHealthCheckOutcomeCallable disableCenVbrHealthCheckCallable(const Model::DisableCenVbrHealthCheckRequest& request) const;
DisableTransitRouterRouteTablePropagationOutcome disableTransitRouterRouteTablePropagation(const Model::DisableTransitRouterRouteTablePropagationRequest &request)const;
void disableTransitRouterRouteTablePropagationAsync(const Model::DisableTransitRouterRouteTablePropagationRequest& request, const DisableTransitRouterRouteTablePropagationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableTransitRouterRouteTablePropagationOutcomeCallable disableTransitRouterRouteTablePropagationCallable(const Model::DisableTransitRouterRouteTablePropagationRequest& request) const;
DissociateTransitRouterAttachmentFromRouteTableOutcome dissociateTransitRouterAttachmentFromRouteTable(const Model::DissociateTransitRouterAttachmentFromRouteTableRequest &request)const;
void dissociateTransitRouterAttachmentFromRouteTableAsync(const Model::DissociateTransitRouterAttachmentFromRouteTableRequest& request, const DissociateTransitRouterAttachmentFromRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DissociateTransitRouterAttachmentFromRouteTableOutcomeCallable dissociateTransitRouterAttachmentFromRouteTableCallable(const Model::DissociateTransitRouterAttachmentFromRouteTableRequest& request) const;
EnableCenVbrHealthCheckOutcome enableCenVbrHealthCheck(const Model::EnableCenVbrHealthCheckRequest &request)const;
void enableCenVbrHealthCheckAsync(const Model::EnableCenVbrHealthCheckRequest& request, const EnableCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableCenVbrHealthCheckOutcomeCallable enableCenVbrHealthCheckCallable(const Model::EnableCenVbrHealthCheckRequest& request) const;
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;
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;
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;
ListTransitRouterPeerAttachmentsOutcome listTransitRouterPeerAttachments(const Model::ListTransitRouterPeerAttachmentsRequest &request)const;
void listTransitRouterPeerAttachmentsAsync(const Model::ListTransitRouterPeerAttachmentsRequest& request, const ListTransitRouterPeerAttachmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterPeerAttachmentsOutcomeCallable listTransitRouterPeerAttachmentsCallable(const Model::ListTransitRouterPeerAttachmentsRequest& request) const;
ListTransitRouterRouteEntriesOutcome listTransitRouterRouteEntries(const Model::ListTransitRouterRouteEntriesRequest &request)const;
void listTransitRouterRouteEntriesAsync(const Model::ListTransitRouterRouteEntriesRequest& request, const ListTransitRouterRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterRouteEntriesOutcomeCallable listTransitRouterRouteEntriesCallable(const Model::ListTransitRouterRouteEntriesRequest& request) const;
ListTransitRouterRouteTableAssociationsOutcome listTransitRouterRouteTableAssociations(const Model::ListTransitRouterRouteTableAssociationsRequest &request)const;
void listTransitRouterRouteTableAssociationsAsync(const Model::ListTransitRouterRouteTableAssociationsRequest& request, const ListTransitRouterRouteTableAssociationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterRouteTableAssociationsOutcomeCallable listTransitRouterRouteTableAssociationsCallable(const Model::ListTransitRouterRouteTableAssociationsRequest& request) const;
ListTransitRouterRouteTablePropagationsOutcome listTransitRouterRouteTablePropagations(const Model::ListTransitRouterRouteTablePropagationsRequest &request)const;
void listTransitRouterRouteTablePropagationsAsync(const Model::ListTransitRouterRouteTablePropagationsRequest& request, const ListTransitRouterRouteTablePropagationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterRouteTablePropagationsOutcomeCallable listTransitRouterRouteTablePropagationsCallable(const Model::ListTransitRouterRouteTablePropagationsRequest& request) const;
ListTransitRouterRouteTablesOutcome listTransitRouterRouteTables(const Model::ListTransitRouterRouteTablesRequest &request)const;
void listTransitRouterRouteTablesAsync(const Model::ListTransitRouterRouteTablesRequest& request, const ListTransitRouterRouteTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterRouteTablesOutcomeCallable listTransitRouterRouteTablesCallable(const Model::ListTransitRouterRouteTablesRequest& request) const;
ListTransitRouterVbrAttachmentsOutcome listTransitRouterVbrAttachments(const Model::ListTransitRouterVbrAttachmentsRequest &request)const;
void listTransitRouterVbrAttachmentsAsync(const Model::ListTransitRouterVbrAttachmentsRequest& request, const ListTransitRouterVbrAttachmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterVbrAttachmentsOutcomeCallable listTransitRouterVbrAttachmentsCallable(const Model::ListTransitRouterVbrAttachmentsRequest& request) const;
ListTransitRouterVpcAttachmentsOutcome listTransitRouterVpcAttachments(const Model::ListTransitRouterVpcAttachmentsRequest &request)const;
void listTransitRouterVpcAttachmentsAsync(const Model::ListTransitRouterVpcAttachmentsRequest& request, const ListTransitRouterVpcAttachmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRouterVpcAttachmentsOutcomeCallable listTransitRouterVpcAttachmentsCallable(const Model::ListTransitRouterVpcAttachmentsRequest& request) const;
ListTransitRoutersOutcome listTransitRouters(const Model::ListTransitRoutersRequest &request)const;
void listTransitRoutersAsync(const Model::ListTransitRoutersRequest& request, const ListTransitRoutersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTransitRoutersOutcomeCallable listTransitRoutersCallable(const Model::ListTransitRoutersRequest& request) const;
ModifyCenAttributeOutcome modifyCenAttribute(const Model::ModifyCenAttributeRequest &request)const;
void modifyCenAttributeAsync(const Model::ModifyCenAttributeRequest& request, const ModifyCenAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCenAttributeOutcomeCallable modifyCenAttributeCallable(const Model::ModifyCenAttributeRequest& request) const;
@@ -457,6 +679,24 @@ 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;
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;
UpdateTransitRouterPeerAttachmentAttributeOutcome updateTransitRouterPeerAttachmentAttribute(const Model::UpdateTransitRouterPeerAttachmentAttributeRequest &request)const;
void updateTransitRouterPeerAttachmentAttributeAsync(const Model::UpdateTransitRouterPeerAttachmentAttributeRequest& request, const UpdateTransitRouterPeerAttachmentAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTransitRouterPeerAttachmentAttributeOutcomeCallable updateTransitRouterPeerAttachmentAttributeCallable(const Model::UpdateTransitRouterPeerAttachmentAttributeRequest& request) const;
UpdateTransitRouterRouteEntryOutcome updateTransitRouterRouteEntry(const Model::UpdateTransitRouterRouteEntryRequest &request)const;
void updateTransitRouterRouteEntryAsync(const Model::UpdateTransitRouterRouteEntryRequest& request, const UpdateTransitRouterRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTransitRouterRouteEntryOutcomeCallable updateTransitRouterRouteEntryCallable(const Model::UpdateTransitRouterRouteEntryRequest& request) const;
UpdateTransitRouterRouteTableOutcome updateTransitRouterRouteTable(const Model::UpdateTransitRouterRouteTableRequest &request)const;
void updateTransitRouterRouteTableAsync(const Model::UpdateTransitRouterRouteTableRequest& request, const UpdateTransitRouterRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTransitRouterRouteTableOutcomeCallable updateTransitRouterRouteTableCallable(const Model::UpdateTransitRouterRouteTableRequest& request) const;
UpdateTransitRouterVbrAttachmentAttributeOutcome updateTransitRouterVbrAttachmentAttribute(const Model::UpdateTransitRouterVbrAttachmentAttributeRequest &request)const;
void updateTransitRouterVbrAttachmentAttributeAsync(const Model::UpdateTransitRouterVbrAttachmentAttributeRequest& request, const UpdateTransitRouterVbrAttachmentAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTransitRouterVbrAttachmentAttributeOutcomeCallable updateTransitRouterVbrAttachmentAttributeCallable(const Model::UpdateTransitRouterVbrAttachmentAttributeRequest& request) const;
UpdateTransitRouterVpcAttachmentAttributeOutcome updateTransitRouterVpcAttachmentAttribute(const Model::UpdateTransitRouterVpcAttachmentAttributeRequest &request)const;
void updateTransitRouterVpcAttachmentAttributeAsync(const Model::UpdateTransitRouterVpcAttachmentAttributeRequest& request, const UpdateTransitRouterVpcAttachmentAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTransitRouterVpcAttachmentAttributeOutcomeCallable updateTransitRouterVpcAttachmentAttributeCallable(const Model::UpdateTransitRouterVpcAttachmentAttributeRequest& request) const;
WithdrawPublishedRouteEntriesOutcome withdrawPublishedRouteEntries(const Model::WithdrawPublishedRouteEntriesRequest &request)const;
void withdrawPublishedRouteEntriesAsync(const Model::WithdrawPublishedRouteEntriesRequest& request, const WithdrawPublishedRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
WithdrawPublishedRouteEntriesOutcomeCallable withdrawPublishedRouteEntriesCallable(const Model::WithdrawPublishedRouteEntriesRequest& request) const;

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_ASSOCIATETRANSITROUTERATTACHMENTWITHROUTETABLEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_ASSOCIATETRANSITROUTERATTACHMENTWITHROUTETABLEREQUEST_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 AssociateTransitRouterAttachmentWithRouteTableRequest : public RpcServiceRequest
{
public:
AssociateTransitRouterAttachmentWithRouteTableRequest();
~AssociateTransitRouterAttachmentWithRouteTableRequest();
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_ASSOCIATETRANSITROUTERATTACHMENTWITHROUTETABLEREQUEST_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_ASSOCIATETRANSITROUTERATTACHMENTWITHROUTETABLERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_ASSOCIATETRANSITROUTERATTACHMENTWITHROUTETABLERESULT_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 AssociateTransitRouterAttachmentWithRouteTableResult : public ServiceResult
{
public:
AssociateTransitRouterAttachmentWithRouteTableResult();
explicit AssociateTransitRouterAttachmentWithRouteTableResult(const std::string &payload);
~AssociateTransitRouterAttachmentWithRouteTableResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_ASSOCIATETRANSITROUTERATTACHMENTWITHROUTETABLERESULT_H_

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setAutoRenewDuration(int autoRenewDuration);
std::string getBandwidthPackageChargeType()const;
void setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getGeographicRegionBId()const;
void setGeographicRegionBId(const std::string& geographicRegionBId);
int getPeriod()const;
@@ -74,6 +76,7 @@ namespace AlibabaCloud
std::string description_;
int autoRenewDuration_;
std::string bandwidthPackageChargeType_;
std::string resourceGroupId_;
std::string geographicRegionBId_;
int period_;
std::string geographicRegionAId_;

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setIpv6Level(const std::string& ipv6Level);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -59,6 +61,7 @@ namespace AlibabaCloud
std::string clientToken_;
std::string ipv6Level_;
std::string description_;
std::string resourceGroupId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setSystemPolicy(bool systemPolicy);
std::vector<std::string> getOriginalRouteTableIds()const;
void setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
std::vector<std::string> getSourceInstanceIds()const;
void setSourceInstanceIds(const std::vector<std::string>& sourceInstanceIds);
std::vector<std::string> getSourceRegionIds()const;
@@ -119,6 +121,7 @@ namespace AlibabaCloud
std::vector<std::string> destinationCidrBlocks_;
bool systemPolicy_;
std::vector<std::string> originalRouteTableIds_;
std::string transitRouterRouteTableId_;
std::vector<std::string> sourceInstanceIds_;
std::vector<std::string> sourceRegionIds_;
std::string gatewayZoneId_;

View File

@@ -0,0 +1,102 @@
/*
* 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_CREATETRANSITROUTERPEERATTACHMENTREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPEERATTACHMENTREQUEST_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 CreateTransitRouterPeerAttachmentRequest : public RpcServiceRequest
{
public:
CreateTransitRouterPeerAttachmentRequest();
~CreateTransitRouterPeerAttachmentRequest();
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);
bool getRouteTableAssociationEnabled()const;
void setRouteTableAssociationEnabled(bool routeTableAssociationEnabled);
std::string getTransitRouterAttachmentName()const;
void setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAutoPublishRouteEnabled()const;
void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
bool getRouteTablePropagationEnabled()const;
void setRouteTablePropagationEnabled(bool routeTablePropagationEnabled);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getBandwidth()const;
void setBandwidth(int bandwidth);
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);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentDescription()const;
void setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription);
std::string getPeerTransitRouterRegionId()const;
void setPeerTransitRouterRegionId(const std::string& peerTransitRouterRegionId);
std::string getCenBandwidthPackageId()const;
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
std::string getPeerTransitRouterId()const;
void setPeerTransitRouterId(const std::string& peerTransitRouterId);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string cenId_;
bool routeTableAssociationEnabled_;
std::string transitRouterAttachmentName_;
std::string regionId_;
bool autoPublishRouteEnabled_;
bool routeTablePropagationEnabled_;
bool dryRun_;
std::string resourceOwnerAccount_;
int bandwidth_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string resourceType_;
std::string transitRouterAttachmentDescription_;
std::string peerTransitRouterRegionId_;
std::string cenBandwidthPackageId_;
std::string peerTransitRouterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPEERATTACHMENTREQUEST_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_CREATETRANSITROUTERPEERATTACHMENTRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPEERATTACHMENTRESULT_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 CreateTransitRouterPeerAttachmentResult : public ServiceResult
{
public:
CreateTransitRouterPeerAttachmentResult();
explicit CreateTransitRouterPeerAttachmentResult(const std::string &payload);
~CreateTransitRouterPeerAttachmentResult();
std::string getTransitRouterAttachmentId()const;
protected:
void parse(const std::string &payload);
private:
std::string transitRouterAttachmentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPEERATTACHMENTRESULT_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_CREATETRANSITROUTERREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERREQUEST_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 CreateTransitRouterRequest : public RpcServiceRequest
{
public:
CreateTransitRouterRequest();
~CreateTransitRouterRequest();
std::string getTransitRouterName()const;
void setTransitRouterName(const std::string& transitRouterName);
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 getType()const;
void setType(const std::string& type);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
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 getTransitRouterDescription()const;
void setTransitRouterDescription(const std::string& transitRouterDescription);
private:
std::string transitRouterName_;
long resourceOwnerId_;
std::string clientToken_;
std::string cenId_;
std::string type_;
std::string regionId_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterDescription_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERREQUEST_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_CREATETRANSITROUTERRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERRESULT_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 CreateTransitRouterResult : public ServiceResult
{
public:
CreateTransitRouterResult();
explicit CreateTransitRouterResult(const std::string &payload);
~CreateTransitRouterResult();
std::string getTransitRouterId()const;
protected:
void parse(const std::string &payload);
private:
std::string transitRouterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERRESULT_H_

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_CREATETRANSITROUTERROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTEENTRYREQUEST_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 CreateTransitRouterRouteEntryRequest : public RpcServiceRequest
{
public:
CreateTransitRouterRouteEntryRequest();
~CreateTransitRouterRouteEntryRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterRouteEntryNextHopType()const;
void setTransitRouterRouteEntryNextHopType(const std::string& transitRouterRouteEntryNextHopType);
std::string getTransitRouterRouteEntryDestinationCidrBlock()const;
void setTransitRouterRouteEntryDestinationCidrBlock(const std::string& transitRouterRouteEntryDestinationCidrBlock);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
std::string getTransitRouterRouteEntryNextHopId()const;
void setTransitRouterRouteEntryNextHopId(const std::string& transitRouterRouteEntryNextHopId);
std::string getTransitRouterRouteEntryDescription()const;
void setTransitRouterRouteEntryDescription(const std::string& transitRouterRouteEntryDescription);
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 getTransitRouterRouteEntryName()const;
void setTransitRouterRouteEntryName(const std::string& transitRouterRouteEntryName);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterRouteEntryNextHopType_;
std::string transitRouterRouteEntryDestinationCidrBlock_;
std::string transitRouterRouteTableId_;
std::string transitRouterRouteEntryNextHopId_;
std::string transitRouterRouteEntryDescription_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterRouteEntryName_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTEENTRYREQUEST_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_CREATETRANSITROUTERROUTEENTRYRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTEENTRYRESULT_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 CreateTransitRouterRouteEntryResult : public ServiceResult
{
public:
CreateTransitRouterRouteEntryResult();
explicit CreateTransitRouterRouteEntryResult(const std::string &payload);
~CreateTransitRouterRouteEntryResult();
std::string getTransitRouterRouteEntryId()const;
protected:
void parse(const std::string &payload);
private:
std::string transitRouterRouteEntryId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTEENTRYRESULT_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_CREATETRANSITROUTERROUTETABLEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTETABLEREQUEST_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 CreateTransitRouterRouteTableRequest : public RpcServiceRequest
{
public:
CreateTransitRouterRouteTableRequest();
~CreateTransitRouterRouteTableRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterRouteTableDescription()const;
void setTransitRouterRouteTableDescription(const std::string& transitRouterRouteTableDescription);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getTransitRouterRouteTableName()const;
void setTransitRouterRouteTableName(const std::string& transitRouterRouteTableName);
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);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterRouteTableDescription_;
bool dryRun_;
std::string transitRouterRouteTableName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTETABLEREQUEST_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_CREATETRANSITROUTERROUTETABLERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTETABLERESULT_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 CreateTransitRouterRouteTableResult : public ServiceResult
{
public:
CreateTransitRouterRouteTableResult();
explicit CreateTransitRouterRouteTableResult(const std::string &payload);
~CreateTransitRouterRouteTableResult();
std::string getTransitRouterRouteTableId()const;
protected:
void parse(const std::string &payload);
private:
std::string transitRouterRouteTableId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERROUTETABLERESULT_H_

View File

@@ -0,0 +1,96 @@
/*
* 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_CREATETRANSITROUTERVBRATTACHMENTREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVBRATTACHMENTREQUEST_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 CreateTransitRouterVbrAttachmentRequest : public RpcServiceRequest
{
public:
CreateTransitRouterVbrAttachmentRequest();
~CreateTransitRouterVbrAttachmentRequest();
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);
bool getRouteTableAssociationEnabled()const;
void setRouteTableAssociationEnabled(bool routeTableAssociationEnabled);
std::string getVbrId()const;
void setVbrId(const std::string& vbrId);
std::string getTransitRouterAttachmentName()const;
void setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAutoPublishRouteEnabled()const;
void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
bool getRouteTablePropagationEnabled()const;
void setRouteTablePropagationEnabled(bool routeTablePropagationEnabled);
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 getTransitRouterId()const;
void setTransitRouterId(const std::string& transitRouterId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentDescription()const;
void setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription);
long getVbrOwnerId()const;
void setVbrOwnerId(long vbrOwnerId);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string cenId_;
bool routeTableAssociationEnabled_;
std::string vbrId_;
std::string transitRouterAttachmentName_;
std::string regionId_;
bool autoPublishRouteEnabled_;
bool routeTablePropagationEnabled_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string resourceType_;
std::string transitRouterAttachmentDescription_;
long vbrOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVBRATTACHMENTREQUEST_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_CREATETRANSITROUTERVBRATTACHMENTRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVBRATTACHMENTRESULT_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 CreateTransitRouterVbrAttachmentResult : public ServiceResult
{
public:
CreateTransitRouterVbrAttachmentResult();
explicit CreateTransitRouterVbrAttachmentResult(const std::string &payload);
~CreateTransitRouterVbrAttachmentResult();
std::string getTransitRouterAttachmentId()const;
protected:
void parse(const std::string &payload);
private:
std::string transitRouterAttachmentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVBRATTACHMENTRESULT_H_

View File

@@ -0,0 +1,108 @@
/*
* 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_CREATETRANSITROUTERVPCATTACHMENTREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVPCATTACHMENTREQUEST_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 CreateTransitRouterVpcAttachmentRequest : public RpcServiceRequest
{
public:
struct ZoneMappings
{
std::string vSwitchId;
std::string zoneId;
};
public:
CreateTransitRouterVpcAttachmentRequest();
~CreateTransitRouterVpcAttachmentRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getVpcOwnerId()const;
void setVpcOwnerId(long vpcOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getCenId()const;
void setCenId(const std::string& cenId);
bool getRouteTableAssociationEnabled()const;
void setRouteTableAssociationEnabled(bool routeTableAssociationEnabled);
std::string getTransitRouterAttachmentName()const;
void setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAutoCreateVpcRoute()const;
void setAutoCreateVpcRoute(bool autoCreateVpcRoute);
bool getRouteTablePropagationEnabled()const;
void setRouteTablePropagationEnabled(bool routeTablePropagationEnabled);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::vector<ZoneMappings> getZoneMappings()const;
void setZoneMappings(const std::vector<ZoneMappings>& zoneMappings);
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);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentDescription()const;
void setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getChargeType()const;
void setChargeType(const std::string& chargeType);
private:
long resourceOwnerId_;
long vpcOwnerId_;
std::string clientToken_;
std::string cenId_;
bool routeTableAssociationEnabled_;
std::string transitRouterAttachmentName_;
std::string regionId_;
bool autoCreateVpcRoute_;
bool routeTablePropagationEnabled_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::vector<ZoneMappings> zoneMappings_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string resourceType_;
std::string transitRouterAttachmentDescription_;
std::string vpcId_;
std::string chargeType_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVPCATTACHMENTREQUEST_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_CREATETRANSITROUTERVPCATTACHMENTRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVPCATTACHMENTRESULT_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 CreateTransitRouterVpcAttachmentResult : public ServiceResult
{
public:
CreateTransitRouterVpcAttachmentResult();
explicit CreateTransitRouterVpcAttachmentResult(const std::string &payload);
~CreateTransitRouterVpcAttachmentResult();
std::string getTransitRouterAttachmentId()const;
protected:
void parse(const std::string &payload);
private:
std::string transitRouterAttachmentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERVPCATTACHMENTRESULT_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_DELETETRANSITROUTERPEERATTACHMENTREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPEERATTACHMENTREQUEST_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 DeleteTransitRouterPeerAttachmentRequest : public RpcServiceRequest
{
public:
DeleteTransitRouterPeerAttachmentRequest();
~DeleteTransitRouterPeerAttachmentRequest();
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 getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
private:
long resourceOwnerId_;
std::string clientToken_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPEERATTACHMENTREQUEST_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_DELETETRANSITROUTERPEERATTACHMENTRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPEERATTACHMENTRESULT_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 DeleteTransitRouterPeerAttachmentResult : public ServiceResult
{
public:
DeleteTransitRouterPeerAttachmentResult();
explicit DeleteTransitRouterPeerAttachmentResult(const std::string &payload);
~DeleteTransitRouterPeerAttachmentResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPEERATTACHMENTRESULT_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_DELETETRANSITROUTERROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTEENTRYREQUEST_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 DeleteTransitRouterRouteEntryRequest : public RpcServiceRequest
{
public:
DeleteTransitRouterRouteEntryRequest();
~DeleteTransitRouterRouteEntryRequest();
std::string getTransitRouterRouteEntryId()const;
void setTransitRouterRouteEntryId(const std::string& transitRouterRouteEntryId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterRouteEntryNextHopType()const;
void setTransitRouterRouteEntryNextHopType(const std::string& transitRouterRouteEntryNextHopType);
std::string getTransitRouterRouteEntryDestinationCidrBlock()const;
void setTransitRouterRouteEntryDestinationCidrBlock(const std::string& transitRouterRouteEntryDestinationCidrBlock);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
std::string getTransitRouterRouteEntryNextHopId()const;
void setTransitRouterRouteEntryNextHopId(const std::string& transitRouterRouteEntryNextHopId);
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:
std::string transitRouterRouteEntryId_;
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterRouteEntryNextHopType_;
std::string transitRouterRouteEntryDestinationCidrBlock_;
std::string transitRouterRouteTableId_;
std::string transitRouterRouteEntryNextHopId_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTEENTRYREQUEST_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_DELETETRANSITROUTERROUTEENTRYRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTEENTRYRESULT_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 DeleteTransitRouterRouteEntryResult : public ServiceResult
{
public:
DeleteTransitRouterRouteEntryResult();
explicit DeleteTransitRouterRouteEntryResult(const std::string &payload);
~DeleteTransitRouterRouteEntryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTEENTRYRESULT_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_DELETETRANSITROUTERROUTETABLEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTETABLEREQUEST_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 DeleteTransitRouterRouteTableRequest : public RpcServiceRequest
{
public:
DeleteTransitRouterRouteTableRequest();
~DeleteTransitRouterRouteTableRequest();
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);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterRouteTableId_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTETABLEREQUEST_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_DELETETRANSITROUTERROUTETABLERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTETABLERESULT_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 DeleteTransitRouterRouteTableResult : public ServiceResult
{
public:
DeleteTransitRouterRouteTableResult();
explicit DeleteTransitRouterRouteTableResult(const std::string &payload);
~DeleteTransitRouterRouteTableResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERROUTETABLERESULT_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_DELETETRANSITROUTERVBRATTACHMENTREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVBRATTACHMENTREQUEST_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 DeleteTransitRouterVbrAttachmentRequest : public RpcServiceRequest
{
public:
DeleteTransitRouterVbrAttachmentRequest();
~DeleteTransitRouterVbrAttachmentRequest();
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 getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
private:
long resourceOwnerId_;
std::string clientToken_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVBRATTACHMENTREQUEST_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_DELETETRANSITROUTERVBRATTACHMENTRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVBRATTACHMENTRESULT_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 DeleteTransitRouterVbrAttachmentResult : public ServiceResult
{
public:
DeleteTransitRouterVbrAttachmentResult();
explicit DeleteTransitRouterVbrAttachmentResult(const std::string &payload);
~DeleteTransitRouterVbrAttachmentResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVBRATTACHMENTRESULT_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_DELETETRANSITROUTERVPCATTACHMENTREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVPCATTACHMENTREQUEST_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 DeleteTransitRouterVpcAttachmentRequest : public RpcServiceRequest
{
public:
DeleteTransitRouterVpcAttachmentRequest();
~DeleteTransitRouterVpcAttachmentRequest();
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 getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
private:
long resourceOwnerId_;
std::string clientToken_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVPCATTACHMENTREQUEST_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_DELETETRANSITROUTERVPCATTACHMENTRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVPCATTACHMENTRESULT_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 DeleteTransitRouterVpcAttachmentResult : public ServiceResult
{
public:
DeleteTransitRouterVpcAttachmentResult();
explicit DeleteTransitRouterVpcAttachmentResult(const std::string &payload);
~DeleteTransitRouterVpcAttachmentResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERVPCATTACHMENTRESULT_H_

View File

@@ -54,6 +54,8 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
bool getIsOrKey()const;
void setIsOrKey(bool isOrKey);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
@@ -72,6 +74,7 @@ namespace AlibabaCloud
bool includeReservationData_;
int pageNumber_;
bool isOrKey_;
std::string resourceGroupId_;
int pageSize_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;

View File

@@ -49,6 +49,7 @@ namespace AlibabaCloud
std::string status;
std::string description;
std::string geographicSpanId;
std::string resourceGroupId;
std::string geographicRegionBId;
std::string geographicRegionAId;
bool isCrossBorder;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setCenId(const std::string& cenId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTransmitDirection()const;
@@ -68,6 +70,7 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string cenId_;
int pageNumber_;
std::string transitRouterRouteTableId_;
int pageSize_;
std::string transmitDirection_;
std::string resourceOwnerAccount_;

View File

@@ -56,6 +56,7 @@ namespace AlibabaCloud
std::string mapResult;
std::string cidrMatchMode;
std::vector<std::string> originalRouteTableIds;
std::string transitRouterRouteTableId;
std::vector<std::string> routeTypes;
std::string gatewayZoneId;
int preference;

View File

@@ -50,6 +50,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
@@ -66,6 +68,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
int pageNumber_;
std::string resourceGroupId_;
int pageSize_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
std::string status;
std::string protectionLevel;
std::string description;
std::string resourceGroupId;
std::string ipv6Level;
std::string cenId;
std::string creationTime;

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_DISABLETRANSITROUTERROUTETABLEPROPAGATIONREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DISABLETRANSITROUTERROUTETABLEPROPAGATIONREQUEST_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 DisableTransitRouterRouteTablePropagationRequest : public RpcServiceRequest
{
public:
DisableTransitRouterRouteTablePropagationRequest();
~DisableTransitRouterRouteTablePropagationRequest();
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_DISABLETRANSITROUTERROUTETABLEPROPAGATIONREQUEST_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_DISABLETRANSITROUTERROUTETABLEPROPAGATIONRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DISABLETRANSITROUTERROUTETABLEPROPAGATIONRESULT_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 DisableTransitRouterRouteTablePropagationResult : public ServiceResult
{
public:
DisableTransitRouterRouteTablePropagationResult();
explicit DisableTransitRouterRouteTablePropagationResult(const std::string &payload);
~DisableTransitRouterRouteTablePropagationResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DISABLETRANSITROUTERROUTETABLEPROPAGATIONRESULT_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_DISSOCIATETRANSITROUTERATTACHMENTFROMROUTETABLEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_DISSOCIATETRANSITROUTERATTACHMENTFROMROUTETABLEREQUEST_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 DissociateTransitRouterAttachmentFromRouteTableRequest : public RpcServiceRequest
{
public:
DissociateTransitRouterAttachmentFromRouteTableRequest();
~DissociateTransitRouterAttachmentFromRouteTableRequest();
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_DISSOCIATETRANSITROUTERATTACHMENTFROMROUTETABLEREQUEST_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_DISSOCIATETRANSITROUTERATTACHMENTFROMROUTETABLERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_DISSOCIATETRANSITROUTERATTACHMENTFROMROUTETABLERESULT_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 DissociateTransitRouterAttachmentFromRouteTableResult : public ServiceResult
{
public:
DissociateTransitRouterAttachmentFromRouteTableResult();
explicit DissociateTransitRouterAttachmentFromRouteTableResult(const std::string &payload);
~DissociateTransitRouterAttachmentFromRouteTableResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_DISSOCIATETRANSITROUTERATTACHMENTFROMROUTETABLERESULT_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_ENABLETRANSITROUTERROUTETABLEPROPAGATIONREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_ENABLETRANSITROUTERROUTETABLEPROPAGATIONREQUEST_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 EnableTransitRouterRouteTablePropagationRequest : public RpcServiceRequest
{
public:
EnableTransitRouterRouteTablePropagationRequest();
~EnableTransitRouterRouteTablePropagationRequest();
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_ENABLETRANSITROUTERROUTETABLEPROPAGATIONREQUEST_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_ENABLETRANSITROUTERROUTETABLEPROPAGATIONRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_ENABLETRANSITROUTERROUTETABLEPROPAGATIONRESULT_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 EnableTransitRouterRouteTablePropagationResult : public ServiceResult
{
public:
EnableTransitRouterRouteTablePropagationResult();
explicit EnableTransitRouterRouteTablePropagationResult(const std::string &payload);
~EnableTransitRouterRouteTablePropagationResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_ENABLETRANSITROUTERROUTETABLEPROPAGATIONRESULT_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_LISTTRANSITROUTERAVAILABLERESOURCEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERAVAILABLERESOURCEREQUEST_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 ListTransitRouterAvailableResourceRequest : public RpcServiceRequest
{
public:
ListTransitRouterAvailableResourceRequest();
~ListTransitRouterAvailableResourceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
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_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERAVAILABLERESOURCEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_LISTTRANSITROUTERAVAILABLERESOURCERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERAVAILABLERESOURCERESULT_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 ListTransitRouterAvailableResourceResult : public ServiceResult
{
public:
ListTransitRouterAvailableResourceResult();
explicit ListTransitRouterAvailableResourceResult(const std::string &payload);
~ListTransitRouterAvailableResourceResult();
std::vector<std::string> getSlaveZones()const;
std::vector<std::string> getMasterZones()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> slaveZones_;
std::vector<std::string> masterZones_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERAVAILABLERESOURCERESULT_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_LISTTRANSITROUTERPEERATTACHMENTSREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPEERATTACHMENTSREQUEST_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 ListTransitRouterPeerAttachmentsRequest : public RpcServiceRequest
{
public:
ListTransitRouterPeerAttachmentsRequest();
~ListTransitRouterPeerAttachmentsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCenId()const;
void setCenId(const std::string& cenId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
long resourceOwnerId_;
std::string cenId_;
std::string regionId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPEERATTACHMENTSREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* 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_LISTTRANSITROUTERPEERATTACHMENTSRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPEERATTACHMENTSRESULT_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 ListTransitRouterPeerAttachmentsResult : public ServiceResult
{
public:
struct TransitRouterAttachment
{
std::string transitRouterAttachmentId;
std::string status;
std::string geographicSpanId;
long peerTransitRouterOwnerId;
std::string transitRouterAttachmentName;
std::string resourceType;
bool autoPublishRouteEnabled;
int bandwidth;
std::string creationTime;
std::string bandwidthPackageId;
std::string peerTransitRouterId;
std::string regionId;
std::string cenBandwidthPackageId;
std::string transitRouterAttachmentDescription;
std::string peerTransitRouterRegionId;
std::string transitRouterId;
};
ListTransitRouterPeerAttachmentsResult();
explicit ListTransitRouterPeerAttachmentsResult(const std::string &payload);
~ListTransitRouterPeerAttachmentsResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<TransitRouterAttachment> getTransitRouterAttachments()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<TransitRouterAttachment> transitRouterAttachments_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPEERATTACHMENTSRESULT_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_LISTTRANSITROUTERROUTEENTRIESREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTEENTRIESREQUEST_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 ListTransitRouterRouteEntriesRequest : public RpcServiceRequest
{
public:
ListTransitRouterRouteEntriesRequest();
~ListTransitRouterRouteEntriesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTransitRouterRouteEntryDestinationCidrBlock()const;
void setTransitRouterRouteEntryDestinationCidrBlock(const std::string& transitRouterRouteEntryDestinationCidrBlock);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getTransitRouterRouteEntryStatus()const;
void setTransitRouterRouteEntryStatus(const std::string& transitRouterRouteEntryStatus);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::vector<std::string> getTransitRouterRouteEntryNames()const;
void setTransitRouterRouteEntryNames(const std::vector<std::string>& transitRouterRouteEntryNames);
std::vector<std::string> getTransitRouterRouteEntryIds()const;
void setTransitRouterRouteEntryIds(const std::vector<std::string>& transitRouterRouteEntryIds);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
long resourceOwnerId_;
std::string transitRouterRouteEntryDestinationCidrBlock_;
std::string transitRouterRouteTableId_;
std::string nextToken_;
std::string transitRouterRouteEntryStatus_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::vector<std::string> transitRouterRouteEntryNames_;
std::vector<std::string> transitRouterRouteEntryIds_;
long ownerId_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTEENTRIESREQUEST_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_LISTTRANSITROUTERROUTEENTRIESRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTEENTRIESRESULT_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 ListTransitRouterRouteEntriesResult : public ServiceResult
{
public:
struct TransitRouterRouteEntry
{
std::string transitRouterRouteEntryDestinationCidrBlock;
std::string transitRouterRouteEntryNextHopId;
std::string transitRouterRouteEntryType;
std::string transitRouterRouteEntryDescription;
std::string createTime;
std::string transitRouterRouteEntryNextHopType;
std::string transitRouterRouteEntryName;
std::string transitRouterRouteEntryId;
std::string transitRouterRouteEntryStatus;
};
ListTransitRouterRouteEntriesResult();
explicit ListTransitRouterRouteEntriesResult(const std::string &payload);
~ListTransitRouterRouteEntriesResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<TransitRouterRouteEntry> getTransitRouterRouteEntries()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<TransitRouterRouteEntry> transitRouterRouteEntries_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTEENTRIESRESULT_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_LISTTRANSITROUTERROUTETABLEASSOCIATIONSREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEASSOCIATIONSREQUEST_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 ListTransitRouterRouteTableAssociationsRequest : public RpcServiceRequest
{
public:
ListTransitRouterRouteTableAssociationsRequest();
~ListTransitRouterRouteTableAssociationsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::vector<std::string> getTransitRouterAttachmentIds()const;
void setTransitRouterAttachmentIds(const std::vector<std::string>& transitRouterAttachmentIds);
private:
long resourceOwnerId_;
std::string transitRouterRouteTableId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterAttachmentId_;
int maxResults_;
std::vector<std::string> transitRouterAttachmentIds_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEASSOCIATIONSREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTTRANSITROUTERROUTETABLEASSOCIATIONSRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEASSOCIATIONSRESULT_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 ListTransitRouterRouteTableAssociationsResult : public ServiceResult
{
public:
struct TransitRouterAssociation
{
std::string status;
std::string transitRouterAttachmentId;
std::string transitRouterRouteTableId;
std::string resourceId;
std::string resourceType;
};
ListTransitRouterRouteTableAssociationsResult();
explicit ListTransitRouterRouteTableAssociationsResult(const std::string &payload);
~ListTransitRouterRouteTableAssociationsResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<TransitRouterAssociation> getTransitRouterAssociations()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<TransitRouterAssociation> transitRouterAssociations_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEASSOCIATIONSRESULT_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_LISTTRANSITROUTERROUTETABLEPROPAGATIONSREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEPROPAGATIONSREQUEST_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 ListTransitRouterRouteTablePropagationsRequest : public RpcServiceRequest
{
public:
ListTransitRouterRouteTablePropagationsRequest();
~ListTransitRouterRouteTablePropagationsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTransitRouterRouteTableId()const;
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::vector<std::string> getTransitRouterAttachmentIds()const;
void setTransitRouterAttachmentIds(const std::vector<std::string>& transitRouterAttachmentIds);
private:
long resourceOwnerId_;
std::string transitRouterRouteTableId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterAttachmentId_;
int maxResults_;
std::vector<std::string> transitRouterAttachmentIds_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEPROPAGATIONSREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTTRANSITROUTERROUTETABLEPROPAGATIONSRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEPROPAGATIONSRESULT_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 ListTransitRouterRouteTablePropagationsResult : public ServiceResult
{
public:
struct TransitRouterPropagation
{
std::string status;
std::string transitRouterAttachmentId;
std::string transitRouterRouteTableId;
std::string resourceId;
std::string resourceType;
};
ListTransitRouterRouteTablePropagationsResult();
explicit ListTransitRouterRouteTablePropagationsResult(const std::string &payload);
~ListTransitRouterRouteTablePropagationsResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<TransitRouterPropagation> getTransitRouterPropagations()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<TransitRouterPropagation> transitRouterPropagations_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLEPROPAGATIONSRESULT_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_LISTTRANSITROUTERROUTETABLESREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLESREQUEST_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 ListTransitRouterRouteTablesRequest : public RpcServiceRequest
{
public:
ListTransitRouterRouteTablesRequest();
~ListTransitRouterRouteTablesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getTransitRouterRouteTableNames()const;
void setTransitRouterRouteTableNames(const std::vector<std::string>& transitRouterRouteTableNames);
std::string getTransitRouterRouteTableType()const;
void setTransitRouterRouteTableType(const std::string& transitRouterRouteTableType);
std::string getTransitRouterRouteTableStatus()const;
void setTransitRouterRouteTableStatus(const std::string& transitRouterRouteTableStatus);
std::vector<std::string> getTransitRouterRouteTableIds()const;
void setTransitRouterRouteTableIds(const std::vector<std::string>& transitRouterRouteTableIds);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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::vector<std::string> transitRouterRouteTableNames_;
std::string transitRouterRouteTableType_;
std::string transitRouterRouteTableStatus_;
std::vector<std::string> transitRouterRouteTableIds_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLESREQUEST_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_LISTTRANSITROUTERROUTETABLESRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLESRESULT_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 ListTransitRouterRouteTablesResult : public ServiceResult
{
public:
struct TransitRouterRouteTable
{
std::string transitRouterRouteTableId;
std::string transitRouterRouteTableStatus;
std::string transitRouterRouteTableType;
std::string transitRouterRouteTableDescription;
std::string createTime;
std::string transitRouterRouteTableName;
};
ListTransitRouterRouteTablesResult();
explicit ListTransitRouterRouteTablesResult(const std::string &payload);
~ListTransitRouterRouteTablesResult();
int getTotalCount()const;
std::string getNextToken()const;
std::vector<TransitRouterRouteTable> getTransitRouterRouteTables()const;
int getMaxResults()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
std::vector<TransitRouterRouteTable> transitRouterRouteTables_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERROUTETABLESRESULT_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_LISTTRANSITROUTERVBRATTACHMENTSREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVBRATTACHMENTSREQUEST_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 ListTransitRouterVbrAttachmentsRequest : public RpcServiceRequest
{
public:
ListTransitRouterVbrAttachmentsRequest();
~ListTransitRouterVbrAttachmentsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCenId()const;
void setCenId(const std::string& cenId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
long resourceOwnerId_;
std::string cenId_;
std::string regionId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVBRATTACHMENTSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_LISTTRANSITROUTERVBRATTACHMENTSRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVBRATTACHMENTSRESULT_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 ListTransitRouterVbrAttachmentsResult : public ServiceResult
{
public:
struct TransitRouterAttachment
{
std::string transitRouterAttachmentId;
std::string status;
bool autoPublishRouteEnabled;
long vbrOwnerId;
std::string creationTime;
std::string transitRouterAttachmentName;
std::string vbrRegionId;
std::string resourceType;
std::string vbrId;
std::string transitRouterAttachmentDescription;
std::string transitRouterId;
};
ListTransitRouterVbrAttachmentsResult();
explicit ListTransitRouterVbrAttachmentsResult(const std::string &payload);
~ListTransitRouterVbrAttachmentsResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<TransitRouterAttachment> getTransitRouterAttachments()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<TransitRouterAttachment> transitRouterAttachments_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVBRATTACHMENTSRESULT_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_LISTTRANSITROUTERVPCATTACHMENTSREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVPCATTACHMENTSREQUEST_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 ListTransitRouterVpcAttachmentsRequest : public RpcServiceRequest
{
public:
ListTransitRouterVpcAttachmentsRequest();
~ListTransitRouterVpcAttachmentsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCenId()const;
void setCenId(const std::string& cenId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
long resourceOwnerId_;
std::string cenId_;
std::string regionId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVPCATTACHMENTSREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* 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_LISTTRANSITROUTERVPCATTACHMENTSRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVPCATTACHMENTSRESULT_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 ListTransitRouterVpcAttachmentsResult : public ServiceResult
{
public:
struct TransitRouterAttachment
{
struct ZoneMapping
{
std::string zoneId;
std::string vSwitchId;
};
std::string transitRouterAttachmentId;
std::string status;
std::string vpcId;
std::string creationTime;
std::string vpcRegionId;
std::string transitRouterAttachmentName;
std::string resourceType;
std::vector<TransitRouterAttachment::ZoneMapping> zoneMappings;
long vpcOwnerId;
std::string transitRouterAttachmentDescription;
std::string transitRouterId;
};
ListTransitRouterVpcAttachmentsResult();
explicit ListTransitRouterVpcAttachmentsResult(const std::string &payload);
~ListTransitRouterVpcAttachmentsResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<TransitRouterAttachment> getTransitRouterAttachments()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<TransitRouterAttachment> transitRouterAttachments_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERVPCATTACHMENTSRESULT_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_LISTTRANSITROUTERSREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERSREQUEST_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 ListTransitRoutersRequest : public RpcServiceRequest
{
public:
ListTransitRoutersRequest();
~ListTransitRoutersRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCenId()const;
void setCenId(const std::string& cenId);
std::vector<std::string> getTransitRouterIds()const;
void setTransitRouterIds(const std::vector<std::string>& transitRouterIds);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
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);
private:
long resourceOwnerId_;
std::string cenId_;
std::vector<std::string> transitRouterIds_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERSREQUEST_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_LISTTRANSITROUTERSRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERSRESULT_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 ListTransitRoutersResult : public ServiceResult
{
public:
struct TransitRouter
{
std::string status;
std::string type;
std::string cenId;
std::string creationTime;
std::string transitRouterName;
std::string transitRouterDescription;
std::string regionId;
std::string transitRouterId;
long aliUid;
};
ListTransitRoutersResult();
explicit ListTransitRoutersResult(const std::string &payload);
~ListTransitRoutersResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<TransitRouter> getTransitRouters()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<TransitRouter> transitRouters_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERSRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERPEERATTACHMENTATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERPEERATTACHMENTATTRIBUTEREQUEST_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 UpdateTransitRouterPeerAttachmentAttributeRequest : public RpcServiceRequest
{
public:
UpdateTransitRouterPeerAttachmentAttributeRequest();
~UpdateTransitRouterPeerAttachmentAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterAttachmentName()const;
void setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName);
bool getAutoPublishRouteEnabled()const;
void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getBandwidth()const;
void setBandwidth(int bandwidth);
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 getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
std::string getTransitRouterAttachmentDescription()const;
void setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription);
std::string getCenBandwidthPackageId()const;
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterAttachmentName_;
bool autoPublishRouteEnabled_;
bool dryRun_;
std::string resourceOwnerAccount_;
int bandwidth_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
std::string transitRouterAttachmentDescription_;
std::string cenBandwidthPackageId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERPEERATTACHMENTATTRIBUTEREQUEST_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_UPDATETRANSITROUTERPEERATTACHMENTATTRIBUTERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERPEERATTACHMENTATTRIBUTERESULT_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 UpdateTransitRouterPeerAttachmentAttributeResult : public ServiceResult
{
public:
UpdateTransitRouterPeerAttachmentAttributeResult();
explicit UpdateTransitRouterPeerAttachmentAttributeResult(const std::string &payload);
~UpdateTransitRouterPeerAttachmentAttributeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERPEERATTACHMENTATTRIBUTERESULT_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_UPDATETRANSITROUTERREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERREQUEST_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 UpdateTransitRouterRequest : public RpcServiceRequest
{
public:
UpdateTransitRouterRequest();
~UpdateTransitRouterRequest();
std::string getTransitRouterName()const;
void setTransitRouterName(const std::string& transitRouterName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
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 getTransitRouterId()const;
void setTransitRouterId(const std::string& transitRouterId);
std::string getTransitRouterDescription()const;
void setTransitRouterDescription(const std::string& transitRouterDescription);
private:
std::string transitRouterName_;
long resourceOwnerId_;
std::string clientToken_;
std::string regionId_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterId_;
std::string transitRouterDescription_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERREQUEST_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_UPDATETRANSITROUTERRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERRESULT_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 UpdateTransitRouterResult : public ServiceResult
{
public:
UpdateTransitRouterResult();
explicit UpdateTransitRouterResult(const std::string &payload);
~UpdateTransitRouterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERRESULT_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_UPDATETRANSITROUTERROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTEENTRYREQUEST_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 UpdateTransitRouterRouteEntryRequest : public RpcServiceRequest
{
public:
UpdateTransitRouterRouteEntryRequest();
~UpdateTransitRouterRouteEntryRequest();
std::string getTransitRouterRouteEntryId()const;
void setTransitRouterRouteEntryId(const std::string& transitRouterRouteEntryId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterRouteEntryDescription()const;
void setTransitRouterRouteEntryDescription(const std::string& transitRouterRouteEntryDescription);
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 getTransitRouterRouteEntryName()const;
void setTransitRouterRouteEntryName(const std::string& transitRouterRouteEntryName);
private:
std::string transitRouterRouteEntryId_;
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterRouteEntryDescription_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string transitRouterRouteEntryName_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTEENTRYREQUEST_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_UPDATETRANSITROUTERROUTEENTRYRESULT_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTEENTRYRESULT_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 UpdateTransitRouterRouteEntryResult : public ServiceResult
{
public:
UpdateTransitRouterRouteEntryResult();
explicit UpdateTransitRouterRouteEntryResult(const std::string &payload);
~UpdateTransitRouterRouteEntryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTEENTRYRESULT_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_UPDATETRANSITROUTERROUTETABLEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTETABLEREQUEST_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 UpdateTransitRouterRouteTableRequest : public RpcServiceRequest
{
public:
UpdateTransitRouterRouteTableRequest();
~UpdateTransitRouterRouteTableRequest();
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);
std::string getTransitRouterRouteTableDescription()const;
void setTransitRouterRouteTableDescription(const std::string& transitRouterRouteTableDescription);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getTransitRouterRouteTableName()const;
void setTransitRouterRouteTableName(const std::string& transitRouterRouteTableName);
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 transitRouterRouteTableId_;
std::string transitRouterRouteTableDescription_;
bool dryRun_;
std::string transitRouterRouteTableName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTETABLEREQUEST_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_UPDATETRANSITROUTERROUTETABLERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTETABLERESULT_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 UpdateTransitRouterRouteTableResult : public ServiceResult
{
public:
UpdateTransitRouterRouteTableResult();
explicit UpdateTransitRouterRouteTableResult(const std::string &payload);
~UpdateTransitRouterRouteTableResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERROUTETABLERESULT_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_UPDATETRANSITROUTERVBRATTACHMENTATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVBRATTACHMENTATTRIBUTEREQUEST_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 UpdateTransitRouterVbrAttachmentAttributeRequest : public RpcServiceRequest
{
public:
UpdateTransitRouterVbrAttachmentAttributeRequest();
~UpdateTransitRouterVbrAttachmentAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterAttachmentName()const;
void setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName);
bool getAutoPublishRouteEnabled()const;
void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getResourceOwnerAccount()const;
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 getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
std::string getTransitRouterAttachmentDescription()const;
void setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterAttachmentName_;
bool autoPublishRouteEnabled_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
std::string transitRouterAttachmentDescription_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVBRATTACHMENTATTRIBUTEREQUEST_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_UPDATETRANSITROUTERVBRATTACHMENTATTRIBUTERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVBRATTACHMENTATTRIBUTERESULT_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 UpdateTransitRouterVbrAttachmentAttributeResult : public ServiceResult
{
public:
UpdateTransitRouterVbrAttachmentAttributeResult();
explicit UpdateTransitRouterVbrAttachmentAttributeResult(const std::string &payload);
~UpdateTransitRouterVbrAttachmentAttributeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVBRATTACHMENTATTRIBUTERESULT_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_UPDATETRANSITROUTERVPCATTACHMENTATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVPCATTACHMENTATTRIBUTEREQUEST_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 UpdateTransitRouterVpcAttachmentAttributeRequest : public RpcServiceRequest
{
public:
UpdateTransitRouterVpcAttachmentAttributeRequest();
~UpdateTransitRouterVpcAttachmentAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTransitRouterAttachmentName()const;
void setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName);
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 getTransitRouterAttachmentId()const;
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
std::string getTransitRouterAttachmentDescription()const;
void setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string transitRouterAttachmentName_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::string transitRouterAttachmentId_;
std::string transitRouterAttachmentDescription_;
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVPCATTACHMENTATTRIBUTEREQUEST_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_UPDATETRANSITROUTERVPCATTACHMENTATTRIBUTERESULT_H_
#define ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVPCATTACHMENTATTRIBUTERESULT_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 UpdateTransitRouterVpcAttachmentAttributeResult : public ServiceResult
{
public:
UpdateTransitRouterVpcAttachmentAttributeResult();
explicit UpdateTransitRouterVpcAttachmentAttributeResult(const std::string &payload);
~UpdateTransitRouterVpcAttachmentAttributeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRANSITROUTERVPCATTACHMENTATTRIBUTERESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/AssociateTransitRouterAttachmentWithRouteTableRequest.h>
using AlibabaCloud::Cbn::Model::AssociateTransitRouterAttachmentWithRouteTableRequest;
AssociateTransitRouterAttachmentWithRouteTableRequest::AssociateTransitRouterAttachmentWithRouteTableRequest() :
RpcServiceRequest("cbn", "2017-09-12", "AssociateTransitRouterAttachmentWithRouteTable")
{
setMethod(HttpRequest::Method::Post);
}
AssociateTransitRouterAttachmentWithRouteTableRequest::~AssociateTransitRouterAttachmentWithRouteTableRequest()
{}
long AssociateTransitRouterAttachmentWithRouteTableRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateTransitRouterAttachmentWithRouteTableRequest::getClientToken()const
{
return clientToken_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string AssociateTransitRouterAttachmentWithRouteTableRequest::getTransitRouterRouteTableId()const
{
return transitRouterRouteTableId_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId)
{
transitRouterRouteTableId_ = transitRouterRouteTableId;
setParameter("TransitRouterRouteTableId", transitRouterRouteTableId);
}
bool AssociateTransitRouterAttachmentWithRouteTableRequest::getDryRun()const
{
return dryRun_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string AssociateTransitRouterAttachmentWithRouteTableRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociateTransitRouterAttachmentWithRouteTableRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long AssociateTransitRouterAttachmentWithRouteTableRequest::getOwnerId()const
{
return ownerId_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociateTransitRouterAttachmentWithRouteTableRequest::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}
void AssociateTransitRouterAttachmentWithRouteTableRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
{
transitRouterAttachmentId_ = transitRouterAttachmentId;
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
}

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/AssociateTransitRouterAttachmentWithRouteTableResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
AssociateTransitRouterAttachmentWithRouteTableResult::AssociateTransitRouterAttachmentWithRouteTableResult() :
ServiceResult()
{}
AssociateTransitRouterAttachmentWithRouteTableResult::AssociateTransitRouterAttachmentWithRouteTableResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AssociateTransitRouterAttachmentWithRouteTableResult::~AssociateTransitRouterAttachmentWithRouteTableResult()
{}
void AssociateTransitRouterAttachmentWithRouteTableResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -82,6 +82,17 @@ void CreateCenBandwidthPackageRequest::setBandwidthPackageChargeType(const std::
setParameter("BandwidthPackageChargeType", bandwidthPackageChargeType);
}
std::string CreateCenBandwidthPackageRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateCenBandwidthPackageRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateCenBandwidthPackageRequest::getGeographicRegionBId()const
{
return geographicRegionBId_;

View File

@@ -71,6 +71,17 @@ void CreateCenRequest::setDescription(const std::string& description)
setParameter("Description", description);
}
std::string CreateCenRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateCenRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateCenRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;

View File

@@ -121,6 +121,17 @@ void CreateCenRouteMapRequest::setOriginalRouteTableIds(const std::vector<std::s
}
}
std::string CreateCenRouteMapRequest::getTransitRouterRouteTableId()const
{
return transitRouterRouteTableId_;
}
void CreateCenRouteMapRequest::setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId)
{
transitRouterRouteTableId_ = transitRouterRouteTableId;
setParameter("TransitRouterRouteTableId", transitRouterRouteTableId);
}
std::vector<std::string> CreateCenRouteMapRequest::getSourceInstanceIds()const
{
return sourceInstanceIds_;

View File

@@ -0,0 +1,238 @@
/*
* 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/CreateTransitRouterPeerAttachmentRequest.h>
using AlibabaCloud::Cbn::Model::CreateTransitRouterPeerAttachmentRequest;
CreateTransitRouterPeerAttachmentRequest::CreateTransitRouterPeerAttachmentRequest() :
RpcServiceRequest("cbn", "2017-09-12", "CreateTransitRouterPeerAttachment")
{
setMethod(HttpRequest::Method::Post);
}
CreateTransitRouterPeerAttachmentRequest::~CreateTransitRouterPeerAttachmentRequest()
{}
long CreateTransitRouterPeerAttachmentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateTransitRouterPeerAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateTransitRouterPeerAttachmentRequest::getClientToken()const
{
return clientToken_;
}
void CreateTransitRouterPeerAttachmentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateTransitRouterPeerAttachmentRequest::getCenId()const
{
return cenId_;
}
void CreateTransitRouterPeerAttachmentRequest::setCenId(const std::string& cenId)
{
cenId_ = cenId;
setParameter("CenId", cenId);
}
bool CreateTransitRouterPeerAttachmentRequest::getRouteTableAssociationEnabled()const
{
return routeTableAssociationEnabled_;
}
void CreateTransitRouterPeerAttachmentRequest::setRouteTableAssociationEnabled(bool routeTableAssociationEnabled)
{
routeTableAssociationEnabled_ = routeTableAssociationEnabled;
setParameter("RouteTableAssociationEnabled", routeTableAssociationEnabled ? "true" : "false");
}
std::string CreateTransitRouterPeerAttachmentRequest::getTransitRouterAttachmentName()const
{
return transitRouterAttachmentName_;
}
void CreateTransitRouterPeerAttachmentRequest::setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName)
{
transitRouterAttachmentName_ = transitRouterAttachmentName;
setParameter("TransitRouterAttachmentName", transitRouterAttachmentName);
}
std::string CreateTransitRouterPeerAttachmentRequest::getRegionId()const
{
return regionId_;
}
void CreateTransitRouterPeerAttachmentRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
bool CreateTransitRouterPeerAttachmentRequest::getAutoPublishRouteEnabled()const
{
return autoPublishRouteEnabled_;
}
void CreateTransitRouterPeerAttachmentRequest::setAutoPublishRouteEnabled(bool autoPublishRouteEnabled)
{
autoPublishRouteEnabled_ = autoPublishRouteEnabled;
setParameter("AutoPublishRouteEnabled", autoPublishRouteEnabled ? "true" : "false");
}
bool CreateTransitRouterPeerAttachmentRequest::getRouteTablePropagationEnabled()const
{
return routeTablePropagationEnabled_;
}
void CreateTransitRouterPeerAttachmentRequest::setRouteTablePropagationEnabled(bool routeTablePropagationEnabled)
{
routeTablePropagationEnabled_ = routeTablePropagationEnabled;
setParameter("RouteTablePropagationEnabled", routeTablePropagationEnabled ? "true" : "false");
}
bool CreateTransitRouterPeerAttachmentRequest::getDryRun()const
{
return dryRun_;
}
void CreateTransitRouterPeerAttachmentRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateTransitRouterPeerAttachmentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateTransitRouterPeerAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int CreateTransitRouterPeerAttachmentRequest::getBandwidth()const
{
return bandwidth_;
}
void CreateTransitRouterPeerAttachmentRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreateTransitRouterPeerAttachmentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateTransitRouterPeerAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateTransitRouterPeerAttachmentRequest::getOwnerId()const
{
return ownerId_;
}
void CreateTransitRouterPeerAttachmentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateTransitRouterPeerAttachmentRequest::getTransitRouterId()const
{
return transitRouterId_;
}
void CreateTransitRouterPeerAttachmentRequest::setTransitRouterId(const std::string& transitRouterId)
{
transitRouterId_ = transitRouterId;
setParameter("TransitRouterId", transitRouterId);
}
std::string CreateTransitRouterPeerAttachmentRequest::getResourceType()const
{
return resourceType_;
}
void CreateTransitRouterPeerAttachmentRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string CreateTransitRouterPeerAttachmentRequest::getTransitRouterAttachmentDescription()const
{
return transitRouterAttachmentDescription_;
}
void CreateTransitRouterPeerAttachmentRequest::setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription)
{
transitRouterAttachmentDescription_ = transitRouterAttachmentDescription;
setParameter("TransitRouterAttachmentDescription", transitRouterAttachmentDescription);
}
std::string CreateTransitRouterPeerAttachmentRequest::getPeerTransitRouterRegionId()const
{
return peerTransitRouterRegionId_;
}
void CreateTransitRouterPeerAttachmentRequest::setPeerTransitRouterRegionId(const std::string& peerTransitRouterRegionId)
{
peerTransitRouterRegionId_ = peerTransitRouterRegionId;
setParameter("PeerTransitRouterRegionId", peerTransitRouterRegionId);
}
std::string CreateTransitRouterPeerAttachmentRequest::getCenBandwidthPackageId()const
{
return cenBandwidthPackageId_;
}
void CreateTransitRouterPeerAttachmentRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
{
cenBandwidthPackageId_ = cenBandwidthPackageId;
setParameter("CenBandwidthPackageId", cenBandwidthPackageId);
}
std::string CreateTransitRouterPeerAttachmentRequest::getPeerTransitRouterId()const
{
return peerTransitRouterId_;
}
void CreateTransitRouterPeerAttachmentRequest::setPeerTransitRouterId(const std::string& peerTransitRouterId)
{
peerTransitRouterId_ = peerTransitRouterId;
setParameter("PeerTransitRouterId", peerTransitRouterId);
}

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/cbn/model/CreateTransitRouterPeerAttachmentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
CreateTransitRouterPeerAttachmentResult::CreateTransitRouterPeerAttachmentResult() :
ServiceResult()
{}
CreateTransitRouterPeerAttachmentResult::CreateTransitRouterPeerAttachmentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTransitRouterPeerAttachmentResult::~CreateTransitRouterPeerAttachmentResult()
{}
void CreateTransitRouterPeerAttachmentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransitRouterAttachmentId"].isNull())
transitRouterAttachmentId_ = value["TransitRouterAttachmentId"].asString();
}
std::string CreateTransitRouterPeerAttachmentResult::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}

View File

@@ -0,0 +1,150 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/CreateTransitRouterRequest.h>
using AlibabaCloud::Cbn::Model::CreateTransitRouterRequest;
CreateTransitRouterRequest::CreateTransitRouterRequest() :
RpcServiceRequest("cbn", "2017-09-12", "CreateTransitRouter")
{
setMethod(HttpRequest::Method::Post);
}
CreateTransitRouterRequest::~CreateTransitRouterRequest()
{}
std::string CreateTransitRouterRequest::getTransitRouterName()const
{
return transitRouterName_;
}
void CreateTransitRouterRequest::setTransitRouterName(const std::string& transitRouterName)
{
transitRouterName_ = transitRouterName;
setParameter("TransitRouterName", transitRouterName);
}
long CreateTransitRouterRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateTransitRouterRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateTransitRouterRequest::getClientToken()const
{
return clientToken_;
}
void CreateTransitRouterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateTransitRouterRequest::getCenId()const
{
return cenId_;
}
void CreateTransitRouterRequest::setCenId(const std::string& cenId)
{
cenId_ = cenId;
setParameter("CenId", cenId);
}
std::string CreateTransitRouterRequest::getType()const
{
return type_;
}
void CreateTransitRouterRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string CreateTransitRouterRequest::getRegionId()const
{
return regionId_;
}
void CreateTransitRouterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
bool CreateTransitRouterRequest::getDryRun()const
{
return dryRun_;
}
void CreateTransitRouterRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateTransitRouterRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateTransitRouterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateTransitRouterRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateTransitRouterRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateTransitRouterRequest::getOwnerId()const
{
return ownerId_;
}
void CreateTransitRouterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateTransitRouterRequest::getTransitRouterDescription()const
{
return transitRouterDescription_;
}
void CreateTransitRouterRequest::setTransitRouterDescription(const std::string& transitRouterDescription)
{
transitRouterDescription_ = transitRouterDescription;
setParameter("TransitRouterDescription", transitRouterDescription);
}

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/cbn/model/CreateTransitRouterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
CreateTransitRouterResult::CreateTransitRouterResult() :
ServiceResult()
{}
CreateTransitRouterResult::CreateTransitRouterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTransitRouterResult::~CreateTransitRouterResult()
{}
void CreateTransitRouterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransitRouterId"].isNull())
transitRouterId_ = value["TransitRouterId"].asString();
}
std::string CreateTransitRouterResult::getTransitRouterId()const
{
return transitRouterId_;
}

View File

@@ -0,0 +1,161 @@
/*
* 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/CreateTransitRouterRouteEntryRequest.h>
using AlibabaCloud::Cbn::Model::CreateTransitRouterRouteEntryRequest;
CreateTransitRouterRouteEntryRequest::CreateTransitRouterRouteEntryRequest() :
RpcServiceRequest("cbn", "2017-09-12", "CreateTransitRouterRouteEntry")
{
setMethod(HttpRequest::Method::Post);
}
CreateTransitRouterRouteEntryRequest::~CreateTransitRouterRouteEntryRequest()
{}
long CreateTransitRouterRouteEntryRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateTransitRouterRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateTransitRouterRouteEntryRequest::getClientToken()const
{
return clientToken_;
}
void CreateTransitRouterRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateTransitRouterRouteEntryRequest::getTransitRouterRouteEntryNextHopType()const
{
return transitRouterRouteEntryNextHopType_;
}
void CreateTransitRouterRouteEntryRequest::setTransitRouterRouteEntryNextHopType(const std::string& transitRouterRouteEntryNextHopType)
{
transitRouterRouteEntryNextHopType_ = transitRouterRouteEntryNextHopType;
setParameter("TransitRouterRouteEntryNextHopType", transitRouterRouteEntryNextHopType);
}
std::string CreateTransitRouterRouteEntryRequest::getTransitRouterRouteEntryDestinationCidrBlock()const
{
return transitRouterRouteEntryDestinationCidrBlock_;
}
void CreateTransitRouterRouteEntryRequest::setTransitRouterRouteEntryDestinationCidrBlock(const std::string& transitRouterRouteEntryDestinationCidrBlock)
{
transitRouterRouteEntryDestinationCidrBlock_ = transitRouterRouteEntryDestinationCidrBlock;
setParameter("TransitRouterRouteEntryDestinationCidrBlock", transitRouterRouteEntryDestinationCidrBlock);
}
std::string CreateTransitRouterRouteEntryRequest::getTransitRouterRouteTableId()const
{
return transitRouterRouteTableId_;
}
void CreateTransitRouterRouteEntryRequest::setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId)
{
transitRouterRouteTableId_ = transitRouterRouteTableId;
setParameter("TransitRouterRouteTableId", transitRouterRouteTableId);
}
std::string CreateTransitRouterRouteEntryRequest::getTransitRouterRouteEntryNextHopId()const
{
return transitRouterRouteEntryNextHopId_;
}
void CreateTransitRouterRouteEntryRequest::setTransitRouterRouteEntryNextHopId(const std::string& transitRouterRouteEntryNextHopId)
{
transitRouterRouteEntryNextHopId_ = transitRouterRouteEntryNextHopId;
setParameter("TransitRouterRouteEntryNextHopId", transitRouterRouteEntryNextHopId);
}
std::string CreateTransitRouterRouteEntryRequest::getTransitRouterRouteEntryDescription()const
{
return transitRouterRouteEntryDescription_;
}
void CreateTransitRouterRouteEntryRequest::setTransitRouterRouteEntryDescription(const std::string& transitRouterRouteEntryDescription)
{
transitRouterRouteEntryDescription_ = transitRouterRouteEntryDescription;
setParameter("TransitRouterRouteEntryDescription", transitRouterRouteEntryDescription);
}
bool CreateTransitRouterRouteEntryRequest::getDryRun()const
{
return dryRun_;
}
void CreateTransitRouterRouteEntryRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateTransitRouterRouteEntryRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateTransitRouterRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateTransitRouterRouteEntryRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateTransitRouterRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateTransitRouterRouteEntryRequest::getOwnerId()const
{
return ownerId_;
}
void CreateTransitRouterRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateTransitRouterRouteEntryRequest::getTransitRouterRouteEntryName()const
{
return transitRouterRouteEntryName_;
}
void CreateTransitRouterRouteEntryRequest::setTransitRouterRouteEntryName(const std::string& transitRouterRouteEntryName)
{
transitRouterRouteEntryName_ = transitRouterRouteEntryName;
setParameter("TransitRouterRouteEntryName", transitRouterRouteEntryName);
}

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/cbn/model/CreateTransitRouterRouteEntryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
CreateTransitRouterRouteEntryResult::CreateTransitRouterRouteEntryResult() :
ServiceResult()
{}
CreateTransitRouterRouteEntryResult::CreateTransitRouterRouteEntryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTransitRouterRouteEntryResult::~CreateTransitRouterRouteEntryResult()
{}
void CreateTransitRouterRouteEntryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransitRouterRouteEntryId"].isNull())
transitRouterRouteEntryId_ = value["TransitRouterRouteEntryId"].asString();
}
std::string CreateTransitRouterRouteEntryResult::getTransitRouterRouteEntryId()const
{
return transitRouterRouteEntryId_;
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/CreateTransitRouterRouteTableRequest.h>
using AlibabaCloud::Cbn::Model::CreateTransitRouterRouteTableRequest;
CreateTransitRouterRouteTableRequest::CreateTransitRouterRouteTableRequest() :
RpcServiceRequest("cbn", "2017-09-12", "CreateTransitRouterRouteTable")
{
setMethod(HttpRequest::Method::Post);
}
CreateTransitRouterRouteTableRequest::~CreateTransitRouterRouteTableRequest()
{}
long CreateTransitRouterRouteTableRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateTransitRouterRouteTableRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateTransitRouterRouteTableRequest::getClientToken()const
{
return clientToken_;
}
void CreateTransitRouterRouteTableRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateTransitRouterRouteTableRequest::getTransitRouterRouteTableDescription()const
{
return transitRouterRouteTableDescription_;
}
void CreateTransitRouterRouteTableRequest::setTransitRouterRouteTableDescription(const std::string& transitRouterRouteTableDescription)
{
transitRouterRouteTableDescription_ = transitRouterRouteTableDescription;
setParameter("TransitRouterRouteTableDescription", transitRouterRouteTableDescription);
}
bool CreateTransitRouterRouteTableRequest::getDryRun()const
{
return dryRun_;
}
void CreateTransitRouterRouteTableRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateTransitRouterRouteTableRequest::getTransitRouterRouteTableName()const
{
return transitRouterRouteTableName_;
}
void CreateTransitRouterRouteTableRequest::setTransitRouterRouteTableName(const std::string& transitRouterRouteTableName)
{
transitRouterRouteTableName_ = transitRouterRouteTableName;
setParameter("TransitRouterRouteTableName", transitRouterRouteTableName);
}
std::string CreateTransitRouterRouteTableRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateTransitRouterRouteTableRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateTransitRouterRouteTableRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateTransitRouterRouteTableRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateTransitRouterRouteTableRequest::getOwnerId()const
{
return ownerId_;
}
void CreateTransitRouterRouteTableRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateTransitRouterRouteTableRequest::getTransitRouterId()const
{
return transitRouterId_;
}
void CreateTransitRouterRouteTableRequest::setTransitRouterId(const std::string& transitRouterId)
{
transitRouterId_ = transitRouterId;
setParameter("TransitRouterId", transitRouterId);
}

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/cbn/model/CreateTransitRouterRouteTableResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
CreateTransitRouterRouteTableResult::CreateTransitRouterRouteTableResult() :
ServiceResult()
{}
CreateTransitRouterRouteTableResult::CreateTransitRouterRouteTableResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTransitRouterRouteTableResult::~CreateTransitRouterRouteTableResult()
{}
void CreateTransitRouterRouteTableResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransitRouterRouteTableId"].isNull())
transitRouterRouteTableId_ = value["TransitRouterRouteTableId"].asString();
}
std::string CreateTransitRouterRouteTableResult::getTransitRouterRouteTableId()const
{
return transitRouterRouteTableId_;
}

View File

@@ -0,0 +1,216 @@
/*
* 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/CreateTransitRouterVbrAttachmentRequest.h>
using AlibabaCloud::Cbn::Model::CreateTransitRouterVbrAttachmentRequest;
CreateTransitRouterVbrAttachmentRequest::CreateTransitRouterVbrAttachmentRequest() :
RpcServiceRequest("cbn", "2017-09-12", "CreateTransitRouterVbrAttachment")
{
setMethod(HttpRequest::Method::Post);
}
CreateTransitRouterVbrAttachmentRequest::~CreateTransitRouterVbrAttachmentRequest()
{}
long CreateTransitRouterVbrAttachmentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateTransitRouterVbrAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateTransitRouterVbrAttachmentRequest::getClientToken()const
{
return clientToken_;
}
void CreateTransitRouterVbrAttachmentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateTransitRouterVbrAttachmentRequest::getCenId()const
{
return cenId_;
}
void CreateTransitRouterVbrAttachmentRequest::setCenId(const std::string& cenId)
{
cenId_ = cenId;
setParameter("CenId", cenId);
}
bool CreateTransitRouterVbrAttachmentRequest::getRouteTableAssociationEnabled()const
{
return routeTableAssociationEnabled_;
}
void CreateTransitRouterVbrAttachmentRequest::setRouteTableAssociationEnabled(bool routeTableAssociationEnabled)
{
routeTableAssociationEnabled_ = routeTableAssociationEnabled;
setParameter("RouteTableAssociationEnabled", routeTableAssociationEnabled ? "true" : "false");
}
std::string CreateTransitRouterVbrAttachmentRequest::getVbrId()const
{
return vbrId_;
}
void CreateTransitRouterVbrAttachmentRequest::setVbrId(const std::string& vbrId)
{
vbrId_ = vbrId;
setParameter("VbrId", vbrId);
}
std::string CreateTransitRouterVbrAttachmentRequest::getTransitRouterAttachmentName()const
{
return transitRouterAttachmentName_;
}
void CreateTransitRouterVbrAttachmentRequest::setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName)
{
transitRouterAttachmentName_ = transitRouterAttachmentName;
setParameter("TransitRouterAttachmentName", transitRouterAttachmentName);
}
std::string CreateTransitRouterVbrAttachmentRequest::getRegionId()const
{
return regionId_;
}
void CreateTransitRouterVbrAttachmentRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
bool CreateTransitRouterVbrAttachmentRequest::getAutoPublishRouteEnabled()const
{
return autoPublishRouteEnabled_;
}
void CreateTransitRouterVbrAttachmentRequest::setAutoPublishRouteEnabled(bool autoPublishRouteEnabled)
{
autoPublishRouteEnabled_ = autoPublishRouteEnabled;
setParameter("AutoPublishRouteEnabled", autoPublishRouteEnabled ? "true" : "false");
}
bool CreateTransitRouterVbrAttachmentRequest::getRouteTablePropagationEnabled()const
{
return routeTablePropagationEnabled_;
}
void CreateTransitRouterVbrAttachmentRequest::setRouteTablePropagationEnabled(bool routeTablePropagationEnabled)
{
routeTablePropagationEnabled_ = routeTablePropagationEnabled;
setParameter("RouteTablePropagationEnabled", routeTablePropagationEnabled ? "true" : "false");
}
bool CreateTransitRouterVbrAttachmentRequest::getDryRun()const
{
return dryRun_;
}
void CreateTransitRouterVbrAttachmentRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateTransitRouterVbrAttachmentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateTransitRouterVbrAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateTransitRouterVbrAttachmentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateTransitRouterVbrAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateTransitRouterVbrAttachmentRequest::getOwnerId()const
{
return ownerId_;
}
void CreateTransitRouterVbrAttachmentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateTransitRouterVbrAttachmentRequest::getTransitRouterId()const
{
return transitRouterId_;
}
void CreateTransitRouterVbrAttachmentRequest::setTransitRouterId(const std::string& transitRouterId)
{
transitRouterId_ = transitRouterId;
setParameter("TransitRouterId", transitRouterId);
}
std::string CreateTransitRouterVbrAttachmentRequest::getResourceType()const
{
return resourceType_;
}
void CreateTransitRouterVbrAttachmentRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string CreateTransitRouterVbrAttachmentRequest::getTransitRouterAttachmentDescription()const
{
return transitRouterAttachmentDescription_;
}
void CreateTransitRouterVbrAttachmentRequest::setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription)
{
transitRouterAttachmentDescription_ = transitRouterAttachmentDescription;
setParameter("TransitRouterAttachmentDescription", transitRouterAttachmentDescription);
}
long CreateTransitRouterVbrAttachmentRequest::getVbrOwnerId()const
{
return vbrOwnerId_;
}
void CreateTransitRouterVbrAttachmentRequest::setVbrOwnerId(long vbrOwnerId)
{
vbrOwnerId_ = vbrOwnerId;
setParameter("VbrOwnerId", std::to_string(vbrOwnerId));
}

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/cbn/model/CreateTransitRouterVbrAttachmentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
CreateTransitRouterVbrAttachmentResult::CreateTransitRouterVbrAttachmentResult() :
ServiceResult()
{}
CreateTransitRouterVbrAttachmentResult::CreateTransitRouterVbrAttachmentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTransitRouterVbrAttachmentResult::~CreateTransitRouterVbrAttachmentResult()
{}
void CreateTransitRouterVbrAttachmentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransitRouterAttachmentId"].isNull())
transitRouterAttachmentId_ = value["TransitRouterAttachmentId"].asString();
}
std::string CreateTransitRouterVbrAttachmentResult::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}

View File

@@ -0,0 +1,243 @@
/*
* 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/CreateTransitRouterVpcAttachmentRequest.h>
using AlibabaCloud::Cbn::Model::CreateTransitRouterVpcAttachmentRequest;
CreateTransitRouterVpcAttachmentRequest::CreateTransitRouterVpcAttachmentRequest() :
RpcServiceRequest("cbn", "2017-09-12", "CreateTransitRouterVpcAttachment")
{
setMethod(HttpRequest::Method::Post);
}
CreateTransitRouterVpcAttachmentRequest::~CreateTransitRouterVpcAttachmentRequest()
{}
long CreateTransitRouterVpcAttachmentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateTransitRouterVpcAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
long CreateTransitRouterVpcAttachmentRequest::getVpcOwnerId()const
{
return vpcOwnerId_;
}
void CreateTransitRouterVpcAttachmentRequest::setVpcOwnerId(long vpcOwnerId)
{
vpcOwnerId_ = vpcOwnerId;
setParameter("VpcOwnerId", std::to_string(vpcOwnerId));
}
std::string CreateTransitRouterVpcAttachmentRequest::getClientToken()const
{
return clientToken_;
}
void CreateTransitRouterVpcAttachmentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateTransitRouterVpcAttachmentRequest::getCenId()const
{
return cenId_;
}
void CreateTransitRouterVpcAttachmentRequest::setCenId(const std::string& cenId)
{
cenId_ = cenId;
setParameter("CenId", cenId);
}
bool CreateTransitRouterVpcAttachmentRequest::getRouteTableAssociationEnabled()const
{
return routeTableAssociationEnabled_;
}
void CreateTransitRouterVpcAttachmentRequest::setRouteTableAssociationEnabled(bool routeTableAssociationEnabled)
{
routeTableAssociationEnabled_ = routeTableAssociationEnabled;
setParameter("RouteTableAssociationEnabled", routeTableAssociationEnabled ? "true" : "false");
}
std::string CreateTransitRouterVpcAttachmentRequest::getTransitRouterAttachmentName()const
{
return transitRouterAttachmentName_;
}
void CreateTransitRouterVpcAttachmentRequest::setTransitRouterAttachmentName(const std::string& transitRouterAttachmentName)
{
transitRouterAttachmentName_ = transitRouterAttachmentName;
setParameter("TransitRouterAttachmentName", transitRouterAttachmentName);
}
std::string CreateTransitRouterVpcAttachmentRequest::getRegionId()const
{
return regionId_;
}
void CreateTransitRouterVpcAttachmentRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
bool CreateTransitRouterVpcAttachmentRequest::getAutoCreateVpcRoute()const
{
return autoCreateVpcRoute_;
}
void CreateTransitRouterVpcAttachmentRequest::setAutoCreateVpcRoute(bool autoCreateVpcRoute)
{
autoCreateVpcRoute_ = autoCreateVpcRoute;
setParameter("AutoCreateVpcRoute", autoCreateVpcRoute ? "true" : "false");
}
bool CreateTransitRouterVpcAttachmentRequest::getRouteTablePropagationEnabled()const
{
return routeTablePropagationEnabled_;
}
void CreateTransitRouterVpcAttachmentRequest::setRouteTablePropagationEnabled(bool routeTablePropagationEnabled)
{
routeTablePropagationEnabled_ = routeTablePropagationEnabled;
setParameter("RouteTablePropagationEnabled", routeTablePropagationEnabled ? "true" : "false");
}
bool CreateTransitRouterVpcAttachmentRequest::getDryRun()const
{
return dryRun_;
}
void CreateTransitRouterVpcAttachmentRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateTransitRouterVpcAttachmentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateTransitRouterVpcAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::vector<CreateTransitRouterVpcAttachmentRequest::ZoneMappings> CreateTransitRouterVpcAttachmentRequest::getZoneMappings()const
{
return zoneMappings_;
}
void CreateTransitRouterVpcAttachmentRequest::setZoneMappings(const std::vector<ZoneMappings>& zoneMappings)
{
zoneMappings_ = zoneMappings;
for(int dep1 = 0; dep1!= zoneMappings.size(); dep1++) {
auto zoneMappingsObj = zoneMappings.at(dep1);
std::string zoneMappingsObjStr = "ZoneMappings." + std::to_string(dep1 + 1);
setParameter(zoneMappingsObjStr + ".VSwitchId", zoneMappingsObj.vSwitchId);
setParameter(zoneMappingsObjStr + ".ZoneId", zoneMappingsObj.zoneId);
}
}
std::string CreateTransitRouterVpcAttachmentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateTransitRouterVpcAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateTransitRouterVpcAttachmentRequest::getOwnerId()const
{
return ownerId_;
}
void CreateTransitRouterVpcAttachmentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateTransitRouterVpcAttachmentRequest::getTransitRouterId()const
{
return transitRouterId_;
}
void CreateTransitRouterVpcAttachmentRequest::setTransitRouterId(const std::string& transitRouterId)
{
transitRouterId_ = transitRouterId;
setParameter("TransitRouterId", transitRouterId);
}
std::string CreateTransitRouterVpcAttachmentRequest::getResourceType()const
{
return resourceType_;
}
void CreateTransitRouterVpcAttachmentRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string CreateTransitRouterVpcAttachmentRequest::getTransitRouterAttachmentDescription()const
{
return transitRouterAttachmentDescription_;
}
void CreateTransitRouterVpcAttachmentRequest::setTransitRouterAttachmentDescription(const std::string& transitRouterAttachmentDescription)
{
transitRouterAttachmentDescription_ = transitRouterAttachmentDescription;
setParameter("TransitRouterAttachmentDescription", transitRouterAttachmentDescription);
}
std::string CreateTransitRouterVpcAttachmentRequest::getVpcId()const
{
return vpcId_;
}
void CreateTransitRouterVpcAttachmentRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setParameter("VpcId", vpcId);
}
std::string CreateTransitRouterVpcAttachmentRequest::getChargeType()const
{
return chargeType_;
}
void CreateTransitRouterVpcAttachmentRequest::setChargeType(const std::string& chargeType)
{
chargeType_ = chargeType;
setParameter("ChargeType", chargeType);
}

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/cbn/model/CreateTransitRouterVpcAttachmentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
CreateTransitRouterVpcAttachmentResult::CreateTransitRouterVpcAttachmentResult() :
ServiceResult()
{}
CreateTransitRouterVpcAttachmentResult::CreateTransitRouterVpcAttachmentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTransitRouterVpcAttachmentResult::~CreateTransitRouterVpcAttachmentResult()
{}
void CreateTransitRouterVpcAttachmentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransitRouterAttachmentId"].isNull())
transitRouterAttachmentId_ = value["TransitRouterAttachmentId"].asString();
}
std::string CreateTransitRouterVpcAttachmentResult::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentRequest.h>
using AlibabaCloud::Cbn::Model::DeleteTransitRouterPeerAttachmentRequest;
DeleteTransitRouterPeerAttachmentRequest::DeleteTransitRouterPeerAttachmentRequest() :
RpcServiceRequest("cbn", "2017-09-12", "DeleteTransitRouterPeerAttachment")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTransitRouterPeerAttachmentRequest::~DeleteTransitRouterPeerAttachmentRequest()
{}
long DeleteTransitRouterPeerAttachmentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteTransitRouterPeerAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteTransitRouterPeerAttachmentRequest::getClientToken()const
{
return clientToken_;
}
void DeleteTransitRouterPeerAttachmentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
bool DeleteTransitRouterPeerAttachmentRequest::getDryRun()const
{
return dryRun_;
}
void DeleteTransitRouterPeerAttachmentRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string DeleteTransitRouterPeerAttachmentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteTransitRouterPeerAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteTransitRouterPeerAttachmentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteTransitRouterPeerAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteTransitRouterPeerAttachmentRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteTransitRouterPeerAttachmentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteTransitRouterPeerAttachmentRequest::getResourceType()const
{
return resourceType_;
}
void DeleteTransitRouterPeerAttachmentRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string DeleteTransitRouterPeerAttachmentRequest::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}
void DeleteTransitRouterPeerAttachmentRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
{
transitRouterAttachmentId_ = transitRouterAttachmentId;
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
}

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/DeleteTransitRouterPeerAttachmentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
DeleteTransitRouterPeerAttachmentResult::DeleteTransitRouterPeerAttachmentResult() :
ServiceResult()
{}
DeleteTransitRouterPeerAttachmentResult::DeleteTransitRouterPeerAttachmentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTransitRouterPeerAttachmentResult::~DeleteTransitRouterPeerAttachmentResult()
{}
void DeleteTransitRouterPeerAttachmentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,150 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/DeleteTransitRouterRouteEntryRequest.h>
using AlibabaCloud::Cbn::Model::DeleteTransitRouterRouteEntryRequest;
DeleteTransitRouterRouteEntryRequest::DeleteTransitRouterRouteEntryRequest() :
RpcServiceRequest("cbn", "2017-09-12", "DeleteTransitRouterRouteEntry")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTransitRouterRouteEntryRequest::~DeleteTransitRouterRouteEntryRequest()
{}
std::string DeleteTransitRouterRouteEntryRequest::getTransitRouterRouteEntryId()const
{
return transitRouterRouteEntryId_;
}
void DeleteTransitRouterRouteEntryRequest::setTransitRouterRouteEntryId(const std::string& transitRouterRouteEntryId)
{
transitRouterRouteEntryId_ = transitRouterRouteEntryId;
setParameter("TransitRouterRouteEntryId", transitRouterRouteEntryId);
}
long DeleteTransitRouterRouteEntryRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteTransitRouterRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteTransitRouterRouteEntryRequest::getClientToken()const
{
return clientToken_;
}
void DeleteTransitRouterRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string DeleteTransitRouterRouteEntryRequest::getTransitRouterRouteEntryNextHopType()const
{
return transitRouterRouteEntryNextHopType_;
}
void DeleteTransitRouterRouteEntryRequest::setTransitRouterRouteEntryNextHopType(const std::string& transitRouterRouteEntryNextHopType)
{
transitRouterRouteEntryNextHopType_ = transitRouterRouteEntryNextHopType;
setParameter("TransitRouterRouteEntryNextHopType", transitRouterRouteEntryNextHopType);
}
std::string DeleteTransitRouterRouteEntryRequest::getTransitRouterRouteEntryDestinationCidrBlock()const
{
return transitRouterRouteEntryDestinationCidrBlock_;
}
void DeleteTransitRouterRouteEntryRequest::setTransitRouterRouteEntryDestinationCidrBlock(const std::string& transitRouterRouteEntryDestinationCidrBlock)
{
transitRouterRouteEntryDestinationCidrBlock_ = transitRouterRouteEntryDestinationCidrBlock;
setParameter("TransitRouterRouteEntryDestinationCidrBlock", transitRouterRouteEntryDestinationCidrBlock);
}
std::string DeleteTransitRouterRouteEntryRequest::getTransitRouterRouteTableId()const
{
return transitRouterRouteTableId_;
}
void DeleteTransitRouterRouteEntryRequest::setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId)
{
transitRouterRouteTableId_ = transitRouterRouteTableId;
setParameter("TransitRouterRouteTableId", transitRouterRouteTableId);
}
std::string DeleteTransitRouterRouteEntryRequest::getTransitRouterRouteEntryNextHopId()const
{
return transitRouterRouteEntryNextHopId_;
}
void DeleteTransitRouterRouteEntryRequest::setTransitRouterRouteEntryNextHopId(const std::string& transitRouterRouteEntryNextHopId)
{
transitRouterRouteEntryNextHopId_ = transitRouterRouteEntryNextHopId;
setParameter("TransitRouterRouteEntryNextHopId", transitRouterRouteEntryNextHopId);
}
bool DeleteTransitRouterRouteEntryRequest::getDryRun()const
{
return dryRun_;
}
void DeleteTransitRouterRouteEntryRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string DeleteTransitRouterRouteEntryRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteTransitRouterRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteTransitRouterRouteEntryRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteTransitRouterRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteTransitRouterRouteEntryRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteTransitRouterRouteEntryRequest::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/DeleteTransitRouterRouteEntryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
DeleteTransitRouterRouteEntryResult::DeleteTransitRouterRouteEntryResult() :
ServiceResult()
{}
DeleteTransitRouterRouteEntryResult::DeleteTransitRouterRouteEntryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTransitRouterRouteEntryResult::~DeleteTransitRouterRouteEntryResult()
{}
void DeleteTransitRouterRouteEntryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/DeleteTransitRouterRouteTableRequest.h>
using AlibabaCloud::Cbn::Model::DeleteTransitRouterRouteTableRequest;
DeleteTransitRouterRouteTableRequest::DeleteTransitRouterRouteTableRequest() :
RpcServiceRequest("cbn", "2017-09-12", "DeleteTransitRouterRouteTable")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTransitRouterRouteTableRequest::~DeleteTransitRouterRouteTableRequest()
{}
long DeleteTransitRouterRouteTableRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteTransitRouterRouteTableRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteTransitRouterRouteTableRequest::getClientToken()const
{
return clientToken_;
}
void DeleteTransitRouterRouteTableRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string DeleteTransitRouterRouteTableRequest::getTransitRouterRouteTableId()const
{
return transitRouterRouteTableId_;
}
void DeleteTransitRouterRouteTableRequest::setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId)
{
transitRouterRouteTableId_ = transitRouterRouteTableId;
setParameter("TransitRouterRouteTableId", transitRouterRouteTableId);
}
bool DeleteTransitRouterRouteTableRequest::getDryRun()const
{
return dryRun_;
}
void DeleteTransitRouterRouteTableRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string DeleteTransitRouterRouteTableRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteTransitRouterRouteTableRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteTransitRouterRouteTableRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteTransitRouterRouteTableRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteTransitRouterRouteTableRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteTransitRouterRouteTableRequest::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/DeleteTransitRouterRouteTableResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
DeleteTransitRouterRouteTableResult::DeleteTransitRouterRouteTableResult() :
ServiceResult()
{}
DeleteTransitRouterRouteTableResult::DeleteTransitRouterRouteTableResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTransitRouterRouteTableResult::~DeleteTransitRouterRouteTableResult()
{}
void DeleteTransitRouterRouteTableResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/DeleteTransitRouterVbrAttachmentRequest.h>
using AlibabaCloud::Cbn::Model::DeleteTransitRouterVbrAttachmentRequest;
DeleteTransitRouterVbrAttachmentRequest::DeleteTransitRouterVbrAttachmentRequest() :
RpcServiceRequest("cbn", "2017-09-12", "DeleteTransitRouterVbrAttachment")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTransitRouterVbrAttachmentRequest::~DeleteTransitRouterVbrAttachmentRequest()
{}
long DeleteTransitRouterVbrAttachmentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteTransitRouterVbrAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteTransitRouterVbrAttachmentRequest::getClientToken()const
{
return clientToken_;
}
void DeleteTransitRouterVbrAttachmentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
bool DeleteTransitRouterVbrAttachmentRequest::getDryRun()const
{
return dryRun_;
}
void DeleteTransitRouterVbrAttachmentRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string DeleteTransitRouterVbrAttachmentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteTransitRouterVbrAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteTransitRouterVbrAttachmentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteTransitRouterVbrAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteTransitRouterVbrAttachmentRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteTransitRouterVbrAttachmentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteTransitRouterVbrAttachmentRequest::getResourceType()const
{
return resourceType_;
}
void DeleteTransitRouterVbrAttachmentRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string DeleteTransitRouterVbrAttachmentRequest::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}
void DeleteTransitRouterVbrAttachmentRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
{
transitRouterAttachmentId_ = transitRouterAttachmentId;
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
}

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/DeleteTransitRouterVbrAttachmentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cbn;
using namespace AlibabaCloud::Cbn::Model;
DeleteTransitRouterVbrAttachmentResult::DeleteTransitRouterVbrAttachmentResult() :
ServiceResult()
{}
DeleteTransitRouterVbrAttachmentResult::DeleteTransitRouterVbrAttachmentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTransitRouterVbrAttachmentResult::~DeleteTransitRouterVbrAttachmentResult()
{}
void DeleteTransitRouterVbrAttachmentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cbn/model/DeleteTransitRouterVpcAttachmentRequest.h>
using AlibabaCloud::Cbn::Model::DeleteTransitRouterVpcAttachmentRequest;
DeleteTransitRouterVpcAttachmentRequest::DeleteTransitRouterVpcAttachmentRequest() :
RpcServiceRequest("cbn", "2017-09-12", "DeleteTransitRouterVpcAttachment")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTransitRouterVpcAttachmentRequest::~DeleteTransitRouterVpcAttachmentRequest()
{}
long DeleteTransitRouterVpcAttachmentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteTransitRouterVpcAttachmentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteTransitRouterVpcAttachmentRequest::getClientToken()const
{
return clientToken_;
}
void DeleteTransitRouterVpcAttachmentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
bool DeleteTransitRouterVpcAttachmentRequest::getDryRun()const
{
return dryRun_;
}
void DeleteTransitRouterVpcAttachmentRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string DeleteTransitRouterVpcAttachmentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteTransitRouterVpcAttachmentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteTransitRouterVpcAttachmentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteTransitRouterVpcAttachmentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteTransitRouterVpcAttachmentRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteTransitRouterVpcAttachmentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteTransitRouterVpcAttachmentRequest::getResourceType()const
{
return resourceType_;
}
void DeleteTransitRouterVpcAttachmentRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string DeleteTransitRouterVpcAttachmentRequest::getTransitRouterAttachmentId()const
{
return transitRouterAttachmentId_;
}
void DeleteTransitRouterVpcAttachmentRequest::setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId)
{
transitRouterAttachmentId_ = transitRouterAttachmentId;
setParameter("TransitRouterAttachmentId", transitRouterAttachmentId);
}

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