Supported DescribeImageSharePermission.
This commit is contained in:
@@ -381,6 +381,8 @@ set(ens_public_header_model
|
|||||||
include/alibabacloud/ens/model/DescribeStorageVolumeResult.h
|
include/alibabacloud/ens/model/DescribeStorageVolumeResult.h
|
||||||
include/alibabacloud/ens/model/DescribeUserBandWidthDataRequest.h
|
include/alibabacloud/ens/model/DescribeUserBandWidthDataRequest.h
|
||||||
include/alibabacloud/ens/model/DescribeUserBandWidthDataResult.h
|
include/alibabacloud/ens/model/DescribeUserBandWidthDataResult.h
|
||||||
|
include/alibabacloud/ens/model/DescribeVSwitchAttributesRequest.h
|
||||||
|
include/alibabacloud/ens/model/DescribeVSwitchAttributesResult.h
|
||||||
include/alibabacloud/ens/model/DescribeVSwitchesRequest.h
|
include/alibabacloud/ens/model/DescribeVSwitchesRequest.h
|
||||||
include/alibabacloud/ens/model/DescribeVSwitchesResult.h
|
include/alibabacloud/ens/model/DescribeVSwitchesResult.h
|
||||||
include/alibabacloud/ens/model/DetachDiskRequest.h
|
include/alibabacloud/ens/model/DetachDiskRequest.h
|
||||||
@@ -425,10 +427,14 @@ set(ens_public_header_model
|
|||||||
include/alibabacloud/ens/model/ListBucketsResult.h
|
include/alibabacloud/ens/model/ListBucketsResult.h
|
||||||
include/alibabacloud/ens/model/ListObjectsRequest.h
|
include/alibabacloud/ens/model/ListObjectsRequest.h
|
||||||
include/alibabacloud/ens/model/ListObjectsResult.h
|
include/alibabacloud/ens/model/ListObjectsResult.h
|
||||||
|
include/alibabacloud/ens/model/ListProductAbilitiesRequest.h
|
||||||
|
include/alibabacloud/ens/model/ListProductAbilitiesResult.h
|
||||||
include/alibabacloud/ens/model/ListTagResourcesRequest.h
|
include/alibabacloud/ens/model/ListTagResourcesRequest.h
|
||||||
include/alibabacloud/ens/model/ListTagResourcesResult.h
|
include/alibabacloud/ens/model/ListTagResourcesResult.h
|
||||||
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeRequest.h
|
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeRequest.h
|
||||||
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeResult.h
|
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeResult.h
|
||||||
|
include/alibabacloud/ens/model/ModifyEnsRouteEntryRequest.h
|
||||||
|
include/alibabacloud/ens/model/ModifyEnsRouteEntryResult.h
|
||||||
include/alibabacloud/ens/model/ModifyEpnInstanceRequest.h
|
include/alibabacloud/ens/model/ModifyEpnInstanceRequest.h
|
||||||
include/alibabacloud/ens/model/ModifyEpnInstanceResult.h
|
include/alibabacloud/ens/model/ModifyEpnInstanceResult.h
|
||||||
include/alibabacloud/ens/model/ModifyFileSystemRequest.h
|
include/alibabacloud/ens/model/ModifyFileSystemRequest.h
|
||||||
@@ -962,6 +968,8 @@ set(ens_src
|
|||||||
src/model/DescribeStorageVolumeResult.cc
|
src/model/DescribeStorageVolumeResult.cc
|
||||||
src/model/DescribeUserBandWidthDataRequest.cc
|
src/model/DescribeUserBandWidthDataRequest.cc
|
||||||
src/model/DescribeUserBandWidthDataResult.cc
|
src/model/DescribeUserBandWidthDataResult.cc
|
||||||
|
src/model/DescribeVSwitchAttributesRequest.cc
|
||||||
|
src/model/DescribeVSwitchAttributesResult.cc
|
||||||
src/model/DescribeVSwitchesRequest.cc
|
src/model/DescribeVSwitchesRequest.cc
|
||||||
src/model/DescribeVSwitchesResult.cc
|
src/model/DescribeVSwitchesResult.cc
|
||||||
src/model/DetachDiskRequest.cc
|
src/model/DetachDiskRequest.cc
|
||||||
@@ -1006,10 +1014,14 @@ set(ens_src
|
|||||||
src/model/ListBucketsResult.cc
|
src/model/ListBucketsResult.cc
|
||||||
src/model/ListObjectsRequest.cc
|
src/model/ListObjectsRequest.cc
|
||||||
src/model/ListObjectsResult.cc
|
src/model/ListObjectsResult.cc
|
||||||
|
src/model/ListProductAbilitiesRequest.cc
|
||||||
|
src/model/ListProductAbilitiesResult.cc
|
||||||
src/model/ListTagResourcesRequest.cc
|
src/model/ListTagResourcesRequest.cc
|
||||||
src/model/ListTagResourcesResult.cc
|
src/model/ListTagResourcesResult.cc
|
||||||
src/model/ModifyEnsEipAddressAttributeRequest.cc
|
src/model/ModifyEnsEipAddressAttributeRequest.cc
|
||||||
src/model/ModifyEnsEipAddressAttributeResult.cc
|
src/model/ModifyEnsEipAddressAttributeResult.cc
|
||||||
|
src/model/ModifyEnsRouteEntryRequest.cc
|
||||||
|
src/model/ModifyEnsRouteEntryResult.cc
|
||||||
src/model/ModifyEpnInstanceRequest.cc
|
src/model/ModifyEpnInstanceRequest.cc
|
||||||
src/model/ModifyEpnInstanceResult.cc
|
src/model/ModifyEpnInstanceResult.cc
|
||||||
src/model/ModifyFileSystemRequest.cc
|
src/model/ModifyFileSystemRequest.cc
|
||||||
|
|||||||
@@ -382,6 +382,8 @@
|
|||||||
#include "model/DescribeStorageVolumeResult.h"
|
#include "model/DescribeStorageVolumeResult.h"
|
||||||
#include "model/DescribeUserBandWidthDataRequest.h"
|
#include "model/DescribeUserBandWidthDataRequest.h"
|
||||||
#include "model/DescribeUserBandWidthDataResult.h"
|
#include "model/DescribeUserBandWidthDataResult.h"
|
||||||
|
#include "model/DescribeVSwitchAttributesRequest.h"
|
||||||
|
#include "model/DescribeVSwitchAttributesResult.h"
|
||||||
#include "model/DescribeVSwitchesRequest.h"
|
#include "model/DescribeVSwitchesRequest.h"
|
||||||
#include "model/DescribeVSwitchesResult.h"
|
#include "model/DescribeVSwitchesResult.h"
|
||||||
#include "model/DetachDiskRequest.h"
|
#include "model/DetachDiskRequest.h"
|
||||||
@@ -426,10 +428,14 @@
|
|||||||
#include "model/ListBucketsResult.h"
|
#include "model/ListBucketsResult.h"
|
||||||
#include "model/ListObjectsRequest.h"
|
#include "model/ListObjectsRequest.h"
|
||||||
#include "model/ListObjectsResult.h"
|
#include "model/ListObjectsResult.h"
|
||||||
|
#include "model/ListProductAbilitiesRequest.h"
|
||||||
|
#include "model/ListProductAbilitiesResult.h"
|
||||||
#include "model/ListTagResourcesRequest.h"
|
#include "model/ListTagResourcesRequest.h"
|
||||||
#include "model/ListTagResourcesResult.h"
|
#include "model/ListTagResourcesResult.h"
|
||||||
#include "model/ModifyEnsEipAddressAttributeRequest.h"
|
#include "model/ModifyEnsEipAddressAttributeRequest.h"
|
||||||
#include "model/ModifyEnsEipAddressAttributeResult.h"
|
#include "model/ModifyEnsEipAddressAttributeResult.h"
|
||||||
|
#include "model/ModifyEnsRouteEntryRequest.h"
|
||||||
|
#include "model/ModifyEnsRouteEntryResult.h"
|
||||||
#include "model/ModifyEpnInstanceRequest.h"
|
#include "model/ModifyEpnInstanceRequest.h"
|
||||||
#include "model/ModifyEpnInstanceResult.h"
|
#include "model/ModifyEpnInstanceResult.h"
|
||||||
#include "model/ModifyFileSystemRequest.h"
|
#include "model/ModifyFileSystemRequest.h"
|
||||||
@@ -1149,6 +1155,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeUserBandWidthDataResult> DescribeUserBandWidthDataOutcome;
|
typedef Outcome<Error, Model::DescribeUserBandWidthDataResult> DescribeUserBandWidthDataOutcome;
|
||||||
typedef std::future<DescribeUserBandWidthDataOutcome> DescribeUserBandWidthDataOutcomeCallable;
|
typedef std::future<DescribeUserBandWidthDataOutcome> DescribeUserBandWidthDataOutcomeCallable;
|
||||||
typedef std::function<void(const EnsClient*, const Model::DescribeUserBandWidthDataRequest&, const DescribeUserBandWidthDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserBandWidthDataAsyncHandler;
|
typedef std::function<void(const EnsClient*, const Model::DescribeUserBandWidthDataRequest&, const DescribeUserBandWidthDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserBandWidthDataAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeVSwitchAttributesResult> DescribeVSwitchAttributesOutcome;
|
||||||
|
typedef std::future<DescribeVSwitchAttributesOutcome> DescribeVSwitchAttributesOutcomeCallable;
|
||||||
|
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchAttributesRequest&, const DescribeVSwitchAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchAttributesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeVSwitchesResult> DescribeVSwitchesOutcome;
|
typedef Outcome<Error, Model::DescribeVSwitchesResult> DescribeVSwitchesOutcome;
|
||||||
typedef std::future<DescribeVSwitchesOutcome> DescribeVSwitchesOutcomeCallable;
|
typedef std::future<DescribeVSwitchesOutcome> DescribeVSwitchesOutcomeCallable;
|
||||||
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchesRequest&, const DescribeVSwitchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchesAsyncHandler;
|
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchesRequest&, const DescribeVSwitchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchesAsyncHandler;
|
||||||
@@ -1215,12 +1224,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListObjectsResult> ListObjectsOutcome;
|
typedef Outcome<Error, Model::ListObjectsResult> ListObjectsOutcome;
|
||||||
typedef std::future<ListObjectsOutcome> ListObjectsOutcomeCallable;
|
typedef std::future<ListObjectsOutcome> ListObjectsOutcomeCallable;
|
||||||
typedef std::function<void(const EnsClient*, const Model::ListObjectsRequest&, const ListObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListObjectsAsyncHandler;
|
typedef std::function<void(const EnsClient*, const Model::ListObjectsRequest&, const ListObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListObjectsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListProductAbilitiesResult> ListProductAbilitiesOutcome;
|
||||||
|
typedef std::future<ListProductAbilitiesOutcome> ListProductAbilitiesOutcomeCallable;
|
||||||
|
typedef std::function<void(const EnsClient*, const Model::ListProductAbilitiesRequest&, const ListProductAbilitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProductAbilitiesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||||
typedef std::function<void(const EnsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
typedef std::function<void(const EnsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyEnsEipAddressAttributeResult> ModifyEnsEipAddressAttributeOutcome;
|
typedef Outcome<Error, Model::ModifyEnsEipAddressAttributeResult> ModifyEnsEipAddressAttributeOutcome;
|
||||||
typedef std::future<ModifyEnsEipAddressAttributeOutcome> ModifyEnsEipAddressAttributeOutcomeCallable;
|
typedef std::future<ModifyEnsEipAddressAttributeOutcome> ModifyEnsEipAddressAttributeOutcomeCallable;
|
||||||
typedef std::function<void(const EnsClient*, const Model::ModifyEnsEipAddressAttributeRequest&, const ModifyEnsEipAddressAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsEipAddressAttributeAsyncHandler;
|
typedef std::function<void(const EnsClient*, const Model::ModifyEnsEipAddressAttributeRequest&, const ModifyEnsEipAddressAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsEipAddressAttributeAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyEnsRouteEntryResult> ModifyEnsRouteEntryOutcome;
|
||||||
|
typedef std::future<ModifyEnsRouteEntryOutcome> ModifyEnsRouteEntryOutcomeCallable;
|
||||||
|
typedef std::function<void(const EnsClient*, const Model::ModifyEnsRouteEntryRequest&, const ModifyEnsRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsRouteEntryAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyEpnInstanceResult> ModifyEpnInstanceOutcome;
|
typedef Outcome<Error, Model::ModifyEpnInstanceResult> ModifyEpnInstanceOutcome;
|
||||||
typedef std::future<ModifyEpnInstanceOutcome> ModifyEpnInstanceOutcomeCallable;
|
typedef std::future<ModifyEpnInstanceOutcome> ModifyEpnInstanceOutcomeCallable;
|
||||||
typedef std::function<void(const EnsClient*, const Model::ModifyEpnInstanceRequest&, const ModifyEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEpnInstanceAsyncHandler;
|
typedef std::function<void(const EnsClient*, const Model::ModifyEpnInstanceRequest&, const ModifyEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEpnInstanceAsyncHandler;
|
||||||
@@ -2021,6 +2036,9 @@ namespace AlibabaCloud
|
|||||||
DescribeUserBandWidthDataOutcome describeUserBandWidthData(const Model::DescribeUserBandWidthDataRequest &request)const;
|
DescribeUserBandWidthDataOutcome describeUserBandWidthData(const Model::DescribeUserBandWidthDataRequest &request)const;
|
||||||
void describeUserBandWidthDataAsync(const Model::DescribeUserBandWidthDataRequest& request, const DescribeUserBandWidthDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeUserBandWidthDataAsync(const Model::DescribeUserBandWidthDataRequest& request, const DescribeUserBandWidthDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeUserBandWidthDataOutcomeCallable describeUserBandWidthDataCallable(const Model::DescribeUserBandWidthDataRequest& request) const;
|
DescribeUserBandWidthDataOutcomeCallable describeUserBandWidthDataCallable(const Model::DescribeUserBandWidthDataRequest& request) const;
|
||||||
|
DescribeVSwitchAttributesOutcome describeVSwitchAttributes(const Model::DescribeVSwitchAttributesRequest &request)const;
|
||||||
|
void describeVSwitchAttributesAsync(const Model::DescribeVSwitchAttributesRequest& request, const DescribeVSwitchAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeVSwitchAttributesOutcomeCallable describeVSwitchAttributesCallable(const Model::DescribeVSwitchAttributesRequest& request) const;
|
||||||
DescribeVSwitchesOutcome describeVSwitches(const Model::DescribeVSwitchesRequest &request)const;
|
DescribeVSwitchesOutcome describeVSwitches(const Model::DescribeVSwitchesRequest &request)const;
|
||||||
void describeVSwitchesAsync(const Model::DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeVSwitchesAsync(const Model::DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeVSwitchesOutcomeCallable describeVSwitchesCallable(const Model::DescribeVSwitchesRequest& request) const;
|
DescribeVSwitchesOutcomeCallable describeVSwitchesCallable(const Model::DescribeVSwitchesRequest& request) const;
|
||||||
@@ -2087,12 +2105,18 @@ namespace AlibabaCloud
|
|||||||
ListObjectsOutcome listObjects(const Model::ListObjectsRequest &request)const;
|
ListObjectsOutcome listObjects(const Model::ListObjectsRequest &request)const;
|
||||||
void listObjectsAsync(const Model::ListObjectsRequest& request, const ListObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listObjectsAsync(const Model::ListObjectsRequest& request, const ListObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListObjectsOutcomeCallable listObjectsCallable(const Model::ListObjectsRequest& request) const;
|
ListObjectsOutcomeCallable listObjectsCallable(const Model::ListObjectsRequest& request) const;
|
||||||
|
ListProductAbilitiesOutcome listProductAbilities(const Model::ListProductAbilitiesRequest &request)const;
|
||||||
|
void listProductAbilitiesAsync(const Model::ListProductAbilitiesRequest& request, const ListProductAbilitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListProductAbilitiesOutcomeCallable listProductAbilitiesCallable(const Model::ListProductAbilitiesRequest& request) const;
|
||||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||||
ModifyEnsEipAddressAttributeOutcome modifyEnsEipAddressAttribute(const Model::ModifyEnsEipAddressAttributeRequest &request)const;
|
ModifyEnsEipAddressAttributeOutcome modifyEnsEipAddressAttribute(const Model::ModifyEnsEipAddressAttributeRequest &request)const;
|
||||||
void modifyEnsEipAddressAttributeAsync(const Model::ModifyEnsEipAddressAttributeRequest& request, const ModifyEnsEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyEnsEipAddressAttributeAsync(const Model::ModifyEnsEipAddressAttributeRequest& request, const ModifyEnsEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyEnsEipAddressAttributeOutcomeCallable modifyEnsEipAddressAttributeCallable(const Model::ModifyEnsEipAddressAttributeRequest& request) const;
|
ModifyEnsEipAddressAttributeOutcomeCallable modifyEnsEipAddressAttributeCallable(const Model::ModifyEnsEipAddressAttributeRequest& request) const;
|
||||||
|
ModifyEnsRouteEntryOutcome modifyEnsRouteEntry(const Model::ModifyEnsRouteEntryRequest &request)const;
|
||||||
|
void modifyEnsRouteEntryAsync(const Model::ModifyEnsRouteEntryRequest& request, const ModifyEnsRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyEnsRouteEntryOutcomeCallable modifyEnsRouteEntryCallable(const Model::ModifyEnsRouteEntryRequest& request) const;
|
||||||
ModifyEpnInstanceOutcome modifyEpnInstance(const Model::ModifyEpnInstanceRequest &request)const;
|
ModifyEpnInstanceOutcome modifyEpnInstance(const Model::ModifyEpnInstanceRequest &request)const;
|
||||||
void modifyEpnInstanceAsync(const Model::ModifyEpnInstanceRequest& request, const ModifyEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyEpnInstanceAsync(const Model::ModifyEpnInstanceRequest& request, const ModifyEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyEpnInstanceOutcomeCallable modifyEpnInstanceCallable(const Model::ModifyEpnInstanceRequest& request) const;
|
ModifyEpnInstanceOutcomeCallable modifyEpnInstanceCallable(const Model::ModifyEpnInstanceRequest& request) const;
|
||||||
|
|||||||
@@ -44,6 +44,8 @@ public:
|
|||||||
void setInternetChargeType(const std::string &internetChargeType);
|
void setInternetChargeType(const std::string &internetChargeType);
|
||||||
std::string getName() const;
|
std::string getName() const;
|
||||||
void setName(const std::string &name);
|
void setName(const std::string &name);
|
||||||
|
std::string getClientToken() const;
|
||||||
|
void setClientToken(const std::string &clientToken);
|
||||||
std::string getDescription() const;
|
std::string getDescription() const;
|
||||||
void setDescription(const std::string &description);
|
void setDescription(const std::string &description);
|
||||||
std::string getInstanceChargeType() const;
|
std::string getInstanceChargeType() const;
|
||||||
@@ -57,6 +59,7 @@ private:
|
|||||||
std::vector<Tag> tag_;
|
std::vector<Tag> tag_;
|
||||||
std::string internetChargeType_;
|
std::string internetChargeType_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
std::string clientToken_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string instanceChargeType_;
|
std::string instanceChargeType_;
|
||||||
long bandwidth_;
|
long bandwidth_;
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ public:
|
|||||||
~CreateEnsRouteEntryRequest();
|
~CreateEnsRouteEntryRequest();
|
||||||
std::string getRouteEntryName() const;
|
std::string getRouteEntryName() const;
|
||||||
void setRouteEntryName(const std::string &routeEntryName);
|
void setRouteEntryName(const std::string &routeEntryName);
|
||||||
std::string getDescription() const;
|
|
||||||
void setDescription(const std::string &description);
|
|
||||||
std::string getNextHopId() const;
|
std::string getNextHopId() const;
|
||||||
void setNextHopId(const std::string &nextHopId);
|
void setNextHopId(const std::string &nextHopId);
|
||||||
std::string getNextHopType() const;
|
std::string getNextHopType() const;
|
||||||
@@ -42,14 +40,19 @@ public:
|
|||||||
void setRouteTableId(const std::string &routeTableId);
|
void setRouteTableId(const std::string &routeTableId);
|
||||||
std::string getDestinationCidrBlock() const;
|
std::string getDestinationCidrBlock() const;
|
||||||
void setDestinationCidrBlock(const std::string &destinationCidrBlock);
|
void setDestinationCidrBlock(const std::string &destinationCidrBlock);
|
||||||
|
std::string getDescription() const;
|
||||||
|
void setDescription(const std::string &description);
|
||||||
|
std::string getSourceCidrBlock() const;
|
||||||
|
void setSourceCidrBlock(const std::string &sourceCidrBlock);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string routeEntryName_;
|
std::string routeEntryName_;
|
||||||
std::string description_;
|
|
||||||
std::string nextHopId_;
|
std::string nextHopId_;
|
||||||
std::string nextHopType_;
|
std::string nextHopType_;
|
||||||
std::string routeTableId_;
|
std::string routeTableId_;
|
||||||
std::string destinationCidrBlock_;
|
std::string destinationCidrBlock_;
|
||||||
|
std::string description_;
|
||||||
|
std::string sourceCidrBlock_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ public:
|
|||||||
void setDeleteAfterImageUpload(const std::string &deleteAfterImageUpload);
|
void setDeleteAfterImageUpload(const std::string &deleteAfterImageUpload);
|
||||||
std::string getImageName() const;
|
std::string getImageName() const;
|
||||||
void setImageName(const std::string &imageName);
|
void setImageName(const std::string &imageName);
|
||||||
|
std::string getTargetOSSRegionId() const;
|
||||||
|
void setTargetOSSRegionId(const std::string &targetOSSRegionId);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
|
||||||
@@ -43,6 +45,7 @@ private:
|
|||||||
std::string snapshotId_;
|
std::string snapshotId_;
|
||||||
std::string deleteAfterImageUpload_;
|
std::string deleteAfterImageUpload_;
|
||||||
std::string imageName_;
|
std::string imageName_;
|
||||||
|
std::string targetOSSRegionId_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ public:
|
|||||||
void setVSwitchId(const std::string &vSwitchId);
|
void setVSwitchId(const std::string &vSwitchId);
|
||||||
std::string getNetworkId() const;
|
std::string getNetworkId() const;
|
||||||
void setNetworkId(const std::string &networkId);
|
void setNetworkId(const std::string &networkId);
|
||||||
|
std::string getClientToken() const;
|
||||||
|
void setClientToken(const std::string &clientToken);
|
||||||
std::string getPayType() const;
|
std::string getPayType() const;
|
||||||
void setPayType(const std::string &payType);
|
void setPayType(const std::string &payType);
|
||||||
|
|
||||||
@@ -49,6 +51,7 @@ private:
|
|||||||
std::string loadBalancerSpec_;
|
std::string loadBalancerSpec_;
|
||||||
std::string vSwitchId_;
|
std::string vSwitchId_;
|
||||||
std::string networkId_;
|
std::string networkId_;
|
||||||
|
std::string clientToken_;
|
||||||
std::string payType_;
|
std::string payType_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -28,16 +28,30 @@ namespace Ens {
|
|||||||
namespace Model {
|
namespace Model {
|
||||||
class ALIBABACLOUD_ENS_EXPORT CreateSecurityGroupRequest : public RpcServiceRequest {
|
class ALIBABACLOUD_ENS_EXPORT CreateSecurityGroupRequest : public RpcServiceRequest {
|
||||||
public:
|
public:
|
||||||
|
struct Permissions {
|
||||||
|
std::string sourcePortRange;
|
||||||
|
std::string portRange;
|
||||||
|
std::string ipProtocol;
|
||||||
|
std::string sourceCidrIp;
|
||||||
|
std::string description;
|
||||||
|
int priority;
|
||||||
|
std::string destCidrIp;
|
||||||
|
std::string direction;
|
||||||
|
std::string policy;
|
||||||
|
};
|
||||||
CreateSecurityGroupRequest();
|
CreateSecurityGroupRequest();
|
||||||
~CreateSecurityGroupRequest();
|
~CreateSecurityGroupRequest();
|
||||||
std::string getDescription() const;
|
std::string getDescription() const;
|
||||||
void setDescription(const std::string &description);
|
void setDescription(const std::string &description);
|
||||||
std::string getSecurityGroupName() const;
|
std::string getSecurityGroupName() const;
|
||||||
void setSecurityGroupName(const std::string &securityGroupName);
|
void setSecurityGroupName(const std::string &securityGroupName);
|
||||||
|
std::vector<Permissions> getPermissions() const;
|
||||||
|
void setPermissions(const std::vector<Permissions> &permissions);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string securityGroupName_;
|
std::string securityGroupName_;
|
||||||
|
std::vector<Permissions> permissions_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ public:
|
|||||||
void setDestCIDR(const std::string &destCIDR);
|
void setDestCIDR(const std::string &destCIDR);
|
||||||
std::string getSourceVSwitchId() const;
|
std::string getSourceVSwitchId() const;
|
||||||
void setSourceVSwitchId(const std::string &sourceVSwitchId);
|
void setSourceVSwitchId(const std::string &sourceVSwitchId);
|
||||||
|
bool getEipAffinity() const;
|
||||||
|
void setEipAffinity(bool eipAffinity);
|
||||||
std::string getSourceNetworkId() const;
|
std::string getSourceNetworkId() const;
|
||||||
void setSourceNetworkId(const std::string &sourceNetworkId);
|
void setSourceNetworkId(const std::string &sourceNetworkId);
|
||||||
std::string getStandbySnatIp() const;
|
std::string getStandbySnatIp() const;
|
||||||
@@ -58,6 +60,7 @@ private:
|
|||||||
std::string type_;
|
std::string type_;
|
||||||
std::string destCIDR_;
|
std::string destCIDR_;
|
||||||
std::string sourceVSwitchId_;
|
std::string sourceVSwitchId_;
|
||||||
|
bool eipAffinity_;
|
||||||
std::string sourceNetworkId_;
|
std::string sourceNetworkId_;
|
||||||
std::string standbySnatIp_;
|
std::string standbySnatIp_;
|
||||||
std::string sourceCIDR_;
|
std::string sourceCIDR_;
|
||||||
|
|||||||
@@ -30,10 +30,13 @@ class ALIBABACLOUD_ENS_EXPORT DeleteNatGatewayRequest : public RpcServiceRequest
|
|||||||
public:
|
public:
|
||||||
DeleteNatGatewayRequest();
|
DeleteNatGatewayRequest();
|
||||||
~DeleteNatGatewayRequest();
|
~DeleteNatGatewayRequest();
|
||||||
|
bool getForceDelete() const;
|
||||||
|
void setForceDelete(bool forceDelete);
|
||||||
std::string getNatGatewayId() const;
|
std::string getNatGatewayId() const;
|
||||||
void setNatGatewayId(const std::string &natGatewayId);
|
void setNatGatewayId(const std::string &natGatewayId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
bool forceDelete_;
|
||||||
std::string natGatewayId_;
|
std::string natGatewayId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct SupportResource
|
struct SupportResource
|
||||||
{
|
{
|
||||||
|
std::vector<std::string> ability;
|
||||||
long canBuyCount;
|
long canBuyCount;
|
||||||
std::string category;
|
std::string category;
|
||||||
std::string ensRegionName;
|
std::string ensRegionName;
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct ElbAvailableResourceInfoItem
|
struct ElbAvailableResourceInfoItem
|
||||||
{
|
{
|
||||||
|
std::vector<std::string> ability;
|
||||||
std::string area;
|
std::string area;
|
||||||
std::string canBuyCount;
|
std::string canBuyCount;
|
||||||
std::string enName;
|
std::string enName;
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string nextHopType;
|
std::string nextHopType;
|
||||||
std::string nextHopId;
|
std::string nextHopId;
|
||||||
|
std::string nextHopName;
|
||||||
};
|
};
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string routeEntryId;
|
std::string routeEntryId;
|
||||||
@@ -46,6 +47,8 @@ namespace AlibabaCloud
|
|||||||
std::string routeTableId;
|
std::string routeTableId;
|
||||||
std::vector<RouteEntry::NextHop> nextHops;
|
std::vector<RouteEntry::NextHop> nextHops;
|
||||||
std::string routeEntryName;
|
std::string routeEntryName;
|
||||||
|
std::string creationTime;
|
||||||
|
std::string sourceCidrBlock;
|
||||||
std::string destinationCidrBlock;
|
std::string destinationCidrBlock;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -30,23 +30,35 @@ class ALIBABACLOUD_ENS_EXPORT DescribeEnsRouteTablesRequest : public RpcServiceR
|
|||||||
public:
|
public:
|
||||||
DescribeEnsRouteTablesRequest();
|
DescribeEnsRouteTablesRequest();
|
||||||
~DescribeEnsRouteTablesRequest();
|
~DescribeEnsRouteTablesRequest();
|
||||||
int getPageNumber() const;
|
std::string getType() const;
|
||||||
void setPageNumber(int pageNumber);
|
void setType(const std::string &type);
|
||||||
int getPageSize() const;
|
std::string getAssociateType() const;
|
||||||
void setPageSize(int pageSize);
|
void setAssociateType(const std::string &associateType);
|
||||||
std::string getEnsRegionId() const;
|
std::string getEnsRegionId() const;
|
||||||
void setEnsRegionId(const std::string &ensRegionId);
|
void setEnsRegionId(const std::string &ensRegionId);
|
||||||
std::string getRouteTableId() const;
|
std::string getRouteTableId() const;
|
||||||
void setRouteTableId(const std::string &routeTableId);
|
void setRouteTableId(const std::string &routeTableId);
|
||||||
std::string getNetworkId() const;
|
std::string getNetworkId() const;
|
||||||
void setNetworkId(const std::string &networkId);
|
void setNetworkId(const std::string &networkId);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getRouteTableName() const;
|
||||||
|
void setRouteTableName(const std::string &routeTableName);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::vector<std::string> getEnsRegionIds() const;
|
||||||
|
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int pageNumber_;
|
std::string type_;
|
||||||
int pageSize_;
|
std::string associateType_;
|
||||||
std::string ensRegionId_;
|
std::string ensRegionId_;
|
||||||
std::string routeTableId_;
|
std::string routeTableId_;
|
||||||
std::string networkId_;
|
std::string networkId_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::string routeTableName_;
|
||||||
|
int pageSize_;
|
||||||
|
std::vector<std::string> ensRegionIds_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -34,13 +34,23 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct RouteTable
|
struct RouteTable
|
||||||
{
|
{
|
||||||
|
struct AssociatedResource
|
||||||
|
{
|
||||||
|
std::string resourceId;
|
||||||
|
std::string resourceName;
|
||||||
|
std::string resourceType;
|
||||||
|
};
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string type;
|
|
||||||
std::string networkName;
|
std::string networkName;
|
||||||
std::string routeTableId;
|
std::string routeTableId;
|
||||||
|
std::string description;
|
||||||
std::vector<std::string> vSwitchIds;
|
std::vector<std::string> vSwitchIds;
|
||||||
std::string creationTime;
|
std::vector<RouteTable::AssociatedResource> associatedResources;
|
||||||
|
std::string associateType;
|
||||||
std::string networkId;
|
std::string networkId;
|
||||||
|
std::string type;
|
||||||
|
std::string creationTime;
|
||||||
|
bool isDefaultGatewayRouteTable;
|
||||||
std::string ensRegionId;
|
std::string ensRegionId;
|
||||||
std::string routeTableName;
|
std::string routeTableName;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
|||||||
std::string oSType;
|
std::string oSType;
|
||||||
std::string imageId;
|
std::string imageId;
|
||||||
std::string oSName;
|
std::string oSName;
|
||||||
|
std::string regionId;
|
||||||
std::string computeType;
|
std::string computeType;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_ENS_EXPORT DescribeImageSharePermissionResult : public ServiceResult
|
class ALIBABACLOUD_ENS_EXPORT DescribeImageSharePermissionResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct Account
|
||||||
|
{
|
||||||
|
std::string aliyunUid;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
DescribeImageSharePermissionResult();
|
DescribeImageSharePermissionResult();
|
||||||
@@ -41,7 +45,7 @@ namespace AlibabaCloud
|
|||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
std::string getImageId()const;
|
std::string getImageId()const;
|
||||||
std::vector<std::string> getAccounts()const;
|
std::vector<Account> getAccounts()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -50,7 +54,7 @@ namespace AlibabaCloud
|
|||||||
int pageSize_;
|
int pageSize_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string imageId_;
|
std::string imageId_;
|
||||||
std::vector<std::string> accounts_;
|
std::vector<Account> accounts_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
|||||||
std::string imageSize;
|
std::string imageSize;
|
||||||
std::string creationTime;
|
std::string creationTime;
|
||||||
std::string imageId;
|
std::string imageId;
|
||||||
|
std::string regionId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
std::string description;
|
std::string description;
|
||||||
int forwardPort;
|
int forwardPort;
|
||||||
std::string listenerProtocol;
|
std::string listenerProtocol;
|
||||||
|
int backendServerPort;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,16 +30,22 @@ class ALIBABACLOUD_ENS_EXPORT DescribeLoadBalancerListenersRequest : public RpcS
|
|||||||
public:
|
public:
|
||||||
DescribeLoadBalancerListenersRequest();
|
DescribeLoadBalancerListenersRequest();
|
||||||
~DescribeLoadBalancerListenersRequest();
|
~DescribeLoadBalancerListenersRequest();
|
||||||
|
std::string getDescription() const;
|
||||||
|
void setDescription(const std::string &description);
|
||||||
int getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
int getListenerPort() const;
|
||||||
|
void setListenerPort(int listenerPort);
|
||||||
std::string getLoadBalancerId() const;
|
std::string getLoadBalancerId() const;
|
||||||
void setLoadBalancerId(const std::string &loadBalancerId);
|
void setLoadBalancerId(const std::string &loadBalancerId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string description_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
int listenerPort_;
|
||||||
std::string loadBalancerId_;
|
std::string loadBalancerId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
|||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string loadBalancerId;
|
std::string loadBalancerId;
|
||||||
std::string protocol;
|
std::string protocol;
|
||||||
|
int backendServerPort;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ public:
|
|||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
std::vector<std::string> getEnsRegionIds() const;
|
||||||
|
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
|
||||||
std::string getAddress() const;
|
std::string getAddress() const;
|
||||||
void setAddress(const std::string &address);
|
void setAddress(const std::string &address);
|
||||||
std::string getLoadBalancerStatus() const;
|
std::string getLoadBalancerStatus() const;
|
||||||
@@ -60,6 +62,7 @@ private:
|
|||||||
std::string networkId_;
|
std::string networkId_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
std::vector<std::string> ensRegionIds_;
|
||||||
std::string address_;
|
std::string address_;
|
||||||
std::string loadBalancerStatus_;
|
std::string loadBalancerStatus_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ public:
|
|||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getNatGatewayId() const;
|
std::string getNatGatewayId() const;
|
||||||
void setNatGatewayId(const std::string &natGatewayId);
|
void setNatGatewayId(const std::string &natGatewayId);
|
||||||
|
std::vector<std::string> getEnsRegionIds() const;
|
||||||
|
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
|
||||||
|
std::vector<std::string> getNatGatewayIds() const;
|
||||||
|
void setNatGatewayIds(const std::vector<std::string> &natGatewayIds);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string ensRegionId_;
|
std::string ensRegionId_;
|
||||||
@@ -53,6 +57,8 @@ private:
|
|||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string natGatewayId_;
|
std::string natGatewayId_;
|
||||||
|
std::vector<std::string> ensRegionIds_;
|
||||||
|
std::vector<std::string> natGatewayIds_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -34,7 +34,15 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct NatGateway
|
struct NatGateway
|
||||||
{
|
{
|
||||||
|
struct IpList
|
||||||
|
{
|
||||||
|
std::string usingStatus;
|
||||||
|
std::string allocationId;
|
||||||
|
std::string ipAddress;
|
||||||
|
};
|
||||||
|
std::string status;
|
||||||
std::string vSwitchId;
|
std::string vSwitchId;
|
||||||
|
std::vector<NatGateway::IpList> ipLists;
|
||||||
std::string creationTime;
|
std::string creationTime;
|
||||||
std::string ensRegionId;
|
std::string ensRegionId;
|
||||||
std::string networkId;
|
std::string networkId;
|
||||||
|
|||||||
@@ -44,14 +44,22 @@ namespace AlibabaCloud
|
|||||||
~DescribeNetworkAttributeResult();
|
~DescribeNetworkAttributeResult();
|
||||||
std::string getStatus()const;
|
std::string getStatus()const;
|
||||||
std::string getNetworkName()const;
|
std::string getNetworkName()const;
|
||||||
|
std::string getGatewayRouteTableId()const;
|
||||||
std::string getDescription()const;
|
std::string getDescription()const;
|
||||||
std::string getCreatedTime()const;
|
std::string getCreatedTime()const;
|
||||||
|
std::string getRouteTableId()const;
|
||||||
std::string getNetworkAclId()const;
|
std::string getNetworkAclId()const;
|
||||||
std::vector<std::string> getVSwitchIds()const;
|
std::vector<std::string> getVSwitchIds()const;
|
||||||
|
std::vector<std::string> getLoadBalancerIds()const;
|
||||||
std::string getCidrBlock()const;
|
std::string getCidrBlock()const;
|
||||||
std::string getRouterTableId()const;
|
std::vector<std::string> getNetworkInterfaceIds()const;
|
||||||
std::string getEnsRegionId()const;
|
|
||||||
std::string getNetworkId()const;
|
std::string getNetworkId()const;
|
||||||
|
std::vector<std::string> getNatGatewayIds()const;
|
||||||
|
std::vector<std::string> getRouteTableIds()const;
|
||||||
|
std::vector<std::string> getHaVipIds()const;
|
||||||
|
std::string getRouterTableId()const;
|
||||||
|
std::vector<std::string> getInstanceIds()const;
|
||||||
|
std::string getEnsRegionId()const;
|
||||||
std::vector<CloudResourceSetType> getCloudResources()const;
|
std::vector<CloudResourceSetType> getCloudResources()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -59,14 +67,22 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string status_;
|
std::string status_;
|
||||||
std::string networkName_;
|
std::string networkName_;
|
||||||
|
std::string gatewayRouteTableId_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string createdTime_;
|
std::string createdTime_;
|
||||||
|
std::string routeTableId_;
|
||||||
std::string networkAclId_;
|
std::string networkAclId_;
|
||||||
std::vector<std::string> vSwitchIds_;
|
std::vector<std::string> vSwitchIds_;
|
||||||
|
std::vector<std::string> loadBalancerIds_;
|
||||||
std::string cidrBlock_;
|
std::string cidrBlock_;
|
||||||
std::string routerTableId_;
|
std::vector<std::string> networkInterfaceIds_;
|
||||||
std::string ensRegionId_;
|
|
||||||
std::string networkId_;
|
std::string networkId_;
|
||||||
|
std::vector<std::string> natGatewayIds_;
|
||||||
|
std::vector<std::string> routeTableIds_;
|
||||||
|
std::vector<std::string> haVipIds_;
|
||||||
|
std::string routerTableId_;
|
||||||
|
std::vector<std::string> instanceIds_;
|
||||||
|
std::string ensRegionId_;
|
||||||
std::vector<CloudResourceSetType> cloudResources_;
|
std::vector<CloudResourceSetType> cloudResources_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ public:
|
|||||||
void setIpv6Address(const std::vector<std::string> &ipv6Address);
|
void setIpv6Address(const std::vector<std::string> &ipv6Address);
|
||||||
std::string getStatus() const;
|
std::string getStatus() const;
|
||||||
void setStatus(const std::string &status);
|
void setStatus(const std::string &status);
|
||||||
|
std::vector<std::string> getNetworkInterfaceIds() const;
|
||||||
|
void setNetworkInterfaceIds(const std::vector<std::string> &networkInterfaceIds);
|
||||||
std::string getSecurityGroupId() const;
|
std::string getSecurityGroupId() const;
|
||||||
void setSecurityGroupId(const std::string &securityGroupId);
|
void setSecurityGroupId(const std::string &securityGroupId);
|
||||||
std::string getPageNumber() const;
|
std::string getPageNumber() const;
|
||||||
@@ -54,6 +56,8 @@ public:
|
|||||||
void setShowDetail(bool showDetail);
|
void setShowDetail(bool showDetail);
|
||||||
std::string getPageSize() const;
|
std::string getPageSize() const;
|
||||||
void setPageSize(const std::string &pageSize);
|
void setPageSize(const std::string &pageSize);
|
||||||
|
std::vector<std::string> getEnsRegionIds() const;
|
||||||
|
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
|
||||||
std::string getPrimaryIpAddress() const;
|
std::string getPrimaryIpAddress() const;
|
||||||
void setPrimaryIpAddress(const std::string &primaryIpAddress);
|
void setPrimaryIpAddress(const std::string &primaryIpAddress);
|
||||||
std::string getNetworkInterfaceId() const;
|
std::string getNetworkInterfaceId() const;
|
||||||
@@ -68,10 +72,12 @@ private:
|
|||||||
std::string networkId_;
|
std::string networkId_;
|
||||||
std::vector<std::string> ipv6Address_;
|
std::vector<std::string> ipv6Address_;
|
||||||
std::string status_;
|
std::string status_;
|
||||||
|
std::vector<std::string> networkInterfaceIds_;
|
||||||
std::string securityGroupId_;
|
std::string securityGroupId_;
|
||||||
std::string pageNumber_;
|
std::string pageNumber_;
|
||||||
bool showDetail_;
|
bool showDetail_;
|
||||||
std::string pageSize_;
|
std::string pageSize_;
|
||||||
|
std::vector<std::string> ensRegionIds_;
|
||||||
std::string primaryIpAddress_;
|
std::string primaryIpAddress_;
|
||||||
std::string networkInterfaceId_;
|
std::string networkInterfaceId_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,23 +30,29 @@ class ALIBABACLOUD_ENS_EXPORT DescribeNetworksRequest : public RpcServiceRequest
|
|||||||
public:
|
public:
|
||||||
DescribeNetworksRequest();
|
DescribeNetworksRequest();
|
||||||
~DescribeNetworksRequest();
|
~DescribeNetworksRequest();
|
||||||
int getPageNumber() const;
|
|
||||||
void setPageNumber(int pageNumber);
|
|
||||||
std::string getEnsRegionId() const;
|
std::string getEnsRegionId() const;
|
||||||
void setEnsRegionId(const std::string &ensRegionId);
|
void setEnsRegionId(const std::string &ensRegionId);
|
||||||
|
std::vector<std::string> getNetworkIds() const;
|
||||||
|
void setNetworkIds(const std::vector<std::string> &networkIds);
|
||||||
|
std::string getNetworkId() const;
|
||||||
|
void setNetworkId(const std::string &networkId);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getNetworkName() const;
|
std::string getNetworkName() const;
|
||||||
void setNetworkName(const std::string &networkName);
|
void setNetworkName(const std::string &networkName);
|
||||||
std::string getNetworkId() const;
|
std::vector<std::string> getEnsRegionIds() const;
|
||||||
void setNetworkId(const std::string &networkId);
|
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int pageNumber_;
|
|
||||||
std::string ensRegionId_;
|
std::string ensRegionId_;
|
||||||
|
std::vector<std::string> networkIds_;
|
||||||
|
std::string networkId_;
|
||||||
|
int pageNumber_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string networkName_;
|
std::string networkName_;
|
||||||
std::string networkId_;
|
std::vector<std::string> ensRegionIds_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -36,14 +36,17 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string networkName;
|
std::string networkName;
|
||||||
|
std::string gatewayRouteTableId;
|
||||||
std::string description;
|
std::string description;
|
||||||
std::string createdTime;
|
std::string createdTime;
|
||||||
|
std::string routeTableId;
|
||||||
std::string networkAclId;
|
std::string networkAclId;
|
||||||
std::vector<std::string> vSwitchIds;
|
std::vector<std::string> vSwitchIds;
|
||||||
std::string cidrBlock;
|
std::string cidrBlock;
|
||||||
|
std::string networkId;
|
||||||
|
std::vector<std::string> routeTableIds;
|
||||||
std::string routerTableId;
|
std::string routerTableId;
|
||||||
std::string ensRegionId;
|
std::string ensRegionId;
|
||||||
std::string networkId;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
std::string securityGroupName;
|
std::string securityGroupName;
|
||||||
std::string securityGroupId;
|
std::string securityGroupId;
|
||||||
std::string creationTime;
|
std::string creationTime;
|
||||||
|
std::vector<std::string> networkInterfaceIds;
|
||||||
|
std::vector<std::string> instanceIds;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -55,18 +55,25 @@ namespace AlibabaCloud
|
|||||||
std::vector<Image::DiskDeviceMapping> diskDeviceMappings;
|
std::vector<Image::DiskDeviceMapping> diskDeviceMappings;
|
||||||
std::string creationTime;
|
std::string creationTime;
|
||||||
std::string imageId;
|
std::string imageId;
|
||||||
|
std::string regionId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
DescribeSelfImagesResult();
|
DescribeSelfImagesResult();
|
||||||
explicit DescribeSelfImagesResult(const std::string &payload);
|
explicit DescribeSelfImagesResult(const std::string &payload);
|
||||||
~DescribeSelfImagesResult();
|
~DescribeSelfImagesResult();
|
||||||
|
std::string getTotalCount()const;
|
||||||
|
std::string getPageSize()const;
|
||||||
|
std::string getPageNumber()const;
|
||||||
std::vector<Image> getImages()const;
|
std::vector<Image> getImages()const;
|
||||||
int getCode()const;
|
int getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string totalCount_;
|
||||||
|
std::string pageSize_;
|
||||||
|
std::string pageNumber_;
|
||||||
std::vector<Image> images_;
|
std::vector<Image> images_;
|
||||||
int code_;
|
int code_;
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
|||||||
int getIdleTimeout()const;
|
int getIdleTimeout()const;
|
||||||
std::string getSnatIp()const;
|
std::string getSnatIp()const;
|
||||||
std::string getStandbySnatIp()const;
|
std::string getStandbySnatIp()const;
|
||||||
|
bool getEipAffinity()const;
|
||||||
std::string getType()const;
|
std::string getType()const;
|
||||||
std::string getDestCIDR()const;
|
std::string getDestCIDR()const;
|
||||||
std::string getSnatEntryName()const;
|
std::string getSnatEntryName()const;
|
||||||
@@ -66,6 +67,7 @@ namespace AlibabaCloud
|
|||||||
int idleTimeout_;
|
int idleTimeout_;
|
||||||
std::string snatIp_;
|
std::string snatIp_;
|
||||||
std::string standbySnatIp_;
|
std::string standbySnatIp_;
|
||||||
|
bool eipAffinity_;
|
||||||
std::string type_;
|
std::string type_;
|
||||||
std::string destCIDR_;
|
std::string destCIDR_;
|
||||||
std::string snatEntryName_;
|
std::string snatEntryName_;
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ public:
|
|||||||
void setSnatIp(const std::string &snatIp);
|
void setSnatIp(const std::string &snatIp);
|
||||||
std::string getSnatEntryId() const;
|
std::string getSnatEntryId() const;
|
||||||
void setSnatEntryId(const std::string &snatEntryId);
|
void setSnatEntryId(const std::string &snatEntryId);
|
||||||
|
std::vector<std::string> getSnatIps() const;
|
||||||
|
void setSnatIps(const std::vector<std::string> &snatIps);
|
||||||
std::string getSourceCIDR() const;
|
std::string getSourceCIDR() const;
|
||||||
void setSourceCIDR(const std::string &sourceCIDR);
|
void setSourceCIDR(const std::string &sourceCIDR);
|
||||||
int getPageNumber() const;
|
int getPageNumber() const;
|
||||||
@@ -50,6 +52,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string snatIp_;
|
std::string snatIp_;
|
||||||
std::string snatEntryId_;
|
std::string snatEntryId_;
|
||||||
|
std::vector<std::string> snatIps_;
|
||||||
std::string sourceCIDR_;
|
std::string sourceCIDR_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
bool showDetail_;
|
bool showDetail_;
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
|||||||
int idleTimeout;
|
int idleTimeout;
|
||||||
std::string snatIp;
|
std::string snatIp;
|
||||||
std::string standbySnatIp;
|
std::string standbySnatIp;
|
||||||
|
bool eipAffinity;
|
||||||
std::string type;
|
std::string type;
|
||||||
std::string destCIDR;
|
std::string destCIDR;
|
||||||
std::string snatEntryName;
|
std::string snatEntryName;
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* 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_ENS_MODEL_DESCRIBEVSWITCHATTRIBUTESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEVSWITCHATTRIBUTESREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/EnsExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Ens {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ENS_EXPORT DescribeVSwitchAttributesRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeVSwitchAttributesRequest();
|
||||||
|
~DescribeVSwitchAttributesRequest();
|
||||||
|
std::string getVSwitchId() const;
|
||||||
|
void setVSwitchId(const std::string &vSwitchId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string vSwitchId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Ens
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEVSWITCHATTRIBUTESREQUEST_H_
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* 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_ENS_MODEL_DESCRIBEVSWITCHATTRIBUTESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEVSWITCHATTRIBUTESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ens/EnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ens
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ENS_EXPORT DescribeVSwitchAttributesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeVSwitchAttributesResult();
|
||||||
|
explicit DescribeVSwitchAttributesResult(const std::string &payload);
|
||||||
|
~DescribeVSwitchAttributesResult();
|
||||||
|
std::string getStatus()const;
|
||||||
|
std::string getDescription()const;
|
||||||
|
std::string getCreatedTime()const;
|
||||||
|
std::string getVSwitchId()const;
|
||||||
|
long getAvailableIpAddressCount()const;
|
||||||
|
std::vector<std::string> getLoadBalancerIds()const;
|
||||||
|
std::string getCidrBlock()const;
|
||||||
|
std::vector<std::string> getNetworkInterfaceIds()const;
|
||||||
|
std::string getNetworkId()const;
|
||||||
|
std::vector<std::string> getNatGatewayIds()const;
|
||||||
|
std::vector<std::string> getHaVipIds()const;
|
||||||
|
std::string getVSwitchName()const;
|
||||||
|
std::vector<std::string> getInstanceIds()const;
|
||||||
|
std::string getEnsRegionId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string status_;
|
||||||
|
std::string description_;
|
||||||
|
std::string createdTime_;
|
||||||
|
std::string vSwitchId_;
|
||||||
|
long availableIpAddressCount_;
|
||||||
|
std::vector<std::string> loadBalancerIds_;
|
||||||
|
std::string cidrBlock_;
|
||||||
|
std::vector<std::string> networkInterfaceIds_;
|
||||||
|
std::string networkId_;
|
||||||
|
std::vector<std::string> natGatewayIds_;
|
||||||
|
std::vector<std::string> haVipIds_;
|
||||||
|
std::string vSwitchName_;
|
||||||
|
std::vector<std::string> instanceIds_;
|
||||||
|
std::string ensRegionId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEVSWITCHATTRIBUTESRESULT_H_
|
||||||
@@ -30,8 +30,8 @@ class ALIBABACLOUD_ENS_EXPORT DescribeVSwitchesRequest : public RpcServiceReques
|
|||||||
public:
|
public:
|
||||||
DescribeVSwitchesRequest();
|
DescribeVSwitchesRequest();
|
||||||
~DescribeVSwitchesRequest();
|
~DescribeVSwitchesRequest();
|
||||||
std::string getOrderByParams() const;
|
std::vector<std::string> getVSwitchIds() const;
|
||||||
void setOrderByParams(const std::string &orderByParams);
|
void setVSwitchIds(const std::vector<std::string> &vSwitchIds);
|
||||||
std::string getEnsRegionId() const;
|
std::string getEnsRegionId() const;
|
||||||
void setEnsRegionId(const std::string &ensRegionId);
|
void setEnsRegionId(const std::string &ensRegionId);
|
||||||
std::string getVSwitchId() const;
|
std::string getVSwitchId() const;
|
||||||
@@ -42,16 +42,19 @@ public:
|
|||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
std::vector<std::string> getEnsRegionIds() const;
|
||||||
|
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
|
||||||
std::string getVSwitchName() const;
|
std::string getVSwitchName() const;
|
||||||
void setVSwitchName(const std::string &vSwitchName);
|
void setVSwitchName(const std::string &vSwitchName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string orderByParams_;
|
std::vector<std::string> vSwitchIds_;
|
||||||
std::string ensRegionId_;
|
std::string ensRegionId_;
|
||||||
std::string vSwitchId_;
|
std::string vSwitchId_;
|
||||||
std::string networkId_;
|
std::string networkId_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
std::vector<std::string> ensRegionIds_;
|
||||||
std::string vSwitchName_;
|
std::string vSwitchName_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* 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_ENS_MODEL_LISTPRODUCTABILITIESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ENS_MODEL_LISTPRODUCTABILITIESREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/EnsExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Ens {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ENS_EXPORT ListProductAbilitiesRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ListProductAbilitiesRequest();
|
||||||
|
~ListProductAbilitiesRequest();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Ens
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ENS_MODEL_LISTPRODUCTABILITIESREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ENS_MODEL_LISTPRODUCTABILITIESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ENS_MODEL_LISTPRODUCTABILITIESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ens/EnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ens
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ENS_EXPORT ListProductAbilitiesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ListProductAbilitiesResult();
|
||||||
|
explicit ListProductAbilitiesResult(const std::string &payload);
|
||||||
|
~ListProductAbilitiesResult();
|
||||||
|
std::vector<std::string> getProductAbilities()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<std::string> productAbilities_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ENS_MODEL_LISTPRODUCTABILITIESRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* 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_ENS_MODEL_MODIFYENSROUTEENTRYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ENS_MODEL_MODIFYENSROUTEENTRYREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/EnsExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Ens {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ENS_EXPORT ModifyEnsRouteEntryRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ModifyEnsRouteEntryRequest();
|
||||||
|
~ModifyEnsRouteEntryRequest();
|
||||||
|
std::string getRouteEntryName() const;
|
||||||
|
void setRouteEntryName(const std::string &routeEntryName);
|
||||||
|
std::string getDescription() const;
|
||||||
|
void setDescription(const std::string &description);
|
||||||
|
std::string getRouteEntryId() const;
|
||||||
|
void setRouteEntryId(const std::string &routeEntryId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string routeEntryName_;
|
||||||
|
std::string description_;
|
||||||
|
std::string routeEntryId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Ens
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYENSROUTEENTRYREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ENS_MODEL_MODIFYENSROUTEENTRYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ENS_MODEL_MODIFYENSROUTEENTRYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ens/EnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ens
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ENS_EXPORT ModifyEnsRouteEntryResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyEnsRouteEntryResult();
|
||||||
|
explicit ModifyEnsRouteEntryResult(const std::string &payload);
|
||||||
|
~ModifyEnsRouteEntryResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYENSROUTEENTRYRESULT_H_
|
||||||
@@ -30,17 +30,32 @@ class ALIBABACLOUD_ENS_EXPORT ModifyForwardEntryRequest : public RpcServiceReque
|
|||||||
public:
|
public:
|
||||||
ModifyForwardEntryRequest();
|
ModifyForwardEntryRequest();
|
||||||
~ModifyForwardEntryRequest();
|
~ModifyForwardEntryRequest();
|
||||||
|
std::string getInternalIp() const;
|
||||||
|
void setInternalIp(const std::string &internalIp);
|
||||||
|
std::string getExternalIp() const;
|
||||||
|
void setExternalIp(const std::string &externalIp);
|
||||||
|
std::string getIpProtocol() const;
|
||||||
|
void setIpProtocol(const std::string &ipProtocol);
|
||||||
|
int getHealthCheckPort() const;
|
||||||
|
void setHealthCheckPort(int healthCheckPort);
|
||||||
|
std::string getExternalPort() const;
|
||||||
|
void setExternalPort(const std::string &externalPort);
|
||||||
std::string getForwardEntryId() const;
|
std::string getForwardEntryId() const;
|
||||||
void setForwardEntryId(const std::string &forwardEntryId);
|
void setForwardEntryId(const std::string &forwardEntryId);
|
||||||
std::string getForwardEntryName() const;
|
std::string getForwardEntryName() const;
|
||||||
void setForwardEntryName(const std::string &forwardEntryName);
|
void setForwardEntryName(const std::string &forwardEntryName);
|
||||||
int getHealthCheckPort() const;
|
std::string getInternalPort() const;
|
||||||
void setHealthCheckPort(int healthCheckPort);
|
void setInternalPort(const std::string &internalPort);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string internalIp_;
|
||||||
|
std::string externalIp_;
|
||||||
|
std::string ipProtocol_;
|
||||||
|
int healthCheckPort_;
|
||||||
|
std::string externalPort_;
|
||||||
std::string forwardEntryId_;
|
std::string forwardEntryId_;
|
||||||
std::string forwardEntryName_;
|
std::string forwardEntryName_;
|
||||||
int healthCheckPort_;
|
std::string internalPort_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -30,6 +30,10 @@ class ALIBABACLOUD_ENS_EXPORT ModifySnatEntryRequest : public RpcServiceRequest
|
|||||||
public:
|
public:
|
||||||
ModifySnatEntryRequest();
|
ModifySnatEntryRequest();
|
||||||
~ModifySnatEntryRequest();
|
~ModifySnatEntryRequest();
|
||||||
|
std::string getSnatIp() const;
|
||||||
|
void setSnatIp(const std::string &snatIp);
|
||||||
|
bool getEipAffinity() const;
|
||||||
|
void setEipAffinity(bool eipAffinity);
|
||||||
std::string getSnatEntryId() const;
|
std::string getSnatEntryId() const;
|
||||||
void setSnatEntryId(const std::string &snatEntryId);
|
void setSnatEntryId(const std::string &snatEntryId);
|
||||||
std::string getSnatEntryName() const;
|
std::string getSnatEntryName() const;
|
||||||
@@ -38,6 +42,8 @@ public:
|
|||||||
void setIspAffinity(bool ispAffinity);
|
void setIspAffinity(bool ispAffinity);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string snatIp_;
|
||||||
|
bool eipAffinity_;
|
||||||
std::string snatEntryId_;
|
std::string snatEntryId_;
|
||||||
std::string snatEntryName_;
|
std::string snatEntryName_;
|
||||||
bool ispAffinity_;
|
bool ispAffinity_;
|
||||||
|
|||||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
|||||||
ReleaseInstanceResult();
|
ReleaseInstanceResult();
|
||||||
explicit ReleaseInstanceResult(const std::string &payload);
|
explicit ReleaseInstanceResult(const std::string &payload);
|
||||||
~ReleaseInstanceResult();
|
~ReleaseInstanceResult();
|
||||||
|
std::string getResourceType()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string resourceType_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,9 +32,12 @@ public:
|
|||||||
~UnAssociateEnsEipAddressRequest();
|
~UnAssociateEnsEipAddressRequest();
|
||||||
std::string getAllocationId() const;
|
std::string getAllocationId() const;
|
||||||
void setAllocationId(const std::string &allocationId);
|
void setAllocationId(const std::string &allocationId);
|
||||||
|
bool getForce() const;
|
||||||
|
void setForce(bool force);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string allocationId_;
|
std::string allocationId_;
|
||||||
|
bool force_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Ens
|
} // namespace Ens
|
||||||
|
|||||||
@@ -6531,6 +6531,42 @@ EnsClient::DescribeUserBandWidthDataOutcomeCallable EnsClient::describeUserBandW
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EnsClient::DescribeVSwitchAttributesOutcome EnsClient::describeVSwitchAttributes(const DescribeVSwitchAttributesRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeVSwitchAttributesOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeVSwitchAttributesOutcome(DescribeVSwitchAttributesResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeVSwitchAttributesOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EnsClient::describeVSwitchAttributesAsync(const DescribeVSwitchAttributesRequest& request, const DescribeVSwitchAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeVSwitchAttributes(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EnsClient::DescribeVSwitchAttributesOutcomeCallable EnsClient::describeVSwitchAttributesCallable(const DescribeVSwitchAttributesRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeVSwitchAttributesOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeVSwitchAttributes(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EnsClient::DescribeVSwitchesOutcome EnsClient::describeVSwitches(const DescribeVSwitchesRequest &request) const
|
EnsClient::DescribeVSwitchesOutcome EnsClient::describeVSwitches(const DescribeVSwitchesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -7323,6 +7359,42 @@ EnsClient::ListObjectsOutcomeCallable EnsClient::listObjectsCallable(const ListO
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EnsClient::ListProductAbilitiesOutcome EnsClient::listProductAbilities(const ListProductAbilitiesRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListProductAbilitiesOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListProductAbilitiesOutcome(ListProductAbilitiesResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListProductAbilitiesOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EnsClient::listProductAbilitiesAsync(const ListProductAbilitiesRequest& request, const ListProductAbilitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listProductAbilities(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EnsClient::ListProductAbilitiesOutcomeCallable EnsClient::listProductAbilitiesCallable(const ListProductAbilitiesRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListProductAbilitiesOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listProductAbilities(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EnsClient::ListTagResourcesOutcome EnsClient::listTagResources(const ListTagResourcesRequest &request) const
|
EnsClient::ListTagResourcesOutcome EnsClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -7395,6 +7467,42 @@ EnsClient::ModifyEnsEipAddressAttributeOutcomeCallable EnsClient::modifyEnsEipAd
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EnsClient::ModifyEnsRouteEntryOutcome EnsClient::modifyEnsRouteEntry(const ModifyEnsRouteEntryRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ModifyEnsRouteEntryOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ModifyEnsRouteEntryOutcome(ModifyEnsRouteEntryResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ModifyEnsRouteEntryOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EnsClient::modifyEnsRouteEntryAsync(const ModifyEnsRouteEntryRequest& request, const ModifyEnsRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, modifyEnsRouteEntry(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EnsClient::ModifyEnsRouteEntryOutcomeCallable EnsClient::modifyEnsRouteEntryCallable(const ModifyEnsRouteEntryRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ModifyEnsRouteEntryOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->modifyEnsRouteEntry(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EnsClient::ModifyEpnInstanceOutcome EnsClient::modifyEpnInstance(const ModifyEpnInstanceRequest &request) const
|
EnsClient::ModifyEpnInstanceOutcome EnsClient::modifyEpnInstance(const ModifyEpnInstanceRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -75,6 +75,15 @@ void CreateEipInstanceRequest::setName(const std::string &name) {
|
|||||||
setParameter(std::string("Name"), name);
|
setParameter(std::string("Name"), name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateEipInstanceRequest::getClientToken() const {
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateEipInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter(std::string("ClientToken"), clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateEipInstanceRequest::getDescription() const {
|
std::string CreateEipInstanceRequest::getDescription() const {
|
||||||
return description_;
|
return description_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,15 +34,6 @@ void CreateEnsRouteEntryRequest::setRouteEntryName(const std::string &routeEntry
|
|||||||
setParameter(std::string("RouteEntryName"), routeEntryName);
|
setParameter(std::string("RouteEntryName"), routeEntryName);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateEnsRouteEntryRequest::getDescription() const {
|
|
||||||
return description_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CreateEnsRouteEntryRequest::setDescription(const std::string &description) {
|
|
||||||
description_ = description;
|
|
||||||
setParameter(std::string("Description"), description);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string CreateEnsRouteEntryRequest::getNextHopId() const {
|
std::string CreateEnsRouteEntryRequest::getNextHopId() const {
|
||||||
return nextHopId_;
|
return nextHopId_;
|
||||||
}
|
}
|
||||||
@@ -79,3 +70,21 @@ void CreateEnsRouteEntryRequest::setDestinationCidrBlock(const std::string &dest
|
|||||||
setParameter(std::string("DestinationCidrBlock"), destinationCidrBlock);
|
setParameter(std::string("DestinationCidrBlock"), destinationCidrBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateEnsRouteEntryRequest::getDescription() const {
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateEnsRouteEntryRequest::setDescription(const std::string &description) {
|
||||||
|
description_ = description;
|
||||||
|
setParameter(std::string("Description"), description);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateEnsRouteEntryRequest::getSourceCidrBlock() const {
|
||||||
|
return sourceCidrBlock_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateEnsRouteEntryRequest::setSourceCidrBlock(const std::string &sourceCidrBlock) {
|
||||||
|
sourceCidrBlock_ = sourceCidrBlock;
|
||||||
|
setParameter(std::string("SourceCidrBlock"), sourceCidrBlock);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,15 @@ void CreateImageRequest::setImageName(const std::string &imageName) {
|
|||||||
setParameter(std::string("ImageName"), imageName);
|
setParameter(std::string("ImageName"), imageName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateImageRequest::getTargetOSSRegionId() const {
|
||||||
|
return targetOSSRegionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageRequest::setTargetOSSRegionId(const std::string &targetOSSRegionId) {
|
||||||
|
targetOSSRegionId_ = targetOSSRegionId;
|
||||||
|
setParameter(std::string("TargetOSSRegionId"), targetOSSRegionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateImageRequest::getInstanceId() const {
|
std::string CreateImageRequest::getInstanceId() const {
|
||||||
return instanceId_;
|
return instanceId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,6 +70,15 @@ void CreateLoadBalancerRequest::setNetworkId(const std::string &networkId) {
|
|||||||
setParameter(std::string("NetworkId"), networkId);
|
setParameter(std::string("NetworkId"), networkId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateLoadBalancerRequest::getClientToken() const {
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateLoadBalancerRequest::setClientToken(const std::string &clientToken) {
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter(std::string("ClientToken"), clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateLoadBalancerRequest::getPayType() const {
|
std::string CreateLoadBalancerRequest::getPayType() const {
|
||||||
return payType_;
|
return payType_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,3 +43,22 @@ void CreateSecurityGroupRequest::setSecurityGroupName(const std::string &securit
|
|||||||
setParameter(std::string("SecurityGroupName"), securityGroupName);
|
setParameter(std::string("SecurityGroupName"), securityGroupName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<CreateSecurityGroupRequest::Permissions> CreateSecurityGroupRequest::getPermissions() const {
|
||||||
|
return permissions_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateSecurityGroupRequest::setPermissions(const std::vector<CreateSecurityGroupRequest::Permissions> &permissions) {
|
||||||
|
permissions_ = permissions;
|
||||||
|
for(int dep1 = 0; dep1 != permissions.size(); dep1++) {
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".SourcePortRange", permissions[dep1].sourcePortRange);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".PortRange", permissions[dep1].portRange);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".IpProtocol", permissions[dep1].ipProtocol);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".SourceCidrIp", permissions[dep1].sourceCidrIp);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".Description", permissions[dep1].description);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".Priority", std::to_string(permissions[dep1].priority));
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".DestCidrIp", permissions[dep1].destCidrIp);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".Direction", permissions[dep1].direction);
|
||||||
|
setParameter(std::string("Permissions") + "." + std::to_string(dep1 + 1) + ".Policy", permissions[dep1].policy);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,15 @@ void CreateSnatEntryRequest::setSourceVSwitchId(const std::string &sourceVSwitch
|
|||||||
setParameter(std::string("SourceVSwitchId"), sourceVSwitchId);
|
setParameter(std::string("SourceVSwitchId"), sourceVSwitchId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CreateSnatEntryRequest::getEipAffinity() const {
|
||||||
|
return eipAffinity_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateSnatEntryRequest::setEipAffinity(bool eipAffinity) {
|
||||||
|
eipAffinity_ = eipAffinity;
|
||||||
|
setParameter(std::string("EipAffinity"), eipAffinity ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateSnatEntryRequest::getSourceNetworkId() const {
|
std::string CreateSnatEntryRequest::getSourceNetworkId() const {
|
||||||
return sourceNetworkId_;
|
return sourceNetworkId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ DeleteNatGatewayRequest::DeleteNatGatewayRequest()
|
|||||||
|
|
||||||
DeleteNatGatewayRequest::~DeleteNatGatewayRequest() {}
|
DeleteNatGatewayRequest::~DeleteNatGatewayRequest() {}
|
||||||
|
|
||||||
|
bool DeleteNatGatewayRequest::getForceDelete() const {
|
||||||
|
return forceDelete_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteNatGatewayRequest::setForceDelete(bool forceDelete) {
|
||||||
|
forceDelete_ = forceDelete;
|
||||||
|
setParameter(std::string("ForceDelete"), forceDelete ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
std::string DeleteNatGatewayRequest::getNatGatewayId() const {
|
std::string DeleteNatGatewayRequest::getNatGatewayId() const {
|
||||||
return natGatewayId_;
|
return natGatewayId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,9 @@ void DescribeCloudDiskAvailableResourceInfoResult::parse(const std::string &payl
|
|||||||
supportResourcesObject.category = valueSupportResourcesSupportResource["Category"].asString();
|
supportResourcesObject.category = valueSupportResourcesSupportResource["Category"].asString();
|
||||||
if(!valueSupportResourcesSupportResource["DefaultDiskSize"].isNull())
|
if(!valueSupportResourcesSupportResource["DefaultDiskSize"].isNull())
|
||||||
supportResourcesObject.defaultDiskSize = std::stol(valueSupportResourcesSupportResource["DefaultDiskSize"].asString());
|
supportResourcesObject.defaultDiskSize = std::stol(valueSupportResourcesSupportResource["DefaultDiskSize"].asString());
|
||||||
|
auto allAbility = value["Ability"]["Ability"];
|
||||||
|
for (auto value : allAbility)
|
||||||
|
supportResourcesObject.ability.push_back(value.asString());
|
||||||
supportResources_.push_back(supportResourcesObject);
|
supportResources_.push_back(supportResourcesObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,9 @@ void DescribeElbAvailableResourceInfoResult::parse(const std::string &payload)
|
|||||||
auto allLoadBalancerSpec = value["LoadBalancerSpec"]["LoadBalancerSpec"];
|
auto allLoadBalancerSpec = value["LoadBalancerSpec"]["LoadBalancerSpec"];
|
||||||
for (auto value : allLoadBalancerSpec)
|
for (auto value : allLoadBalancerSpec)
|
||||||
elbAvailableResourceInfoObject.loadBalancerSpec.push_back(value.asString());
|
elbAvailableResourceInfoObject.loadBalancerSpec.push_back(value.asString());
|
||||||
|
auto allAbility = value["Ability"]["Ability"];
|
||||||
|
for (auto value : allAbility)
|
||||||
|
elbAvailableResourceInfoObject.ability.push_back(value.asString());
|
||||||
elbAvailableResourceInfo_.push_back(elbAvailableResourceInfoObject);
|
elbAvailableResourceInfo_.push_back(elbAvailableResourceInfoObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,10 @@ void DescribeEnsRouteEntryListResult::parse(const std::string &payload)
|
|||||||
routeEntrysObject.routeEntryId = valueRouteEntrysRouteEntry["RouteEntryId"].asString();
|
routeEntrysObject.routeEntryId = valueRouteEntrysRouteEntry["RouteEntryId"].asString();
|
||||||
if(!valueRouteEntrysRouteEntry["RouteTableId"].isNull())
|
if(!valueRouteEntrysRouteEntry["RouteTableId"].isNull())
|
||||||
routeEntrysObject.routeTableId = valueRouteEntrysRouteEntry["RouteTableId"].asString();
|
routeEntrysObject.routeTableId = valueRouteEntrysRouteEntry["RouteTableId"].asString();
|
||||||
|
if(!valueRouteEntrysRouteEntry["SourceCidrBlock"].isNull())
|
||||||
|
routeEntrysObject.sourceCidrBlock = valueRouteEntrysRouteEntry["SourceCidrBlock"].asString();
|
||||||
|
if(!valueRouteEntrysRouteEntry["CreationTime"].isNull())
|
||||||
|
routeEntrysObject.creationTime = valueRouteEntrysRouteEntry["CreationTime"].asString();
|
||||||
auto allNextHopsNode = valueRouteEntrysRouteEntry["NextHops"]["NextHop"];
|
auto allNextHopsNode = valueRouteEntrysRouteEntry["NextHops"]["NextHop"];
|
||||||
for (auto valueRouteEntrysRouteEntryNextHopsNextHop : allNextHopsNode)
|
for (auto valueRouteEntrysRouteEntryNextHopsNextHop : allNextHopsNode)
|
||||||
{
|
{
|
||||||
@@ -65,6 +69,8 @@ void DescribeEnsRouteEntryListResult::parse(const std::string &payload)
|
|||||||
nextHopsObject.nextHopId = valueRouteEntrysRouteEntryNextHopsNextHop["NextHopId"].asString();
|
nextHopsObject.nextHopId = valueRouteEntrysRouteEntryNextHopsNextHop["NextHopId"].asString();
|
||||||
if(!valueRouteEntrysRouteEntryNextHopsNextHop["NextHopType"].isNull())
|
if(!valueRouteEntrysRouteEntryNextHopsNextHop["NextHopType"].isNull())
|
||||||
nextHopsObject.nextHopType = valueRouteEntrysRouteEntryNextHopsNextHop["NextHopType"].asString();
|
nextHopsObject.nextHopType = valueRouteEntrysRouteEntryNextHopsNextHop["NextHopType"].asString();
|
||||||
|
if(!valueRouteEntrysRouteEntryNextHopsNextHop["NextHopName"].isNull())
|
||||||
|
nextHopsObject.nextHopName = valueRouteEntrysRouteEntryNextHopsNextHop["NextHopName"].asString();
|
||||||
routeEntrysObject.nextHops.push_back(nextHopsObject);
|
routeEntrysObject.nextHops.push_back(nextHopsObject);
|
||||||
}
|
}
|
||||||
routeEntrys_.push_back(routeEntrysObject);
|
routeEntrys_.push_back(routeEntrysObject);
|
||||||
|
|||||||
@@ -25,22 +25,22 @@ DescribeEnsRouteTablesRequest::DescribeEnsRouteTablesRequest()
|
|||||||
|
|
||||||
DescribeEnsRouteTablesRequest::~DescribeEnsRouteTablesRequest() {}
|
DescribeEnsRouteTablesRequest::~DescribeEnsRouteTablesRequest() {}
|
||||||
|
|
||||||
int DescribeEnsRouteTablesRequest::getPageNumber() const {
|
std::string DescribeEnsRouteTablesRequest::getType() const {
|
||||||
return pageNumber_;
|
return type_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeEnsRouteTablesRequest::setPageNumber(int pageNumber) {
|
void DescribeEnsRouteTablesRequest::setType(const std::string &type) {
|
||||||
pageNumber_ = pageNumber;
|
type_ = type;
|
||||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
setParameter(std::string("Type"), type);
|
||||||
}
|
}
|
||||||
|
|
||||||
int DescribeEnsRouteTablesRequest::getPageSize() const {
|
std::string DescribeEnsRouteTablesRequest::getAssociateType() const {
|
||||||
return pageSize_;
|
return associateType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeEnsRouteTablesRequest::setPageSize(int pageSize) {
|
void DescribeEnsRouteTablesRequest::setAssociateType(const std::string &associateType) {
|
||||||
pageSize_ = pageSize;
|
associateType_ = associateType;
|
||||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
setParameter(std::string("AssociateType"), associateType);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeEnsRouteTablesRequest::getEnsRegionId() const {
|
std::string DescribeEnsRouteTablesRequest::getEnsRegionId() const {
|
||||||
@@ -70,3 +70,41 @@ void DescribeEnsRouteTablesRequest::setNetworkId(const std::string &networkId) {
|
|||||||
setParameter(std::string("NetworkId"), networkId);
|
setParameter(std::string("NetworkId"), networkId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeEnsRouteTablesRequest::getPageNumber() const {
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeEnsRouteTablesRequest::setPageNumber(int pageNumber) {
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeEnsRouteTablesRequest::getRouteTableName() const {
|
||||||
|
return routeTableName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeEnsRouteTablesRequest::setRouteTableName(const std::string &routeTableName) {
|
||||||
|
routeTableName_ = routeTableName;
|
||||||
|
setParameter(std::string("RouteTableName"), routeTableName);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeEnsRouteTablesRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeEnsRouteTablesRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeEnsRouteTablesRequest::std::string> DescribeEnsRouteTablesRequest::getEnsRegionIds() const {
|
||||||
|
return ensRegionIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeEnsRouteTablesRequest::setEnsRegionIds(const std::vector<DescribeEnsRouteTablesRequest::std::string> &ensRegionIds) {
|
||||||
|
ensRegionIds_ = ensRegionIds;
|
||||||
|
for(int dep1 = 0; dep1 != ensRegionIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("EnsRegionIds") + "." + std::to_string(dep1 + 1), ensRegionIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,24 @@ void DescribeEnsRouteTablesResult::parse(const std::string &payload)
|
|||||||
routeTablesObject.routeTableName = valueRouteTablesRouteTable["RouteTableName"].asString();
|
routeTablesObject.routeTableName = valueRouteTablesRouteTable["RouteTableName"].asString();
|
||||||
if(!valueRouteTablesRouteTable["NetworkName"].isNull())
|
if(!valueRouteTablesRouteTable["NetworkName"].isNull())
|
||||||
routeTablesObject.networkName = valueRouteTablesRouteTable["NetworkName"].asString();
|
routeTablesObject.networkName = valueRouteTablesRouteTable["NetworkName"].asString();
|
||||||
|
if(!valueRouteTablesRouteTable["AssociateType"].isNull())
|
||||||
|
routeTablesObject.associateType = valueRouteTablesRouteTable["AssociateType"].asString();
|
||||||
|
if(!valueRouteTablesRouteTable["Description"].isNull())
|
||||||
|
routeTablesObject.description = valueRouteTablesRouteTable["Description"].asString();
|
||||||
|
if(!valueRouteTablesRouteTable["IsDefaultGatewayRouteTable"].isNull())
|
||||||
|
routeTablesObject.isDefaultGatewayRouteTable = valueRouteTablesRouteTable["IsDefaultGatewayRouteTable"].asString() == "true";
|
||||||
|
auto allAssociatedResourcesNode = valueRouteTablesRouteTable["AssociatedResources"]["AssociatedResource"];
|
||||||
|
for (auto valueRouteTablesRouteTableAssociatedResourcesAssociatedResource : allAssociatedResourcesNode)
|
||||||
|
{
|
||||||
|
RouteTable::AssociatedResource associatedResourcesObject;
|
||||||
|
if(!valueRouteTablesRouteTableAssociatedResourcesAssociatedResource["ResourceType"].isNull())
|
||||||
|
associatedResourcesObject.resourceType = valueRouteTablesRouteTableAssociatedResourcesAssociatedResource["ResourceType"].asString();
|
||||||
|
if(!valueRouteTablesRouteTableAssociatedResourcesAssociatedResource["ResourceId"].isNull())
|
||||||
|
associatedResourcesObject.resourceId = valueRouteTablesRouteTableAssociatedResourcesAssociatedResource["ResourceId"].asString();
|
||||||
|
if(!valueRouteTablesRouteTableAssociatedResourcesAssociatedResource["ResourceName"].isNull())
|
||||||
|
associatedResourcesObject.resourceName = valueRouteTablesRouteTableAssociatedResourcesAssociatedResource["ResourceName"].asString();
|
||||||
|
routeTablesObject.associatedResources.push_back(associatedResourcesObject);
|
||||||
|
}
|
||||||
auto allVSwitchIds = value["VSwitchIds"]["VSwitch"];
|
auto allVSwitchIds = value["VSwitchIds"]["VSwitch"];
|
||||||
for (auto value : allVSwitchIds)
|
for (auto value : allVSwitchIds)
|
||||||
routeTablesObject.vSwitchIds.push_back(value.asString());
|
routeTablesObject.vSwitchIds.push_back(value.asString());
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ void DescribeImageInfosResult::parse(const std::string &payload)
|
|||||||
imagesObject.oSType = valueImagesImage["OSType"].asString();
|
imagesObject.oSType = valueImagesImage["OSType"].asString();
|
||||||
if(!valueImagesImage["ComputeType"].isNull())
|
if(!valueImagesImage["ComputeType"].isNull())
|
||||||
imagesObject.computeType = valueImagesImage["ComputeType"].asString();
|
imagesObject.computeType = valueImagesImage["ComputeType"].asString();
|
||||||
|
if(!valueImagesImage["RegionId"].isNull())
|
||||||
|
imagesObject.regionId = valueImagesImage["RegionId"].asString();
|
||||||
auto allDiskDeviceMappingsNode = valueImagesImage["DiskDeviceMappings"]["DiskDeviceMapping"];
|
auto allDiskDeviceMappingsNode = valueImagesImage["DiskDeviceMappings"]["DiskDeviceMapping"];
|
||||||
for (auto valueImagesImageDiskDeviceMappingsDiskDeviceMapping : allDiskDeviceMappingsNode)
|
for (auto valueImagesImageDiskDeviceMappingsDiskDeviceMapping : allDiskDeviceMappingsNode)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,9 +39,14 @@ void DescribeImageSharePermissionResult::parse(const std::string &payload)
|
|||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
auto allAccounts = value["Accounts"]["Account"];
|
auto allAccountsNode = value["Accounts"]["Account"];
|
||||||
for (const auto &item : allAccounts)
|
for (auto valueAccountsAccount : allAccountsNode)
|
||||||
accounts_.push_back(item.asString());
|
{
|
||||||
|
Account accountsObject;
|
||||||
|
if(!valueAccountsAccount["AliyunUid"].isNull())
|
||||||
|
accountsObject.aliyunUid = valueAccountsAccount["AliyunUid"].asString();
|
||||||
|
accounts_.push_back(accountsObject);
|
||||||
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
if(!value["PageSize"].isNull())
|
if(!value["PageSize"].isNull())
|
||||||
@@ -73,7 +78,7 @@ std::string DescribeImageSharePermissionResult::getImageId()const
|
|||||||
return imageId_;
|
return imageId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::string> DescribeImageSharePermissionResult::getAccounts()const
|
std::vector<DescribeImageSharePermissionResult::Account> DescribeImageSharePermissionResult::getAccounts()const
|
||||||
{
|
{
|
||||||
return accounts_;
|
return accounts_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ void DescribeImagesResult::parse(const std::string &payload)
|
|||||||
imagesObject.platform = valueImagesImage["Platform"].asString();
|
imagesObject.platform = valueImagesImage["Platform"].asString();
|
||||||
if(!valueImagesImage["SnapshotId"].isNull())
|
if(!valueImagesImage["SnapshotId"].isNull())
|
||||||
imagesObject.snapshotId = valueImagesImage["SnapshotId"].asString();
|
imagesObject.snapshotId = valueImagesImage["SnapshotId"].asString();
|
||||||
|
if(!valueImagesImage["RegionId"].isNull())
|
||||||
|
imagesObject.regionId = valueImagesImage["RegionId"].asString();
|
||||||
auto allDiskDeviceMappingsNode = valueImagesImage["DiskDeviceMappings"]["DiskDeviceMapping"];
|
auto allDiskDeviceMappingsNode = valueImagesImage["DiskDeviceMappings"]["DiskDeviceMapping"];
|
||||||
for (auto valueImagesImageDiskDeviceMappingsDiskDeviceMapping : allDiskDeviceMappingsNode)
|
for (auto valueImagesImageDiskDeviceMappingsDiskDeviceMapping : allDiskDeviceMappingsNode)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -69,6 +69,8 @@ void DescribeLoadBalancerAttributeResult::parse(const std::string &payload)
|
|||||||
listenerPortsAndProtocolsObject.listenerForward = valueListenerPortsAndProtocolslistener["ListenerForward"].asString();
|
listenerPortsAndProtocolsObject.listenerForward = valueListenerPortsAndProtocolslistener["ListenerForward"].asString();
|
||||||
if(!valueListenerPortsAndProtocolslistener["ForwardPort"].isNull())
|
if(!valueListenerPortsAndProtocolslistener["ForwardPort"].isNull())
|
||||||
listenerPortsAndProtocolsObject.forwardPort = std::stoi(valueListenerPortsAndProtocolslistener["ForwardPort"].asString());
|
listenerPortsAndProtocolsObject.forwardPort = std::stoi(valueListenerPortsAndProtocolslistener["ForwardPort"].asString());
|
||||||
|
if(!valueListenerPortsAndProtocolslistener["BackendServerPort"].isNull())
|
||||||
|
listenerPortsAndProtocolsObject.backendServerPort = std::stoi(valueListenerPortsAndProtocolslistener["BackendServerPort"].asString());
|
||||||
listenerPortsAndProtocols_.push_back(listenerPortsAndProtocolsObject);
|
listenerPortsAndProtocols_.push_back(listenerPortsAndProtocolsObject);
|
||||||
}
|
}
|
||||||
auto allListenerPorts = value["ListenerPorts"]["listenerPort"];
|
auto allListenerPorts = value["ListenerPorts"]["listenerPort"];
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ DescribeLoadBalancerListenersRequest::DescribeLoadBalancerListenersRequest()
|
|||||||
|
|
||||||
DescribeLoadBalancerListenersRequest::~DescribeLoadBalancerListenersRequest() {}
|
DescribeLoadBalancerListenersRequest::~DescribeLoadBalancerListenersRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeLoadBalancerListenersRequest::getDescription() const {
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeLoadBalancerListenersRequest::setDescription(const std::string &description) {
|
||||||
|
description_ = description;
|
||||||
|
setParameter(std::string("Description"), description);
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeLoadBalancerListenersRequest::getPageNumber() const {
|
int DescribeLoadBalancerListenersRequest::getPageNumber() const {
|
||||||
return pageNumber_;
|
return pageNumber_;
|
||||||
}
|
}
|
||||||
@@ -43,6 +52,15 @@ void DescribeLoadBalancerListenersRequest::setPageSize(int pageSize) {
|
|||||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeLoadBalancerListenersRequest::getListenerPort() const {
|
||||||
|
return listenerPort_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeLoadBalancerListenersRequest::setListenerPort(int listenerPort) {
|
||||||
|
listenerPort_ = listenerPort;
|
||||||
|
setParameter(std::string("ListenerPort"), std::to_string(listenerPort));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeLoadBalancerListenersRequest::getLoadBalancerId() const {
|
std::string DescribeLoadBalancerListenersRequest::getLoadBalancerId() const {
|
||||||
return loadBalancerId_;
|
return loadBalancerId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ void DescribeLoadBalancerListenersResult::parse(const std::string &payload)
|
|||||||
listenersObject.forwardPort = valueListenersListener["ForwardPort"].asString();
|
listenersObject.forwardPort = valueListenersListener["ForwardPort"].asString();
|
||||||
if(!valueListenersListener["CreateTime"].isNull())
|
if(!valueListenersListener["CreateTime"].isNull())
|
||||||
listenersObject.createTime = valueListenersListener["CreateTime"].asString();
|
listenersObject.createTime = valueListenersListener["CreateTime"].asString();
|
||||||
|
if(!valueListenersListener["BackendServerPort"].isNull())
|
||||||
|
listenersObject.backendServerPort = std::stoi(valueListenersListener["BackendServerPort"].asString());
|
||||||
listeners_.push_back(listenersObject);
|
listeners_.push_back(listenersObject);
|
||||||
}
|
}
|
||||||
if(!value["PageNumber"].isNull())
|
if(!value["PageNumber"].isNull())
|
||||||
|
|||||||
@@ -97,6 +97,17 @@ void DescribeLoadBalancersRequest::setPageSize(int pageSize) {
|
|||||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeLoadBalancersRequest::std::string> DescribeLoadBalancersRequest::getEnsRegionIds() const {
|
||||||
|
return ensRegionIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeLoadBalancersRequest::setEnsRegionIds(const std::vector<DescribeLoadBalancersRequest::std::string> &ensRegionIds) {
|
||||||
|
ensRegionIds_ = ensRegionIds;
|
||||||
|
for(int dep1 = 0; dep1 != ensRegionIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("EnsRegionIds") + "." + std::to_string(dep1 + 1), ensRegionIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeLoadBalancersRequest::getAddress() const {
|
std::string DescribeLoadBalancersRequest::getAddress() const {
|
||||||
return address_;
|
return address_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,3 +88,25 @@ void DescribeNatGatewaysRequest::setNatGatewayId(const std::string &natGatewayId
|
|||||||
setParameter(std::string("NatGatewayId"), natGatewayId);
|
setParameter(std::string("NatGatewayId"), natGatewayId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeNatGatewaysRequest::std::string> DescribeNatGatewaysRequest::getEnsRegionIds() const {
|
||||||
|
return ensRegionIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNatGatewaysRequest::setEnsRegionIds(const std::vector<DescribeNatGatewaysRequest::std::string> &ensRegionIds) {
|
||||||
|
ensRegionIds_ = ensRegionIds;
|
||||||
|
for(int dep1 = 0; dep1 != ensRegionIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("EnsRegionIds") + "." + std::to_string(dep1 + 1), ensRegionIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeNatGatewaysRequest::std::string> DescribeNatGatewaysRequest::getNatGatewayIds() const {
|
||||||
|
return natGatewayIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNatGatewaysRequest::setNatGatewayIds(const std::vector<DescribeNatGatewaysRequest::std::string> &natGatewayIds) {
|
||||||
|
natGatewayIds_ = natGatewayIds;
|
||||||
|
for(int dep1 = 0; dep1 != natGatewayIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("NatGatewayIds") + "." + std::to_string(dep1 + 1), natGatewayIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,20 @@ void DescribeNatGatewaysResult::parse(const std::string &payload)
|
|||||||
natGatewaysObject.creationTime = valueNatGatewaysNatGateway["CreationTime"].asString();
|
natGatewaysObject.creationTime = valueNatGatewaysNatGateway["CreationTime"].asString();
|
||||||
if(!valueNatGatewaysNatGateway["Spec"].isNull())
|
if(!valueNatGatewaysNatGateway["Spec"].isNull())
|
||||||
natGatewaysObject.spec = valueNatGatewaysNatGateway["Spec"].asString();
|
natGatewaysObject.spec = valueNatGatewaysNatGateway["Spec"].asString();
|
||||||
|
if(!valueNatGatewaysNatGateway["Status"].isNull())
|
||||||
|
natGatewaysObject.status = valueNatGatewaysNatGateway["Status"].asString();
|
||||||
|
auto allIpListsNode = valueNatGatewaysNatGateway["IpLists"]["IpList"];
|
||||||
|
for (auto valueNatGatewaysNatGatewayIpListsIpList : allIpListsNode)
|
||||||
|
{
|
||||||
|
NatGateway::IpList ipListsObject;
|
||||||
|
if(!valueNatGatewaysNatGatewayIpListsIpList["UsingStatus"].isNull())
|
||||||
|
ipListsObject.usingStatus = valueNatGatewaysNatGatewayIpListsIpList["UsingStatus"].asString();
|
||||||
|
if(!valueNatGatewaysNatGatewayIpListsIpList["IpAddress"].isNull())
|
||||||
|
ipListsObject.ipAddress = valueNatGatewaysNatGatewayIpListsIpList["IpAddress"].asString();
|
||||||
|
if(!valueNatGatewaysNatGatewayIpListsIpList["AllocationId"].isNull())
|
||||||
|
ipListsObject.allocationId = valueNatGatewaysNatGatewayIpListsIpList["AllocationId"].asString();
|
||||||
|
natGatewaysObject.ipLists.push_back(ipListsObject);
|
||||||
|
}
|
||||||
natGateways_.push_back(natGatewaysObject);
|
natGateways_.push_back(natGatewaysObject);
|
||||||
}
|
}
|
||||||
if(!value["PageNumber"].isNull())
|
if(!value["PageNumber"].isNull())
|
||||||
|
|||||||
@@ -52,6 +52,24 @@ void DescribeNetworkAttributeResult::parse(const std::string &payload)
|
|||||||
auto allVSwitchIds = value["VSwitchIds"]["VSwitchId"];
|
auto allVSwitchIds = value["VSwitchIds"]["VSwitchId"];
|
||||||
for (const auto &item : allVSwitchIds)
|
for (const auto &item : allVSwitchIds)
|
||||||
vSwitchIds_.push_back(item.asString());
|
vSwitchIds_.push_back(item.asString());
|
||||||
|
auto allInstanceIds = value["InstanceIds"]["InstanceId"];
|
||||||
|
for (const auto &item : allInstanceIds)
|
||||||
|
instanceIds_.push_back(item.asString());
|
||||||
|
auto allRouteTableIds = value["RouteTableIds"]["RouteTableId"];
|
||||||
|
for (const auto &item : allRouteTableIds)
|
||||||
|
routeTableIds_.push_back(item.asString());
|
||||||
|
auto allNetworkInterfaceIds = value["NetworkInterfaceIds"]["NetworkInterfaceId"];
|
||||||
|
for (const auto &item : allNetworkInterfaceIds)
|
||||||
|
networkInterfaceIds_.push_back(item.asString());
|
||||||
|
auto allLoadBalancerIds = value["LoadBalancerIds"]["LoadBalancerId"];
|
||||||
|
for (const auto &item : allLoadBalancerIds)
|
||||||
|
loadBalancerIds_.push_back(item.asString());
|
||||||
|
auto allNatGatewayIds = value["NatGatewayIds"]["NatGatewayId"];
|
||||||
|
for (const auto &item : allNatGatewayIds)
|
||||||
|
natGatewayIds_.push_back(item.asString());
|
||||||
|
auto allHaVipIds = value["HaVipIds"]["HaVipId"];
|
||||||
|
for (const auto &item : allHaVipIds)
|
||||||
|
haVipIds_.push_back(item.asString());
|
||||||
if(!value["EnsRegionId"].isNull())
|
if(!value["EnsRegionId"].isNull())
|
||||||
ensRegionId_ = value["EnsRegionId"].asString();
|
ensRegionId_ = value["EnsRegionId"].asString();
|
||||||
if(!value["NetworkId"].isNull())
|
if(!value["NetworkId"].isNull())
|
||||||
@@ -70,6 +88,10 @@ void DescribeNetworkAttributeResult::parse(const std::string &payload)
|
|||||||
routerTableId_ = value["RouterTableId"].asString();
|
routerTableId_ = value["RouterTableId"].asString();
|
||||||
if(!value["NetworkAclId"].isNull())
|
if(!value["NetworkAclId"].isNull())
|
||||||
networkAclId_ = value["NetworkAclId"].asString();
|
networkAclId_ = value["NetworkAclId"].asString();
|
||||||
|
if(!value["RouteTableId"].isNull())
|
||||||
|
routeTableId_ = value["RouteTableId"].asString();
|
||||||
|
if(!value["GatewayRouteTableId"].isNull())
|
||||||
|
gatewayRouteTableId_ = value["GatewayRouteTableId"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,6 +105,11 @@ std::string DescribeNetworkAttributeResult::getNetworkName()const
|
|||||||
return networkName_;
|
return networkName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeNetworkAttributeResult::getGatewayRouteTableId()const
|
||||||
|
{
|
||||||
|
return gatewayRouteTableId_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkAttributeResult::getDescription()const
|
std::string DescribeNetworkAttributeResult::getDescription()const
|
||||||
{
|
{
|
||||||
return description_;
|
return description_;
|
||||||
@@ -93,6 +120,11 @@ std::string DescribeNetworkAttributeResult::getCreatedTime()const
|
|||||||
return createdTime_;
|
return createdTime_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeNetworkAttributeResult::getRouteTableId()const
|
||||||
|
{
|
||||||
|
return routeTableId_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkAttributeResult::getNetworkAclId()const
|
std::string DescribeNetworkAttributeResult::getNetworkAclId()const
|
||||||
{
|
{
|
||||||
return networkAclId_;
|
return networkAclId_;
|
||||||
@@ -103,19 +135,19 @@ std::vector<std::string> DescribeNetworkAttributeResult::getVSwitchIds()const
|
|||||||
return vSwitchIds_;
|
return vSwitchIds_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeNetworkAttributeResult::getLoadBalancerIds()const
|
||||||
|
{
|
||||||
|
return loadBalancerIds_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkAttributeResult::getCidrBlock()const
|
std::string DescribeNetworkAttributeResult::getCidrBlock()const
|
||||||
{
|
{
|
||||||
return cidrBlock_;
|
return cidrBlock_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkAttributeResult::getRouterTableId()const
|
std::vector<std::string> DescribeNetworkAttributeResult::getNetworkInterfaceIds()const
|
||||||
{
|
{
|
||||||
return routerTableId_;
|
return networkInterfaceIds_;
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeNetworkAttributeResult::getEnsRegionId()const
|
|
||||||
{
|
|
||||||
return ensRegionId_;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkAttributeResult::getNetworkId()const
|
std::string DescribeNetworkAttributeResult::getNetworkId()const
|
||||||
@@ -123,6 +155,36 @@ std::string DescribeNetworkAttributeResult::getNetworkId()const
|
|||||||
return networkId_;
|
return networkId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeNetworkAttributeResult::getNatGatewayIds()const
|
||||||
|
{
|
||||||
|
return natGatewayIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeNetworkAttributeResult::getRouteTableIds()const
|
||||||
|
{
|
||||||
|
return routeTableIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeNetworkAttributeResult::getHaVipIds()const
|
||||||
|
{
|
||||||
|
return haVipIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeNetworkAttributeResult::getRouterTableId()const
|
||||||
|
{
|
||||||
|
return routerTableId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeNetworkAttributeResult::getInstanceIds()const
|
||||||
|
{
|
||||||
|
return instanceIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeNetworkAttributeResult::getEnsRegionId()const
|
||||||
|
{
|
||||||
|
return ensRegionId_;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<DescribeNetworkAttributeResult::CloudResourceSetType> DescribeNetworkAttributeResult::getCloudResources()const
|
std::vector<DescribeNetworkAttributeResult::CloudResourceSetType> DescribeNetworkAttributeResult::getCloudResources()const
|
||||||
{
|
{
|
||||||
return cloudResources_;
|
return cloudResources_;
|
||||||
|
|||||||
@@ -99,6 +99,17 @@ void DescribeNetworkInterfacesRequest::setStatus(const std::string &status) {
|
|||||||
setParameter(std::string("Status"), status);
|
setParameter(std::string("Status"), status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeNetworkInterfacesRequest::std::string> DescribeNetworkInterfacesRequest::getNetworkInterfaceIds() const {
|
||||||
|
return networkInterfaceIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNetworkInterfacesRequest::setNetworkInterfaceIds(const std::vector<DescribeNetworkInterfacesRequest::std::string> &networkInterfaceIds) {
|
||||||
|
networkInterfaceIds_ = networkInterfaceIds;
|
||||||
|
for(int dep1 = 0; dep1 != networkInterfaceIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("NetworkInterfaceIds") + "." + std::to_string(dep1 + 1), networkInterfaceIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkInterfacesRequest::getSecurityGroupId() const {
|
std::string DescribeNetworkInterfacesRequest::getSecurityGroupId() const {
|
||||||
return securityGroupId_;
|
return securityGroupId_;
|
||||||
}
|
}
|
||||||
@@ -135,6 +146,17 @@ void DescribeNetworkInterfacesRequest::setPageSize(const std::string &pageSize)
|
|||||||
setParameter(std::string("PageSize"), pageSize);
|
setParameter(std::string("PageSize"), pageSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeNetworkInterfacesRequest::std::string> DescribeNetworkInterfacesRequest::getEnsRegionIds() const {
|
||||||
|
return ensRegionIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNetworkInterfacesRequest::setEnsRegionIds(const std::vector<DescribeNetworkInterfacesRequest::std::string> &ensRegionIds) {
|
||||||
|
ensRegionIds_ = ensRegionIds;
|
||||||
|
for(int dep1 = 0; dep1 != ensRegionIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("EnsRegionIds") + "." + std::to_string(dep1 + 1), ensRegionIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeNetworkInterfacesRequest::getPrimaryIpAddress() const {
|
std::string DescribeNetworkInterfacesRequest::getPrimaryIpAddress() const {
|
||||||
return primaryIpAddress_;
|
return primaryIpAddress_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,15 +25,6 @@ DescribeNetworksRequest::DescribeNetworksRequest()
|
|||||||
|
|
||||||
DescribeNetworksRequest::~DescribeNetworksRequest() {}
|
DescribeNetworksRequest::~DescribeNetworksRequest() {}
|
||||||
|
|
||||||
int DescribeNetworksRequest::getPageNumber() const {
|
|
||||||
return pageNumber_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeNetworksRequest::setPageNumber(int pageNumber) {
|
|
||||||
pageNumber_ = pageNumber;
|
|
||||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeNetworksRequest::getEnsRegionId() const {
|
std::string DescribeNetworksRequest::getEnsRegionId() const {
|
||||||
return ensRegionId_;
|
return ensRegionId_;
|
||||||
}
|
}
|
||||||
@@ -43,6 +34,35 @@ void DescribeNetworksRequest::setEnsRegionId(const std::string &ensRegionId) {
|
|||||||
setParameter(std::string("EnsRegionId"), ensRegionId);
|
setParameter(std::string("EnsRegionId"), ensRegionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeNetworksRequest::std::string> DescribeNetworksRequest::getNetworkIds() const {
|
||||||
|
return networkIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNetworksRequest::setNetworkIds(const std::vector<DescribeNetworksRequest::std::string> &networkIds) {
|
||||||
|
networkIds_ = networkIds;
|
||||||
|
for(int dep1 = 0; dep1 != networkIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("NetworkIds") + "." + std::to_string(dep1 + 1), networkIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeNetworksRequest::getNetworkId() const {
|
||||||
|
return networkId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNetworksRequest::setNetworkId(const std::string &networkId) {
|
||||||
|
networkId_ = networkId;
|
||||||
|
setParameter(std::string("NetworkId"), networkId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeNetworksRequest::getPageNumber() const {
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeNetworksRequest::setPageNumber(int pageNumber) {
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeNetworksRequest::getPageSize() const {
|
int DescribeNetworksRequest::getPageSize() const {
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
}
|
}
|
||||||
@@ -61,12 +81,14 @@ void DescribeNetworksRequest::setNetworkName(const std::string &networkName) {
|
|||||||
setParameter(std::string("NetworkName"), networkName);
|
setParameter(std::string("NetworkName"), networkName);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeNetworksRequest::getNetworkId() const {
|
std::vector<DescribeNetworksRequest::std::string> DescribeNetworksRequest::getEnsRegionIds() const {
|
||||||
return networkId_;
|
return ensRegionIds_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeNetworksRequest::setNetworkId(const std::string &networkId) {
|
void DescribeNetworksRequest::setEnsRegionIds(const std::vector<DescribeNetworksRequest::std::string> &ensRegionIds) {
|
||||||
networkId_ = networkId;
|
ensRegionIds_ = ensRegionIds;
|
||||||
setParameter(std::string("NetworkId"), networkId);
|
for(int dep1 = 0; dep1 != ensRegionIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("EnsRegionIds") + "." + std::to_string(dep1 + 1), ensRegionIds[dep1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -61,9 +61,16 @@ void DescribeNetworksResult::parse(const std::string &payload)
|
|||||||
networksObject.routerTableId = valueNetworksNetwork["RouterTableId"].asString();
|
networksObject.routerTableId = valueNetworksNetwork["RouterTableId"].asString();
|
||||||
if(!valueNetworksNetwork["NetworkAclId"].isNull())
|
if(!valueNetworksNetwork["NetworkAclId"].isNull())
|
||||||
networksObject.networkAclId = valueNetworksNetwork["NetworkAclId"].asString();
|
networksObject.networkAclId = valueNetworksNetwork["NetworkAclId"].asString();
|
||||||
|
if(!valueNetworksNetwork["RouteTableId"].isNull())
|
||||||
|
networksObject.routeTableId = valueNetworksNetwork["RouteTableId"].asString();
|
||||||
|
if(!valueNetworksNetwork["GatewayRouteTableId"].isNull())
|
||||||
|
networksObject.gatewayRouteTableId = valueNetworksNetwork["GatewayRouteTableId"].asString();
|
||||||
auto allVSwitchIds = value["VSwitchIds"]["VSwitchId"];
|
auto allVSwitchIds = value["VSwitchIds"]["VSwitchId"];
|
||||||
for (auto value : allVSwitchIds)
|
for (auto value : allVSwitchIds)
|
||||||
networksObject.vSwitchIds.push_back(value.asString());
|
networksObject.vSwitchIds.push_back(value.asString());
|
||||||
|
auto allRouteTableIds = value["RouteTableIds"]["RouteTableId"];
|
||||||
|
for (auto value : allRouteTableIds)
|
||||||
|
networksObject.routeTableIds.push_back(value.asString());
|
||||||
networks_.push_back(networksObject);
|
networks_.push_back(networksObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
@@ -53,6 +53,12 @@ void DescribeSecurityGroupsResult::parse(const std::string &payload)
|
|||||||
securityGroupsObject.securityGroupId = valueSecurityGroupsSecurityGroup["SecurityGroupId"].asString();
|
securityGroupsObject.securityGroupId = valueSecurityGroupsSecurityGroup["SecurityGroupId"].asString();
|
||||||
if(!valueSecurityGroupsSecurityGroup["SecurityGroupName"].isNull())
|
if(!valueSecurityGroupsSecurityGroup["SecurityGroupName"].isNull())
|
||||||
securityGroupsObject.securityGroupName = valueSecurityGroupsSecurityGroup["SecurityGroupName"].asString();
|
securityGroupsObject.securityGroupName = valueSecurityGroupsSecurityGroup["SecurityGroupName"].asString();
|
||||||
|
auto allInstanceIds = value["InstanceIds"]["InstanceId"];
|
||||||
|
for (auto value : allInstanceIds)
|
||||||
|
securityGroupsObject.instanceIds.push_back(value.asString());
|
||||||
|
auto allNetworkInterfaceIds = value["NetworkInterfaceIds"]["NetworkInterfaceId"];
|
||||||
|
for (auto value : allNetworkInterfaceIds)
|
||||||
|
securityGroupsObject.networkInterfaceIds.push_back(value.asString());
|
||||||
securityGroups_.push_back(securityGroupsObject);
|
securityGroups_.push_back(securityGroupsObject);
|
||||||
}
|
}
|
||||||
if(!value["PageSize"].isNull())
|
if(!value["PageSize"].isNull())
|
||||||
|
|||||||
@@ -69,6 +69,8 @@ void DescribeSelfImagesResult::parse(const std::string &payload)
|
|||||||
imagesObject.snapshotId = valueImagesImage["SnapshotId"].asString();
|
imagesObject.snapshotId = valueImagesImage["SnapshotId"].asString();
|
||||||
if(!valueImagesImage["ImageStorageSize"].isNull())
|
if(!valueImagesImage["ImageStorageSize"].isNull())
|
||||||
imagesObject.imageStorageSize = valueImagesImage["ImageStorageSize"].asString();
|
imagesObject.imageStorageSize = valueImagesImage["ImageStorageSize"].asString();
|
||||||
|
if(!valueImagesImage["RegionId"].isNull())
|
||||||
|
imagesObject.regionId = valueImagesImage["RegionId"].asString();
|
||||||
auto allDiskDeviceMappingsNode = valueImagesImage["DiskDeviceMappings"]["DiskDeviceMapping"];
|
auto allDiskDeviceMappingsNode = valueImagesImage["DiskDeviceMappings"]["DiskDeviceMapping"];
|
||||||
for (auto valueImagesImageDiskDeviceMappingsDiskDeviceMapping : allDiskDeviceMappingsNode)
|
for (auto valueImagesImageDiskDeviceMappingsDiskDeviceMapping : allDiskDeviceMappingsNode)
|
||||||
{
|
{
|
||||||
@@ -87,9 +89,30 @@ void DescribeSelfImagesResult::parse(const std::string &payload)
|
|||||||
}
|
}
|
||||||
if(!value["Code"].isNull())
|
if(!value["Code"].isNull())
|
||||||
code_ = std::stoi(value["Code"].asString());
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = value["PageSize"].asString();
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = value["PageNumber"].asString();
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = value["TotalCount"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeSelfImagesResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeSelfImagesResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeSelfImagesResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<DescribeSelfImagesResult::Image> DescribeSelfImagesResult::getImages()const
|
std::vector<DescribeSelfImagesResult::Image> DescribeSelfImagesResult::getImages()const
|
||||||
{
|
{
|
||||||
return images_;
|
return images_;
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ void DescribeSnatAttributeResult::parse(const std::string &payload)
|
|||||||
destCIDR_ = value["DestCIDR"].asString();
|
destCIDR_ = value["DestCIDR"].asString();
|
||||||
if(!value["IspAffinity"].isNull())
|
if(!value["IspAffinity"].isNull())
|
||||||
ispAffinity_ = value["IspAffinity"].asString() == "true";
|
ispAffinity_ = value["IspAffinity"].asString() == "true";
|
||||||
|
if(!value["EipAffinity"].isNull())
|
||||||
|
eipAffinity_ = value["EipAffinity"].asString() == "true";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -105,6 +107,11 @@ std::string DescribeSnatAttributeResult::getStandbySnatIp()const
|
|||||||
return standbySnatIp_;
|
return standbySnatIp_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool DescribeSnatAttributeResult::getEipAffinity()const
|
||||||
|
{
|
||||||
|
return eipAffinity_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeSnatAttributeResult::getType()const
|
std::string DescribeSnatAttributeResult::getType()const
|
||||||
{
|
{
|
||||||
return type_;
|
return type_;
|
||||||
|
|||||||
@@ -43,6 +43,17 @@ void DescribeSnatTableEntriesRequest::setSnatEntryId(const std::string &snatEntr
|
|||||||
setParameter(std::string("SnatEntryId"), snatEntryId);
|
setParameter(std::string("SnatEntryId"), snatEntryId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeSnatTableEntriesRequest::std::string> DescribeSnatTableEntriesRequest::getSnatIps() const {
|
||||||
|
return snatIps_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeSnatTableEntriesRequest::setSnatIps(const std::vector<DescribeSnatTableEntriesRequest::std::string> &snatIps) {
|
||||||
|
snatIps_ = snatIps;
|
||||||
|
for(int dep1 = 0; dep1 != snatIps.size(); dep1++) {
|
||||||
|
setParameter(std::string("SnatIps") + "." + std::to_string(dep1 + 1), snatIps[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeSnatTableEntriesRequest::getSourceCIDR() const {
|
std::string DescribeSnatTableEntriesRequest::getSourceCIDR() const {
|
||||||
return sourceCIDR_;
|
return sourceCIDR_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ void DescribeSnatTableEntriesResult::parse(const std::string &payload)
|
|||||||
snatTableEntriesObject.destCIDR = valueSnatTableEntriesSnatTableEntry["DestCIDR"].asString();
|
snatTableEntriesObject.destCIDR = valueSnatTableEntriesSnatTableEntry["DestCIDR"].asString();
|
||||||
if(!valueSnatTableEntriesSnatTableEntry["IspAffinity"].isNull())
|
if(!valueSnatTableEntriesSnatTableEntry["IspAffinity"].isNull())
|
||||||
snatTableEntriesObject.ispAffinity = valueSnatTableEntriesSnatTableEntry["IspAffinity"].asString() == "true";
|
snatTableEntriesObject.ispAffinity = valueSnatTableEntriesSnatTableEntry["IspAffinity"].asString() == "true";
|
||||||
|
if(!valueSnatTableEntriesSnatTableEntry["EipAffinity"].isNull())
|
||||||
|
snatTableEntriesObject.eipAffinity = valueSnatTableEntriesSnatTableEntry["EipAffinity"].asString() == "true";
|
||||||
auto allSnatIpsNode = valueSnatTableEntriesSnatTableEntry["SnatIps"]["snatIp"];
|
auto allSnatIpsNode = valueSnatTableEntriesSnatTableEntry["SnatIps"]["snatIp"];
|
||||||
for (auto valueSnatTableEntriesSnatTableEntrySnatIpssnatIp : allSnatIpsNode)
|
for (auto valueSnatTableEntriesSnatTableEntrySnatIpssnatIp : allSnatIpsNode)
|
||||||
{
|
{
|
||||||
|
|||||||
36
ens/src/model/DescribeVSwitchAttributesRequest.cc
Normal file
36
ens/src/model/DescribeVSwitchAttributesRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/model/DescribeVSwitchAttributesRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Ens::Model::DescribeVSwitchAttributesRequest;
|
||||||
|
|
||||||
|
DescribeVSwitchAttributesRequest::DescribeVSwitchAttributesRequest()
|
||||||
|
: RpcServiceRequest("ens", "2017-11-10", "DescribeVSwitchAttributes") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVSwitchAttributesRequest::~DescribeVSwitchAttributesRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesRequest::getVSwitchId() const {
|
||||||
|
return vSwitchId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVSwitchAttributesRequest::setVSwitchId(const std::string &vSwitchId) {
|
||||||
|
vSwitchId_ = vSwitchId;
|
||||||
|
setParameter(std::string("VSwitchId"), vSwitchId);
|
||||||
|
}
|
||||||
|
|
||||||
147
ens/src/model/DescribeVSwitchAttributesResult.cc
Normal file
147
ens/src/model/DescribeVSwitchAttributesResult.cc
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/model/DescribeVSwitchAttributesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Ens;
|
||||||
|
using namespace AlibabaCloud::Ens::Model;
|
||||||
|
|
||||||
|
DescribeVSwitchAttributesResult::DescribeVSwitchAttributesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeVSwitchAttributesResult::DescribeVSwitchAttributesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVSwitchAttributesResult::~DescribeVSwitchAttributesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeVSwitchAttributesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allInstanceIds = value["InstanceIds"]["InstanceId"];
|
||||||
|
for (const auto &item : allInstanceIds)
|
||||||
|
instanceIds_.push_back(item.asString());
|
||||||
|
auto allNetworkInterfaceIds = value["NetworkInterfaceIds"]["NetworkInterfaceId"];
|
||||||
|
for (const auto &item : allNetworkInterfaceIds)
|
||||||
|
networkInterfaceIds_.push_back(item.asString());
|
||||||
|
auto allLoadBalancerIds = value["LoadBalancerIds"]["LoadBalancerId"];
|
||||||
|
for (const auto &item : allLoadBalancerIds)
|
||||||
|
loadBalancerIds_.push_back(item.asString());
|
||||||
|
auto allNatGatewayIds = value["NatGatewayIds"]["NatGatewayId"];
|
||||||
|
for (const auto &item : allNatGatewayIds)
|
||||||
|
natGatewayIds_.push_back(item.asString());
|
||||||
|
auto allHaVipIds = value["HaVipIds"]["HaVipId"];
|
||||||
|
for (const auto &item : allHaVipIds)
|
||||||
|
haVipIds_.push_back(item.asString());
|
||||||
|
if(!value["EnsRegionId"].isNull())
|
||||||
|
ensRegionId_ = value["EnsRegionId"].asString();
|
||||||
|
if(!value["NetworkId"].isNull())
|
||||||
|
networkId_ = value["NetworkId"].asString();
|
||||||
|
if(!value["VSwitchName"].isNull())
|
||||||
|
vSwitchName_ = value["VSwitchName"].asString();
|
||||||
|
if(!value["CidrBlock"].isNull())
|
||||||
|
cidrBlock_ = value["CidrBlock"].asString();
|
||||||
|
if(!value["Status"].isNull())
|
||||||
|
status_ = value["Status"].asString();
|
||||||
|
if(!value["Description"].isNull())
|
||||||
|
description_ = value["Description"].asString();
|
||||||
|
if(!value["CreatedTime"].isNull())
|
||||||
|
createdTime_ = value["CreatedTime"].asString();
|
||||||
|
if(!value["VSwitchId"].isNull())
|
||||||
|
vSwitchId_ = value["VSwitchId"].asString();
|
||||||
|
if(!value["AvailableIpAddressCount"].isNull())
|
||||||
|
availableIpAddressCount_ = std::stol(value["AvailableIpAddressCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getStatus()const
|
||||||
|
{
|
||||||
|
return status_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getDescription()const
|
||||||
|
{
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getCreatedTime()const
|
||||||
|
{
|
||||||
|
return createdTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getVSwitchId()const
|
||||||
|
{
|
||||||
|
return vSwitchId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeVSwitchAttributesResult::getAvailableIpAddressCount()const
|
||||||
|
{
|
||||||
|
return availableIpAddressCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeVSwitchAttributesResult::getLoadBalancerIds()const
|
||||||
|
{
|
||||||
|
return loadBalancerIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getCidrBlock()const
|
||||||
|
{
|
||||||
|
return cidrBlock_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeVSwitchAttributesResult::getNetworkInterfaceIds()const
|
||||||
|
{
|
||||||
|
return networkInterfaceIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getNetworkId()const
|
||||||
|
{
|
||||||
|
return networkId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeVSwitchAttributesResult::getNatGatewayIds()const
|
||||||
|
{
|
||||||
|
return natGatewayIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeVSwitchAttributesResult::getHaVipIds()const
|
||||||
|
{
|
||||||
|
return haVipIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getVSwitchName()const
|
||||||
|
{
|
||||||
|
return vSwitchName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeVSwitchAttributesResult::getInstanceIds()const
|
||||||
|
{
|
||||||
|
return instanceIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVSwitchAttributesResult::getEnsRegionId()const
|
||||||
|
{
|
||||||
|
return ensRegionId_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,13 +25,15 @@ DescribeVSwitchesRequest::DescribeVSwitchesRequest()
|
|||||||
|
|
||||||
DescribeVSwitchesRequest::~DescribeVSwitchesRequest() {}
|
DescribeVSwitchesRequest::~DescribeVSwitchesRequest() {}
|
||||||
|
|
||||||
std::string DescribeVSwitchesRequest::getOrderByParams() const {
|
std::vector<DescribeVSwitchesRequest::std::string> DescribeVSwitchesRequest::getVSwitchIds() const {
|
||||||
return orderByParams_;
|
return vSwitchIds_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeVSwitchesRequest::setOrderByParams(const std::string &orderByParams) {
|
void DescribeVSwitchesRequest::setVSwitchIds(const std::vector<DescribeVSwitchesRequest::std::string> &vSwitchIds) {
|
||||||
orderByParams_ = orderByParams;
|
vSwitchIds_ = vSwitchIds;
|
||||||
setParameter(std::string("OrderByParams"), orderByParams);
|
for(int dep1 = 0; dep1 != vSwitchIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("VSwitchIds") + "." + std::to_string(dep1 + 1), vSwitchIds[dep1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeVSwitchesRequest::getEnsRegionId() const {
|
std::string DescribeVSwitchesRequest::getEnsRegionId() const {
|
||||||
@@ -79,6 +81,17 @@ void DescribeVSwitchesRequest::setPageSize(int pageSize) {
|
|||||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeVSwitchesRequest::std::string> DescribeVSwitchesRequest::getEnsRegionIds() const {
|
||||||
|
return ensRegionIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVSwitchesRequest::setEnsRegionIds(const std::vector<DescribeVSwitchesRequest::std::string> &ensRegionIds) {
|
||||||
|
ensRegionIds_ = ensRegionIds;
|
||||||
|
for(int dep1 = 0; dep1 != ensRegionIds.size(); dep1++) {
|
||||||
|
setParameter(std::string("EnsRegionIds") + "." + std::to_string(dep1 + 1), ensRegionIds[dep1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeVSwitchesRequest::getVSwitchName() const {
|
std::string DescribeVSwitchesRequest::getVSwitchName() const {
|
||||||
return vSwitchName_;
|
return vSwitchName_;
|
||||||
}
|
}
|
||||||
|
|||||||
27
ens/src/model/ListProductAbilitiesRequest.cc
Normal file
27
ens/src/model/ListProductAbilitiesRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/model/ListProductAbilitiesRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Ens::Model::ListProductAbilitiesRequest;
|
||||||
|
|
||||||
|
ListProductAbilitiesRequest::ListProductAbilitiesRequest()
|
||||||
|
: RpcServiceRequest("ens", "2017-11-10", "ListProductAbilities") {
|
||||||
|
setMethod(HttpRequest::Method::Get);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListProductAbilitiesRequest::~ListProductAbilitiesRequest() {}
|
||||||
|
|
||||||
52
ens/src/model/ListProductAbilitiesResult.cc
Normal file
52
ens/src/model/ListProductAbilitiesResult.cc
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/model/ListProductAbilitiesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Ens;
|
||||||
|
using namespace AlibabaCloud::Ens::Model;
|
||||||
|
|
||||||
|
ListProductAbilitiesResult::ListProductAbilitiesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ListProductAbilitiesResult::ListProductAbilitiesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListProductAbilitiesResult::~ListProductAbilitiesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ListProductAbilitiesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allProductAbilities = value["ProductAbilities"]["ProductAbilities"];
|
||||||
|
for (const auto &item : allProductAbilities)
|
||||||
|
productAbilities_.push_back(item.asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> ListProductAbilitiesResult::getProductAbilities()const
|
||||||
|
{
|
||||||
|
return productAbilities_;
|
||||||
|
}
|
||||||
|
|
||||||
54
ens/src/model/ModifyEnsRouteEntryRequest.cc
Normal file
54
ens/src/model/ModifyEnsRouteEntryRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/model/ModifyEnsRouteEntryRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Ens::Model::ModifyEnsRouteEntryRequest;
|
||||||
|
|
||||||
|
ModifyEnsRouteEntryRequest::ModifyEnsRouteEntryRequest()
|
||||||
|
: RpcServiceRequest("ens", "2017-11-10", "ModifyEnsRouteEntry") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyEnsRouteEntryRequest::~ModifyEnsRouteEntryRequest() {}
|
||||||
|
|
||||||
|
std::string ModifyEnsRouteEntryRequest::getRouteEntryName() const {
|
||||||
|
return routeEntryName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyEnsRouteEntryRequest::setRouteEntryName(const std::string &routeEntryName) {
|
||||||
|
routeEntryName_ = routeEntryName;
|
||||||
|
setParameter(std::string("RouteEntryName"), routeEntryName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyEnsRouteEntryRequest::getDescription() const {
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyEnsRouteEntryRequest::setDescription(const std::string &description) {
|
||||||
|
description_ = description;
|
||||||
|
setParameter(std::string("Description"), description);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyEnsRouteEntryRequest::getRouteEntryId() const {
|
||||||
|
return routeEntryId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyEnsRouteEntryRequest::setRouteEntryId(const std::string &routeEntryId) {
|
||||||
|
routeEntryId_ = routeEntryId;
|
||||||
|
setParameter(std::string("RouteEntryId"), routeEntryId);
|
||||||
|
}
|
||||||
|
|
||||||
44
ens/src/model/ModifyEnsRouteEntryResult.cc
Normal file
44
ens/src/model/ModifyEnsRouteEntryResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ens/model/ModifyEnsRouteEntryResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Ens;
|
||||||
|
using namespace AlibabaCloud::Ens::Model;
|
||||||
|
|
||||||
|
ModifyEnsRouteEntryResult::ModifyEnsRouteEntryResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ModifyEnsRouteEntryResult::ModifyEnsRouteEntryResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyEnsRouteEntryResult::~ModifyEnsRouteEntryResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ModifyEnsRouteEntryResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,51 @@ ModifyForwardEntryRequest::ModifyForwardEntryRequest()
|
|||||||
|
|
||||||
ModifyForwardEntryRequest::~ModifyForwardEntryRequest() {}
|
ModifyForwardEntryRequest::~ModifyForwardEntryRequest() {}
|
||||||
|
|
||||||
|
std::string ModifyForwardEntryRequest::getInternalIp() const {
|
||||||
|
return internalIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyForwardEntryRequest::setInternalIp(const std::string &internalIp) {
|
||||||
|
internalIp_ = internalIp;
|
||||||
|
setParameter(std::string("InternalIp"), internalIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyForwardEntryRequest::getExternalIp() const {
|
||||||
|
return externalIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyForwardEntryRequest::setExternalIp(const std::string &externalIp) {
|
||||||
|
externalIp_ = externalIp;
|
||||||
|
setParameter(std::string("ExternalIp"), externalIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyForwardEntryRequest::getIpProtocol() const {
|
||||||
|
return ipProtocol_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyForwardEntryRequest::setIpProtocol(const std::string &ipProtocol) {
|
||||||
|
ipProtocol_ = ipProtocol;
|
||||||
|
setParameter(std::string("IpProtocol"), ipProtocol);
|
||||||
|
}
|
||||||
|
|
||||||
|
int ModifyForwardEntryRequest::getHealthCheckPort() const {
|
||||||
|
return healthCheckPort_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyForwardEntryRequest::setHealthCheckPort(int healthCheckPort) {
|
||||||
|
healthCheckPort_ = healthCheckPort;
|
||||||
|
setParameter(std::string("HealthCheckPort"), std::to_string(healthCheckPort));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyForwardEntryRequest::getExternalPort() const {
|
||||||
|
return externalPort_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyForwardEntryRequest::setExternalPort(const std::string &externalPort) {
|
||||||
|
externalPort_ = externalPort;
|
||||||
|
setParameter(std::string("ExternalPort"), externalPort);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyForwardEntryRequest::getForwardEntryId() const {
|
std::string ModifyForwardEntryRequest::getForwardEntryId() const {
|
||||||
return forwardEntryId_;
|
return forwardEntryId_;
|
||||||
}
|
}
|
||||||
@@ -43,12 +88,12 @@ void ModifyForwardEntryRequest::setForwardEntryName(const std::string &forwardEn
|
|||||||
setParameter(std::string("ForwardEntryName"), forwardEntryName);
|
setParameter(std::string("ForwardEntryName"), forwardEntryName);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ModifyForwardEntryRequest::getHealthCheckPort() const {
|
std::string ModifyForwardEntryRequest::getInternalPort() const {
|
||||||
return healthCheckPort_;
|
return internalPort_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyForwardEntryRequest::setHealthCheckPort(int healthCheckPort) {
|
void ModifyForwardEntryRequest::setInternalPort(const std::string &internalPort) {
|
||||||
healthCheckPort_ = healthCheckPort;
|
internalPort_ = internalPort;
|
||||||
setParameter(std::string("HealthCheckPort"), std::to_string(healthCheckPort));
|
setParameter(std::string("InternalPort"), internalPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,24 @@ ModifySnatEntryRequest::ModifySnatEntryRequest()
|
|||||||
|
|
||||||
ModifySnatEntryRequest::~ModifySnatEntryRequest() {}
|
ModifySnatEntryRequest::~ModifySnatEntryRequest() {}
|
||||||
|
|
||||||
|
std::string ModifySnatEntryRequest::getSnatIp() const {
|
||||||
|
return snatIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifySnatEntryRequest::setSnatIp(const std::string &snatIp) {
|
||||||
|
snatIp_ = snatIp;
|
||||||
|
setParameter(std::string("SnatIp"), snatIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ModifySnatEntryRequest::getEipAffinity() const {
|
||||||
|
return eipAffinity_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifySnatEntryRequest::setEipAffinity(bool eipAffinity) {
|
||||||
|
eipAffinity_ = eipAffinity;
|
||||||
|
setParameter(std::string("EipAffinity"), eipAffinity ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifySnatEntryRequest::getSnatEntryId() const {
|
std::string ModifySnatEntryRequest::getSnatEntryId() const {
|
||||||
return snatEntryId_;
|
return snatEntryId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ std::string PutBucketRequest::getEnsRegionId() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setEnsRegionId(const std::string &ensRegionId) {
|
void PutBucketRequest::setEnsRegionId(const std::string &ensRegionId) {
|
||||||
ensRegionId_ = ensRegionId;
|
ensRegionId_ = ensRegionId;
|
||||||
setBodyParameter(std::string("EnsRegionId"), ensRegionId);
|
setParameter(std::string("EnsRegionId"), ensRegionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getLogicalBucketType() const {
|
std::string PutBucketRequest::getLogicalBucketType() const {
|
||||||
@@ -40,7 +40,7 @@ std::string PutBucketRequest::getLogicalBucketType() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setLogicalBucketType(const std::string &logicalBucketType) {
|
void PutBucketRequest::setLogicalBucketType(const std::string &logicalBucketType) {
|
||||||
logicalBucketType_ = logicalBucketType;
|
logicalBucketType_ = logicalBucketType;
|
||||||
setBodyParameter(std::string("LogicalBucketType"), logicalBucketType);
|
setParameter(std::string("LogicalBucketType"), logicalBucketType);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getCity() const {
|
std::string PutBucketRequest::getCity() const {
|
||||||
@@ -49,7 +49,7 @@ std::string PutBucketRequest::getCity() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setCity(const std::string &city) {
|
void PutBucketRequest::setCity(const std::string &city) {
|
||||||
city_ = city;
|
city_ = city;
|
||||||
setBodyParameter(std::string("City"), city);
|
setParameter(std::string("City"), city);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getDataRedundancyType() const {
|
std::string PutBucketRequest::getDataRedundancyType() const {
|
||||||
@@ -58,7 +58,7 @@ std::string PutBucketRequest::getDataRedundancyType() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setDataRedundancyType(const std::string &dataRedundancyType) {
|
void PutBucketRequest::setDataRedundancyType(const std::string &dataRedundancyType) {
|
||||||
dataRedundancyType_ = dataRedundancyType;
|
dataRedundancyType_ = dataRedundancyType;
|
||||||
setBodyParameter(std::string("DataRedundancyType"), dataRedundancyType);
|
setParameter(std::string("DataRedundancyType"), dataRedundancyType);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getEndpoint() const {
|
std::string PutBucketRequest::getEndpoint() const {
|
||||||
@@ -67,7 +67,7 @@ std::string PutBucketRequest::getEndpoint() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setEndpoint(const std::string &endpoint) {
|
void PutBucketRequest::setEndpoint(const std::string &endpoint) {
|
||||||
endpoint_ = endpoint;
|
endpoint_ = endpoint;
|
||||||
setBodyParameter(std::string("Endpoint"), endpoint);
|
setParameter(std::string("Endpoint"), endpoint);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getBucketName() const {
|
std::string PutBucketRequest::getBucketName() const {
|
||||||
@@ -76,7 +76,7 @@ std::string PutBucketRequest::getBucketName() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setBucketName(const std::string &bucketName) {
|
void PutBucketRequest::setBucketName(const std::string &bucketName) {
|
||||||
bucketName_ = bucketName;
|
bucketName_ = bucketName;
|
||||||
setBodyParameter(std::string("BucketName"), bucketName);
|
setParameter(std::string("BucketName"), bucketName);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getStorageDomainId() const {
|
std::string PutBucketRequest::getStorageDomainId() const {
|
||||||
@@ -85,7 +85,7 @@ std::string PutBucketRequest::getStorageDomainId() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setStorageDomainId(const std::string &storageDomainId) {
|
void PutBucketRequest::setStorageDomainId(const std::string &storageDomainId) {
|
||||||
storageDomainId_ = storageDomainId;
|
storageDomainId_ = storageDomainId;
|
||||||
setBodyParameter(std::string("StorageDomainId"), storageDomainId);
|
setParameter(std::string("StorageDomainId"), storageDomainId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getEngineId() const {
|
std::string PutBucketRequest::getEngineId() const {
|
||||||
@@ -94,7 +94,7 @@ std::string PutBucketRequest::getEngineId() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setEngineId(const std::string &engineId) {
|
void PutBucketRequest::setEngineId(const std::string &engineId) {
|
||||||
engineId_ = engineId;
|
engineId_ = engineId;
|
||||||
setBodyParameter(std::string("EngineId"), engineId);
|
setParameter(std::string("EngineId"), engineId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getBucketAcl() const {
|
std::string PutBucketRequest::getBucketAcl() const {
|
||||||
@@ -103,7 +103,7 @@ std::string PutBucketRequest::getBucketAcl() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setBucketAcl(const std::string &bucketAcl) {
|
void PutBucketRequest::setBucketAcl(const std::string &bucketAcl) {
|
||||||
bucketAcl_ = bucketAcl;
|
bucketAcl_ = bucketAcl;
|
||||||
setBodyParameter(std::string("BucketAcl"), bucketAcl);
|
setParameter(std::string("BucketAcl"), bucketAcl);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getDispatcherType() const {
|
std::string PutBucketRequest::getDispatcherType() const {
|
||||||
@@ -112,7 +112,7 @@ std::string PutBucketRequest::getDispatcherType() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setDispatcherType(const std::string &dispatcherType) {
|
void PutBucketRequest::setDispatcherType(const std::string &dispatcherType) {
|
||||||
dispatcherType_ = dispatcherType;
|
dispatcherType_ = dispatcherType;
|
||||||
setBodyParameter(std::string("DispatcherType"), dispatcherType);
|
setParameter(std::string("DispatcherType"), dispatcherType);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getResourceType() const {
|
std::string PutBucketRequest::getResourceType() const {
|
||||||
@@ -121,7 +121,7 @@ std::string PutBucketRequest::getResourceType() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setResourceType(const std::string &resourceType) {
|
void PutBucketRequest::setResourceType(const std::string &resourceType) {
|
||||||
resourceType_ = resourceType;
|
resourceType_ = resourceType;
|
||||||
setBodyParameter(std::string("ResourceType"), resourceType);
|
setParameter(std::string("ResourceType"), resourceType);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getStorageClass() const {
|
std::string PutBucketRequest::getStorageClass() const {
|
||||||
@@ -130,7 +130,7 @@ std::string PutBucketRequest::getStorageClass() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setStorageClass(const std::string &storageClass) {
|
void PutBucketRequest::setStorageClass(const std::string &storageClass) {
|
||||||
storageClass_ = storageClass;
|
storageClass_ = storageClass;
|
||||||
setBodyParameter(std::string("StorageClass"), storageClass);
|
setParameter(std::string("StorageClass"), storageClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getDispatchScope() const {
|
std::string PutBucketRequest::getDispatchScope() const {
|
||||||
@@ -139,7 +139,7 @@ std::string PutBucketRequest::getDispatchScope() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setDispatchScope(const std::string &dispatchScope) {
|
void PutBucketRequest::setDispatchScope(const std::string &dispatchScope) {
|
||||||
dispatchScope_ = dispatchScope;
|
dispatchScope_ = dispatchScope;
|
||||||
setBodyParameter(std::string("DispatchScope"), dispatchScope);
|
setParameter(std::string("DispatchScope"), dispatchScope);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string PutBucketRequest::getComment() const {
|
std::string PutBucketRequest::getComment() const {
|
||||||
@@ -148,6 +148,6 @@ std::string PutBucketRequest::getComment() const {
|
|||||||
|
|
||||||
void PutBucketRequest::setComment(const std::string &comment) {
|
void PutBucketRequest::setComment(const std::string &comment) {
|
||||||
comment_ = comment;
|
comment_ = comment;
|
||||||
setBodyParameter(std::string("Comment"), comment);
|
setParameter(std::string("Comment"), comment);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,13 @@ void ReleaseInstanceResult::parse(const std::string &payload)
|
|||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["ResourceType"].isNull())
|
||||||
|
resourceType_ = value["ResourceType"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ReleaseInstanceResult::getResourceType()const
|
||||||
|
{
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,3 +34,12 @@ void UnAssociateEnsEipAddressRequest::setAllocationId(const std::string &allocat
|
|||||||
setParameter(std::string("AllocationId"), allocationId);
|
setParameter(std::string("AllocationId"), allocationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool UnAssociateEnsEipAddressRequest::getForce() const {
|
||||||
|
return force_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnAssociateEnsEipAddressRequest::setForce(bool force) {
|
||||||
|
force_ = force;
|
||||||
|
setParameter(std::string("Force"), force ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user