由楚俊发起的ECS SDK自动发布, BUILD_ID=498, 版本号:1.3.2

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-03-23 21:01:01 +08:00
parent e34557650b
commit f2c01c7abe
47 changed files with 3613 additions and 79 deletions

View File

@@ -82,6 +82,8 @@
#include "model/DetachInstanceRamRoleResult.h"
#include "model/AllocatePublicIpAddressRequest.h"
#include "model/AllocatePublicIpAddressResult.h"
#include "model/AttachVolumeRequest.h"
#include "model/AttachVolumeResult.h"
#include "model/DescribeEipMonitorDataRequest.h"
#include "model/DescribeEipMonitorDataResult.h"
#include "model/CancelAutoSnapshotPolicyRequest.h"
@@ -122,6 +124,8 @@
#include "model/DescribeSecurityGroupsResult.h"
#include "model/ResizeDiskRequest.h"
#include "model/ResizeDiskResult.h"
#include "model/ResizeVolumeRequest.h"
#include "model/ResizeVolumeResult.h"
#include "model/CreateRouteEntryRequest.h"
#include "model/CreateRouteEntryResult.h"
#include "model/DescribeInvocationsRequest.h"
@@ -130,6 +134,8 @@
#include "model/AttachKeyPairResult.h"
#include "model/CreateRouterInterfaceRequest.h"
#include "model/CreateRouterInterfaceResult.h"
#include "model/ModifyVolumeAttributeRequest.h"
#include "model/ModifyVolumeAttributeResult.h"
#include "model/CheckDiskEnableAutoSnapshotValidationRequest.h"
#include "model/CheckDiskEnableAutoSnapshotValidationResult.h"
#include "model/RunInstancesRequest.h"
@@ -194,6 +200,8 @@
#include "model/DescribeInstanceTypesResult.h"
#include "model/DescribeSnapshotPackageRequest.h"
#include "model/DescribeSnapshotPackageResult.h"
#include "model/ReInitVolumeRequest.h"
#include "model/ReInitVolumeResult.h"
#include "model/RebootInstanceRequest.h"
#include "model/RebootInstanceResult.h"
#include "model/BindIpRangeRequest.h"
@@ -336,6 +344,8 @@
#include "model/ResetDiskResult.h"
#include "model/ModifyDiskChargeTypeRequest.h"
#include "model/ModifyDiskChargeTypeResult.h"
#include "model/DescribeVolumesRequest.h"
#include "model/DescribeVolumesResult.h"
#include "model/ModifyIntranetBandwidthKbRequest.h"
#include "model/ModifyIntranetBandwidthKbResult.h"
#include "model/DescribeBandwidthPackagesRequest.h"
@@ -354,6 +364,8 @@
#include "model/DescribeRecommendInstanceTypeResult.h"
#include "model/DescribeTagKeysRequest.h"
#include "model/DescribeTagKeysResult.h"
#include "model/CreateVolumeRequest.h"
#include "model/CreateVolumeResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
#include "model/DescribeIntranetAttributeKbRequest.h"
@@ -374,6 +386,10 @@
#include "model/EnablePhysicalConnectionResult.h"
#include "model/DescribeInstanceTypeFamiliesRequest.h"
#include "model/DescribeInstanceTypeFamiliesResult.h"
#include "model/RollbackVolumeRequest.h"
#include "model/RollbackVolumeResult.h"
#include "model/DeleteVolumeRequest.h"
#include "model/DeleteVolumeResult.h"
#include "model/CreateForwardEntryRequest.h"
#include "model/CreateForwardEntryResult.h"
#include "model/DescribeRouterInterfacesRequest.h"
@@ -444,6 +460,8 @@
#include "model/DescribePhysicalConnectionsResult.h"
#include "model/DescribeRecycleBinRequest.h"
#include "model/DescribeRecycleBinResult.h"
#include "model/DetachVolumeRequest.h"
#include "model/DetachVolumeResult.h"
#include "model/CreateNetworkInterfaceRequest.h"
#include "model/CreateNetworkInterfaceResult.h"
#include "model/DescribeIpRangesRequest.h"
@@ -577,6 +595,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AllocatePublicIpAddressResult> AllocatePublicIpAddressOutcome;
typedef std::future<AllocatePublicIpAddressOutcome> AllocatePublicIpAddressOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::AllocatePublicIpAddressRequest&, const AllocatePublicIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocatePublicIpAddressAsyncHandler;
typedef Outcome<Error, Model::AttachVolumeResult> AttachVolumeOutcome;
typedef std::future<AttachVolumeOutcome> AttachVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::AttachVolumeRequest&, const AttachVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachVolumeAsyncHandler;
typedef Outcome<Error, Model::DescribeEipMonitorDataResult> DescribeEipMonitorDataOutcome;
typedef std::future<DescribeEipMonitorDataOutcome> DescribeEipMonitorDataOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeEipMonitorDataRequest&, const DescribeEipMonitorDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEipMonitorDataAsyncHandler;
@@ -637,6 +658,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResizeDiskResult> ResizeDiskOutcome;
typedef std::future<ResizeDiskOutcome> ResizeDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ResizeDiskRequest&, const ResizeDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDiskAsyncHandler;
typedef Outcome<Error, Model::ResizeVolumeResult> ResizeVolumeOutcome;
typedef std::future<ResizeVolumeOutcome> ResizeVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ResizeVolumeRequest&, const ResizeVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeVolumeAsyncHandler;
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;
@@ -649,6 +673,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateRouterInterfaceResult> CreateRouterInterfaceOutcome;
typedef std::future<CreateRouterInterfaceOutcome> CreateRouterInterfaceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateRouterInterfaceRequest&, const CreateRouterInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRouterInterfaceAsyncHandler;
typedef Outcome<Error, Model::ModifyVolumeAttributeResult> ModifyVolumeAttributeOutcome;
typedef std::future<ModifyVolumeAttributeOutcome> ModifyVolumeAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyVolumeAttributeRequest&, const ModifyVolumeAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyVolumeAttributeAsyncHandler;
typedef Outcome<Error, Model::CheckDiskEnableAutoSnapshotValidationResult> CheckDiskEnableAutoSnapshotValidationOutcome;
typedef std::future<CheckDiskEnableAutoSnapshotValidationOutcome> CheckDiskEnableAutoSnapshotValidationOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CheckDiskEnableAutoSnapshotValidationRequest&, const CheckDiskEnableAutoSnapshotValidationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDiskEnableAutoSnapshotValidationAsyncHandler;
@@ -745,6 +772,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeSnapshotPackageResult> DescribeSnapshotPackageOutcome;
typedef std::future<DescribeSnapshotPackageOutcome> DescribeSnapshotPackageOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSnapshotPackageRequest&, const DescribeSnapshotPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnapshotPackageAsyncHandler;
typedef Outcome<Error, Model::ReInitVolumeResult> ReInitVolumeOutcome;
typedef std::future<ReInitVolumeOutcome> ReInitVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ReInitVolumeRequest&, const ReInitVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReInitVolumeAsyncHandler;
typedef Outcome<Error, Model::RebootInstanceResult> RebootInstanceOutcome;
typedef std::future<RebootInstanceOutcome> RebootInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RebootInstanceRequest&, const RebootInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RebootInstanceAsyncHandler;
@@ -958,6 +988,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyDiskChargeTypeResult> ModifyDiskChargeTypeOutcome;
typedef std::future<ModifyDiskChargeTypeOutcome> ModifyDiskChargeTypeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDiskChargeTypeRequest&, const ModifyDiskChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDiskChargeTypeAsyncHandler;
typedef Outcome<Error, Model::DescribeVolumesResult> DescribeVolumesOutcome;
typedef std::future<DescribeVolumesOutcome> DescribeVolumesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeVolumesRequest&, const DescribeVolumesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVolumesAsyncHandler;
typedef Outcome<Error, Model::ModifyIntranetBandwidthKbResult> ModifyIntranetBandwidthKbOutcome;
typedef std::future<ModifyIntranetBandwidthKbOutcome> ModifyIntranetBandwidthKbOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyIntranetBandwidthKbRequest&, const ModifyIntranetBandwidthKbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIntranetBandwidthKbAsyncHandler;
@@ -985,6 +1018,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTagKeysResult> DescribeTagKeysOutcome;
typedef std::future<DescribeTagKeysOutcome> DescribeTagKeysOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeTagKeysRequest&, const DescribeTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagKeysAsyncHandler;
typedef Outcome<Error, Model::CreateVolumeResult> CreateVolumeOutcome;
typedef std::future<CreateVolumeOutcome> CreateVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateVolumeRequest&, const CreateVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVolumeAsyncHandler;
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
@@ -1015,6 +1051,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeInstanceTypeFamiliesResult> DescribeInstanceTypeFamiliesOutcome;
typedef std::future<DescribeInstanceTypeFamiliesOutcome> DescribeInstanceTypeFamiliesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeInstanceTypeFamiliesRequest&, const DescribeInstanceTypeFamiliesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceTypeFamiliesAsyncHandler;
typedef Outcome<Error, Model::RollbackVolumeResult> RollbackVolumeOutcome;
typedef std::future<RollbackVolumeOutcome> RollbackVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RollbackVolumeRequest&, const RollbackVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackVolumeAsyncHandler;
typedef Outcome<Error, Model::DeleteVolumeResult> DeleteVolumeOutcome;
typedef std::future<DeleteVolumeOutcome> DeleteVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteVolumeRequest&, const DeleteVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVolumeAsyncHandler;
typedef Outcome<Error, Model::CreateForwardEntryResult> CreateForwardEntryOutcome;
typedef std::future<CreateForwardEntryOutcome> CreateForwardEntryOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateForwardEntryRequest&, const CreateForwardEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateForwardEntryAsyncHandler;
@@ -1120,6 +1162,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRecycleBinResult> DescribeRecycleBinOutcome;
typedef std::future<DescribeRecycleBinOutcome> DescribeRecycleBinOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeRecycleBinRequest&, const DescribeRecycleBinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecycleBinAsyncHandler;
typedef Outcome<Error, Model::DetachVolumeResult> DetachVolumeOutcome;
typedef std::future<DetachVolumeOutcome> DetachVolumeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DetachVolumeRequest&, const DetachVolumeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachVolumeAsyncHandler;
typedef Outcome<Error, Model::CreateNetworkInterfaceResult> CreateNetworkInterfaceOutcome;
typedef std::future<CreateNetworkInterfaceOutcome> CreateNetworkInterfaceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateNetworkInterfaceRequest&, const CreateNetworkInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNetworkInterfaceAsyncHandler;
@@ -1266,6 +1311,9 @@ namespace AlibabaCloud
AllocatePublicIpAddressOutcome allocatePublicIpAddress(const Model::AllocatePublicIpAddressRequest &request)const;
void allocatePublicIpAddressAsync(const Model::AllocatePublicIpAddressRequest& request, const AllocatePublicIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocatePublicIpAddressOutcomeCallable allocatePublicIpAddressCallable(const Model::AllocatePublicIpAddressRequest& request) const;
AttachVolumeOutcome attachVolume(const Model::AttachVolumeRequest &request)const;
void attachVolumeAsync(const Model::AttachVolumeRequest& request, const AttachVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachVolumeOutcomeCallable attachVolumeCallable(const Model::AttachVolumeRequest& request) const;
DescribeEipMonitorDataOutcome describeEipMonitorData(const Model::DescribeEipMonitorDataRequest &request)const;
void describeEipMonitorDataAsync(const Model::DescribeEipMonitorDataRequest& request, const DescribeEipMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEipMonitorDataOutcomeCallable describeEipMonitorDataCallable(const Model::DescribeEipMonitorDataRequest& request) const;
@@ -1326,6 +1374,9 @@ namespace AlibabaCloud
ResizeDiskOutcome resizeDisk(const Model::ResizeDiskRequest &request)const;
void resizeDiskAsync(const Model::ResizeDiskRequest& request, const ResizeDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeDiskOutcomeCallable resizeDiskCallable(const Model::ResizeDiskRequest& request) const;
ResizeVolumeOutcome resizeVolume(const Model::ResizeVolumeRequest &request)const;
void resizeVolumeAsync(const Model::ResizeVolumeRequest& request, const ResizeVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeVolumeOutcomeCallable resizeVolumeCallable(const Model::ResizeVolumeRequest& 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;
@@ -1338,6 +1389,9 @@ namespace AlibabaCloud
CreateRouterInterfaceOutcome createRouterInterface(const Model::CreateRouterInterfaceRequest &request)const;
void createRouterInterfaceAsync(const Model::CreateRouterInterfaceRequest& request, const CreateRouterInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRouterInterfaceOutcomeCallable createRouterInterfaceCallable(const Model::CreateRouterInterfaceRequest& request) const;
ModifyVolumeAttributeOutcome modifyVolumeAttribute(const Model::ModifyVolumeAttributeRequest &request)const;
void modifyVolumeAttributeAsync(const Model::ModifyVolumeAttributeRequest& request, const ModifyVolumeAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyVolumeAttributeOutcomeCallable modifyVolumeAttributeCallable(const Model::ModifyVolumeAttributeRequest& request) const;
CheckDiskEnableAutoSnapshotValidationOutcome checkDiskEnableAutoSnapshotValidation(const Model::CheckDiskEnableAutoSnapshotValidationRequest &request)const;
void checkDiskEnableAutoSnapshotValidationAsync(const Model::CheckDiskEnableAutoSnapshotValidationRequest& request, const CheckDiskEnableAutoSnapshotValidationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckDiskEnableAutoSnapshotValidationOutcomeCallable checkDiskEnableAutoSnapshotValidationCallable(const Model::CheckDiskEnableAutoSnapshotValidationRequest& request) const;
@@ -1434,6 +1488,9 @@ namespace AlibabaCloud
DescribeSnapshotPackageOutcome describeSnapshotPackage(const Model::DescribeSnapshotPackageRequest &request)const;
void describeSnapshotPackageAsync(const Model::DescribeSnapshotPackageRequest& request, const DescribeSnapshotPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnapshotPackageOutcomeCallable describeSnapshotPackageCallable(const Model::DescribeSnapshotPackageRequest& request) const;
ReInitVolumeOutcome reInitVolume(const Model::ReInitVolumeRequest &request)const;
void reInitVolumeAsync(const Model::ReInitVolumeRequest& request, const ReInitVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReInitVolumeOutcomeCallable reInitVolumeCallable(const Model::ReInitVolumeRequest& request) const;
RebootInstanceOutcome rebootInstance(const Model::RebootInstanceRequest &request)const;
void rebootInstanceAsync(const Model::RebootInstanceRequest& request, const RebootInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RebootInstanceOutcomeCallable rebootInstanceCallable(const Model::RebootInstanceRequest& request) const;
@@ -1647,6 +1704,9 @@ namespace AlibabaCloud
ModifyDiskChargeTypeOutcome modifyDiskChargeType(const Model::ModifyDiskChargeTypeRequest &request)const;
void modifyDiskChargeTypeAsync(const Model::ModifyDiskChargeTypeRequest& request, const ModifyDiskChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDiskChargeTypeOutcomeCallable modifyDiskChargeTypeCallable(const Model::ModifyDiskChargeTypeRequest& request) const;
DescribeVolumesOutcome describeVolumes(const Model::DescribeVolumesRequest &request)const;
void describeVolumesAsync(const Model::DescribeVolumesRequest& request, const DescribeVolumesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVolumesOutcomeCallable describeVolumesCallable(const Model::DescribeVolumesRequest& request) const;
ModifyIntranetBandwidthKbOutcome modifyIntranetBandwidthKb(const Model::ModifyIntranetBandwidthKbRequest &request)const;
void modifyIntranetBandwidthKbAsync(const Model::ModifyIntranetBandwidthKbRequest& request, const ModifyIntranetBandwidthKbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyIntranetBandwidthKbOutcomeCallable modifyIntranetBandwidthKbCallable(const Model::ModifyIntranetBandwidthKbRequest& request) const;
@@ -1674,6 +1734,9 @@ namespace AlibabaCloud
DescribeTagKeysOutcome describeTagKeys(const Model::DescribeTagKeysRequest &request)const;
void describeTagKeysAsync(const Model::DescribeTagKeysRequest& request, const DescribeTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTagKeysOutcomeCallable describeTagKeysCallable(const Model::DescribeTagKeysRequest& request) const;
CreateVolumeOutcome createVolume(const Model::CreateVolumeRequest &request)const;
void createVolumeAsync(const Model::CreateVolumeRequest& request, const CreateVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVolumeOutcomeCallable createVolumeCallable(const Model::CreateVolumeRequest& request) const;
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
@@ -1704,6 +1767,12 @@ namespace AlibabaCloud
DescribeInstanceTypeFamiliesOutcome describeInstanceTypeFamilies(const Model::DescribeInstanceTypeFamiliesRequest &request)const;
void describeInstanceTypeFamiliesAsync(const Model::DescribeInstanceTypeFamiliesRequest& request, const DescribeInstanceTypeFamiliesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceTypeFamiliesOutcomeCallable describeInstanceTypeFamiliesCallable(const Model::DescribeInstanceTypeFamiliesRequest& request) const;
RollbackVolumeOutcome rollbackVolume(const Model::RollbackVolumeRequest &request)const;
void rollbackVolumeAsync(const Model::RollbackVolumeRequest& request, const RollbackVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RollbackVolumeOutcomeCallable rollbackVolumeCallable(const Model::RollbackVolumeRequest& request) const;
DeleteVolumeOutcome deleteVolume(const Model::DeleteVolumeRequest &request)const;
void deleteVolumeAsync(const Model::DeleteVolumeRequest& request, const DeleteVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVolumeOutcomeCallable deleteVolumeCallable(const Model::DeleteVolumeRequest& request) const;
CreateForwardEntryOutcome createForwardEntry(const Model::CreateForwardEntryRequest &request)const;
void createForwardEntryAsync(const Model::CreateForwardEntryRequest& request, const CreateForwardEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateForwardEntryOutcomeCallable createForwardEntryCallable(const Model::CreateForwardEntryRequest& request) const;
@@ -1809,6 +1878,9 @@ namespace AlibabaCloud
DescribeRecycleBinOutcome describeRecycleBin(const Model::DescribeRecycleBinRequest &request)const;
void describeRecycleBinAsync(const Model::DescribeRecycleBinRequest& request, const DescribeRecycleBinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRecycleBinOutcomeCallable describeRecycleBinCallable(const Model::DescribeRecycleBinRequest& request) const;
DetachVolumeOutcome detachVolume(const Model::DetachVolumeRequest &request)const;
void detachVolumeAsync(const Model::DetachVolumeRequest& request, const DetachVolumeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachVolumeOutcomeCallable detachVolumeCallable(const Model::DetachVolumeRequest& request) const;
CreateNetworkInterfaceOutcome createNetworkInterface(const Model::CreateNetworkInterfaceRequest &request)const;
void createNetworkInterfaceAsync(const Model::CreateNetworkInterfaceRequest& request, const CreateNetworkInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNetworkInterfaceOutcomeCallable createNetworkInterfaceCallable(const Model::CreateNetworkInterfaceRequest& request) const;

View File

@@ -0,0 +1,66 @@
/*
* 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_ATTACHVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMEREQUEST_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 AttachVolumeRequest : public RpcServiceRequest
{
public:
AttachVolumeRequest();
~AttachVolumeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string instanceId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string volumeId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMEREQUEST_H_

View 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_ATTACHVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMERESULT_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 AttachVolumeResult : public ServiceResult
{
public:
AttachVolumeResult();
explicit AttachVolumeResult(const std::string &payload);
~AttachVolumeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMERESULT_H_

View File

@@ -47,26 +47,36 @@ namespace AlibabaCloud
void setRole(const std::string& role);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getHealthCheckTargetIp()const;
void setHealthCheckTargetIp(const std::string& healthCheckTargetIp);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSpec()const;
void setSpec(const std::string& spec);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getUserCidr()const;
void setUserCidr(const std::string& userCidr);
std::string getOppositeInterfaceId()const;
void setOppositeInterfaceId(const std::string& oppositeInterfaceId);
std::string getInstanceChargeType()const;
void setInstanceChargeType(const std::string& instanceChargeType);
int getPeriod()const;
void setPeriod(int period);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOppositeRegionId()const;
void setOppositeRegionId(const std::string& oppositeRegionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getHealthCheckTargetIp()const;
void setHealthCheckTargetIp(const std::string& healthCheckTargetIp);
std::string getDescription()const;
void setDescription(const std::string& description);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSpec()const;
void setSpec(const std::string& spec);
std::string getOppositeInterfaceOwnerId()const;
void setOppositeInterfaceOwnerId(const std::string& oppositeInterfaceOwnerId);
std::string getRouterType()const;
void setRouterType(const std::string& routerType);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getHealthCheckSourceIp()const;
void setHealthCheckSourceIp(const std::string& healthCheckSourceIp);
std::string getRouterId()const;
@@ -75,10 +85,8 @@ namespace AlibabaCloud
void setOppositeRouterType(const std::string& oppositeRouterType);
std::string getName()const;
void setName(const std::string& name);
std::string getUserCidr()const;
void setUserCidr(const std::string& userCidr);
std::string getOppositeInterfaceId()const;
void setOppositeInterfaceId(const std::string& oppositeInterfaceId);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
private:
std::string accessPointId_;
@@ -87,22 +95,26 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string role_;
std::string clientToken_;
std::string healthCheckTargetIp_;
std::string description_;
std::string spec_;
std::string regionId_;
std::string userCidr_;
std::string oppositeInterfaceId_;
std::string instanceChargeType_;
int period_;
bool autoPay_;
std::string resourceOwnerAccount_;
std::string oppositeRegionId_;
std::string ownerAccount_;
std::string healthCheckTargetIp_;
std::string description_;
long ownerId_;
std::string spec_;
std::string oppositeInterfaceOwnerId_;
std::string routerType_;
std::string regionId_;
std::string healthCheckSourceIp_;
std::string routerId_;
std::string oppositeRouterType_;
std::string name_;
std::string userCidr_;
std::string oppositeInterfaceId_;
std::string pricingCycle_;
};
}

View File

@@ -37,11 +37,13 @@ namespace AlibabaCloud
CreateRouterInterfaceResult();
explicit CreateRouterInterfaceResult(const std::string &payload);
~CreateRouterInterfaceResult();
long getOrderId()const;
std::string getRouterInterfaceId()const;
protected:
void parse(const std::string &payload);
private:
long orderId_;
std::string routerInterfaceId_;
};

View File

@@ -0,0 +1,114 @@
/*
* 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_CREATEVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEVOLUMEREQUEST_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 CreateVolumeRequest : public RpcServiceRequest
{
public:
CreateVolumeRequest();
~CreateVolumeRequest();
std::string getTag4Value()const;
void setTag4Value(const std::string& tag4Value);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSnapshotId()const;
void setSnapshotId(const std::string& snapshotId);
std::string getTag2Key()const;
void setTag2Key(const std::string& tag2Key);
std::string getVolumeName()const;
void setVolumeName(const std::string& volumeName);
bool getVolumeEncrypted()const;
void setVolumeEncrypted(bool volumeEncrypted);
std::string getTag5Key()const;
void setTag5Key(const std::string& tag5Key);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getTag3Key()const;
void setTag3Key(const std::string& tag3Key);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTag5Value()const;
void setTag5Value(const std::string& tag5Value);
std::string getTag1Key()const;
void setTag1Key(const std::string& tag1Key);
std::string getTag1Value()const;
void setTag1Value(const std::string& tag1Value);
std::string getVolumeCategory()const;
void setVolumeCategory(const std::string& volumeCategory);
int getSize()const;
void setSize(int size);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getTag2Value()const;
void setTag2Value(const std::string& tag2Value);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getTag4Key()const;
void setTag4Key(const std::string& tag4Key);
std::string getTag3Value()const;
void setTag3Value(const std::string& tag3Value);
private:
std::string tag4Value_;
long resourceOwnerId_;
std::string snapshotId_;
std::string tag2Key_;
std::string volumeName_;
bool volumeEncrypted_;
std::string tag5Key_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string description_;
std::string tag3Key_;
long ownerId_;
std::string tag5Value_;
std::string tag1Key_;
std::string tag1Value_;
std::string volumeCategory_;
int size_;
std::string regionId_;
std::string tag2Value_;
std::string zoneId_;
std::string tag4Key_;
std::string tag3Value_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEVOLUMEREQUEST_H_

View 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_CREATEVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEVOLUMERESULT_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 CreateVolumeResult : public ServiceResult
{
public:
CreateVolumeResult();
explicit CreateVolumeResult(const std::string &payload);
~CreateVolumeResult();
std::string getVolumeId()const;
protected:
void parse(const std::string &payload);
private:
std::string volumeId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEVOLUMERESULT_H_

View 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_DELETEVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEVOLUMEREQUEST_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 DeleteVolumeRequest : public RpcServiceRequest
{
public:
DeleteVolumeRequest();
~DeleteVolumeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string volumeId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEVOLUMEREQUEST_H_

View 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_DELETEVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEVOLUMERESULT_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 DeleteVolumeResult : public ServiceResult
{
public:
DeleteVolumeResult();
explicit DeleteVolumeResult(const std::string &payload);
~DeleteVolumeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEVOLUMERESULT_H_

View File

@@ -35,9 +35,11 @@ namespace AlibabaCloud
struct InstanceType
{
float memorySize;
long instancePpsTx;
int cpuCoreCount;
long localStorageCapacity;
std::string instanceTypeFamily;
long instancePpsRx;
int initialCredit;
int eniQuantity;
int instanceBandwidthRx;

View File

@@ -0,0 +1,123 @@
/*
* 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_DESCRIBEVOLUMESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESREQUEST_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 DescribeVolumesRequest : public RpcServiceRequest
{
public:
DescribeVolumesRequest();
~DescribeVolumesRequest();
std::string getTag4Value()const;
void setTag4Value(const std::string& tag4Value);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSnapshotId()const;
void setSnapshotId(const std::string& snapshotId);
std::string getTag2Key()const;
void setTag2Key(const std::string& tag2Key);
std::string getAutoSnapshotPolicyId()const;
void setAutoSnapshotPolicyId(const std::string& autoSnapshotPolicyId);
std::string getTag3Key()const;
void setTag3Key(const std::string& tag3Key);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getTag1Value()const;
void setTag1Value(const std::string& tag1Value);
std::string getLockReason()const;
void setLockReason(const std::string& lockReason);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTag3Value()const;
void setTag3Value(const std::string& tag3Value);
std::string getTag5Key()const;
void setTag5Key(const std::string& tag5Key);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
bool getEnableAutomatedSnapshotPolicy()const;
void setEnableAutomatedSnapshotPolicy(bool enableAutomatedSnapshotPolicy);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTag5Value()const;
void setTag5Value(const std::string& tag5Value);
std::string getTag1Key()const;
void setTag1Key(const std::string& tag1Key);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getTag2Value()const;
void setTag2Value(const std::string& tag2Value);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getTag4Key()const;
void setTag4Key(const std::string& tag4Key);
std::string getVolumeIds()const;
void setVolumeIds(const std::string& volumeIds);
std::string getCategory()const;
void setCategory(const std::string& category);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string tag4Value_;
long resourceOwnerId_;
std::string snapshotId_;
std::string tag2Key_;
std::string autoSnapshotPolicyId_;
std::string tag3Key_;
int pageNumber_;
std::string tag1Value_;
std::string lockReason_;
std::string regionId_;
int pageSize_;
std::string tag3Value_;
std::string tag5Key_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
bool enableAutomatedSnapshotPolicy_;
long ownerId_;
std::string tag5Value_;
std::string tag1Key_;
std::string instanceId_;
std::string tag2Value_;
std::string zoneId_;
std::string tag4Key_;
std::string volumeIds_;
std::string category_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESREQUEST_H_

View File

@@ -0,0 +1,94 @@
/*
* 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_DESCRIBEVOLUMESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESRESULT_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 DescribeVolumesResult : public ServiceResult
{
public:
struct Volume
{
struct OperationLock
{
std::string lockReason;
};
struct MountInstance
{
std::string attachedTime;
std::string instanceId;
std::string device;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string volumeName;
std::string description;
std::string category;
std::string zoneId;
std::string sourceSnapshotId;
std::string volumeChargeType;
int size;
bool encrypted;
std::string snapshotLinkId;
bool enableAutomatedSnapshotPolicy;
std::string autoSnapshotPolicyId;
std::vector<Volume::OperationLock> operationLocks;
std::string volumeId;
int mountInstanceNum;
std::vector<Volume::MountInstance> mountInstances;
std::string creationTime;
std::string regionId;
std::vector<Volume::Tag> tags;
};
DescribeVolumesResult();
explicit DescribeVolumesResult(const std::string &payload);
~DescribeVolumesResult();
int getTotalCount()const;
std::vector<Volume> getVolumes()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<Volume> volumes_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_DETACHVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DETACHVOLUMEREQUEST_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 DetachVolumeRequest : public RpcServiceRequest
{
public:
DetachVolumeRequest();
~DetachVolumeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string instanceId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string volumeId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DETACHVOLUMEREQUEST_H_

View 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_DETACHVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DETACHVOLUMERESULT_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 DetachVolumeResult : public ServiceResult
{
public:
DetachVolumeResult();
explicit DetachVolumeResult(const std::string &payload);
~DetachVolumeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DETACHVOLUMERESULT_H_

View File

@@ -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_MODIFYVOLUMEATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTEREQUEST_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 ModifyVolumeAttributeRequest : public RpcServiceRequest
{
public:
ModifyVolumeAttributeRequest();
~ModifyVolumeAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getVolumeName()const;
void setVolumeName(const std::string& volumeName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
std::string getDescription()const;
void setDescription(const std::string& description);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string volumeName_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string volumeId_;
std::string description_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTEREQUEST_H_

View 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_MODIFYVOLUMEATTRIBUTERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTERESULT_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 ModifyVolumeAttributeResult : public ServiceResult
{
public:
ModifyVolumeAttributeResult();
explicit ModifyVolumeAttributeResult(const std::string &payload);
~ModifyVolumeAttributeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_REINITVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_REINITVOLUMEREQUEST_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 ReInitVolumeRequest : public RpcServiceRequest
{
public:
ReInitVolumeRequest();
~ReInitVolumeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string password_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string volumeId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_REINITVOLUMEREQUEST_H_

View 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_REINITVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_REINITVOLUMERESULT_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 ReInitVolumeResult : public ServiceResult
{
public:
ReInitVolumeResult();
explicit ReInitVolumeResult(const std::string &payload);
~ReInitVolumeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_REINITVOLUMERESULT_H_

View File

@@ -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_RESIZEVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMEREQUEST_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 ResizeVolumeRequest : public RpcServiceRequest
{
public:
ResizeVolumeRequest();
~ResizeVolumeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
int getNewSize()const;
void setNewSize(int newSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string clientToken_;
std::string ownerAccount_;
std::string volumeId_;
int newSize_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMEREQUEST_H_

View 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_RESIZEVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMERESULT_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 ResizeVolumeResult : public ServiceResult
{
public:
ResizeVolumeResult();
explicit ResizeVolumeResult(const std::string &payload);
~ResizeVolumeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_ROLLBACKVOLUMEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMEREQUEST_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 RollbackVolumeRequest : public RpcServiceRequest
{
public:
RollbackVolumeRequest();
~RollbackVolumeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSnapshotId()const;
void setSnapshotId(const std::string& snapshotId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVolumeId()const;
void setVolumeId(const std::string& volumeId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string snapshotId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string volumeId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMEREQUEST_H_

View 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_ROLLBACKVOLUMERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMERESULT_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 RollbackVolumeResult : public ServiceResult
{
public:
RollbackVolumeResult();
explicit RollbackVolumeResult(const std::string &payload);
~RollbackVolumeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMERESULT_H_