Skip to content

Commit fb51327

Browse files
committed
Supported DescribeImageSharePermission.
1 parent ec9cd15 commit fb51327

File tree

87 files changed

+1542
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1542
-94
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2048
1+
1.36.2049

ens/CMakeLists.txt

+12
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ set(ens_public_header_model
381381
include/alibabacloud/ens/model/DescribeStorageVolumeResult.h
382382
include/alibabacloud/ens/model/DescribeUserBandWidthDataRequest.h
383383
include/alibabacloud/ens/model/DescribeUserBandWidthDataResult.h
384+
include/alibabacloud/ens/model/DescribeVSwitchAttributesRequest.h
385+
include/alibabacloud/ens/model/DescribeVSwitchAttributesResult.h
384386
include/alibabacloud/ens/model/DescribeVSwitchesRequest.h
385387
include/alibabacloud/ens/model/DescribeVSwitchesResult.h
386388
include/alibabacloud/ens/model/DetachDiskRequest.h
@@ -425,10 +427,14 @@ set(ens_public_header_model
425427
include/alibabacloud/ens/model/ListBucketsResult.h
426428
include/alibabacloud/ens/model/ListObjectsRequest.h
427429
include/alibabacloud/ens/model/ListObjectsResult.h
430+
include/alibabacloud/ens/model/ListProductAbilitiesRequest.h
431+
include/alibabacloud/ens/model/ListProductAbilitiesResult.h
428432
include/alibabacloud/ens/model/ListTagResourcesRequest.h
429433
include/alibabacloud/ens/model/ListTagResourcesResult.h
430434
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeRequest.h
431435
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeResult.h
436+
include/alibabacloud/ens/model/ModifyEnsRouteEntryRequest.h
437+
include/alibabacloud/ens/model/ModifyEnsRouteEntryResult.h
432438
include/alibabacloud/ens/model/ModifyEpnInstanceRequest.h
433439
include/alibabacloud/ens/model/ModifyEpnInstanceResult.h
434440
include/alibabacloud/ens/model/ModifyFileSystemRequest.h
@@ -962,6 +968,8 @@ set(ens_src
962968
src/model/DescribeStorageVolumeResult.cc
963969
src/model/DescribeUserBandWidthDataRequest.cc
964970
src/model/DescribeUserBandWidthDataResult.cc
971+
src/model/DescribeVSwitchAttributesRequest.cc
972+
src/model/DescribeVSwitchAttributesResult.cc
965973
src/model/DescribeVSwitchesRequest.cc
966974
src/model/DescribeVSwitchesResult.cc
967975
src/model/DetachDiskRequest.cc
@@ -1006,10 +1014,14 @@ set(ens_src
10061014
src/model/ListBucketsResult.cc
10071015
src/model/ListObjectsRequest.cc
10081016
src/model/ListObjectsResult.cc
1017+
src/model/ListProductAbilitiesRequest.cc
1018+
src/model/ListProductAbilitiesResult.cc
10091019
src/model/ListTagResourcesRequest.cc
10101020
src/model/ListTagResourcesResult.cc
10111021
src/model/ModifyEnsEipAddressAttributeRequest.cc
10121022
src/model/ModifyEnsEipAddressAttributeResult.cc
1023+
src/model/ModifyEnsRouteEntryRequest.cc
1024+
src/model/ModifyEnsRouteEntryResult.cc
10131025
src/model/ModifyEpnInstanceRequest.cc
10141026
src/model/ModifyEpnInstanceResult.cc
10151027
src/model/ModifyFileSystemRequest.cc

ens/include/alibabacloud/ens/EnsClient.h

+24
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@
382382
#include "model/DescribeStorageVolumeResult.h"
383383
#include "model/DescribeUserBandWidthDataRequest.h"
384384
#include "model/DescribeUserBandWidthDataResult.h"
385+
#include "model/DescribeVSwitchAttributesRequest.h"
386+
#include "model/DescribeVSwitchAttributesResult.h"
385387
#include "model/DescribeVSwitchesRequest.h"
386388
#include "model/DescribeVSwitchesResult.h"
387389
#include "model/DetachDiskRequest.h"
@@ -426,10 +428,14 @@
426428
#include "model/ListBucketsResult.h"
427429
#include "model/ListObjectsRequest.h"
428430
#include "model/ListObjectsResult.h"
431+
#include "model/ListProductAbilitiesRequest.h"
432+
#include "model/ListProductAbilitiesResult.h"
429433
#include "model/ListTagResourcesRequest.h"
430434
#include "model/ListTagResourcesResult.h"
431435
#include "model/ModifyEnsEipAddressAttributeRequest.h"
432436
#include "model/ModifyEnsEipAddressAttributeResult.h"
437+
#include "model/ModifyEnsRouteEntryRequest.h"
438+
#include "model/ModifyEnsRouteEntryResult.h"
433439
#include "model/ModifyEpnInstanceRequest.h"
434440
#include "model/ModifyEpnInstanceResult.h"
435441
#include "model/ModifyFileSystemRequest.h"
@@ -1149,6 +1155,9 @@ namespace AlibabaCloud
11491155
typedef Outcome<Error, Model::DescribeUserBandWidthDataResult> DescribeUserBandWidthDataOutcome;
11501156
typedef std::future<DescribeUserBandWidthDataOutcome> DescribeUserBandWidthDataOutcomeCallable;
11511157
typedef std::function<void(const EnsClient*, const Model::DescribeUserBandWidthDataRequest&, const DescribeUserBandWidthDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserBandWidthDataAsyncHandler;
1158+
typedef Outcome<Error, Model::DescribeVSwitchAttributesResult> DescribeVSwitchAttributesOutcome;
1159+
typedef std::future<DescribeVSwitchAttributesOutcome> DescribeVSwitchAttributesOutcomeCallable;
1160+
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchAttributesRequest&, const DescribeVSwitchAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchAttributesAsyncHandler;
11521161
typedef Outcome<Error, Model::DescribeVSwitchesResult> DescribeVSwitchesOutcome;
11531162
typedef std::future<DescribeVSwitchesOutcome> DescribeVSwitchesOutcomeCallable;
11541163
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchesRequest&, const DescribeVSwitchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchesAsyncHandler;
@@ -1215,12 +1224,18 @@ namespace AlibabaCloud
12151224
typedef Outcome<Error, Model::ListObjectsResult> ListObjectsOutcome;
12161225
typedef std::future<ListObjectsOutcome> ListObjectsOutcomeCallable;
12171226
typedef std::function<void(const EnsClient*, const Model::ListObjectsRequest&, const ListObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListObjectsAsyncHandler;
1227+
typedef Outcome<Error, Model::ListProductAbilitiesResult> ListProductAbilitiesOutcome;
1228+
typedef std::future<ListProductAbilitiesOutcome> ListProductAbilitiesOutcomeCallable;
1229+
typedef std::function<void(const EnsClient*, const Model::ListProductAbilitiesRequest&, const ListProductAbilitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProductAbilitiesAsyncHandler;
12181230
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
12191231
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
12201232
typedef std::function<void(const EnsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
12211233
typedef Outcome<Error, Model::ModifyEnsEipAddressAttributeResult> ModifyEnsEipAddressAttributeOutcome;
12221234
typedef std::future<ModifyEnsEipAddressAttributeOutcome> ModifyEnsEipAddressAttributeOutcomeCallable;
12231235
typedef std::function<void(const EnsClient*, const Model::ModifyEnsEipAddressAttributeRequest&, const ModifyEnsEipAddressAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsEipAddressAttributeAsyncHandler;
1236+
typedef Outcome<Error, Model::ModifyEnsRouteEntryResult> ModifyEnsRouteEntryOutcome;
1237+
typedef std::future<ModifyEnsRouteEntryOutcome> ModifyEnsRouteEntryOutcomeCallable;
1238+
typedef std::function<void(const EnsClient*, const Model::ModifyEnsRouteEntryRequest&, const ModifyEnsRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsRouteEntryAsyncHandler;
12241239
typedef Outcome<Error, Model::ModifyEpnInstanceResult> ModifyEpnInstanceOutcome;
12251240
typedef std::future<ModifyEpnInstanceOutcome> ModifyEpnInstanceOutcomeCallable;
12261241
typedef std::function<void(const EnsClient*, const Model::ModifyEpnInstanceRequest&, const ModifyEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEpnInstanceAsyncHandler;
@@ -2021,6 +2036,9 @@ namespace AlibabaCloud
20212036
DescribeUserBandWidthDataOutcome describeUserBandWidthData(const Model::DescribeUserBandWidthDataRequest &request)const;
20222037
void describeUserBandWidthDataAsync(const Model::DescribeUserBandWidthDataRequest& request, const DescribeUserBandWidthDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
20232038
DescribeUserBandWidthDataOutcomeCallable describeUserBandWidthDataCallable(const Model::DescribeUserBandWidthDataRequest& request) const;
2039+
DescribeVSwitchAttributesOutcome describeVSwitchAttributes(const Model::DescribeVSwitchAttributesRequest &request)const;
2040+
void describeVSwitchAttributesAsync(const Model::DescribeVSwitchAttributesRequest& request, const DescribeVSwitchAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
2041+
DescribeVSwitchAttributesOutcomeCallable describeVSwitchAttributesCallable(const Model::DescribeVSwitchAttributesRequest& request) const;
20242042
DescribeVSwitchesOutcome describeVSwitches(const Model::DescribeVSwitchesRequest &request)const;
20252043
void describeVSwitchesAsync(const Model::DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
20262044
DescribeVSwitchesOutcomeCallable describeVSwitchesCallable(const Model::DescribeVSwitchesRequest& request) const;
@@ -2087,12 +2105,18 @@ namespace AlibabaCloud
20872105
ListObjectsOutcome listObjects(const Model::ListObjectsRequest &request)const;
20882106
void listObjectsAsync(const Model::ListObjectsRequest& request, const ListObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
20892107
ListObjectsOutcomeCallable listObjectsCallable(const Model::ListObjectsRequest& request) const;
2108+
ListProductAbilitiesOutcome listProductAbilities(const Model::ListProductAbilitiesRequest &request)const;
2109+
void listProductAbilitiesAsync(const Model::ListProductAbilitiesRequest& request, const ListProductAbilitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
2110+
ListProductAbilitiesOutcomeCallable listProductAbilitiesCallable(const Model::ListProductAbilitiesRequest& request) const;
20902111
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
20912112
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
20922113
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
20932114
ModifyEnsEipAddressAttributeOutcome modifyEnsEipAddressAttribute(const Model::ModifyEnsEipAddressAttributeRequest &request)const;
20942115
void modifyEnsEipAddressAttributeAsync(const Model::ModifyEnsEipAddressAttributeRequest& request, const ModifyEnsEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
20952116
ModifyEnsEipAddressAttributeOutcomeCallable modifyEnsEipAddressAttributeCallable(const Model::ModifyEnsEipAddressAttributeRequest& request) const;
2117+
ModifyEnsRouteEntryOutcome modifyEnsRouteEntry(const Model::ModifyEnsRouteEntryRequest &request)const;
2118+
void modifyEnsRouteEntryAsync(const Model::ModifyEnsRouteEntryRequest& request, const ModifyEnsRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
2119+
ModifyEnsRouteEntryOutcomeCallable modifyEnsRouteEntryCallable(const Model::ModifyEnsRouteEntryRequest& request) const;
20962120
ModifyEpnInstanceOutcome modifyEpnInstance(const Model::ModifyEpnInstanceRequest &request)const;
20972121
void modifyEpnInstanceAsync(const Model::ModifyEpnInstanceRequest& request, const ModifyEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
20982122
ModifyEpnInstanceOutcomeCallable modifyEpnInstanceCallable(const Model::ModifyEpnInstanceRequest& request) const;

ens/include/alibabacloud/ens/model/CreateEipInstanceRequest.h

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class ALIBABACLOUD_ENS_EXPORT CreateEipInstanceRequest : public RpcServiceReques
4444
void setInternetChargeType(const std::string &internetChargeType);
4545
std::string getName() const;
4646
void setName(const std::string &name);
47+
std::string getClientToken() const;
48+
void setClientToken(const std::string &clientToken);
4749
std::string getDescription() const;
4850
void setDescription(const std::string &description);
4951
std::string getInstanceChargeType() const;
@@ -57,6 +59,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateEipInstanceRequest : public RpcServiceReques
5759
std::vector<Tag> tag_;
5860
std::string internetChargeType_;
5961
std::string name_;
62+
std::string clientToken_;
6063
std::string description_;
6164
std::string instanceChargeType_;
6265
long bandwidth_;

ens/include/alibabacloud/ens/model/CreateEnsRouteEntryRequest.h

+6-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ class ALIBABACLOUD_ENS_EXPORT CreateEnsRouteEntryRequest : public RpcServiceRequ
3232
~CreateEnsRouteEntryRequest();
3333
std::string getRouteEntryName() const;
3434
void setRouteEntryName(const std::string &routeEntryName);
35-
std::string getDescription() const;
36-
void setDescription(const std::string &description);
3735
std::string getNextHopId() const;
3836
void setNextHopId(const std::string &nextHopId);
3937
std::string getNextHopType() const;
@@ -42,14 +40,19 @@ class ALIBABACLOUD_ENS_EXPORT CreateEnsRouteEntryRequest : public RpcServiceRequ
4240
void setRouteTableId(const std::string &routeTableId);
4341
std::string getDestinationCidrBlock() const;
4442
void setDestinationCidrBlock(const std::string &destinationCidrBlock);
43+
std::string getDescription() const;
44+
void setDescription(const std::string &description);
45+
std::string getSourceCidrBlock() const;
46+
void setSourceCidrBlock(const std::string &sourceCidrBlock);
4547

4648
private:
4749
std::string routeEntryName_;
48-
std::string description_;
4950
std::string nextHopId_;
5051
std::string nextHopType_;
5152
std::string routeTableId_;
5253
std::string destinationCidrBlock_;
54+
std::string description_;
55+
std::string sourceCidrBlock_;
5356
};
5457
} // namespace Model
5558
} // namespace Ens

ens/include/alibabacloud/ens/model/CreateImageRequest.h

+3
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ class ALIBABACLOUD_ENS_EXPORT CreateImageRequest : public RpcServiceRequest {
3636
void setDeleteAfterImageUpload(const std::string &deleteAfterImageUpload);
3737
std::string getImageName() const;
3838
void setImageName(const std::string &imageName);
39+
std::string getTargetOSSRegionId() const;
40+
void setTargetOSSRegionId(const std::string &targetOSSRegionId);
3941
std::string getInstanceId() const;
4042
void setInstanceId(const std::string &instanceId);
4143

4244
private:
4345
std::string snapshotId_;
4446
std::string deleteAfterImageUpload_;
4547
std::string imageName_;
48+
std::string targetOSSRegionId_;
4649
std::string instanceId_;
4750
};
4851
} // namespace Model

ens/include/alibabacloud/ens/model/CreateLoadBalancerRequest.h

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class ALIBABACLOUD_ENS_EXPORT CreateLoadBalancerRequest : public RpcServiceReque
4040
void setVSwitchId(const std::string &vSwitchId);
4141
std::string getNetworkId() const;
4242
void setNetworkId(const std::string &networkId);
43+
std::string getClientToken() const;
44+
void setClientToken(const std::string &clientToken);
4345
std::string getPayType() const;
4446
void setPayType(const std::string &payType);
4547

@@ -49,6 +51,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateLoadBalancerRequest : public RpcServiceReque
4951
std::string loadBalancerSpec_;
5052
std::string vSwitchId_;
5153
std::string networkId_;
54+
std::string clientToken_;
5255
std::string payType_;
5356
};
5457
} // namespace Model

ens/include/alibabacloud/ens/model/CreateSecurityGroupRequest.h

+14
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,30 @@ namespace Ens {
2828
namespace Model {
2929
class ALIBABACLOUD_ENS_EXPORT CreateSecurityGroupRequest : public RpcServiceRequest {
3030
public:
31+
struct Permissions {
32+
std::string sourcePortRange;
33+
std::string portRange;
34+
std::string ipProtocol;
35+
std::string sourceCidrIp;
36+
std::string description;
37+
int priority;
38+
std::string destCidrIp;
39+
std::string direction;
40+
std::string policy;
41+
};
3142
CreateSecurityGroupRequest();
3243
~CreateSecurityGroupRequest();
3344
std::string getDescription() const;
3445
void setDescription(const std::string &description);
3546
std::string getSecurityGroupName() const;
3647
void setSecurityGroupName(const std::string &securityGroupName);
48+
std::vector<Permissions> getPermissions() const;
49+
void setPermissions(const std::vector<Permissions> &permissions);
3750

3851
private:
3952
std::string description_;
4053
std::string securityGroupName_;
54+
std::vector<Permissions> permissions_;
4155
};
4256
} // namespace Model
4357
} // namespace Ens

ens/include/alibabacloud/ens/model/CreateSnatEntryRequest.h

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class ALIBABACLOUD_ENS_EXPORT CreateSnatEntryRequest : public RpcServiceRequest
3838
void setDestCIDR(const std::string &destCIDR);
3939
std::string getSourceVSwitchId() const;
4040
void setSourceVSwitchId(const std::string &sourceVSwitchId);
41+
bool getEipAffinity() const;
42+
void setEipAffinity(bool eipAffinity);
4143
std::string getSourceNetworkId() const;
4244
void setSourceNetworkId(const std::string &sourceNetworkId);
4345
std::string getStandbySnatIp() const;
@@ -58,6 +60,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateSnatEntryRequest : public RpcServiceRequest
5860
std::string type_;
5961
std::string destCIDR_;
6062
std::string sourceVSwitchId_;
63+
bool eipAffinity_;
6164
std::string sourceNetworkId_;
6265
std::string standbySnatIp_;
6366
std::string sourceCIDR_;

ens/include/alibabacloud/ens/model/DeleteNatGatewayRequest.h

+3
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ class ALIBABACLOUD_ENS_EXPORT DeleteNatGatewayRequest : public RpcServiceRequest
3030
public:
3131
DeleteNatGatewayRequest();
3232
~DeleteNatGatewayRequest();
33+
bool getForceDelete() const;
34+
void setForceDelete(bool forceDelete);
3335
std::string getNatGatewayId() const;
3436
void setNatGatewayId(const std::string &natGatewayId);
3537

3638
private:
39+
bool forceDelete_;
3740
std::string natGatewayId_;
3841
};
3942
} // namespace Model

ens/include/alibabacloud/ens/model/DescribeCloudDiskAvailableResourceInfoResult.h

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace AlibabaCloud
3434
public:
3535
struct SupportResource
3636
{
37+
std::vector<std::string> ability;
3738
long canBuyCount;
3839
std::string category;
3940
std::string ensRegionName;

ens/include/alibabacloud/ens/model/DescribeElbAvailableResourceInfoResult.h

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace AlibabaCloud
3434
public:
3535
struct ElbAvailableResourceInfoItem
3636
{
37+
std::vector<std::string> ability;
3738
std::string area;
3839
std::string canBuyCount;
3940
std::string enName;

ens/include/alibabacloud/ens/model/DescribeEnsRouteEntryListResult.h

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ namespace AlibabaCloud
3838
{
3939
std::string nextHopType;
4040
std::string nextHopId;
41+
std::string nextHopName;
4142
};
4243
std::string status;
4344
std::string routeEntryId;
@@ -46,6 +47,8 @@ namespace AlibabaCloud
4647
std::string routeTableId;
4748
std::vector<RouteEntry::NextHop> nextHops;
4849
std::string routeEntryName;
50+
std::string creationTime;
51+
std::string sourceCidrBlock;
4952
std::string destinationCidrBlock;
5053
};
5154

ens/include/alibabacloud/ens/model/DescribeEnsRouteTablesRequest.h

+18-6
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,35 @@ class ALIBABACLOUD_ENS_EXPORT DescribeEnsRouteTablesRequest : public RpcServiceR
3030
public:
3131
DescribeEnsRouteTablesRequest();
3232
~DescribeEnsRouteTablesRequest();
33-
int getPageNumber() const;
34-
void setPageNumber(int pageNumber);
35-
int getPageSize() const;
36-
void setPageSize(int pageSize);
33+
std::string getType() const;
34+
void setType(const std::string &type);
35+
std::string getAssociateType() const;
36+
void setAssociateType(const std::string &associateType);
3737
std::string getEnsRegionId() const;
3838
void setEnsRegionId(const std::string &ensRegionId);
3939
std::string getRouteTableId() const;
4040
void setRouteTableId(const std::string &routeTableId);
4141
std::string getNetworkId() const;
4242
void setNetworkId(const std::string &networkId);
43+
int getPageNumber() const;
44+
void setPageNumber(int pageNumber);
45+
std::string getRouteTableName() const;
46+
void setRouteTableName(const std::string &routeTableName);
47+
int getPageSize() const;
48+
void setPageSize(int pageSize);
49+
std::vector<std::string> getEnsRegionIds() const;
50+
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
4351

4452
private:
45-
int pageNumber_;
46-
int pageSize_;
53+
std::string type_;
54+
std::string associateType_;
4755
std::string ensRegionId_;
4856
std::string routeTableId_;
4957
std::string networkId_;
58+
int pageNumber_;
59+
std::string routeTableName_;
60+
int pageSize_;
61+
std::vector<std::string> ensRegionIds_;
5062
};
5163
} // namespace Model
5264
} // namespace Ens

ens/include/alibabacloud/ens/model/DescribeEnsRouteTablesResult.h

+12-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,23 @@ namespace AlibabaCloud
3434
public:
3535
struct RouteTable
3636
{
37+
struct AssociatedResource
38+
{
39+
std::string resourceId;
40+
std::string resourceName;
41+
std::string resourceType;
42+
};
3743
std::string status;
38-
std::string type;
3944
std::string networkName;
4045
std::string routeTableId;
46+
std::string description;
4147
std::vector<std::string> vSwitchIds;
42-
std::string creationTime;
48+
std::vector<RouteTable::AssociatedResource> associatedResources;
49+
std::string associateType;
4350
std::string networkId;
51+
std::string type;
52+
std::string creationTime;
53+
bool isDefaultGatewayRouteTable;
4454
std::string ensRegionId;
4555
std::string routeTableName;
4656
};

ens/include/alibabacloud/ens/model/DescribeImageInfosResult.h

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ namespace AlibabaCloud
4848
std::string oSType;
4949
std::string imageId;
5050
std::string oSName;
51+
std::string regionId;
5152
std::string computeType;
5253
};
5354

0 commit comments

Comments
 (0)