diff --git a/VERSION b/VERSION index 9a41d0d44..26f3c9fba 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1714 \ No newline at end of file +1.36.1715 \ No newline at end of file diff --git a/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisRequest.h b/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisRequest.h index 1966f1149..312aa64e4 100644 --- a/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisRequest.h +++ b/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisRequest.h @@ -36,8 +36,12 @@ public: void setCenId(const std::string &cenId); int getPageNumber() const; void setPageNumber(int pageNumber); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); int getPageSize() const; void setPageSize(int pageSize); + std::string getNetworkInterfaceName() const; + void setNetworkInterfaceName(const std::string &networkInterfaceName); std::string getResourceOwnerAccount() const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount); std::string getOwnerAccount() const; @@ -50,18 +54,29 @@ public: void setVSwitchId(const std::string &vSwitchId); std::string getVpcId() const; void setVpcId(const std::string &vpcId); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::string getPrimaryIpAddress() const; + void setPrimaryIpAddress(const std::string &primaryIpAddress); + std::vector getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::vector &networkInterfaceId); private: long resourceOwnerId_; std::string cenId_; int pageNumber_; + std::string nextToken_; int pageSize_; + std::string networkInterfaceName_; std::string resourceOwnerAccount_; std::string ownerAccount_; long ownerId_; std::string version_; std::string vSwitchId_; std::string vpcId_; + long maxResults_; + std::string primaryIpAddress_; + std::vector networkInterfaceId_; }; } // namespace Model } // namespace Cbn diff --git a/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisResult.h b/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisResult.h index db724f32b..8b23e3a66 100644 --- a/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisResult.h +++ b/cbn/include/alibabacloud/cbn/model/ListGrantVSwitchEnisResult.h @@ -38,6 +38,8 @@ namespace AlibabaCloud bool transitRouterFlag; std::string vpcId; std::string vSwitchId; + std::string networkInterfaceName; + std::string primaryIpAddress; std::string networkInterfaceId; }; @@ -46,12 +48,16 @@ namespace AlibabaCloud explicit ListGrantVSwitchEnisResult(const std::string &payload); ~ListGrantVSwitchEnisResult(); std::string getTotalCount()const; + std::string getNextToken()const; + long getMaxResults()const; std::vector getGrantVSwitchEnis()const; protected: void parse(const std::string &payload); private: std::string totalCount_; + std::string nextToken_; + long maxResults_; std::vector grantVSwitchEnis_; }; diff --git a/cbn/src/model/ListGrantVSwitchEnisRequest.cc b/cbn/src/model/ListGrantVSwitchEnisRequest.cc index befb3a66e..29b415707 100644 --- a/cbn/src/model/ListGrantVSwitchEnisRequest.cc +++ b/cbn/src/model/ListGrantVSwitchEnisRequest.cc @@ -52,6 +52,15 @@ void ListGrantVSwitchEnisRequest::setPageNumber(int pageNumber) { setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } +std::string ListGrantVSwitchEnisRequest::getNextToken() const { + return nextToken_; +} + +void ListGrantVSwitchEnisRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + int ListGrantVSwitchEnisRequest::getPageSize() const { return pageSize_; } @@ -61,6 +70,15 @@ void ListGrantVSwitchEnisRequest::setPageSize(int pageSize) { setParameter(std::string("PageSize"), std::to_string(pageSize)); } +std::string ListGrantVSwitchEnisRequest::getNetworkInterfaceName() const { + return networkInterfaceName_; +} + +void ListGrantVSwitchEnisRequest::setNetworkInterfaceName(const std::string &networkInterfaceName) { + networkInterfaceName_ = networkInterfaceName; + setParameter(std::string("NetworkInterfaceName"), networkInterfaceName); +} + std::string ListGrantVSwitchEnisRequest::getResourceOwnerAccount() const { return resourceOwnerAccount_; } @@ -115,3 +133,32 @@ void ListGrantVSwitchEnisRequest::setVpcId(const std::string &vpcId) { setParameter(std::string("VpcId"), vpcId); } +long ListGrantVSwitchEnisRequest::getMaxResults() const { + return maxResults_; +} + +void ListGrantVSwitchEnisRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::string ListGrantVSwitchEnisRequest::getPrimaryIpAddress() const { + return primaryIpAddress_; +} + +void ListGrantVSwitchEnisRequest::setPrimaryIpAddress(const std::string &primaryIpAddress) { + primaryIpAddress_ = primaryIpAddress; + setParameter(std::string("PrimaryIpAddress"), primaryIpAddress); +} + +std::vector ListGrantVSwitchEnisRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void ListGrantVSwitchEnisRequest::setNetworkInterfaceId(const std::vector &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + for(int dep1 = 0; dep1 != networkInterfaceId.size(); dep1++) { + setParameter(std::string("NetworkInterfaceId") + "." + std::to_string(dep1 + 1), networkInterfaceId[dep1]); + } +} + diff --git a/cbn/src/model/ListGrantVSwitchEnisResult.cc b/cbn/src/model/ListGrantVSwitchEnisResult.cc index 3f2734d08..7fa94f9d4 100644 --- a/cbn/src/model/ListGrantVSwitchEnisResult.cc +++ b/cbn/src/model/ListGrantVSwitchEnisResult.cc @@ -53,10 +53,18 @@ void ListGrantVSwitchEnisResult::parse(const std::string &payload) grantVSwitchEnisObject.description = valueGrantVSwitchEnisGrantVSwitchEni["Description"].asString(); if(!valueGrantVSwitchEnisGrantVSwitchEni["TransitRouterFlag"].isNull()) grantVSwitchEnisObject.transitRouterFlag = valueGrantVSwitchEnisGrantVSwitchEni["TransitRouterFlag"].asString() == "true"; + if(!valueGrantVSwitchEnisGrantVSwitchEni["NetworkInterfaceName"].isNull()) + grantVSwitchEnisObject.networkInterfaceName = valueGrantVSwitchEnisGrantVSwitchEni["NetworkInterfaceName"].asString(); + if(!valueGrantVSwitchEnisGrantVSwitchEni["PrimaryIpAddress"].isNull()) + grantVSwitchEnisObject.primaryIpAddress = valueGrantVSwitchEnisGrantVSwitchEni["PrimaryIpAddress"].asString(); grantVSwitchEnis_.push_back(grantVSwitchEnisObject); } if(!value["TotalCount"].isNull()) totalCount_ = value["TotalCount"].asString(); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = std::stol(value["MaxResults"].asString()); } @@ -65,6 +73,16 @@ std::string ListGrantVSwitchEnisResult::getTotalCount()const return totalCount_; } +std::string ListGrantVSwitchEnisResult::getNextToken()const +{ + return nextToken_; +} + +long ListGrantVSwitchEnisResult::getMaxResults()const +{ + return maxResults_; +} + std::vector ListGrantVSwitchEnisResult::getGrantVSwitchEnis()const { return grantVSwitchEnis_;