Supported multi attach feature for disk.
This commit is contained in:
@@ -132,6 +132,8 @@
|
||||
#include "model/CreateNetworkInterfacePermissionResult.h"
|
||||
#include "model/CreatePhysicalConnectionRequest.h"
|
||||
#include "model/CreatePhysicalConnectionResult.h"
|
||||
#include "model/CreatePrefixListRequest.h"
|
||||
#include "model/CreatePrefixListResult.h"
|
||||
#include "model/CreateRouteEntryRequest.h"
|
||||
#include "model/CreateRouteEntryResult.h"
|
||||
#include "model/CreateRouterInterfaceRequest.h"
|
||||
@@ -204,6 +206,8 @@
|
||||
#include "model/DeleteNetworkInterfacePermissionResult.h"
|
||||
#include "model/DeletePhysicalConnectionRequest.h"
|
||||
#include "model/DeletePhysicalConnectionResult.h"
|
||||
#include "model/DeletePrefixListRequest.h"
|
||||
#include "model/DeletePrefixListResult.h"
|
||||
#include "model/DeleteRouteEntryRequest.h"
|
||||
#include "model/DeleteRouteEntryResult.h"
|
||||
#include "model/DeleteRouterInterfaceRequest.h"
|
||||
@@ -368,6 +372,12 @@
|
||||
#include "model/DescribeNewProjectEipMonitorDataResult.h"
|
||||
#include "model/DescribePhysicalConnectionsRequest.h"
|
||||
#include "model/DescribePhysicalConnectionsResult.h"
|
||||
#include "model/DescribePrefixListAssociationsRequest.h"
|
||||
#include "model/DescribePrefixListAssociationsResult.h"
|
||||
#include "model/DescribePrefixListAttributesRequest.h"
|
||||
#include "model/DescribePrefixListAttributesResult.h"
|
||||
#include "model/DescribePrefixListsRequest.h"
|
||||
#include "model/DescribePrefixListsResult.h"
|
||||
#include "model/DescribePriceRequest.h"
|
||||
#include "model/DescribePriceResult.h"
|
||||
#include "model/DescribeRecommendInstanceTypeRequest.h"
|
||||
@@ -564,6 +574,8 @@
|
||||
#include "model/ModifyNetworkInterfaceAttributeResult.h"
|
||||
#include "model/ModifyPhysicalConnectionAttributeRequest.h"
|
||||
#include "model/ModifyPhysicalConnectionAttributeResult.h"
|
||||
#include "model/ModifyPrefixListRequest.h"
|
||||
#include "model/ModifyPrefixListResult.h"
|
||||
#include "model/ModifyPrepayInstanceSpecRequest.h"
|
||||
#include "model/ModifyPrepayInstanceSpecResult.h"
|
||||
#include "model/ModifyReservedInstanceAttributeRequest.h"
|
||||
@@ -862,6 +874,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreatePhysicalConnectionResult> CreatePhysicalConnectionOutcome;
|
||||
typedef std::future<CreatePhysicalConnectionOutcome> CreatePhysicalConnectionOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreatePhysicalConnectionRequest&, const CreatePhysicalConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePhysicalConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePrefixListResult> CreatePrefixListOutcome;
|
||||
typedef std::future<CreatePrefixListOutcome> CreatePrefixListOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreatePrefixListRequest&, const CreatePrefixListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePrefixListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRouteEntryResult> CreateRouteEntryOutcome;
|
||||
typedef std::future<CreateRouteEntryOutcome> CreateRouteEntryOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateRouteEntryRequest&, const CreateRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRouteEntryAsyncHandler;
|
||||
@@ -970,6 +985,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeletePhysicalConnectionResult> DeletePhysicalConnectionOutcome;
|
||||
typedef std::future<DeletePhysicalConnectionOutcome> DeletePhysicalConnectionOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DeletePhysicalConnectionRequest&, const DeletePhysicalConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhysicalConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePrefixListResult> DeletePrefixListOutcome;
|
||||
typedef std::future<DeletePrefixListOutcome> DeletePrefixListOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DeletePrefixListRequest&, const DeletePrefixListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePrefixListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRouteEntryResult> DeleteRouteEntryOutcome;
|
||||
typedef std::future<DeleteRouteEntryOutcome> DeleteRouteEntryOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DeleteRouteEntryRequest&, const DeleteRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouteEntryAsyncHandler;
|
||||
@@ -1216,6 +1234,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribePhysicalConnectionsResult> DescribePhysicalConnectionsOutcome;
|
||||
typedef std::future<DescribePhysicalConnectionsOutcome> DescribePhysicalConnectionsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribePhysicalConnectionsRequest&, const DescribePhysicalConnectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePhysicalConnectionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePrefixListAssociationsResult> DescribePrefixListAssociationsOutcome;
|
||||
typedef std::future<DescribePrefixListAssociationsOutcome> DescribePrefixListAssociationsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribePrefixListAssociationsRequest&, const DescribePrefixListAssociationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePrefixListAssociationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePrefixListAttributesResult> DescribePrefixListAttributesOutcome;
|
||||
typedef std::future<DescribePrefixListAttributesOutcome> DescribePrefixListAttributesOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribePrefixListAttributesRequest&, const DescribePrefixListAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePrefixListAttributesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePrefixListsResult> DescribePrefixListsOutcome;
|
||||
typedef std::future<DescribePrefixListsOutcome> DescribePrefixListsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribePrefixListsRequest&, const DescribePrefixListsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePrefixListsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePriceResult> DescribePriceOutcome;
|
||||
typedef std::future<DescribePriceOutcome> DescribePriceOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribePriceRequest&, const DescribePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePriceAsyncHandler;
|
||||
@@ -1510,6 +1537,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyPhysicalConnectionAttributeResult> ModifyPhysicalConnectionAttributeOutcome;
|
||||
typedef std::future<ModifyPhysicalConnectionAttributeOutcome> ModifyPhysicalConnectionAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyPhysicalConnectionAttributeRequest&, const ModifyPhysicalConnectionAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhysicalConnectionAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPrefixListResult> ModifyPrefixListOutcome;
|
||||
typedef std::future<ModifyPrefixListOutcome> ModifyPrefixListOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyPrefixListRequest&, const ModifyPrefixListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPrefixListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPrepayInstanceSpecResult> ModifyPrepayInstanceSpecOutcome;
|
||||
typedef std::future<ModifyPrepayInstanceSpecOutcome> ModifyPrepayInstanceSpecOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyPrepayInstanceSpecRequest&, const ModifyPrepayInstanceSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPrepayInstanceSpecAsyncHandler;
|
||||
@@ -1866,6 +1896,9 @@ namespace AlibabaCloud
|
||||
CreatePhysicalConnectionOutcome createPhysicalConnection(const Model::CreatePhysicalConnectionRequest &request)const;
|
||||
void createPhysicalConnectionAsync(const Model::CreatePhysicalConnectionRequest& request, const CreatePhysicalConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePhysicalConnectionOutcomeCallable createPhysicalConnectionCallable(const Model::CreatePhysicalConnectionRequest& request) const;
|
||||
CreatePrefixListOutcome createPrefixList(const Model::CreatePrefixListRequest &request)const;
|
||||
void createPrefixListAsync(const Model::CreatePrefixListRequest& request, const CreatePrefixListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePrefixListOutcomeCallable createPrefixListCallable(const Model::CreatePrefixListRequest& request) const;
|
||||
CreateRouteEntryOutcome createRouteEntry(const Model::CreateRouteEntryRequest &request)const;
|
||||
void createRouteEntryAsync(const Model::CreateRouteEntryRequest& request, const CreateRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRouteEntryOutcomeCallable createRouteEntryCallable(const Model::CreateRouteEntryRequest& request) const;
|
||||
@@ -1974,6 +2007,9 @@ namespace AlibabaCloud
|
||||
DeletePhysicalConnectionOutcome deletePhysicalConnection(const Model::DeletePhysicalConnectionRequest &request)const;
|
||||
void deletePhysicalConnectionAsync(const Model::DeletePhysicalConnectionRequest& request, const DeletePhysicalConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePhysicalConnectionOutcomeCallable deletePhysicalConnectionCallable(const Model::DeletePhysicalConnectionRequest& request) const;
|
||||
DeletePrefixListOutcome deletePrefixList(const Model::DeletePrefixListRequest &request)const;
|
||||
void deletePrefixListAsync(const Model::DeletePrefixListRequest& request, const DeletePrefixListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePrefixListOutcomeCallable deletePrefixListCallable(const Model::DeletePrefixListRequest& request) const;
|
||||
DeleteRouteEntryOutcome deleteRouteEntry(const Model::DeleteRouteEntryRequest &request)const;
|
||||
void deleteRouteEntryAsync(const Model::DeleteRouteEntryRequest& request, const DeleteRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRouteEntryOutcomeCallable deleteRouteEntryCallable(const Model::DeleteRouteEntryRequest& request) const;
|
||||
@@ -2220,6 +2256,15 @@ namespace AlibabaCloud
|
||||
DescribePhysicalConnectionsOutcome describePhysicalConnections(const Model::DescribePhysicalConnectionsRequest &request)const;
|
||||
void describePhysicalConnectionsAsync(const Model::DescribePhysicalConnectionsRequest& request, const DescribePhysicalConnectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePhysicalConnectionsOutcomeCallable describePhysicalConnectionsCallable(const Model::DescribePhysicalConnectionsRequest& request) const;
|
||||
DescribePrefixListAssociationsOutcome describePrefixListAssociations(const Model::DescribePrefixListAssociationsRequest &request)const;
|
||||
void describePrefixListAssociationsAsync(const Model::DescribePrefixListAssociationsRequest& request, const DescribePrefixListAssociationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePrefixListAssociationsOutcomeCallable describePrefixListAssociationsCallable(const Model::DescribePrefixListAssociationsRequest& request) const;
|
||||
DescribePrefixListAttributesOutcome describePrefixListAttributes(const Model::DescribePrefixListAttributesRequest &request)const;
|
||||
void describePrefixListAttributesAsync(const Model::DescribePrefixListAttributesRequest& request, const DescribePrefixListAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePrefixListAttributesOutcomeCallable describePrefixListAttributesCallable(const Model::DescribePrefixListAttributesRequest& request) const;
|
||||
DescribePrefixListsOutcome describePrefixLists(const Model::DescribePrefixListsRequest &request)const;
|
||||
void describePrefixListsAsync(const Model::DescribePrefixListsRequest& request, const DescribePrefixListsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePrefixListsOutcomeCallable describePrefixListsCallable(const Model::DescribePrefixListsRequest& request) const;
|
||||
DescribePriceOutcome describePrice(const Model::DescribePriceRequest &request)const;
|
||||
void describePriceAsync(const Model::DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePriceOutcomeCallable describePriceCallable(const Model::DescribePriceRequest& request) const;
|
||||
@@ -2514,6 +2559,9 @@ namespace AlibabaCloud
|
||||
ModifyPhysicalConnectionAttributeOutcome modifyPhysicalConnectionAttribute(const Model::ModifyPhysicalConnectionAttributeRequest &request)const;
|
||||
void modifyPhysicalConnectionAttributeAsync(const Model::ModifyPhysicalConnectionAttributeRequest& request, const ModifyPhysicalConnectionAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPhysicalConnectionAttributeOutcomeCallable modifyPhysicalConnectionAttributeCallable(const Model::ModifyPhysicalConnectionAttributeRequest& request) const;
|
||||
ModifyPrefixListOutcome modifyPrefixList(const Model::ModifyPrefixListRequest &request)const;
|
||||
void modifyPrefixListAsync(const Model::ModifyPrefixListRequest& request, const ModifyPrefixListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPrefixListOutcomeCallable modifyPrefixListCallable(const Model::ModifyPrefixListRequest& request) const;
|
||||
ModifyPrepayInstanceSpecOutcome modifyPrepayInstanceSpec(const Model::ModifyPrepayInstanceSpecRequest &request)const;
|
||||
void modifyPrepayInstanceSpecAsync(const Model::ModifyPrepayInstanceSpecRequest& request, const ModifyPrepayInstanceSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPrepayInstanceSpecOutcomeCallable modifyPrepayInstanceSpecCallable(const Model::ModifyPrepayInstanceSpecRequest& request) const;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSourcePortRange(const std::string& sourcePortRange);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDestPrefixListId()const;
|
||||
void setDestPrefixListId(const std::string& destPrefixListId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getDescription()const;
|
||||
@@ -83,6 +85,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string sourcePortRange_;
|
||||
std::string clientToken_;
|
||||
std::string destPrefixListId_;
|
||||
std::string securityGroupId_;
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setNicType(const std::string& nicType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourcePrefixListId()const;
|
||||
void setSourcePrefixListId(const std::string& sourcePrefixListId);
|
||||
std::string getSourcePortRange()const;
|
||||
void setSourcePortRange(const std::string& sourcePortRange);
|
||||
std::string getClientToken()const;
|
||||
@@ -81,6 +83,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string nicType_;
|
||||
long resourceOwnerId_;
|
||||
std::string sourcePrefixListId_;
|
||||
std::string sourcePortRange_;
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
|
||||
@@ -67,12 +67,14 @@ namespace AlibabaCloud
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
int getStorageSetPartitionNumber()const;
|
||||
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
|
||||
std::string getMultiAttach()const;
|
||||
void setMultiAttach(const std::string& multiAttach);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::vector<Arn> getArn()const;
|
||||
void setArn(const std::vector<Arn>& arn);
|
||||
std::string getAdvancedFeatures()const;
|
||||
void setAdvancedFeatures(const std::string& advancedFeatures);
|
||||
std::vector<Arn> getArn()const;
|
||||
void setArn(const std::vector<Arn>& arn);
|
||||
std::string getDedicatedBlockStorageClusterId()const;
|
||||
void setDedicatedBlockStorageClusterId(const std::string& dedicatedBlockStorageClusterId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -107,9 +109,10 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string diskCategory_;
|
||||
int storageSetPartitionNumber_;
|
||||
std::string multiAttach_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<Arn> arn_;
|
||||
std::string advancedFeatures_;
|
||||
std::vector<Arn> arn_;
|
||||
std::string dedicatedBlockStorageClusterId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string performanceLevel_;
|
||||
|
||||
@@ -38,15 +38,15 @@ namespace AlibabaCloud
|
||||
explicit CreateInstanceResult(const std::string &payload);
|
||||
~CreateInstanceResult();
|
||||
std::string getInstanceId()const;
|
||||
float getTradePrice()const;
|
||||
std::string getOrderId()const;
|
||||
float getTradePrice()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
float tradePrice_;
|
||||
std::string orderId_;
|
||||
float tradePrice_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
84
ecs/include/alibabacloud/ecs/model/CreatePrefixListRequest.h
Normal file
84
ecs/include/alibabacloud/ecs/model/CreatePrefixListRequest.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEPREFIXLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEPREFIXLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreatePrefixListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Entry
|
||||
{
|
||||
std::string cidr;
|
||||
std::string description;
|
||||
};
|
||||
|
||||
public:
|
||||
CreatePrefixListRequest();
|
||||
~CreatePrefixListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
int getMaxEntries()const;
|
||||
void setMaxEntries(int maxEntries);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAddressFamily()const;
|
||||
void setAddressFamily(const std::string& addressFamily);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPrefixListName()const;
|
||||
void setPrefixListName(const std::string& prefixListName);
|
||||
std::vector<Entry> getEntry()const;
|
||||
void setEntry(const std::vector<Entry>& entry);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
int maxEntries_;
|
||||
std::string regionId_;
|
||||
std::string addressFamily_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string prefixListName_;
|
||||
std::vector<Entry> entry_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEPREFIXLISTREQUEST_H_
|
||||
51
ecs/include/alibabacloud/ecs/model/CreatePrefixListResult.h
Normal file
51
ecs/include/alibabacloud/ecs/model/CreatePrefixListResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEPREFIXLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEPREFIXLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreatePrefixListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePrefixListResult();
|
||||
explicit CreatePrefixListResult(const std::string &payload);
|
||||
~CreatePrefixListResult();
|
||||
std::string getPrefixListId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string prefixListId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEPREFIXLISTRESULT_H_
|
||||
@@ -37,10 +37,10 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getExcludeDiskId()const;
|
||||
void setExcludeDiskId(const std::vector<std::string>& excludeDiskId);
|
||||
bool getInstantAccess()const;
|
||||
void setInstantAccess(bool instantAccess);
|
||||
std::vector<std::string> getExcludeDiskId()const;
|
||||
void setExcludeDiskId(const std::vector<std::string>& excludeDiskId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
int getInstantAccessRetentionDays()const;
|
||||
@@ -60,8 +60,8 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> excludeDiskId_;
|
||||
bool instantAccess_;
|
||||
std::vector<std::string> excludeDiskId_;
|
||||
std::string description_;
|
||||
int instantAccessRetentionDays_;
|
||||
std::string regionId_;
|
||||
|
||||
63
ecs/include/alibabacloud/ecs/model/DeletePrefixListRequest.h
Normal file
63
ecs/include/alibabacloud/ecs/model/DeletePrefixListRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DELETEPREFIXLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DELETEPREFIXLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DeletePrefixListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePrefixListRequest();
|
||||
~DeletePrefixListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPrefixListId()const;
|
||||
void setPrefixListId(const std::string& prefixListId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEPREFIXLISTREQUEST_H_
|
||||
49
ecs/include/alibabacloud/ecs/model/DeletePrefixListResult.h
Normal file
49
ecs/include/alibabacloud/ecs/model/DeletePrefixListResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_DELETEPREFIXLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DELETEPREFIXLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DeletePrefixListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrefixListResult();
|
||||
explicit DeletePrefixListResult(const std::string &payload);
|
||||
~DeletePrefixListResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEPREFIXLISTRESULT_H_
|
||||
@@ -93,6 +93,8 @@ namespace AlibabaCloud
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDiskIds()const;
|
||||
void setDiskIds(const std::string& diskIds);
|
||||
std::string getMultiAttach()const;
|
||||
void setMultiAttach(const std::string& multiAttach);
|
||||
bool getDeleteWithInstance()const;
|
||||
void setDeleteWithInstance(bool deleteWithInstance);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -141,6 +143,7 @@ namespace AlibabaCloud
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string diskIds_;
|
||||
std::string multiAttach_;
|
||||
bool deleteWithInstance_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -49,32 +49,40 @@ namespace AlibabaCloud
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
struct Attachment
|
||||
{
|
||||
std::string attachedTime;
|
||||
std::string instanceId;
|
||||
std::string device;
|
||||
};
|
||||
std::string detachedTime;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string kMSKeyId;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
std::string dedicatedBlockStorageClusterId;
|
||||
int size;
|
||||
bool encrypted;
|
||||
int size;
|
||||
bool deleteAutoSnapshot;
|
||||
std::string diskChargeType;
|
||||
int storageSetPartitionNumber;
|
||||
int iOPS;
|
||||
std::vector<Disk::Attachment> attachments;
|
||||
std::string multiAttach;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
std::string storageSetId;
|
||||
std::vector<Disk::Tag> tags;
|
||||
std::string status;
|
||||
std::string attachedTime;
|
||||
int iOPSRead;
|
||||
std::string attachedTime;
|
||||
int iOPSWrite;
|
||||
std::string zoneId;
|
||||
std::string sourceSnapshotId;
|
||||
std::string productCode;
|
||||
std::string instanceId;
|
||||
std::string device;
|
||||
std::string productCode;
|
||||
std::string performanceLevel;
|
||||
std::string device;
|
||||
bool deleteWithInstance;
|
||||
bool enableAutomatedSnapshotPolicy;
|
||||
bool enableAutoSnapshot;
|
||||
@@ -97,8 +105,8 @@ namespace AlibabaCloud
|
||||
explicit DescribeDisksResult(const std::string &payload);
|
||||
~DescribeDisksResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Disk> getDisks()const;
|
||||
|
||||
@@ -106,8 +114,8 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Disk> disks_;
|
||||
|
||||
|
||||
@@ -89,6 +89,8 @@ namespace AlibabaCloud
|
||||
void setZoneId(const std::string& zoneId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::vector<std::string> getIpv6Address()const;
|
||||
void setIpv6Address(const std::vector<std::string>& ipv6Address);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
std::string getStatus()const;
|
||||
@@ -163,6 +165,7 @@ namespace AlibabaCloud
|
||||
std::string internetChargeType_;
|
||||
std::string zoneId_;
|
||||
int maxResults_;
|
||||
std::vector<std::string> ipv6Address_;
|
||||
std::string instanceNetworkType_;
|
||||
std::string status_;
|
||||
std::string imageId_;
|
||||
|
||||
@@ -43,8 +43,8 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct EipAddress
|
||||
{
|
||||
std::string allocationId;
|
||||
int bandwidth;
|
||||
std::string allocationId;
|
||||
std::string ipAddress;
|
||||
bool isSupportUnassociate;
|
||||
std::string internetChargeType;
|
||||
@@ -95,8 +95,8 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::vector<NetworkInterface::Ipv6Set> ipv6Sets;
|
||||
std::string primaryIpAddress;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
std::string networkInterfaceId;
|
||||
std::vector<NetworkInterface::PrivateIpSet> privateIpSets;
|
||||
};
|
||||
struct LockReason
|
||||
@@ -120,8 +120,8 @@ namespace AlibabaCloud
|
||||
EipAddress eipAddress;
|
||||
std::string imageId;
|
||||
std::vector<Instance::Tag> tags;
|
||||
std::string hostName;
|
||||
std::string vlanId;
|
||||
std::string hostName;
|
||||
std::string status;
|
||||
HibernationOptions hibernationOptions;
|
||||
MetadataOptions metadataOptions;
|
||||
@@ -133,8 +133,8 @@ namespace AlibabaCloud
|
||||
VpcAttributes vpcAttributes;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
std::string internetChargeType;
|
||||
std::string instanceName;
|
||||
std::string deploymentSetId;
|
||||
std::string instanceName;
|
||||
int internetMaxBandwidthOut;
|
||||
std::string serialNumber;
|
||||
std::string oSType;
|
||||
@@ -153,8 +153,8 @@ namespace AlibabaCloud
|
||||
std::string saleCycle;
|
||||
bool deviceAvailable;
|
||||
std::string instanceType;
|
||||
std::string oSNameEn;
|
||||
std::string spotStrategy;
|
||||
std::string oSNameEn;
|
||||
std::string keyPairName;
|
||||
bool ioOptimized;
|
||||
std::string zoneId;
|
||||
@@ -179,8 +179,8 @@ namespace AlibabaCloud
|
||||
~DescribeInstancesResult();
|
||||
std::vector<Instance> getInstances()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
@@ -188,8 +188,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<Instance> instances_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContentEncoding()const;
|
||||
void setContentEncoding(const std::string& contentEncoding);
|
||||
std::string getRepeatMode()const;
|
||||
void setRepeatMode(const std::string& repeatMode);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getInvokeId()const;
|
||||
@@ -76,6 +78,7 @@ namespace AlibabaCloud
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
std::string repeatMode_;
|
||||
long pageSize_;
|
||||
std::string invokeId_;
|
||||
bool timed_;
|
||||
|
||||
@@ -83,6 +83,8 @@ namespace AlibabaCloud
|
||||
void setMaxResults(int maxResults);
|
||||
std::vector<std::string> getNetworkInterfaceId()const;
|
||||
void setNetworkInterfaceId(const std::vector<std::string>& networkInterfaceId);
|
||||
std::vector<std::string> getIpv6Address()const;
|
||||
void setIpv6Address(const std::vector<std::string>& ipv6Address);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
@@ -108,6 +110,7 @@ namespace AlibabaCloud
|
||||
std::string primaryIpAddress_;
|
||||
int maxResults_;
|
||||
std::vector<std::string> networkInterfaceId_;
|
||||
std::vector<std::string> ipv6Address_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
|
||||
@@ -65,10 +65,10 @@ namespace AlibabaCloud
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string privateIpAddress;
|
||||
std::string description;
|
||||
std::string resourceGroupId;
|
||||
std::string privateIpAddress;
|
||||
bool serviceManaged;
|
||||
std::string resourceGroupId;
|
||||
Attachment attachment;
|
||||
std::string networkInterfaceId;
|
||||
std::vector<NetworkInterfaceSet::Ipv6Set> ipv6Sets;
|
||||
@@ -85,8 +85,8 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> securityGroupIds;
|
||||
long serviceID;
|
||||
std::string type;
|
||||
int queueNumber;
|
||||
int queuePairNumber;
|
||||
int queueNumber;
|
||||
std::string vpcId;
|
||||
std::string creationTime;
|
||||
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
|
||||
@@ -97,8 +97,8 @@ namespace AlibabaCloud
|
||||
explicit DescribeNetworkInterfacesResult(const std::string &payload);
|
||||
~DescribeNetworkInterfacesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<NetworkInterfaceSet> getNetworkInterfaceSets()const;
|
||||
|
||||
@@ -106,8 +106,8 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<NetworkInterfaceSet> networkInterfaceSets_;
|
||||
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTASSOCIATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTASSOCIATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePrefixListAssociationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePrefixListAssociationsRequest();
|
||||
~DescribePrefixListAssociationsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPrefixListId()const;
|
||||
void setPrefixListId(const std::string& prefixListId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
std::string nextToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTASSOCIATIONSREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DESCRIBEPREFIXLISTASSOCIATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTASSOCIATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePrefixListAssociationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrefixListAssociation
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string resourceType;
|
||||
};
|
||||
|
||||
|
||||
DescribePrefixListAssociationsResult();
|
||||
explicit DescribePrefixListAssociationsResult(const std::string &payload);
|
||||
~DescribePrefixListAssociationsResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<PrefixListAssociation> getPrefixListAssociations()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<PrefixListAssociation> prefixListAssociations_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTASSOCIATIONSRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DESCRIBEPREFIXLISTATTRIBUTESREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTATTRIBUTESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePrefixListAttributesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePrefixListAttributesRequest();
|
||||
~DescribePrefixListAttributesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPrefixListId()const;
|
||||
void setPrefixListId(const std::string& prefixListId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTATTRIBUTESREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DESCRIBEPREFIXLISTATTRIBUTESRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTATTRIBUTESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePrefixListAttributesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Entry
|
||||
{
|
||||
std::string description;
|
||||
std::string cidr;
|
||||
};
|
||||
|
||||
|
||||
DescribePrefixListAttributesResult();
|
||||
explicit DescribePrefixListAttributesResult(const std::string &payload);
|
||||
~DescribePrefixListAttributesResult();
|
||||
int getMaxEntries()const;
|
||||
std::string getDescription()const;
|
||||
std::string getPrefixListId()const;
|
||||
std::string getPrefixListName()const;
|
||||
std::string getCreationTime()const;
|
||||
std::vector<Entry> getEntries()const;
|
||||
std::string getAddressFamily()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int maxEntries_;
|
||||
std::string description_;
|
||||
std::string prefixListId_;
|
||||
std::string prefixListName_;
|
||||
std::string creationTime_;
|
||||
std::vector<Entry> entries_;
|
||||
std::string addressFamily_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTATTRIBUTESRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePrefixListsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePrefixListsRequest();
|
||||
~DescribePrefixListsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<std::string> getPrefixListId()const;
|
||||
void setPrefixListId(const std::vector<std::string>& prefixListId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getAddressFamily()const;
|
||||
void setAddressFamily(const std::string& addressFamily);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPrefixListName()const;
|
||||
void setPrefixListName(const std::string& prefixListName);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::vector<std::string> prefixListId_;
|
||||
std::string nextToken_;
|
||||
std::string addressFamily_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string prefixListName_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTSREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DESCRIBEPREFIXLISTSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePrefixListsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrefixList
|
||||
{
|
||||
int maxEntries;
|
||||
std::string description;
|
||||
int associationCount;
|
||||
std::string prefixListId;
|
||||
std::string prefixListName;
|
||||
std::string creationTime;
|
||||
std::string addressFamily;
|
||||
};
|
||||
|
||||
|
||||
DescribePrefixListsResult();
|
||||
explicit DescribePrefixListsResult(const std::string &payload);
|
||||
~DescribePrefixListsResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<PrefixList> getPrefixLists()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<PrefixList> prefixLists_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEPREFIXLISTSRESULT_H_
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string sourcePortRange;
|
||||
std::string priority;
|
||||
std::string createTime;
|
||||
std::string destPrefixListName;
|
||||
std::string ipv6SourceCidrIp;
|
||||
std::string nicType;
|
||||
std::string destGroupId;
|
||||
@@ -47,12 +48,15 @@ namespace AlibabaCloud
|
||||
std::string sourceGroupName;
|
||||
std::string portRange;
|
||||
std::string destGroupOwnerAccount;
|
||||
std::string destPrefixListId;
|
||||
std::string sourceCidrIp;
|
||||
std::string sourcePrefixListName;
|
||||
std::string ipProtocol;
|
||||
std::string destGroupName;
|
||||
std::string destCidrIp;
|
||||
std::string sourceGroupOwnerAccount;
|
||||
std::string ipv6DestCidrIp;
|
||||
std::string sourcePrefixListId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
bool isDefault;
|
||||
std::string description;
|
||||
std::string vpcId;
|
||||
std::string zoneId;
|
||||
std::string resourceGroupId;
|
||||
std::string zoneId;
|
||||
std::string vSwitchId;
|
||||
long availableIpAddressCount;
|
||||
std::string creationTime;
|
||||
|
||||
85
ecs/include/alibabacloud/ecs/model/ModifyPrefixListRequest.h
Normal file
85
ecs/include/alibabacloud/ecs/model/ModifyPrefixListRequest.h
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_MODIFYPREFIXLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYPREFIXLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyPrefixListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AddEntry
|
||||
{
|
||||
std::string cidr;
|
||||
std::string description;
|
||||
};
|
||||
struct RemoveEntry
|
||||
{
|
||||
std::string cidr;
|
||||
};
|
||||
|
||||
public:
|
||||
ModifyPrefixListRequest();
|
||||
~ModifyPrefixListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPrefixListId()const;
|
||||
void setPrefixListId(const std::string& prefixListId);
|
||||
std::vector<AddEntry> getAddEntry()const;
|
||||
void setAddEntry(const std::vector<AddEntry>& addEntry);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPrefixListName()const;
|
||||
void setPrefixListName(const std::string& prefixListName);
|
||||
std::vector<RemoveEntry> getRemoveEntry()const;
|
||||
void setRemoveEntry(const std::vector<RemoveEntry>& removeEntry);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
std::vector<AddEntry> addEntry_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string prefixListName_;
|
||||
std::vector<RemoveEntry> removeEntry_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYPREFIXLISTREQUEST_H_
|
||||
49
ecs/include/alibabacloud/ecs/model/ModifyPrefixListResult.h
Normal file
49
ecs/include/alibabacloud/ecs/model/ModifyPrefixListResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYPREFIXLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYPREFIXLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyPrefixListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyPrefixListResult();
|
||||
explicit ModifyPrefixListResult(const std::string &payload);
|
||||
~ModifyPrefixListResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYPREFIXLISTRESULT_H_
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSourcePortRange(const std::string& sourcePortRange);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDestPrefixListId()const;
|
||||
void setDestPrefixListId(const std::string& destPrefixListId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getDescription()const;
|
||||
@@ -83,6 +85,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string sourcePortRange_;
|
||||
std::string clientToken_;
|
||||
std::string destPrefixListId_;
|
||||
std::string securityGroupId_;
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setNicType(const std::string& nicType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourcePrefixListId()const;
|
||||
void setSourcePrefixListId(const std::string& sourcePrefixListId);
|
||||
std::string getSourcePortRange()const;
|
||||
void setSourcePortRange(const std::string& sourcePortRange);
|
||||
std::string getClientToken()const;
|
||||
@@ -81,6 +83,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string nicType_;
|
||||
long resourceOwnerId_;
|
||||
std::string sourcePrefixListId_;
|
||||
std::string sourcePortRange_;
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
|
||||
@@ -33,8 +33,8 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Disk
|
||||
{
|
||||
std::string diskId;
|
||||
std::string snapshotId;
|
||||
std::string diskId;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSourcePortRange(const std::string& sourcePortRange);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDestPrefixListId()const;
|
||||
void setDestPrefixListId(const std::string& destPrefixListId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getDescription()const;
|
||||
@@ -83,6 +85,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string sourcePortRange_;
|
||||
std::string clientToken_;
|
||||
std::string destPrefixListId_;
|
||||
std::string securityGroupId_;
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setNicType(const std::string& nicType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourcePrefixListId()const;
|
||||
void setSourcePrefixListId(const std::string& sourcePrefixListId);
|
||||
std::string getSourcePortRange()const;
|
||||
void setSourcePortRange(const std::string& sourcePortRange);
|
||||
std::string getClientToken()const;
|
||||
@@ -81,6 +83,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string nicType_;
|
||||
long resourceOwnerId_;
|
||||
std::string sourcePrefixListId_;
|
||||
std::string sourcePortRange_;
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
|
||||
@@ -33,9 +33,9 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Arn
|
||||
{
|
||||
long assumeRoleFor;
|
||||
std::string rolearn;
|
||||
std::string roleType;
|
||||
std::string rolearn;
|
||||
long assumeRoleFor;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
@@ -44,28 +44,28 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct NetworkInterface
|
||||
{
|
||||
std::string primaryIpAddress;
|
||||
std::string vSwitchId;
|
||||
std::string securityGroupId;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
std::string networkInterfaceName;
|
||||
std::string description;
|
||||
std::string securityGroupId;
|
||||
std::string primaryIpAddress;
|
||||
int queueNumber;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
};
|
||||
struct DataDisk
|
||||
{
|
||||
int size;
|
||||
std::string snapshotId;
|
||||
std::string category;
|
||||
std::string encrypted;
|
||||
std::string kMSKeyId;
|
||||
std::string diskName;
|
||||
std::string description;
|
||||
std::string device;
|
||||
bool deleteWithInstance;
|
||||
std::string performanceLevel;
|
||||
std::string autoSnapshotPolicyId;
|
||||
std::string encrypted;
|
||||
std::string description;
|
||||
std::string snapshotId;
|
||||
std::string device;
|
||||
int size;
|
||||
std::string diskName;
|
||||
std::string category;
|
||||
std::string encryptAlgorithm;
|
||||
bool deleteWithInstance;
|
||||
std::string kMSKeyId;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -144,10 +144,10 @@ namespace AlibabaCloud
|
||||
void setSystemDiskDiskName(const std::string& systemDiskDiskName);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds);
|
||||
int getSpotDuration()const;
|
||||
void setSpotDuration(int spotDuration);
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds);
|
||||
std::string getSystemDiskSize()const;
|
||||
void setSystemDiskSize(const std::string& systemDiskSize);
|
||||
std::string getImageFamily()const;
|
||||
@@ -212,10 +212,10 @@ namespace AlibabaCloud
|
||||
void setHttpEndpoint(const std::string& httpEndpoint);
|
||||
std::string getInstanceChargeType()const;
|
||||
void setInstanceChargeType(const std::string& instanceChargeType);
|
||||
std::vector<NetworkInterface> getNetworkInterface()const;
|
||||
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
|
||||
std::string getDeploymentSetId()const;
|
||||
void setDeploymentSetId(const std::string& deploymentSetId);
|
||||
std::vector<NetworkInterface> getNetworkInterface()const;
|
||||
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
|
||||
int getAmount()const;
|
||||
void setAmount(int amount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -228,12 +228,12 @@ namespace AlibabaCloud
|
||||
void setAutoReleaseTime(const std::string& autoReleaseTime);
|
||||
std::string getCreditSpecification()const;
|
||||
void setCreditSpecification(const std::string& creditSpecification);
|
||||
std::vector<DataDisk> getDataDisk()const;
|
||||
void setDataDisk(const std::vector<DataDisk>& dataDisk);
|
||||
long getLaunchTemplateVersion()const;
|
||||
void setLaunchTemplateVersion(long launchTemplateVersion);
|
||||
std::string getSchedulerOptionsManagedPrivateSpaceId()const;
|
||||
void setSchedulerOptionsManagedPrivateSpaceId(const std::string& schedulerOptionsManagedPrivateSpaceId);
|
||||
std::vector<DataDisk> getDataDisk()const;
|
||||
void setDataDisk(const std::vector<DataDisk>& dataDisk);
|
||||
std::string getStorageSetId()const;
|
||||
void setStorageSetId(const std::string& storageSetId);
|
||||
std::string getHttpTokens()const;
|
||||
@@ -278,8 +278,8 @@ namespace AlibabaCloud
|
||||
std::string schedulerOptionsDedicatedHostClusterId_;
|
||||
std::string systemDiskDiskName_;
|
||||
std::string dedicatedHostId_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
int spotDuration_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::string systemDiskSize_;
|
||||
std::string imageFamily_;
|
||||
std::string launchTemplateName_;
|
||||
@@ -312,17 +312,17 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string httpEndpoint_;
|
||||
std::string instanceChargeType_;
|
||||
std::vector<NetworkInterface> networkInterface_;
|
||||
std::string deploymentSetId_;
|
||||
std::vector<NetworkInterface> networkInterface_;
|
||||
int amount_;
|
||||
std::string ownerAccount_;
|
||||
std::string tenancy_;
|
||||
std::string ramRoleName_;
|
||||
std::string autoReleaseTime_;
|
||||
std::string creditSpecification_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
long launchTemplateVersion_;
|
||||
std::string schedulerOptionsManagedPrivateSpaceId_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
std::string storageSetId_;
|
||||
std::string httpTokens_;
|
||||
std::string systemDiskDescription_;
|
||||
|
||||
@@ -38,15 +38,15 @@ namespace AlibabaCloud
|
||||
explicit RunInstancesResult(const std::string &payload);
|
||||
~RunInstancesResult();
|
||||
std::vector<std::string> getInstanceIdSets()const;
|
||||
float getTradePrice()const;
|
||||
std::string getOrderId()const;
|
||||
float getTradePrice()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> instanceIdSets_;
|
||||
float tradePrice_;
|
||||
std::string orderId_;
|
||||
float tradePrice_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user