diff --git a/VERSION b/VERSION index 9e6e7f1ae..66b46a803 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1343 \ No newline at end of file +1.36.1344 \ No newline at end of file diff --git a/cbn/CMakeLists.txt b/cbn/CMakeLists.txt index 25ddd6c4b..dea40da4a 100644 --- a/cbn/CMakeLists.txt +++ b/cbn/CMakeLists.txt @@ -139,8 +139,6 @@ set(cbn_public_header_model include/alibabacloud/cbn/model/DescribeCenRouteMapsResult.h include/alibabacloud/cbn/model/DescribeCenVbrHealthCheckRequest.h include/alibabacloud/cbn/model/DescribeCenVbrHealthCheckResult.h - include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchRequest.h - include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchResult.h include/alibabacloud/cbn/model/DescribeCensRequest.h include/alibabacloud/cbn/model/DescribeCensResult.h include/alibabacloud/cbn/model/DescribeChildInstanceRegionsRequest.h @@ -163,8 +161,6 @@ 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/DisableCenVpcFlowStatisticRequest.h - include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticResult.h include/alibabacloud/cbn/model/DisableTransitRouterRouteTablePropagationRequest.h include/alibabacloud/cbn/model/DisableTransitRouterRouteTablePropagationResult.h include/alibabacloud/cbn/model/DisassociateTransitRouterMulticastDomainRequest.h @@ -173,8 +169,6 @@ set(cbn_public_header_model include/alibabacloud/cbn/model/DissociateTransitRouterAttachmentFromRouteTableResult.h include/alibabacloud/cbn/model/EnableCenVbrHealthCheckRequest.h include/alibabacloud/cbn/model/EnableCenVbrHealthCheckResult.h - include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticRequest.h - include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticResult.h include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationRequest.h include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationResult.h include/alibabacloud/cbn/model/GrantInstanceToTransitRouterRequest.h @@ -410,8 +404,6 @@ set(cbn_src src/model/DescribeCenRouteMapsResult.cc src/model/DescribeCenVbrHealthCheckRequest.cc src/model/DescribeCenVbrHealthCheckResult.cc - src/model/DescribeCenVpcFlowStatisticSwitchRequest.cc - src/model/DescribeCenVpcFlowStatisticSwitchResult.cc src/model/DescribeCensRequest.cc src/model/DescribeCensResult.cc src/model/DescribeChildInstanceRegionsRequest.cc @@ -434,8 +426,6 @@ set(cbn_src src/model/DetachCenChildInstanceResult.cc src/model/DisableCenVbrHealthCheckRequest.cc src/model/DisableCenVbrHealthCheckResult.cc - src/model/DisableCenVpcFlowStatisticRequest.cc - src/model/DisableCenVpcFlowStatisticResult.cc src/model/DisableTransitRouterRouteTablePropagationRequest.cc src/model/DisableTransitRouterRouteTablePropagationResult.cc src/model/DisassociateTransitRouterMulticastDomainRequest.cc @@ -444,8 +434,6 @@ set(cbn_src src/model/DissociateTransitRouterAttachmentFromRouteTableResult.cc src/model/EnableCenVbrHealthCheckRequest.cc src/model/EnableCenVbrHealthCheckResult.cc - src/model/EnableCenVpcFlowStatisticRequest.cc - src/model/EnableCenVpcFlowStatisticResult.cc src/model/EnableTransitRouterRouteTablePropagationRequest.cc src/model/EnableTransitRouterRouteTablePropagationResult.cc src/model/GrantInstanceToTransitRouterRequest.cc diff --git a/cbn/include/alibabacloud/cbn/CbnClient.h b/cbn/include/alibabacloud/cbn/CbnClient.h index 03ba1c816..9040cee39 100644 --- a/cbn/include/alibabacloud/cbn/CbnClient.h +++ b/cbn/include/alibabacloud/cbn/CbnClient.h @@ -140,8 +140,6 @@ #include "model/DescribeCenRouteMapsResult.h" #include "model/DescribeCenVbrHealthCheckRequest.h" #include "model/DescribeCenVbrHealthCheckResult.h" -#include "model/DescribeCenVpcFlowStatisticSwitchRequest.h" -#include "model/DescribeCenVpcFlowStatisticSwitchResult.h" #include "model/DescribeCensRequest.h" #include "model/DescribeCensResult.h" #include "model/DescribeChildInstanceRegionsRequest.h" @@ -164,8 +162,6 @@ #include "model/DetachCenChildInstanceResult.h" #include "model/DisableCenVbrHealthCheckRequest.h" #include "model/DisableCenVbrHealthCheckResult.h" -#include "model/DisableCenVpcFlowStatisticRequest.h" -#include "model/DisableCenVpcFlowStatisticResult.h" #include "model/DisableTransitRouterRouteTablePropagationRequest.h" #include "model/DisableTransitRouterRouteTablePropagationResult.h" #include "model/DisassociateTransitRouterMulticastDomainRequest.h" @@ -174,8 +170,6 @@ #include "model/DissociateTransitRouterAttachmentFromRouteTableResult.h" #include "model/EnableCenVbrHealthCheckRequest.h" #include "model/EnableCenVbrHealthCheckResult.h" -#include "model/EnableCenVpcFlowStatisticRequest.h" -#include "model/EnableCenVpcFlowStatisticResult.h" #include "model/EnableTransitRouterRouteTablePropagationRequest.h" #include "model/EnableTransitRouterRouteTablePropagationResult.h" #include "model/GrantInstanceToTransitRouterRequest.h" @@ -476,9 +470,6 @@ namespace AlibabaCloud typedef Outcome DescribeCenVbrHealthCheckOutcome; typedef std::future DescribeCenVbrHealthCheckOutcomeCallable; typedef std::function&)> DescribeCenVbrHealthCheckAsyncHandler; - typedef Outcome DescribeCenVpcFlowStatisticSwitchOutcome; - typedef std::future DescribeCenVpcFlowStatisticSwitchOutcomeCallable; - typedef std::function&)> DescribeCenVpcFlowStatisticSwitchAsyncHandler; typedef Outcome DescribeCensOutcome; typedef std::future DescribeCensOutcomeCallable; typedef std::function&)> DescribeCensAsyncHandler; @@ -512,9 +503,6 @@ namespace AlibabaCloud typedef Outcome DisableCenVbrHealthCheckOutcome; typedef std::future DisableCenVbrHealthCheckOutcomeCallable; typedef std::function&)> DisableCenVbrHealthCheckAsyncHandler; - typedef Outcome DisableCenVpcFlowStatisticOutcome; - typedef std::future DisableCenVpcFlowStatisticOutcomeCallable; - typedef std::function&)> DisableCenVpcFlowStatisticAsyncHandler; typedef Outcome DisableTransitRouterRouteTablePropagationOutcome; typedef std::future DisableTransitRouterRouteTablePropagationOutcomeCallable; typedef std::function&)> DisableTransitRouterRouteTablePropagationAsyncHandler; @@ -527,9 +515,6 @@ namespace AlibabaCloud typedef Outcome EnableCenVbrHealthCheckOutcome; typedef std::future EnableCenVbrHealthCheckOutcomeCallable; typedef std::function&)> EnableCenVbrHealthCheckAsyncHandler; - typedef Outcome EnableCenVpcFlowStatisticOutcome; - typedef std::future EnableCenVpcFlowStatisticOutcomeCallable; - typedef std::function&)> EnableCenVpcFlowStatisticAsyncHandler; typedef Outcome EnableTransitRouterRouteTablePropagationOutcome; typedef std::future EnableTransitRouterRouteTablePropagationOutcomeCallable; typedef std::function&)> EnableTransitRouterRouteTablePropagationAsyncHandler; @@ -883,9 +868,6 @@ namespace AlibabaCloud DescribeCenVbrHealthCheckOutcome describeCenVbrHealthCheck(const Model::DescribeCenVbrHealthCheckRequest &request)const; void describeCenVbrHealthCheckAsync(const Model::DescribeCenVbrHealthCheckRequest& request, const DescribeCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCenVbrHealthCheckOutcomeCallable describeCenVbrHealthCheckCallable(const Model::DescribeCenVbrHealthCheckRequest& request) const; - DescribeCenVpcFlowStatisticSwitchOutcome describeCenVpcFlowStatisticSwitch(const Model::DescribeCenVpcFlowStatisticSwitchRequest &request)const; - void describeCenVpcFlowStatisticSwitchAsync(const Model::DescribeCenVpcFlowStatisticSwitchRequest& request, const DescribeCenVpcFlowStatisticSwitchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCenVpcFlowStatisticSwitchOutcomeCallable describeCenVpcFlowStatisticSwitchCallable(const Model::DescribeCenVpcFlowStatisticSwitchRequest& request) const; DescribeCensOutcome describeCens(const Model::DescribeCensRequest &request)const; void describeCensAsync(const Model::DescribeCensRequest& request, const DescribeCensAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCensOutcomeCallable describeCensCallable(const Model::DescribeCensRequest& request) const; @@ -919,9 +901,6 @@ namespace AlibabaCloud DisableCenVbrHealthCheckOutcome disableCenVbrHealthCheck(const Model::DisableCenVbrHealthCheckRequest &request)const; void disableCenVbrHealthCheckAsync(const Model::DisableCenVbrHealthCheckRequest& request, const DisableCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DisableCenVbrHealthCheckOutcomeCallable disableCenVbrHealthCheckCallable(const Model::DisableCenVbrHealthCheckRequest& request) const; - DisableCenVpcFlowStatisticOutcome disableCenVpcFlowStatistic(const Model::DisableCenVpcFlowStatisticRequest &request)const; - void disableCenVpcFlowStatisticAsync(const Model::DisableCenVpcFlowStatisticRequest& request, const DisableCenVpcFlowStatisticAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DisableCenVpcFlowStatisticOutcomeCallable disableCenVpcFlowStatisticCallable(const Model::DisableCenVpcFlowStatisticRequest& request) const; DisableTransitRouterRouteTablePropagationOutcome disableTransitRouterRouteTablePropagation(const Model::DisableTransitRouterRouteTablePropagationRequest &request)const; void disableTransitRouterRouteTablePropagationAsync(const Model::DisableTransitRouterRouteTablePropagationRequest& request, const DisableTransitRouterRouteTablePropagationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DisableTransitRouterRouteTablePropagationOutcomeCallable disableTransitRouterRouteTablePropagationCallable(const Model::DisableTransitRouterRouteTablePropagationRequest& request) const; @@ -934,9 +913,6 @@ namespace AlibabaCloud EnableCenVbrHealthCheckOutcome enableCenVbrHealthCheck(const Model::EnableCenVbrHealthCheckRequest &request)const; void enableCenVbrHealthCheckAsync(const Model::EnableCenVbrHealthCheckRequest& request, const EnableCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableCenVbrHealthCheckOutcomeCallable enableCenVbrHealthCheckCallable(const Model::EnableCenVbrHealthCheckRequest& request) const; - EnableCenVpcFlowStatisticOutcome enableCenVpcFlowStatistic(const Model::EnableCenVpcFlowStatisticRequest &request)const; - void enableCenVpcFlowStatisticAsync(const Model::EnableCenVpcFlowStatisticRequest& request, const EnableCenVpcFlowStatisticAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - EnableCenVpcFlowStatisticOutcomeCallable enableCenVpcFlowStatisticCallable(const Model::EnableCenVpcFlowStatisticRequest& request) const; EnableTransitRouterRouteTablePropagationOutcome enableTransitRouterRouteTablePropagation(const Model::EnableTransitRouterRouteTablePropagationRequest &request)const; void enableTransitRouterRouteTablePropagationAsync(const Model::EnableTransitRouterRouteTablePropagationRequest& request, const EnableTransitRouterRouteTablePropagationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableTransitRouterRouteTablePropagationOutcomeCallable enableTransitRouterRouteTablePropagationCallable(const Model::EnableTransitRouterRouteTablePropagationRequest& request) const; diff --git a/cbn/include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h b/cbn/include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h index 488acf397..7bfa6c7b5 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateCenBandwidthPackageRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateCenBandwidthPackageRequest(); ~CreateCenBandwidthPackageRequest(); long getResourceOwnerId() const; @@ -42,6 +46,8 @@ public: void setBandwidthPackageChargeType(const std::string &bandwidthPackageChargeType); std::string getResourceGroupId() const; void setResourceGroupId(const std::string &resourceGroupId); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getGeographicRegionBId() const; void setGeographicRegionBId(const std::string &geographicRegionBId); int getPeriod() const; @@ -74,6 +80,7 @@ private: int autoRenewDuration_; std::string bandwidthPackageChargeType_; std::string resourceGroupId_; + std::vector tag_; std::string geographicRegionBId_; int period_; std::string geographicRegionAId_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateCenRequest.h b/cbn/include/alibabacloud/cbn/model/CreateCenRequest.h index 7e89566b8..70db9f8b8 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateCenRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateCenRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateCenRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateCenRequest(); ~CreateCenRequest(); long getResourceOwnerId() const; @@ -40,6 +44,8 @@ public: void setDescription(const std::string &description); std::string getResourceGroupId() const; void setResourceGroupId(const std::string &resourceGroupId); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -57,6 +63,7 @@ private: std::string ipv6Level_; std::string description_; std::string resourceGroupId_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateFlowlogRequest.h b/cbn/include/alibabacloud/cbn/model/CreateFlowlogRequest.h index 9fe813d48..1741e290c 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateFlowlogRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateFlowlogRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateFlowlogRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateFlowlogRequest(); ~CreateFlowlogRequest(); long getResourceOwnerId() const; @@ -40,6 +44,8 @@ public: void setDescription(const std::string &description); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getProjectName() const; void setProjectName(const std::string &projectName); std::string getLogStoreName() const; @@ -63,6 +69,7 @@ private: std::string cenId_; std::string description_; std::string regionId_; + std::vector tag_; std::string projectName_; std::string logStoreName_; std::string resourceOwnerAccount_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterMulticastDomainRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterMulticastDomainRequest.h index d22a30fab..7c652ebd9 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterMulticastDomainRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterMulticastDomainRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterMulticastDomainRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateTransitRouterMulticastDomainRequest(); ~CreateTransitRouterMulticastDomainRequest(); long getResourceOwnerId() const; @@ -44,6 +48,8 @@ public: void setRegionId(const std::string ®ionId); std::string getTransitRouterMulticastDomainName() const; void setTransitRouterMulticastDomainName(const std::string &transitRouterMulticastDomainName); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getDryRun() const; void setDryRun(bool dryRun); std::string getResourceOwnerAccount() const; @@ -63,6 +69,7 @@ private: std::string transitRouterMulticastDomainDescription_; std::string regionId_; std::string transitRouterMulticastDomainName_; + std::vector tag_; bool dryRun_; std::string resourceOwnerAccount_; std::string ownerAccount_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h index 3f1b869e9..307ad1ef2 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterPeerAttachmentRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateTransitRouterPeerAttachmentRequest(); ~CreateTransitRouterPeerAttachmentRequest(); long getResourceOwnerId() const; @@ -44,6 +48,8 @@ public: void setTransitRouterAttachmentName(const std::string &transitRouterAttachmentName); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getAutoPublishRouteEnabled() const; void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled); bool getRouteTablePropagationEnabled() const; @@ -79,6 +85,7 @@ private: bool routeTableAssociationEnabled_; std::string transitRouterAttachmentName_; std::string regionId_; + std::vector tag_; bool autoPublishRouteEnabled_; bool routeTablePropagationEnabled_; bool dryRun_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRequest.h index a2bcaa621..39264a59a 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRequest.h @@ -34,6 +34,10 @@ public: std::string cidr; bool publishCidrRoute; }; + struct Tag { + std::string value; + std::string key; + }; CreateTransitRouterRequest(); ~CreateTransitRouterRequest(); std::string getTransitRouterName() const; @@ -52,6 +56,8 @@ public: void setType(const std::string &type); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getDryRun() const; void setDryRun(bool dryRun); std::string getResourceOwnerAccount() const; @@ -74,6 +80,7 @@ private: std::vector transitRouterCidrList_; std::string type_; std::string regionId_; + std::vector tag_; bool dryRun_; std::string resourceOwnerAccount_; std::string ownerAccount_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRouteTableRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRouteTableRequest.h index effcb4dab..6e9d83987 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRouteTableRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterRouteTableRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterRouteTableRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateTransitRouterRouteTableRequest(); ~CreateTransitRouterRouteTableRequest(); long getResourceOwnerId() const; @@ -36,6 +40,8 @@ public: void setClientToken(const std::string &clientToken); std::string getTransitRouterRouteTableDescription() const; void setTransitRouterRouteTableDescription(const std::string &transitRouterRouteTableDescription); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getDryRun() const; void setDryRun(bool dryRun); std::string getTransitRouterRouteTableName() const; @@ -53,6 +59,7 @@ private: long resourceOwnerId_; std::string clientToken_; std::string transitRouterRouteTableDescription_; + std::vector tag_; bool dryRun_; std::string transitRouterRouteTableName_; std::string resourceOwnerAccount_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVbrAttachmentRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVbrAttachmentRequest.h index ce2b86e89..ed89ba6d0 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVbrAttachmentRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVbrAttachmentRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterVbrAttachmentRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateTransitRouterVbrAttachmentRequest(); ~CreateTransitRouterVbrAttachmentRequest(); long getResourceOwnerId() const; @@ -44,6 +48,8 @@ public: void setTransitRouterAttachmentName(const std::string &transitRouterAttachmentName); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getAutoPublishRouteEnabled() const; void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled); bool getRouteTablePropagationEnabled() const; @@ -75,6 +81,7 @@ private: std::string vbrId_; std::string transitRouterAttachmentName_; std::string regionId_; + std::vector tag_; bool autoPublishRouteEnabled_; bool routeTablePropagationEnabled_; bool dryRun_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpcAttachmentRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpcAttachmentRequest.h index d95338535..89169fa4d 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpcAttachmentRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpcAttachmentRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterVpcAttachmentRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; struct ZoneMappings { std::string vSwitchId; std::string zoneId; @@ -50,6 +54,8 @@ public: void setTransitRouterAttachmentName(const std::string &transitRouterAttachmentName); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getAutoCreateVpcRoute() const; void setAutoCreateVpcRoute(bool autoCreateVpcRoute); bool getAutoPublishRouteEnabled() const; @@ -88,6 +94,7 @@ private: bool routeTableAssociationEnabled_; std::string transitRouterAttachmentName_; std::string regionId_; + std::vector tag_; bool autoCreateVpcRoute_; bool autoPublishRouteEnabled_; bool routeTablePropagationEnabled_; diff --git a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpnAttachmentRequest.h b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpnAttachmentRequest.h index a1778ae93..081fb3f88 100644 --- a/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpnAttachmentRequest.h +++ b/cbn/include/alibabacloud/cbn/model/CreateTransitRouterVpnAttachmentRequest.h @@ -31,6 +31,10 @@ public: struct Zone { std::string zoneId; }; + struct Tag { + std::string value; + std::string key; + }; CreateTransitRouterVpnAttachmentRequest(); ~CreateTransitRouterVpnAttachmentRequest(); long getResourceOwnerId() const; @@ -47,6 +51,8 @@ public: void setRegionId(const std::string ®ionId); std::vector getZone() const; void setZone(const std::vector &zone); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getAutoPublishRouteEnabled() const; void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled); bool getRouteTablePropagationEnabled() const; @@ -80,6 +86,7 @@ private: std::string transitRouterAttachmentName_; std::string regionId_; std::vector zone_; + std::vector tag_; bool autoPublishRouteEnabled_; bool routeTablePropagationEnabled_; bool dryRun_; diff --git a/cbn/include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchRequest.h b/cbn/include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchRequest.h deleted file mode 100644 index a92945e4a..000000000 --- a/cbn/include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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_DESCRIBECENVPCFLOWSTATISTICSWITCHREQUEST_H_ -#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENVPCFLOWSTATISTICSWITCHREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Cbn { -namespace Model { -class ALIBABACLOUD_CBN_EXPORT DescribeCenVpcFlowStatisticSwitchRequest : public RpcServiceRequest { -public: - DescribeCenVpcFlowStatisticSwitchRequest(); - ~DescribeCenVpcFlowStatisticSwitchRequest(); - 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 ®ionId); - 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 cenId_; - std::string regionId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Cbn -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENVPCFLOWSTATISTICSWITCHREQUEST_H_ diff --git a/cbn/include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchResult.h b/cbn/include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchResult.h deleted file mode 100644 index c3cc127cf..000000000 --- a/cbn/include/alibabacloud/cbn/model/DescribeCenVpcFlowStatisticSwitchResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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_DESCRIBECENVPCFLOWSTATISTICSWITCHRESULT_H_ -#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENVPCFLOWSTATISTICSWITCHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cbn - { - namespace Model - { - class ALIBABACLOUD_CBN_EXPORT DescribeCenVpcFlowStatisticSwitchResult : public ServiceResult - { - public: - - - DescribeCenVpcFlowStatisticSwitchResult(); - explicit DescribeCenVpcFlowStatisticSwitchResult(const std::string &payload); - ~DescribeCenVpcFlowStatisticSwitchResult(); - std::string getState()const; - std::string getInvalidDate()const; - std::string getCenId()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string state_; - std::string invalidDate_; - std::string cenId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENVPCFLOWSTATISTICSWITCHRESULT_H_ \ No newline at end of file diff --git a/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsRequest.h b/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsRequest.h index eb3410a87..49103a0fb 100644 --- a/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsRequest.h +++ b/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT DescribeFlowlogsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; DescribeFlowlogsRequest(); ~DescribeFlowlogsRequest(); long getResourceOwnerId() const; @@ -44,6 +48,8 @@ public: void setRegionId(const std::string ®ionId); int getPageSize() const; void setPageSize(int pageSize); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getProjectName() const; void setProjectName(const std::string &projectName); std::string getLogStoreName() const; @@ -69,6 +75,7 @@ private: int pageNumber_; std::string regionId_; int pageSize_; + std::vector tag_; std::string projectName_; std::string logStoreName_; std::string resourceOwnerAccount_; diff --git a/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsResult.h b/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsResult.h index ef4edd07d..f1eb917ec 100644 --- a/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsResult.h +++ b/cbn/include/alibabacloud/cbn/model/DescribeFlowlogsResult.h @@ -34,17 +34,23 @@ namespace AlibabaCloud public: struct FlowLog { + struct Tag + { + std::string value; + std::string key; + }; std::string status; std::string transitRouterAttachmentId; - std::string flowLogName; std::string description; + std::string projectName; + std::string flowLogId; + std::string flowLogName; std::string logStoreName; std::string peerRegionId; - std::string projectName; std::string creationTime; std::string cenId; std::string regionId; - std::string flowLogId; + std::vector tags; long interval; }; diff --git a/cbn/include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticRequest.h b/cbn/include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticRequest.h deleted file mode 100644 index 1e9e7d1cd..000000000 --- a/cbn/include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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_DISABLECENVPCFLOWSTATISTICREQUEST_H_ -#define ALIBABACLOUD_CBN_MODEL_DISABLECENVPCFLOWSTATISTICREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Cbn { -namespace Model { -class ALIBABACLOUD_CBN_EXPORT DisableCenVpcFlowStatisticRequest : public RpcServiceRequest { -public: - DisableCenVpcFlowStatisticRequest(); - ~DisableCenVpcFlowStatisticRequest(); - 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 getRegionId() const; - void setRegionId(const std::string ®ionId); - 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 cenId_; - std::string regionId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; -}; -} // namespace Model -} // namespace Cbn -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_CBN_MODEL_DISABLECENVPCFLOWSTATISTICREQUEST_H_ diff --git a/cbn/include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticResult.h b/cbn/include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticResult.h deleted file mode 100644 index f642fb20a..000000000 --- a/cbn/include/alibabacloud/cbn/model/DisableCenVpcFlowStatisticResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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_DISABLECENVPCFLOWSTATISTICRESULT_H_ -#define ALIBABACLOUD_CBN_MODEL_DISABLECENVPCFLOWSTATISTICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cbn - { - namespace Model - { - class ALIBABACLOUD_CBN_EXPORT DisableCenVpcFlowStatisticResult : public ServiceResult - { - public: - - - DisableCenVpcFlowStatisticResult(); - explicit DisableCenVpcFlowStatisticResult(const std::string &payload); - ~DisableCenVpcFlowStatisticResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CBN_MODEL_DISABLECENVPCFLOWSTATISTICRESULT_H_ \ No newline at end of file diff --git a/cbn/include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticRequest.h b/cbn/include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticRequest.h deleted file mode 100644 index 11ea3ae9e..000000000 --- a/cbn/include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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_ENABLECENVPCFLOWSTATISTICREQUEST_H_ -#define ALIBABACLOUD_CBN_MODEL_ENABLECENVPCFLOWSTATISTICREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Cbn { -namespace Model { -class ALIBABACLOUD_CBN_EXPORT EnableCenVpcFlowStatisticRequest : public RpcServiceRequest { -public: - EnableCenVpcFlowStatisticRequest(); - ~EnableCenVpcFlowStatisticRequest(); - 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 getRegionId() const; - void setRegionId(const std::string ®ionId); - 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); - int getDays() const; - void setDays(int days); - -private: - long resourceOwnerId_; - std::string clientToken_; - std::string cenId_; - std::string regionId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - int days_; -}; -} // namespace Model -} // namespace Cbn -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_CBN_MODEL_ENABLECENVPCFLOWSTATISTICREQUEST_H_ diff --git a/cbn/include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticResult.h b/cbn/include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticResult.h deleted file mode 100644 index ace756a9d..000000000 --- a/cbn/include/alibabacloud/cbn/model/EnableCenVpcFlowStatisticResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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_ENABLECENVPCFLOWSTATISTICRESULT_H_ -#define ALIBABACLOUD_CBN_MODEL_ENABLECENVPCFLOWSTATISTICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cbn - { - namespace Model - { - class ALIBABACLOUD_CBN_EXPORT EnableCenVpcFlowStatisticResult : public ServiceResult - { - public: - - - EnableCenVpcFlowStatisticResult(); - explicit EnableCenVpcFlowStatisticResult(const std::string &payload); - ~EnableCenVpcFlowStatisticResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CBN_MODEL_ENABLECENVPCFLOWSTATISTICRESULT_H_ \ No newline at end of file diff --git a/cbn/include/alibabacloud/cbn/model/ListTagResourcesRequest.h b/cbn/include/alibabacloud/cbn/model/ListTagResourcesRequest.h index 1bf83133e..249c0287b 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTagResourcesRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTagResourcesRequest.h @@ -38,6 +38,8 @@ public: void setResourceOwnerId(long resourceOwnerId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); int getPageSize() const; void setPageSize(int pageSize); std::vector getTag() const; @@ -56,6 +58,7 @@ public: private: long resourceOwnerId_; std::string nextToken_; + std::string regionId_; int pageSize_; std::vector tag_; std::vector resourceId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsRequest.h index 9b82399ff..9ad5e5c2a 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRouterMulticastDomainsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRouterMulticastDomainsRequest(); ~ListTransitRouterMulticastDomainsRequest(); long getResourceOwnerId() const; @@ -42,6 +46,8 @@ public: void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -60,6 +66,7 @@ private: std::string transitRouterMulticastDomainId_; std::string regionId_; std::string nextToken_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsResult.h index 14880f6a8..2729b9460 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterMulticastDomainsResult.h @@ -34,10 +34,16 @@ namespace AlibabaCloud public: struct TransitRouterMulticastDomain { + struct Tag + { + std::string value; + std::string key; + }; std::string status; std::string transitRouterMulticastDomainId; std::string transitRouterMulticastDomainName; std::string transitRouterMulticastDomainDescription; + std::vector tags; }; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h index 60b1ee726..2a7b454fe 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRouterPeerAttachmentsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRouterPeerAttachmentsRequest(); ~ListTransitRouterPeerAttachmentsRequest(); long getResourceOwnerId() const; @@ -38,6 +42,8 @@ public: void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -58,6 +64,7 @@ private: std::string cenId_; std::string regionId_; std::string nextToken_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsResult.h index 45f477879..b94834f43 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsResult.h @@ -34,6 +34,11 @@ namespace AlibabaCloud public: struct TransitRouterAttachment { + struct Tag + { + std::string value; + std::string key; + }; std::string status; std::string transitRouterAttachmentId; std::string geographicSpanId; @@ -48,6 +53,7 @@ namespace AlibabaCloud std::string regionId; std::string peerTransitRouterId; std::string cenBandwidthPackageId; + std::vector tags; std::string transitRouterAttachmentDescription; std::string transitRouterId; std::string peerTransitRouterRegionId; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesRequest.h index 0146a3c86..063029e0b 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRouterRouteTablesRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRouterRouteTablesRequest(); ~ListTransitRouterRouteTablesRequest(); long getResourceOwnerId() const; @@ -42,6 +46,8 @@ public: void setTransitRouterRouteTableIds(const std::vector &transitRouterRouteTableIds); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -60,6 +66,7 @@ private: std::string transitRouterRouteTableStatus_; std::vector transitRouterRouteTableIds_; std::string nextToken_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesResult.h index 3f00882c8..646b5d647 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterRouteTablesResult.h @@ -34,12 +34,18 @@ namespace AlibabaCloud public: struct TransitRouterRouteTable { + struct Tag + { + std::string value; + std::string key; + }; std::string transitRouterRouteTableId; std::string transitRouterRouteTableStatus; std::string transitRouterRouteTableType; std::string transitRouterRouteTableDescription; std::string createTime; std::string transitRouterRouteTableName; + std::vector tags; }; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsRequest.h index aa0a7f97e..50fcbaced 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRouterVbrAttachmentsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRouterVbrAttachmentsRequest(); ~ListTransitRouterVbrAttachmentsRequest(); long getResourceOwnerId() const; @@ -38,6 +42,8 @@ public: void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -58,6 +64,7 @@ private: std::string cenId_; std::string regionId_; std::string nextToken_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsResult.h index 4a9887dd2..cbdc1fd8b 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVbrAttachmentsResult.h @@ -34,6 +34,11 @@ namespace AlibabaCloud public: struct TransitRouterAttachment { + struct Tag + { + std::string value; + std::string key; + }; std::string status; std::string transitRouterAttachmentId; bool autoPublishRouteEnabled; @@ -43,6 +48,7 @@ namespace AlibabaCloud std::string resourceType; std::string vbrRegionId; std::string vbrId; + std::vector tags; std::string transitRouterAttachmentDescription; std::string transitRouterId; }; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsRequest.h index 39e792b30..4d0b2df63 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRouterVpcAttachmentsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRouterVpcAttachmentsRequest(); ~ListTransitRouterVpcAttachmentsRequest(); long getResourceOwnerId() const; @@ -38,6 +42,8 @@ public: void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -58,6 +64,7 @@ private: std::string cenId_; std::string regionId_; std::string nextToken_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsResult.h index 5f40c79c1..1e40cdf10 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpcAttachmentsResult.h @@ -40,6 +40,11 @@ namespace AlibabaCloud std::string vSwitchId; std::string networkInterfaceId; }; + struct Tag + { + std::string value; + std::string key; + }; std::string status; std::string transitRouterAttachmentId; std::string transitRouterAttachmentName; @@ -52,6 +57,7 @@ namespace AlibabaCloud std::string chargeType; std::string creationTime; std::string vpcRegionId; + std::vector tags; std::string transitRouterAttachmentDescription; std::string transitRouterId; }; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsRequest.h index a7a36a158..62b2ad580 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRouterVpnAttachmentsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRouterVpnAttachmentsRequest(); ~ListTransitRouterVpnAttachmentsRequest(); long getResourceOwnerId() const; @@ -38,6 +42,8 @@ public: void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -58,6 +64,7 @@ private: std::string cenId_; std::string regionId_; std::string nextToken_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsResult.h index adb01b1be..8c3b36b68 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRouterVpnAttachmentsResult.h @@ -38,16 +38,22 @@ namespace AlibabaCloud { std::string zoneId; }; + struct Tag + { + std::string value; + std::string key; + }; std::string status; std::string transitRouterAttachmentId; - bool autoPublishRouteEnabled; long vpnOwnerId; - std::string vpnRegionId; - std::string creationTime; std::string transitRouterAttachmentName; std::string resourceType; - std::string transitRouterAttachmentDescription; std::vector zones; + bool autoPublishRouteEnabled; + std::string vpnRegionId; + std::string creationTime; + std::vector tags; + std::string transitRouterAttachmentDescription; std::string transitRouterId; std::string vpnId; }; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRoutersRequest.h b/cbn/include/alibabacloud/cbn/model/ListTransitRoutersRequest.h index 1b2b57ce7..900f91fd8 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRoutersRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRoutersRequest.h @@ -28,6 +28,10 @@ namespace Cbn { namespace Model { class ALIBABACLOUD_CBN_EXPORT ListTransitRoutersRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListTransitRoutersRequest(); ~ListTransitRoutersRequest(); long getResourceOwnerId() const; @@ -42,6 +46,8 @@ public: void setRegionId(const std::string ®ionId); int getPageSize() const; void setPageSize(int pageSize); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -58,6 +64,7 @@ private: int pageNumber_; std::string regionId_; int pageSize_; + std::vector tag_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; diff --git a/cbn/include/alibabacloud/cbn/model/ListTransitRoutersResult.h b/cbn/include/alibabacloud/cbn/model/ListTransitRoutersResult.h index f42cf5e77..d2d30c0c2 100644 --- a/cbn/include/alibabacloud/cbn/model/ListTransitRoutersResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListTransitRoutersResult.h @@ -42,16 +42,22 @@ namespace AlibabaCloud bool publishCidrRoute; std::string name; }; + struct Tag + { + std::string value; + std::string key; + }; std::string status; + std::string transitRouterDescription; + std::string transitRouterName; + std::string serviceMode; std::string type; bool supportMulticast; std::vector transitRouterCidrList; std::string creationTime; std::string cenId; - std::string transitRouterDescription; - std::string transitRouterName; std::string regionId; - std::string serviceMode; + std::vector tags; std::string transitRouterId; long aliUid; }; diff --git a/cbn/include/alibabacloud/cbn/model/TagResourcesRequest.h b/cbn/include/alibabacloud/cbn/model/TagResourcesRequest.h index 4e9b95b6a..6613ef34b 100644 --- a/cbn/include/alibabacloud/cbn/model/TagResourcesRequest.h +++ b/cbn/include/alibabacloud/cbn/model/TagResourcesRequest.h @@ -36,6 +36,8 @@ public: ~TagResourcesRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); std::vector getTag() const; void setTag(const std::vector &tag); std::vector getResourceId() const; @@ -51,6 +53,7 @@ public: private: long resourceOwnerId_; + std::string regionId_; std::vector tag_; std::vector resourceId_; std::string resourceOwnerAccount_; diff --git a/cbn/include/alibabacloud/cbn/model/UntagResourcesRequest.h b/cbn/include/alibabacloud/cbn/model/UntagResourcesRequest.h index 48f9c6a81..edbfe2088 100644 --- a/cbn/include/alibabacloud/cbn/model/UntagResourcesRequest.h +++ b/cbn/include/alibabacloud/cbn/model/UntagResourcesRequest.h @@ -32,6 +32,8 @@ public: ~UntagResourcesRequest(); long getResourceOwnerId() const; void setResourceOwnerId(long resourceOwnerId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); bool getAll() const; void setAll(bool all); std::vector getResourceId() const; @@ -49,6 +51,7 @@ public: private: long resourceOwnerId_; + std::string regionId_; bool all_; std::vector resourceId_; std::string resourceOwnerAccount_; diff --git a/cbn/src/CbnClient.cc b/cbn/src/CbnClient.cc index b2aff922a..34955e5f6 100644 --- a/cbn/src/CbnClient.cc +++ b/cbn/src/CbnClient.cc @@ -2175,42 +2175,6 @@ CbnClient::DescribeCenVbrHealthCheckOutcomeCallable CbnClient::describeCenVbrHea return task->get_future(); } -CbnClient::DescribeCenVpcFlowStatisticSwitchOutcome CbnClient::describeCenVpcFlowStatisticSwitch(const DescribeCenVpcFlowStatisticSwitchRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCenVpcFlowStatisticSwitchOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCenVpcFlowStatisticSwitchOutcome(DescribeCenVpcFlowStatisticSwitchResult(outcome.result())); - else - return DescribeCenVpcFlowStatisticSwitchOutcome(outcome.error()); -} - -void CbnClient::describeCenVpcFlowStatisticSwitchAsync(const DescribeCenVpcFlowStatisticSwitchRequest& request, const DescribeCenVpcFlowStatisticSwitchAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCenVpcFlowStatisticSwitch(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CbnClient::DescribeCenVpcFlowStatisticSwitchOutcomeCallable CbnClient::describeCenVpcFlowStatisticSwitchCallable(const DescribeCenVpcFlowStatisticSwitchRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCenVpcFlowStatisticSwitch(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CbnClient::DescribeCensOutcome CbnClient::describeCens(const DescribeCensRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2607,42 +2571,6 @@ CbnClient::DisableCenVbrHealthCheckOutcomeCallable CbnClient::disableCenVbrHealt return task->get_future(); } -CbnClient::DisableCenVpcFlowStatisticOutcome CbnClient::disableCenVpcFlowStatistic(const DisableCenVpcFlowStatisticRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DisableCenVpcFlowStatisticOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DisableCenVpcFlowStatisticOutcome(DisableCenVpcFlowStatisticResult(outcome.result())); - else - return DisableCenVpcFlowStatisticOutcome(outcome.error()); -} - -void CbnClient::disableCenVpcFlowStatisticAsync(const DisableCenVpcFlowStatisticRequest& request, const DisableCenVpcFlowStatisticAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, disableCenVpcFlowStatistic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CbnClient::DisableCenVpcFlowStatisticOutcomeCallable CbnClient::disableCenVpcFlowStatisticCallable(const DisableCenVpcFlowStatisticRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->disableCenVpcFlowStatistic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CbnClient::DisableTransitRouterRouteTablePropagationOutcome CbnClient::disableTransitRouterRouteTablePropagation(const DisableTransitRouterRouteTablePropagationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2787,42 +2715,6 @@ CbnClient::EnableCenVbrHealthCheckOutcomeCallable CbnClient::enableCenVbrHealthC return task->get_future(); } -CbnClient::EnableCenVpcFlowStatisticOutcome CbnClient::enableCenVpcFlowStatistic(const EnableCenVpcFlowStatisticRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return EnableCenVpcFlowStatisticOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return EnableCenVpcFlowStatisticOutcome(EnableCenVpcFlowStatisticResult(outcome.result())); - else - return EnableCenVpcFlowStatisticOutcome(outcome.error()); -} - -void CbnClient::enableCenVpcFlowStatisticAsync(const EnableCenVpcFlowStatisticRequest& request, const EnableCenVpcFlowStatisticAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, enableCenVpcFlowStatistic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CbnClient::EnableCenVpcFlowStatisticOutcomeCallable CbnClient::enableCenVpcFlowStatisticCallable(const EnableCenVpcFlowStatisticRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->enableCenVpcFlowStatistic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CbnClient::EnableTransitRouterRouteTablePropagationOutcome CbnClient::enableTransitRouterRouteTablePropagation(const EnableTransitRouterRouteTablePropagationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/cbn/src/model/CreateCenBandwidthPackageRequest.cc b/cbn/src/model/CreateCenBandwidthPackageRequest.cc index ec93bd41e..3bb5ef391 100644 --- a/cbn/src/model/CreateCenBandwidthPackageRequest.cc +++ b/cbn/src/model/CreateCenBandwidthPackageRequest.cc @@ -79,6 +79,20 @@ void CreateCenBandwidthPackageRequest::setResourceGroupId(const std::string &res setParameter(std::string("ResourceGroupId"), resourceGroupId); } +std::vector CreateCenBandwidthPackageRequest::getTag() const { + return tag_; +} + +void CreateCenBandwidthPackageRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string CreateCenBandwidthPackageRequest::getGeographicRegionBId() const { return geographicRegionBId_; } diff --git a/cbn/src/model/CreateCenRequest.cc b/cbn/src/model/CreateCenRequest.cc index 62b4e4ca5..087877e1d 100644 --- a/cbn/src/model/CreateCenRequest.cc +++ b/cbn/src/model/CreateCenRequest.cc @@ -70,6 +70,20 @@ void CreateCenRequest::setResourceGroupId(const std::string &resourceGroupId) { setParameter(std::string("ResourceGroupId"), resourceGroupId); } +std::vector CreateCenRequest::getTag() const { + return tag_; +} + +void CreateCenRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string CreateCenRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/CreateFlowlogRequest.cc b/cbn/src/model/CreateFlowlogRequest.cc index 6d94c4edb..fc17d67c7 100644 --- a/cbn/src/model/CreateFlowlogRequest.cc +++ b/cbn/src/model/CreateFlowlogRequest.cc @@ -70,6 +70,20 @@ void CreateFlowlogRequest::setRegionId(const std::string ®ionId) { setParameter(std::string("RegionId"), regionId); } +std::vector CreateFlowlogRequest::getTag() const { + return tag_; +} + +void CreateFlowlogRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string CreateFlowlogRequest::getProjectName() const { return projectName_; } diff --git a/cbn/src/model/CreateTransitRouterMulticastDomainRequest.cc b/cbn/src/model/CreateTransitRouterMulticastDomainRequest.cc index 455b9b4e8..997592a28 100644 --- a/cbn/src/model/CreateTransitRouterMulticastDomainRequest.cc +++ b/cbn/src/model/CreateTransitRouterMulticastDomainRequest.cc @@ -88,6 +88,20 @@ void CreateTransitRouterMulticastDomainRequest::setTransitRouterMulticastDomainN setParameter(std::string("TransitRouterMulticastDomainName"), transitRouterMulticastDomainName); } +std::vector CreateTransitRouterMulticastDomainRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterMulticastDomainRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterMulticastDomainRequest::getDryRun() const { return dryRun_; } diff --git a/cbn/src/model/CreateTransitRouterPeerAttachmentRequest.cc b/cbn/src/model/CreateTransitRouterPeerAttachmentRequest.cc index 37a1c49bc..5c46ebf5b 100644 --- a/cbn/src/model/CreateTransitRouterPeerAttachmentRequest.cc +++ b/cbn/src/model/CreateTransitRouterPeerAttachmentRequest.cc @@ -88,6 +88,20 @@ void CreateTransitRouterPeerAttachmentRequest::setRegionId(const std::string &re setParameter(std::string("RegionId"), regionId); } +std::vector CreateTransitRouterPeerAttachmentRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterPeerAttachmentRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterPeerAttachmentRequest::getAutoPublishRouteEnabled() const { return autoPublishRouteEnabled_; } diff --git a/cbn/src/model/CreateTransitRouterRequest.cc b/cbn/src/model/CreateTransitRouterRequest.cc index 20ee9632d..663bec5a6 100644 --- a/cbn/src/model/CreateTransitRouterRequest.cc +++ b/cbn/src/model/CreateTransitRouterRequest.cc @@ -102,6 +102,20 @@ void CreateTransitRouterRequest::setRegionId(const std::string ®ionId) { setParameter(std::string("RegionId"), regionId); } +std::vector CreateTransitRouterRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterRequest::getDryRun() const { return dryRun_; } diff --git a/cbn/src/model/CreateTransitRouterRouteTableRequest.cc b/cbn/src/model/CreateTransitRouterRouteTableRequest.cc index ed2464536..b3ea84fa7 100644 --- a/cbn/src/model/CreateTransitRouterRouteTableRequest.cc +++ b/cbn/src/model/CreateTransitRouterRouteTableRequest.cc @@ -52,6 +52,20 @@ void CreateTransitRouterRouteTableRequest::setTransitRouterRouteTableDescription setParameter(std::string("TransitRouterRouteTableDescription"), transitRouterRouteTableDescription); } +std::vector CreateTransitRouterRouteTableRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterRouteTableRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterRouteTableRequest::getDryRun() const { return dryRun_; } diff --git a/cbn/src/model/CreateTransitRouterVbrAttachmentRequest.cc b/cbn/src/model/CreateTransitRouterVbrAttachmentRequest.cc index 4f51a2e03..46230151e 100644 --- a/cbn/src/model/CreateTransitRouterVbrAttachmentRequest.cc +++ b/cbn/src/model/CreateTransitRouterVbrAttachmentRequest.cc @@ -88,6 +88,20 @@ void CreateTransitRouterVbrAttachmentRequest::setRegionId(const std::string ® setParameter(std::string("RegionId"), regionId); } +std::vector CreateTransitRouterVbrAttachmentRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterVbrAttachmentRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterVbrAttachmentRequest::getAutoPublishRouteEnabled() const { return autoPublishRouteEnabled_; } diff --git a/cbn/src/model/CreateTransitRouterVpcAttachmentRequest.cc b/cbn/src/model/CreateTransitRouterVpcAttachmentRequest.cc index 8482eb578..9388b0673 100644 --- a/cbn/src/model/CreateTransitRouterVpcAttachmentRequest.cc +++ b/cbn/src/model/CreateTransitRouterVpcAttachmentRequest.cc @@ -97,6 +97,20 @@ void CreateTransitRouterVpcAttachmentRequest::setRegionId(const std::string ® setParameter(std::string("RegionId"), regionId); } +std::vector CreateTransitRouterVpcAttachmentRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterVpcAttachmentRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterVpcAttachmentRequest::getAutoCreateVpcRoute() const { return autoCreateVpcRoute_; } diff --git a/cbn/src/model/CreateTransitRouterVpnAttachmentRequest.cc b/cbn/src/model/CreateTransitRouterVpnAttachmentRequest.cc index 6484db544..6b65441ba 100644 --- a/cbn/src/model/CreateTransitRouterVpnAttachmentRequest.cc +++ b/cbn/src/model/CreateTransitRouterVpnAttachmentRequest.cc @@ -92,6 +92,20 @@ void CreateTransitRouterVpnAttachmentRequest::setZone(const std::vector CreateTransitRouterVpnAttachmentRequest::getTag() const { + return tag_; +} + +void CreateTransitRouterVpnAttachmentRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateTransitRouterVpnAttachmentRequest::getAutoPublishRouteEnabled() const { return autoPublishRouteEnabled_; } diff --git a/cbn/src/model/DescribeCenVpcFlowStatisticSwitchRequest.cc b/cbn/src/model/DescribeCenVpcFlowStatisticSwitchRequest.cc deleted file mode 100644 index b5f24cefa..000000000 --- a/cbn/src/model/DescribeCenVpcFlowStatisticSwitchRequest.cc +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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 - -using AlibabaCloud::Cbn::Model::DescribeCenVpcFlowStatisticSwitchRequest; - -DescribeCenVpcFlowStatisticSwitchRequest::DescribeCenVpcFlowStatisticSwitchRequest() - : RpcServiceRequest("cbn", "2017-09-12", "DescribeCenVpcFlowStatisticSwitch") { - setMethod(HttpRequest::Method::Post); -} - -DescribeCenVpcFlowStatisticSwitchRequest::~DescribeCenVpcFlowStatisticSwitchRequest() {} - -long DescribeCenVpcFlowStatisticSwitchRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DescribeCenVpcFlowStatisticSwitchRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DescribeCenVpcFlowStatisticSwitchRequest::getCenId() const { - return cenId_; -} - -void DescribeCenVpcFlowStatisticSwitchRequest::setCenId(const std::string &cenId) { - cenId_ = cenId; - setParameter(std::string("CenId"), cenId); -} - -std::string DescribeCenVpcFlowStatisticSwitchRequest::getRegionId() const { - return regionId_; -} - -void DescribeCenVpcFlowStatisticSwitchRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - -std::string DescribeCenVpcFlowStatisticSwitchRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DescribeCenVpcFlowStatisticSwitchRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DescribeCenVpcFlowStatisticSwitchRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DescribeCenVpcFlowStatisticSwitchRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long DescribeCenVpcFlowStatisticSwitchRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCenVpcFlowStatisticSwitchRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/cbn/src/model/DescribeCenVpcFlowStatisticSwitchResult.cc b/cbn/src/model/DescribeCenVpcFlowStatisticSwitchResult.cc deleted file mode 100644 index 6a2ebeb17..000000000 --- a/cbn/src/model/DescribeCenVpcFlowStatisticSwitchResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * 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 -#include - -using namespace AlibabaCloud::Cbn; -using namespace AlibabaCloud::Cbn::Model; - -DescribeCenVpcFlowStatisticSwitchResult::DescribeCenVpcFlowStatisticSwitchResult() : - ServiceResult() -{} - -DescribeCenVpcFlowStatisticSwitchResult::DescribeCenVpcFlowStatisticSwitchResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCenVpcFlowStatisticSwitchResult::~DescribeCenVpcFlowStatisticSwitchResult() -{} - -void DescribeCenVpcFlowStatisticSwitchResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["InvalidDate"].isNull()) - invalidDate_ = value["InvalidDate"].asString(); - if(!value["State"].isNull()) - state_ = value["State"].asString(); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["CenId"].isNull()) - cenId_ = value["CenId"].asString(); - -} - -std::string DescribeCenVpcFlowStatisticSwitchResult::getState()const -{ - return state_; -} - -std::string DescribeCenVpcFlowStatisticSwitchResult::getInvalidDate()const -{ - return invalidDate_; -} - -std::string DescribeCenVpcFlowStatisticSwitchResult::getCenId()const -{ - return cenId_; -} - -std::string DescribeCenVpcFlowStatisticSwitchResult::getRegionId()const -{ - return regionId_; -} - diff --git a/cbn/src/model/DescribeFlowlogsRequest.cc b/cbn/src/model/DescribeFlowlogsRequest.cc index 481380069..2f7dce90f 100644 --- a/cbn/src/model/DescribeFlowlogsRequest.cc +++ b/cbn/src/model/DescribeFlowlogsRequest.cc @@ -88,6 +88,20 @@ void DescribeFlowlogsRequest::setPageSize(int pageSize) { setParameter(std::string("PageSize"), std::to_string(pageSize)); } +std::vector DescribeFlowlogsRequest::getTag() const { + return tag_; +} + +void DescribeFlowlogsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string DescribeFlowlogsRequest::getProjectName() const { return projectName_; } diff --git a/cbn/src/model/DescribeFlowlogsResult.cc b/cbn/src/model/DescribeFlowlogsResult.cc index f36f0273c..a5c139320 100644 --- a/cbn/src/model/DescribeFlowlogsResult.cc +++ b/cbn/src/model/DescribeFlowlogsResult.cc @@ -67,6 +67,16 @@ void DescribeFlowlogsResult::parse(const std::string &payload) flowLogsObject.transitRouterAttachmentId = valueFlowLogsFlowLog["TransitRouterAttachmentId"].asString(); if(!valueFlowLogsFlowLog["Interval"].isNull()) flowLogsObject.interval = std::stol(valueFlowLogsFlowLog["Interval"].asString()); + auto allTagsNode = valueFlowLogsFlowLog["Tags"]["Tag"]; + for (auto valueFlowLogsFlowLogTagsTag : allTagsNode) + { + FlowLog::Tag tagsObject; + if(!valueFlowLogsFlowLogTagsTag["Key"].isNull()) + tagsObject.key = valueFlowLogsFlowLogTagsTag["Key"].asString(); + if(!valueFlowLogsFlowLogTagsTag["Value"].isNull()) + tagsObject.value = valueFlowLogsFlowLogTagsTag["Value"].asString(); + flowLogsObject.tags.push_back(tagsObject); + } flowLogs_.push_back(flowLogsObject); } if(!value["PageSize"].isNull()) diff --git a/cbn/src/model/DisableCenVpcFlowStatisticRequest.cc b/cbn/src/model/DisableCenVpcFlowStatisticRequest.cc deleted file mode 100644 index 0cae468ab..000000000 --- a/cbn/src/model/DisableCenVpcFlowStatisticRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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 - -using AlibabaCloud::Cbn::Model::DisableCenVpcFlowStatisticRequest; - -DisableCenVpcFlowStatisticRequest::DisableCenVpcFlowStatisticRequest() - : RpcServiceRequest("cbn", "2017-09-12", "DisableCenVpcFlowStatistic") { - setMethod(HttpRequest::Method::Post); -} - -DisableCenVpcFlowStatisticRequest::~DisableCenVpcFlowStatisticRequest() {} - -long DisableCenVpcFlowStatisticRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DisableCenVpcFlowStatisticRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DisableCenVpcFlowStatisticRequest::getClientToken() const { - return clientToken_; -} - -void DisableCenVpcFlowStatisticRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); -} - -std::string DisableCenVpcFlowStatisticRequest::getCenId() const { - return cenId_; -} - -void DisableCenVpcFlowStatisticRequest::setCenId(const std::string &cenId) { - cenId_ = cenId; - setParameter(std::string("CenId"), cenId); -} - -std::string DisableCenVpcFlowStatisticRequest::getRegionId() const { - return regionId_; -} - -void DisableCenVpcFlowStatisticRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - -std::string DisableCenVpcFlowStatisticRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DisableCenVpcFlowStatisticRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DisableCenVpcFlowStatisticRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DisableCenVpcFlowStatisticRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long DisableCenVpcFlowStatisticRequest::getOwnerId() const { - return ownerId_; -} - -void DisableCenVpcFlowStatisticRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/cbn/src/model/DisableCenVpcFlowStatisticResult.cc b/cbn/src/model/DisableCenVpcFlowStatisticResult.cc deleted file mode 100644 index 00ab943fa..000000000 --- a/cbn/src/model/DisableCenVpcFlowStatisticResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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 -#include - -using namespace AlibabaCloud::Cbn; -using namespace AlibabaCloud::Cbn::Model; - -DisableCenVpcFlowStatisticResult::DisableCenVpcFlowStatisticResult() : - ServiceResult() -{} - -DisableCenVpcFlowStatisticResult::DisableCenVpcFlowStatisticResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DisableCenVpcFlowStatisticResult::~DisableCenVpcFlowStatisticResult() -{} - -void DisableCenVpcFlowStatisticResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cbn/src/model/EnableCenVpcFlowStatisticRequest.cc b/cbn/src/model/EnableCenVpcFlowStatisticRequest.cc deleted file mode 100644 index df730965f..000000000 --- a/cbn/src/model/EnableCenVpcFlowStatisticRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * 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 - -using AlibabaCloud::Cbn::Model::EnableCenVpcFlowStatisticRequest; - -EnableCenVpcFlowStatisticRequest::EnableCenVpcFlowStatisticRequest() - : RpcServiceRequest("cbn", "2017-09-12", "EnableCenVpcFlowStatistic") { - setMethod(HttpRequest::Method::Post); -} - -EnableCenVpcFlowStatisticRequest::~EnableCenVpcFlowStatisticRequest() {} - -long EnableCenVpcFlowStatisticRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void EnableCenVpcFlowStatisticRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string EnableCenVpcFlowStatisticRequest::getClientToken() const { - return clientToken_; -} - -void EnableCenVpcFlowStatisticRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); -} - -std::string EnableCenVpcFlowStatisticRequest::getCenId() const { - return cenId_; -} - -void EnableCenVpcFlowStatisticRequest::setCenId(const std::string &cenId) { - cenId_ = cenId; - setParameter(std::string("CenId"), cenId); -} - -std::string EnableCenVpcFlowStatisticRequest::getRegionId() const { - return regionId_; -} - -void EnableCenVpcFlowStatisticRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - -std::string EnableCenVpcFlowStatisticRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void EnableCenVpcFlowStatisticRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string EnableCenVpcFlowStatisticRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void EnableCenVpcFlowStatisticRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -long EnableCenVpcFlowStatisticRequest::getOwnerId() const { - return ownerId_; -} - -void EnableCenVpcFlowStatisticRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -int EnableCenVpcFlowStatisticRequest::getDays() const { - return days_; -} - -void EnableCenVpcFlowStatisticRequest::setDays(int days) { - days_ = days; - setParameter(std::string("Days"), std::to_string(days)); -} - diff --git a/cbn/src/model/EnableCenVpcFlowStatisticResult.cc b/cbn/src/model/EnableCenVpcFlowStatisticResult.cc deleted file mode 100644 index 29f4ff5db..000000000 --- a/cbn/src/model/EnableCenVpcFlowStatisticResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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 -#include - -using namespace AlibabaCloud::Cbn; -using namespace AlibabaCloud::Cbn::Model; - -EnableCenVpcFlowStatisticResult::EnableCenVpcFlowStatisticResult() : - ServiceResult() -{} - -EnableCenVpcFlowStatisticResult::EnableCenVpcFlowStatisticResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -EnableCenVpcFlowStatisticResult::~EnableCenVpcFlowStatisticResult() -{} - -void EnableCenVpcFlowStatisticResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cbn/src/model/ListTagResourcesRequest.cc b/cbn/src/model/ListTagResourcesRequest.cc index 50dec2efb..8b10cccda 100644 --- a/cbn/src/model/ListTagResourcesRequest.cc +++ b/cbn/src/model/ListTagResourcesRequest.cc @@ -43,6 +43,15 @@ void ListTagResourcesRequest::setNextToken(const std::string &nextToken) { setParameter(std::string("NextToken"), nextToken); } +std::string ListTagResourcesRequest::getRegionId() const { + return regionId_; +} + +void ListTagResourcesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + int ListTagResourcesRequest::getPageSize() const { return pageSize_; } diff --git a/cbn/src/model/ListTransitRouterMulticastDomainsRequest.cc b/cbn/src/model/ListTransitRouterMulticastDomainsRequest.cc index f55637765..0a16466ff 100644 --- a/cbn/src/model/ListTransitRouterMulticastDomainsRequest.cc +++ b/cbn/src/model/ListTransitRouterMulticastDomainsRequest.cc @@ -79,6 +79,20 @@ void ListTransitRouterMulticastDomainsRequest::setNextToken(const std::string &n setParameter(std::string("NextToken"), nextToken); } +std::vector ListTransitRouterMulticastDomainsRequest::getTag() const { + return tag_; +} + +void ListTransitRouterMulticastDomainsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRouterMulticastDomainsRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRouterMulticastDomainsResult.cc b/cbn/src/model/ListTransitRouterMulticastDomainsResult.cc index 05c28c3bd..ef9163bb0 100644 --- a/cbn/src/model/ListTransitRouterMulticastDomainsResult.cc +++ b/cbn/src/model/ListTransitRouterMulticastDomainsResult.cc @@ -51,6 +51,16 @@ void ListTransitRouterMulticastDomainsResult::parse(const std::string &payload) transitRouterMulticastDomainsObject.transitRouterMulticastDomainDescription = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["TransitRouterMulticastDomainDescription"].asString(); if(!valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["Status"].isNull()) transitRouterMulticastDomainsObject.status = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["Status"].asString(); + auto allTagsNode = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["Tags"]["Tag"]; + for (auto valueTransitRouterMulticastDomainsTransitRouterMulticastDomainTagsTag : allTagsNode) + { + TransitRouterMulticastDomain::Tag tagsObject; + if(!valueTransitRouterMulticastDomainsTransitRouterMulticastDomainTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRouterMulticastDomainsTransitRouterMulticastDomainTagsTag["Key"].asString(); + if(!valueTransitRouterMulticastDomainsTransitRouterMulticastDomainTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRouterMulticastDomainsTransitRouterMulticastDomainTagsTag["Value"].asString(); + transitRouterMulticastDomainsObject.tags.push_back(tagsObject); + } transitRouterMulticastDomains_.push_back(transitRouterMulticastDomainsObject); } if(!value["TotalCount"].isNull()) diff --git a/cbn/src/model/ListTransitRouterPeerAttachmentsRequest.cc b/cbn/src/model/ListTransitRouterPeerAttachmentsRequest.cc index b1a713183..c036feee3 100644 --- a/cbn/src/model/ListTransitRouterPeerAttachmentsRequest.cc +++ b/cbn/src/model/ListTransitRouterPeerAttachmentsRequest.cc @@ -61,6 +61,20 @@ void ListTransitRouterPeerAttachmentsRequest::setNextToken(const std::string &ne setParameter(std::string("NextToken"), nextToken); } +std::vector ListTransitRouterPeerAttachmentsRequest::getTag() const { + return tag_; +} + +void ListTransitRouterPeerAttachmentsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRouterPeerAttachmentsRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRouterPeerAttachmentsResult.cc b/cbn/src/model/ListTransitRouterPeerAttachmentsResult.cc index e16c33bfc..4b679a578 100644 --- a/cbn/src/model/ListTransitRouterPeerAttachmentsResult.cc +++ b/cbn/src/model/ListTransitRouterPeerAttachmentsResult.cc @@ -77,6 +77,16 @@ void ListTransitRouterPeerAttachmentsResult::parse(const std::string &payload) transitRouterAttachmentsObject.autoPublishRouteEnabled = valueTransitRouterAttachmentsTransitRouterAttachment["AutoPublishRouteEnabled"].asString() == "true"; if(!valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].isNull()) transitRouterAttachmentsObject.transitRouterAttachmentName = valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].asString(); + auto allTagsNode = valueTransitRouterAttachmentsTransitRouterAttachment["Tags"]["Tag"]; + for (auto valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag : allTagsNode) + { + TransitRouterAttachment::Tag tagsObject; + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].asString(); + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].asString(); + transitRouterAttachmentsObject.tags.push_back(tagsObject); + } transitRouterAttachments_.push_back(transitRouterAttachmentsObject); } if(!value["NextToken"].isNull()) diff --git a/cbn/src/model/ListTransitRouterRouteTablesRequest.cc b/cbn/src/model/ListTransitRouterRouteTablesRequest.cc index 685b831d4..51004e272 100644 --- a/cbn/src/model/ListTransitRouterRouteTablesRequest.cc +++ b/cbn/src/model/ListTransitRouterRouteTablesRequest.cc @@ -77,6 +77,20 @@ void ListTransitRouterRouteTablesRequest::setNextToken(const std::string &nextTo setParameter(std::string("NextToken"), nextToken); } +std::vector ListTransitRouterRouteTablesRequest::getTag() const { + return tag_; +} + +void ListTransitRouterRouteTablesRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRouterRouteTablesRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRouterRouteTablesResult.cc b/cbn/src/model/ListTransitRouterRouteTablesResult.cc index a83fc3b49..c9ca4917a 100644 --- a/cbn/src/model/ListTransitRouterRouteTablesResult.cc +++ b/cbn/src/model/ListTransitRouterRouteTablesResult.cc @@ -55,6 +55,16 @@ void ListTransitRouterRouteTablesResult::parse(const std::string &payload) transitRouterRouteTablesObject.transitRouterRouteTableName = valueTransitRouterRouteTablesTransitRouterRouteTable["TransitRouterRouteTableName"].asString(); if(!valueTransitRouterRouteTablesTransitRouterRouteTable["TransitRouterRouteTableDescription"].isNull()) transitRouterRouteTablesObject.transitRouterRouteTableDescription = valueTransitRouterRouteTablesTransitRouterRouteTable["TransitRouterRouteTableDescription"].asString(); + auto allTagsNode = valueTransitRouterRouteTablesTransitRouterRouteTable["Tags"]["Tag"]; + for (auto valueTransitRouterRouteTablesTransitRouterRouteTableTagsTag : allTagsNode) + { + TransitRouterRouteTable::Tag tagsObject; + if(!valueTransitRouterRouteTablesTransitRouterRouteTableTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRouterRouteTablesTransitRouterRouteTableTagsTag["Key"].asString(); + if(!valueTransitRouterRouteTablesTransitRouterRouteTableTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRouterRouteTablesTransitRouterRouteTableTagsTag["Value"].asString(); + transitRouterRouteTablesObject.tags.push_back(tagsObject); + } transitRouterRouteTables_.push_back(transitRouterRouteTablesObject); } if(!value["NextToken"].isNull()) diff --git a/cbn/src/model/ListTransitRouterVbrAttachmentsRequest.cc b/cbn/src/model/ListTransitRouterVbrAttachmentsRequest.cc index 7afff42ab..fe1942779 100644 --- a/cbn/src/model/ListTransitRouterVbrAttachmentsRequest.cc +++ b/cbn/src/model/ListTransitRouterVbrAttachmentsRequest.cc @@ -61,6 +61,20 @@ void ListTransitRouterVbrAttachmentsRequest::setNextToken(const std::string &nex setParameter(std::string("NextToken"), nextToken); } +std::vector ListTransitRouterVbrAttachmentsRequest::getTag() const { + return tag_; +} + +void ListTransitRouterVbrAttachmentsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRouterVbrAttachmentsRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRouterVbrAttachmentsResult.cc b/cbn/src/model/ListTransitRouterVbrAttachmentsResult.cc index 2d8238b1a..8b81c3a88 100644 --- a/cbn/src/model/ListTransitRouterVbrAttachmentsResult.cc +++ b/cbn/src/model/ListTransitRouterVbrAttachmentsResult.cc @@ -65,6 +65,16 @@ void ListTransitRouterVbrAttachmentsResult::parse(const std::string &payload) transitRouterAttachmentsObject.vbrId = valueTransitRouterAttachmentsTransitRouterAttachment["VbrId"].asString(); if(!valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].isNull()) transitRouterAttachmentsObject.transitRouterAttachmentName = valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].asString(); + auto allTagsNode = valueTransitRouterAttachmentsTransitRouterAttachment["Tags"]["Tag"]; + for (auto valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag : allTagsNode) + { + TransitRouterAttachment::Tag tagsObject; + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].asString(); + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].asString(); + transitRouterAttachmentsObject.tags.push_back(tagsObject); + } transitRouterAttachments_.push_back(transitRouterAttachmentsObject); } if(!value["NextToken"].isNull()) diff --git a/cbn/src/model/ListTransitRouterVpcAttachmentsRequest.cc b/cbn/src/model/ListTransitRouterVpcAttachmentsRequest.cc index 4abefc9bc..01e23b162 100644 --- a/cbn/src/model/ListTransitRouterVpcAttachmentsRequest.cc +++ b/cbn/src/model/ListTransitRouterVpcAttachmentsRequest.cc @@ -61,6 +61,20 @@ void ListTransitRouterVpcAttachmentsRequest::setNextToken(const std::string &nex setParameter(std::string("NextToken"), nextToken); } +std::vector ListTransitRouterVpcAttachmentsRequest::getTag() const { + return tag_; +} + +void ListTransitRouterVpcAttachmentsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRouterVpcAttachmentsRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRouterVpcAttachmentsResult.cc b/cbn/src/model/ListTransitRouterVpcAttachmentsResult.cc index d251ab00c..2ea804455 100644 --- a/cbn/src/model/ListTransitRouterVpcAttachmentsResult.cc +++ b/cbn/src/model/ListTransitRouterVpcAttachmentsResult.cc @@ -81,6 +81,16 @@ void ListTransitRouterVpcAttachmentsResult::parse(const std::string &payload) zoneMappingsObject.networkInterfaceId = valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping["NetworkInterfaceId"].asString(); transitRouterAttachmentsObject.zoneMappings.push_back(zoneMappingsObject); } + auto allTagsNode = valueTransitRouterAttachmentsTransitRouterAttachment["Tags"]["Tag"]; + for (auto valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag : allTagsNode) + { + TransitRouterAttachment::Tag tagsObject; + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].asString(); + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].asString(); + transitRouterAttachmentsObject.tags.push_back(tagsObject); + } transitRouterAttachments_.push_back(transitRouterAttachmentsObject); } if(!value["NextToken"].isNull()) diff --git a/cbn/src/model/ListTransitRouterVpnAttachmentsRequest.cc b/cbn/src/model/ListTransitRouterVpnAttachmentsRequest.cc index 5e2aac157..d515ab752 100644 --- a/cbn/src/model/ListTransitRouterVpnAttachmentsRequest.cc +++ b/cbn/src/model/ListTransitRouterVpnAttachmentsRequest.cc @@ -61,6 +61,20 @@ void ListTransitRouterVpnAttachmentsRequest::setNextToken(const std::string &nex setParameter(std::string("NextToken"), nextToken); } +std::vector ListTransitRouterVpnAttachmentsRequest::getTag() const { + return tag_; +} + +void ListTransitRouterVpnAttachmentsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRouterVpnAttachmentsRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRouterVpnAttachmentsResult.cc b/cbn/src/model/ListTransitRouterVpnAttachmentsResult.cc index 26a96e52d..9e5b533f2 100644 --- a/cbn/src/model/ListTransitRouterVpnAttachmentsResult.cc +++ b/cbn/src/model/ListTransitRouterVpnAttachmentsResult.cc @@ -73,6 +73,16 @@ void ListTransitRouterVpnAttachmentsResult::parse(const std::string &payload) zonesObject.zoneId = valueTransitRouterAttachmentsTransitRouterAttachmentZonesZoneMapping["ZoneId"].asString(); transitRouterAttachmentsObject.zones.push_back(zonesObject); } + auto allTagsNode = valueTransitRouterAttachmentsTransitRouterAttachment["Tags"]["Tag"]; + for (auto valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag : allTagsNode) + { + TransitRouterAttachment::Tag tagsObject; + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Key"].asString(); + if(!valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRouterAttachmentsTransitRouterAttachmentTagsTag["Value"].asString(); + transitRouterAttachmentsObject.tags.push_back(tagsObject); + } transitRouterAttachments_.push_back(transitRouterAttachmentsObject); } if(!value["NextToken"].isNull()) diff --git a/cbn/src/model/ListTransitRoutersRequest.cc b/cbn/src/model/ListTransitRoutersRequest.cc index b4107ed18..943733bd8 100644 --- a/cbn/src/model/ListTransitRoutersRequest.cc +++ b/cbn/src/model/ListTransitRoutersRequest.cc @@ -78,6 +78,20 @@ void ListTransitRoutersRequest::setPageSize(int pageSize) { setParameter(std::string("PageSize"), std::to_string(pageSize)); } +std::vector ListTransitRoutersRequest::getTag() const { + return tag_; +} + +void ListTransitRoutersRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListTransitRoutersRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } diff --git a/cbn/src/model/ListTransitRoutersResult.cc b/cbn/src/model/ListTransitRoutersResult.cc index ba6e1e9cf..d1d4c4e22 100644 --- a/cbn/src/model/ListTransitRoutersResult.cc +++ b/cbn/src/model/ListTransitRoutersResult.cc @@ -81,6 +81,16 @@ void ListTransitRoutersResult::parse(const std::string &payload) transitRouterCidrListObject.publishCidrRoute = valueTransitRoutersTransitRouterTransitRouterCidrListTransitRouterCidrListItem["PublishCidrRoute"].asString() == "true"; transitRoutersObject.transitRouterCidrList.push_back(transitRouterCidrListObject); } + auto allTagsNode = valueTransitRoutersTransitRouter["Tags"]["Tag"]; + for (auto valueTransitRoutersTransitRouterTagsTag : allTagsNode) + { + TransitRouter::Tag tagsObject; + if(!valueTransitRoutersTransitRouterTagsTag["Key"].isNull()) + tagsObject.key = valueTransitRoutersTransitRouterTagsTag["Key"].asString(); + if(!valueTransitRoutersTransitRouterTagsTag["Value"].isNull()) + tagsObject.value = valueTransitRoutersTransitRouterTagsTag["Value"].asString(); + transitRoutersObject.tags.push_back(tagsObject); + } transitRouters_.push_back(transitRoutersObject); } if(!value["PageSize"].isNull()) diff --git a/cbn/src/model/TagResourcesRequest.cc b/cbn/src/model/TagResourcesRequest.cc index 468e2666f..92fe97cf6 100644 --- a/cbn/src/model/TagResourcesRequest.cc +++ b/cbn/src/model/TagResourcesRequest.cc @@ -34,6 +34,15 @@ void TagResourcesRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string TagResourcesRequest::getRegionId() const { + return regionId_; +} + +void TagResourcesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + std::vector TagResourcesRequest::getTag() const { return tag_; } diff --git a/cbn/src/model/UntagResourcesRequest.cc b/cbn/src/model/UntagResourcesRequest.cc index 58220c0b8..7ae9825c9 100644 --- a/cbn/src/model/UntagResourcesRequest.cc +++ b/cbn/src/model/UntagResourcesRequest.cc @@ -34,6 +34,15 @@ void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId) { setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } +std::string UntagResourcesRequest::getRegionId() const { + return regionId_; +} + +void UntagResourcesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + bool UntagResourcesRequest::getAll() const { return all_; }