由温仰发起的ECS SDK自动发布, BUILD_ID=473, 版本号:1.2.15
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -37,14 +37,14 @@ namespace AlibabaCloud
|
||||
AllocateEipAddressResult();
|
||||
explicit AllocateEipAddressResult(const std::string &payload);
|
||||
~AllocateEipAddressResult();
|
||||
std::string getAllocationId()const;
|
||||
std::string getEipAddress()const;
|
||||
std::string getAllocationId()const;
|
||||
std::string getEipAddress()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string allocationId_;
|
||||
std::string eipAddress_;
|
||||
std::string allocationId_;
|
||||
std::string eipAddress_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
AllocatePublicIpAddressResult();
|
||||
explicit AllocatePublicIpAddressResult(const std::string &payload);
|
||||
~AllocatePublicIpAddressResult();
|
||||
std::string getIpAddress()const;
|
||||
std::string getIpAddress()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string ipAddress_;
|
||||
std::string ipAddress_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT AttachInstanceRamRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string instanceId;
|
||||
std::string code;
|
||||
bool success;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string instanceId;
|
||||
std::string code;
|
||||
bool success;
|
||||
};
|
||||
|
||||
|
||||
AttachInstanceRamRoleResult();
|
||||
explicit AttachInstanceRamRoleResult(const std::string &payload);
|
||||
~AttachInstanceRamRoleResult();
|
||||
std::vector<Result> getAttachInstanceRamRoleResults()const;
|
||||
int getTotalCount()const;
|
||||
std::string getRamRoleName()const;
|
||||
int getFailCount()const;
|
||||
std::vector<Result> getAttachInstanceRamRoleResults()const;
|
||||
int getTotalCount()const;
|
||||
std::string getRamRoleName()const;
|
||||
int getFailCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Result> attachInstanceRamRoleResults_;
|
||||
int totalCount_;
|
||||
std::string ramRoleName_;
|
||||
int failCount_;
|
||||
std::vector<Result> attachInstanceRamRoleResults_;
|
||||
int totalCount_;
|
||||
std::string ramRoleName_;
|
||||
int failCount_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT AttachKeyPairResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string instanceId;
|
||||
std::string code;
|
||||
std::string success;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string instanceId;
|
||||
std::string code;
|
||||
std::string success;
|
||||
};
|
||||
|
||||
|
||||
AttachKeyPairResult();
|
||||
explicit AttachKeyPairResult(const std::string &payload);
|
||||
~AttachKeyPairResult();
|
||||
std::string getKeyPairName()const;
|
||||
std::string getTotalCount()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getFailCount()const;
|
||||
std::string getKeyPairName()const;
|
||||
std::string getTotalCount()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getFailCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string keyPairName_;
|
||||
std::string totalCount_;
|
||||
std::vector<Result> results_;
|
||||
std::string failCount_;
|
||||
std::string keyPairName_;
|
||||
std::string totalCount_;
|
||||
std::vector<Result> results_;
|
||||
std::string failCount_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
117
ecs/include/alibabacloud/ecs/model/CancelUserEventRequest.h
Normal file
117
ecs/include/alibabacloud/ecs/model/CancelUserEventRequest.h
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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_CANCELUSEREVENTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTREQUEST_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 CancelUserEventRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelUserEventRequest();
|
||||
~CancelUserEventRequest();
|
||||
|
||||
std::string getEventId()const;
|
||||
void setEventId(const std::string& eventId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
std::string eventId_;
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTREQUEST_H_
|
||||
51
ecs/include/alibabacloud/ecs/model/CancelUserEventResult.h
Normal file
51
ecs/include/alibabacloud/ecs/model/CancelUserEventResult.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_CANCELUSEREVENTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTRESULT_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 CancelUserEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelUserEventResult();
|
||||
explicit CancelUserEventResult(const std::string &payload);
|
||||
~CancelUserEventResult();
|
||||
std::string getEventId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string eventId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTRESULT_H_
|
||||
@@ -37,14 +37,14 @@ namespace AlibabaCloud
|
||||
CheckAutoSnapshotPolicyResult();
|
||||
explicit CheckAutoSnapshotPolicyResult(const std::string &payload);
|
||||
~CheckAutoSnapshotPolicyResult();
|
||||
int getAutoSnapshotOccupation()const;
|
||||
std::string getIsPermittedModify()const;
|
||||
int getAutoSnapshotOccupation()const;
|
||||
std::string getIsPermittedModify()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int autoSnapshotOccupation_;
|
||||
std::string isPermittedModify_;
|
||||
int autoSnapshotOccupation_;
|
||||
std::string isPermittedModify_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,14 +37,14 @@ namespace AlibabaCloud
|
||||
CheckDiskEnableAutoSnapshotValidationResult();
|
||||
explicit CheckDiskEnableAutoSnapshotValidationResult(const std::string &payload);
|
||||
~CheckDiskEnableAutoSnapshotValidationResult();
|
||||
int getAutoSnapshotOccupation()const;
|
||||
std::string getIsPermitted()const;
|
||||
int getAutoSnapshotOccupation()const;
|
||||
std::string getIsPermitted()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int autoSnapshotOccupation_;
|
||||
std::string isPermitted_;
|
||||
int autoSnapshotOccupation_;
|
||||
std::string isPermitted_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CopyImageResult();
|
||||
explicit CopyImageResult(const std::string &payload);
|
||||
~CopyImageResult();
|
||||
std::string getImageId()const;
|
||||
std::string getImageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string imageId_;
|
||||
std::string imageId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateAutoSnapshotPolicyResult();
|
||||
explicit CreateAutoSnapshotPolicyResult(const std::string &payload);
|
||||
~CreateAutoSnapshotPolicyResult();
|
||||
std::string getAutoSnapshotPolicyId()const;
|
||||
std::string getAutoSnapshotPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string autoSnapshotPolicyId_;
|
||||
std::string autoSnapshotPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateCommandResult();
|
||||
explicit CreateCommandResult(const std::string &payload);
|
||||
~CreateCommandResult();
|
||||
std::string getCommandId()const;
|
||||
std::string getCommandId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string commandId_;
|
||||
std::string commandId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateDeploymentSetResult();
|
||||
explicit CreateDeploymentSetResult(const std::string &payload);
|
||||
~CreateDeploymentSetResult();
|
||||
std::string getDeploymentSetId()const;
|
||||
std::string getDeploymentSetId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string deploymentSetId_;
|
||||
std::string deploymentSetId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateDiskResult();
|
||||
explicit CreateDiskResult(const std::string &payload);
|
||||
~CreateDiskResult();
|
||||
std::string getDiskId()const;
|
||||
std::string getDiskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string diskId_;
|
||||
std::string diskId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateForwardEntryResult();
|
||||
explicit CreateForwardEntryResult(const std::string &payload);
|
||||
~CreateForwardEntryResult();
|
||||
std::string getForwardEntryId()const;
|
||||
std::string getForwardEntryId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string forwardEntryId_;
|
||||
std::string forwardEntryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateHaVipResult();
|
||||
explicit CreateHaVipResult(const std::string &payload);
|
||||
~CreateHaVipResult();
|
||||
std::string getHaVipId()const;
|
||||
std::string getHaVipId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string haVipId_;
|
||||
std::string haVipId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateHpcClusterResult();
|
||||
explicit CreateHpcClusterResult(const std::string &payload);
|
||||
~CreateHpcClusterResult();
|
||||
std::string getHpcClusterId()const;
|
||||
std::string getHpcClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string hpcClusterId_;
|
||||
std::string hpcClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateImageResult();
|
||||
explicit CreateImageResult(const std::string &payload);
|
||||
~CreateImageResult();
|
||||
std::string getImageId()const;
|
||||
std::string getImageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string imageId_;
|
||||
std::string imageId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateInstanceResult();
|
||||
explicit CreateInstanceResult(const std::string &payload);
|
||||
~CreateInstanceResult();
|
||||
std::string getInstanceId()const;
|
||||
std::string getInstanceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
CreateKeyPairResult();
|
||||
explicit CreateKeyPairResult(const std::string &payload);
|
||||
~CreateKeyPairResult();
|
||||
std::string getKeyPairFingerPrint()const;
|
||||
std::string getKeyPairName()const;
|
||||
std::string getPrivateKeyBody()const;
|
||||
std::string getKeyPairFingerPrint()const;
|
||||
std::string getKeyPairName()const;
|
||||
std::string getPrivateKeyBody()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string keyPairFingerPrint_;
|
||||
std::string keyPairName_;
|
||||
std::string privateKeyBody_;
|
||||
std::string keyPairFingerPrint_;
|
||||
std::string keyPairName_;
|
||||
std::string privateKeyBody_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
CreateNatGatewayResult();
|
||||
explicit CreateNatGatewayResult(const std::string &payload);
|
||||
~CreateNatGatewayResult();
|
||||
std::vector<std::string> getForwardTableIds()const;
|
||||
std::vector<std::string> getBandwidthPackageIds()const;
|
||||
std::string getNatGatewayId()const;
|
||||
std::vector<std::string> getForwardTableIds()const;
|
||||
std::vector<std::string> getBandwidthPackageIds()const;
|
||||
std::string getNatGatewayId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> forwardTableIds_;
|
||||
std::vector<std::string> bandwidthPackageIds_;
|
||||
std::string natGatewayId_;
|
||||
std::vector<std::string> forwardTableIds_;
|
||||
std::vector<std::string> bandwidthPackageIds_;
|
||||
std::string natGatewayId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateNetworkInterfaceResult();
|
||||
explicit CreateNetworkInterfaceResult(const std::string &payload);
|
||||
~CreateNetworkInterfaceResult();
|
||||
std::string getNetworkInterfaceId()const;
|
||||
std::string getNetworkInterfaceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string networkInterfaceId_;
|
||||
std::string networkInterfaceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreatePhysicalConnectionResult();
|
||||
explicit CreatePhysicalConnectionResult(const std::string &payload);
|
||||
~CreatePhysicalConnectionResult();
|
||||
std::string getPhysicalConnectionId()const;
|
||||
std::string getPhysicalConnectionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string physicalConnectionId_;
|
||||
std::string physicalConnectionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateRouterInterfaceResult();
|
||||
explicit CreateRouterInterfaceResult(const std::string &payload);
|
||||
~CreateRouterInterfaceResult();
|
||||
std::string getRouterInterfaceId()const;
|
||||
std::string getRouterInterfaceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string routerInterfaceId_;
|
||||
std::string routerInterfaceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateSecurityGroupResult();
|
||||
explicit CreateSecurityGroupResult(const std::string &payload);
|
||||
~CreateSecurityGroupResult();
|
||||
std::string getSecurityGroupId()const;
|
||||
std::string getSecurityGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string securityGroupId_;
|
||||
std::string securityGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateSnapshotResult();
|
||||
explicit CreateSnapshotResult(const std::string &payload);
|
||||
~CreateSnapshotResult();
|
||||
std::string getSnapshotId()const;
|
||||
std::string getSnapshotId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string snapshotId_;
|
||||
std::string snapshotId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
123
ecs/include/alibabacloud/ecs/model/CreateUserEventRequest.h
Normal file
123
ecs/include/alibabacloud/ecs/model/CreateUserEventRequest.h
Normal 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_CREATEUSEREVENTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTREQUEST_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 CreateUserEventRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserEventRequest();
|
||||
~CreateUserEventRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getPlanTime()const;
|
||||
void setPlanTime(const std::string& planTime);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getExpireTime()const;
|
||||
void setExpireTime(const std::string& expireTime);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getEventType()const;
|
||||
void setEventType(const std::string& eventType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string planTime_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string expireTime_;
|
||||
std::string resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string eventType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTREQUEST_H_
|
||||
51
ecs/include/alibabacloud/ecs/model/CreateUserEventResult.h
Normal file
51
ecs/include/alibabacloud/ecs/model/CreateUserEventResult.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_CREATEUSEREVENTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTRESULT_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 CreateUserEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserEventResult();
|
||||
explicit CreateUserEventResult(const std::string &payload);
|
||||
~CreateUserEventResult();
|
||||
std::string getEventId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string eventId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTRESULT_H_
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateVSwitchResult();
|
||||
explicit CreateVSwitchResult(const std::string &payload);
|
||||
~CreateVSwitchResult();
|
||||
std::string getVSwitchId()const;
|
||||
std::string getVSwitchId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string vSwitchId_;
|
||||
std::string vSwitchId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
CreateVirtualBorderRouterResult();
|
||||
explicit CreateVirtualBorderRouterResult(const std::string &payload);
|
||||
~CreateVirtualBorderRouterResult();
|
||||
std::string getVbrId()const;
|
||||
std::string getVbrId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string vbrId_;
|
||||
std::string vbrId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
CreateVpcResult();
|
||||
explicit CreateVpcResult(const std::string &payload);
|
||||
~CreateVpcResult();
|
||||
std::string getVRouterId()const;
|
||||
std::string getRouteTableId()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getVRouterId()const;
|
||||
std::string getRouteTableId()const;
|
||||
std::string getVpcId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string vRouterId_;
|
||||
std::string routeTableId_;
|
||||
std::string vpcId_;
|
||||
std::string vRouterId_;
|
||||
std::string routeTableId_;
|
||||
std::string vpcId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,34 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAccessPointsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccessPointType
|
||||
{
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string description;
|
||||
std::string attachedRegionNo;
|
||||
std::string accessPointId;
|
||||
std::string hostOperator;
|
||||
std::string location;
|
||||
std::string name;
|
||||
};
|
||||
struct AccessPointType
|
||||
{
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string description;
|
||||
std::string attachedRegionNo;
|
||||
std::string accessPointId;
|
||||
std::string hostOperator;
|
||||
std::string location;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeAccessPointsResult();
|
||||
explicit DescribeAccessPointsResult(const std::string &payload);
|
||||
~DescribeAccessPointsResult();
|
||||
std::vector<AccessPointType> getAccessPointSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<AccessPointType> getAccessPointSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AccessPointType> accessPointSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<AccessPointType> accessPointSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,36 +32,36 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAutoSnapshotPolicyExResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AutoSnapshotPolicy
|
||||
{
|
||||
std::string status;
|
||||
std::string timePoints;
|
||||
int volumeNums;
|
||||
std::string creationTime;
|
||||
std::string autoSnapshotPolicyId;
|
||||
int retentionDays;
|
||||
std::string regionId;
|
||||
std::string repeatWeekdays;
|
||||
std::string autoSnapshotPolicyName;
|
||||
int diskNums;
|
||||
};
|
||||
struct AutoSnapshotPolicy
|
||||
{
|
||||
std::string status;
|
||||
std::string timePoints;
|
||||
int volumeNums;
|
||||
std::string creationTime;
|
||||
std::string autoSnapshotPolicyId;
|
||||
int retentionDays;
|
||||
std::string regionId;
|
||||
std::string repeatWeekdays;
|
||||
std::string autoSnapshotPolicyName;
|
||||
int diskNums;
|
||||
};
|
||||
|
||||
|
||||
DescribeAutoSnapshotPolicyExResult();
|
||||
explicit DescribeAutoSnapshotPolicyExResult(const std::string &payload);
|
||||
~DescribeAutoSnapshotPolicyExResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<AutoSnapshotPolicy> getAutoSnapshotPolicies()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<AutoSnapshotPolicy> getAutoSnapshotPolicies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<AutoSnapshotPolicy> autoSnapshotPolicies_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<AutoSnapshotPolicy> autoSnapshotPolicies_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,37 +32,37 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAutoSnapshotPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AutoSnapshotPolicy
|
||||
{
|
||||
std::string systemDiskPolicyTimePeriod;
|
||||
std::string systemDiskPolicyEnabled;
|
||||
std::string dataDiskPolicyTimePeriod;
|
||||
std::string systemDiskPolicyRetentionLastWeek;
|
||||
std::string systemDiskPolicyRetentionDays;
|
||||
std::string dataDiskPolicyRetentionDays;
|
||||
std::string dataDiskPolicyRetentionLastWeek;
|
||||
std::string dataDiskPolicyEnabled;
|
||||
};
|
||||
struct AutoSnapshotExcutionStatus
|
||||
{
|
||||
std::string systemDiskExcutionStatus;
|
||||
std::string dataDiskExcutionStatus;
|
||||
};
|
||||
struct AutoSnapshotPolicy
|
||||
{
|
||||
std::string systemDiskPolicyTimePeriod;
|
||||
std::string systemDiskPolicyEnabled;
|
||||
std::string dataDiskPolicyTimePeriod;
|
||||
std::string systemDiskPolicyRetentionLastWeek;
|
||||
std::string systemDiskPolicyRetentionDays;
|
||||
std::string dataDiskPolicyRetentionDays;
|
||||
std::string dataDiskPolicyRetentionLastWeek;
|
||||
std::string dataDiskPolicyEnabled;
|
||||
};
|
||||
struct AutoSnapshotExcutionStatus
|
||||
{
|
||||
std::string systemDiskExcutionStatus;
|
||||
std::string dataDiskExcutionStatus;
|
||||
};
|
||||
|
||||
|
||||
DescribeAutoSnapshotPolicyResult();
|
||||
explicit DescribeAutoSnapshotPolicyResult(const std::string &payload);
|
||||
~DescribeAutoSnapshotPolicyResult();
|
||||
int getAutoSnapshotOccupation()const;
|
||||
std::vector<AutoSnapshotExcutionStatus> getAutoSnapshotExcutionStatus()const;
|
||||
std::vector<AutoSnapshotPolicy> getAutoSnapshotPolicy()const;
|
||||
int getAutoSnapshotOccupation()const;
|
||||
AutoSnapshotExcutionStatus getAutoSnapshotExcutionStatus()const;
|
||||
AutoSnapshotPolicy getAutoSnapshotPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int autoSnapshotOccupation_;
|
||||
std::vector<AutoSnapshotExcutionStatus> autoSnapshotExcutionStatus_;
|
||||
std::vector<AutoSnapshotPolicy> autoSnapshotPolicy_;
|
||||
int autoSnapshotOccupation_;
|
||||
AutoSnapshotExcutionStatus autoSnapshotExcutionStatus_;
|
||||
AutoSnapshotPolicy autoSnapshotPolicy_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,37 +32,37 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAvailableResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AvailableZone
|
||||
{
|
||||
struct AvailableResource
|
||||
{
|
||||
struct SupportedResource
|
||||
{
|
||||
std::string status;
|
||||
int min;
|
||||
int max;
|
||||
std::string value;
|
||||
std::string unit;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<AvailableResource::SupportedResource> supportedResources;
|
||||
};
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::AvailableResource> availableResources;
|
||||
std::string regionId;
|
||||
};
|
||||
struct AvailableZone
|
||||
{
|
||||
struct AvailableResource
|
||||
{
|
||||
struct SupportedResource
|
||||
{
|
||||
std::string status;
|
||||
int min;
|
||||
int max;
|
||||
std::string value;
|
||||
std::string unit;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<AvailableResource::SupportedResource> supportedResources;
|
||||
};
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::AvailableResource> availableResources;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeAvailableResourceResult();
|
||||
explicit DescribeAvailableResourceResult(const std::string &payload);
|
||||
~DescribeAvailableResourceResult();
|
||||
std::vector<AvailableZone> getAvailableZones()const;
|
||||
std::vector<AvailableZone> getAvailableZones()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AvailableZone> availableZones_;
|
||||
std::vector<AvailableZone> availableZones_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,24 +32,24 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeBandwidthLimitationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Bandwidth
|
||||
{
|
||||
int min;
|
||||
int max;
|
||||
std::string unit;
|
||||
std::string internetChargeType;
|
||||
};
|
||||
struct Bandwidth
|
||||
{
|
||||
int min;
|
||||
int max;
|
||||
std::string unit;
|
||||
std::string internetChargeType;
|
||||
};
|
||||
|
||||
|
||||
DescribeBandwidthLimitationResult();
|
||||
explicit DescribeBandwidthLimitationResult(const std::string &payload);
|
||||
~DescribeBandwidthLimitationResult();
|
||||
std::vector<Bandwidth> getBandwidths()const;
|
||||
std::vector<Bandwidth> getBandwidths()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Bandwidth> bandwidths_;
|
||||
std::vector<Bandwidth> bandwidths_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,45 +32,45 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeBandwidthPackagesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BandwidthPackage
|
||||
{
|
||||
struct PublicIpAddresse
|
||||
{
|
||||
std::string allocationId;
|
||||
std::string ipAddress;
|
||||
};
|
||||
std::string status;
|
||||
std::string ipCount;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
std::string instanceChargeType;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string internetChargeType;
|
||||
std::string bandwidth;
|
||||
std::string creationTime;
|
||||
std::vector<BandwidthPackage::PublicIpAddresse> publicIpAddresses;
|
||||
std::string bandwidthPackageId;
|
||||
std::string regionId;
|
||||
std::string natGatewayId;
|
||||
};
|
||||
struct BandwidthPackage
|
||||
{
|
||||
struct PublicIpAddresse
|
||||
{
|
||||
std::string allocationId;
|
||||
std::string ipAddress;
|
||||
};
|
||||
std::string status;
|
||||
std::string ipCount;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
std::string instanceChargeType;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string internetChargeType;
|
||||
std::string bandwidth;
|
||||
std::string creationTime;
|
||||
std::vector<BandwidthPackage::PublicIpAddresse> publicIpAddresses;
|
||||
std::string bandwidthPackageId;
|
||||
std::string regionId;
|
||||
std::string natGatewayId;
|
||||
};
|
||||
|
||||
|
||||
DescribeBandwidthPackagesResult();
|
||||
explicit DescribeBandwidthPackagesResult(const std::string &payload);
|
||||
~DescribeBandwidthPackagesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<BandwidthPackage> getBandwidthPackages()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<BandwidthPackage> getBandwidthPackages()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<BandwidthPackage> bandwidthPackages_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<BandwidthPackage> bandwidthPackages_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,28 +32,28 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeClassicLinkInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Link
|
||||
{
|
||||
std::string vpcId;
|
||||
std::string instanceId;
|
||||
};
|
||||
struct Link
|
||||
{
|
||||
std::string vpcId;
|
||||
std::string instanceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeClassicLinkInstancesResult();
|
||||
explicit DescribeClassicLinkInstancesResult(const std::string &payload);
|
||||
~DescribeClassicLinkInstancesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Link> getLinks()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Link> getLinks()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Link> links_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Link> links_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,21 +32,21 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeClustersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Cluster
|
||||
{
|
||||
std::string clusterId;
|
||||
};
|
||||
struct Cluster
|
||||
{
|
||||
std::string clusterId;
|
||||
};
|
||||
|
||||
|
||||
DescribeClustersResult();
|
||||
explicit DescribeClustersResult(const std::string &payload);
|
||||
~DescribeClustersResult();
|
||||
std::vector<Cluster> getClusters()const;
|
||||
std::vector<Cluster> getClusters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Cluster> clusters_;
|
||||
std::vector<Cluster> clusters_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeCommandsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Command
|
||||
{
|
||||
std::string commandContent;
|
||||
std::string workingDir;
|
||||
std::string type;
|
||||
std::string description;
|
||||
long timeout;
|
||||
std::string commandId;
|
||||
std::string name;
|
||||
};
|
||||
struct Command
|
||||
{
|
||||
std::string commandContent;
|
||||
std::string workingDir;
|
||||
std::string type;
|
||||
std::string description;
|
||||
long timeout;
|
||||
std::string commandId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCommandsResult();
|
||||
explicit DescribeCommandsResult(const std::string &payload);
|
||||
~DescribeCommandsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Command> getCommands()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Command> getCommands()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Command> commands_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Command> commands_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,39 +32,39 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDeploymentSetTopologyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Switch
|
||||
{
|
||||
struct Host
|
||||
{
|
||||
std::string hostId;
|
||||
std::vector<std::string> instanceIds;
|
||||
};
|
||||
std::vector<Switch::Host> hosts;
|
||||
std::string switchId;
|
||||
};
|
||||
struct Rack
|
||||
{
|
||||
struct Host2
|
||||
{
|
||||
std::string hostId;
|
||||
std::vector<std::string> instanceIds3;
|
||||
};
|
||||
std::string rackId;
|
||||
std::vector<Rack::Host2> hosts1;
|
||||
};
|
||||
struct Switch
|
||||
{
|
||||
struct Host
|
||||
{
|
||||
std::string hostId;
|
||||
std::vector<std::string> instanceIds;
|
||||
};
|
||||
std::vector<Switch::Host> hosts;
|
||||
std::string switchId;
|
||||
};
|
||||
struct Rack
|
||||
{
|
||||
struct Host2
|
||||
{
|
||||
std::string hostId;
|
||||
std::vector<std::string> instanceIds3;
|
||||
};
|
||||
std::string rackId;
|
||||
std::vector<Rack::Host2> hosts1;
|
||||
};
|
||||
|
||||
|
||||
DescribeDeploymentSetTopologyResult();
|
||||
explicit DescribeDeploymentSetTopologyResult(const std::string &payload);
|
||||
~DescribeDeploymentSetTopologyResult();
|
||||
std::vector<Switch> getSwitchs()const;
|
||||
std::vector<Rack> getRacks()const;
|
||||
std::vector<Switch> getSwitchs()const;
|
||||
std::vector<Rack> getRacks()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Switch> switchs_;
|
||||
std::vector<Rack> racks_;
|
||||
std::vector<Switch> switchs_;
|
||||
std::vector<Rack> racks_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,36 +32,36 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDeploymentSetsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeploymentSet
|
||||
{
|
||||
std::string deploymentSetId;
|
||||
std::string deploymentSetDescription;
|
||||
int instanceAmount;
|
||||
std::string creationTime;
|
||||
std::string strategy;
|
||||
std::string deploymentSetName;
|
||||
std::string domain;
|
||||
std::string granularity;
|
||||
};
|
||||
struct DeploymentSet
|
||||
{
|
||||
std::string deploymentSetId;
|
||||
std::string deploymentSetDescription;
|
||||
int instanceAmount;
|
||||
std::string creationTime;
|
||||
std::string strategy;
|
||||
std::string deploymentSetName;
|
||||
std::string domain;
|
||||
std::string granularity;
|
||||
};
|
||||
|
||||
|
||||
DescribeDeploymentSetsResult();
|
||||
explicit DescribeDeploymentSetsResult(const std::string &payload);
|
||||
~DescribeDeploymentSetsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::vector<DeploymentSet> getDeploymentSets()const;
|
||||
int getPageNumber()const;
|
||||
std::string getRegionId()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::vector<DeploymentSet> getDeploymentSets()const;
|
||||
int getPageNumber()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::vector<DeploymentSet> deploymentSets_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::vector<DeploymentSet> deploymentSets_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,32 +32,32 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDiskMonitorDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DiskMonitorData
|
||||
{
|
||||
int iOPSRead;
|
||||
int iOPSWrite;
|
||||
int iOPSTotal;
|
||||
int bPSTotal;
|
||||
int bPSWrite;
|
||||
int latencyRead;
|
||||
int bPSRead;
|
||||
int latencyWrite;
|
||||
std::string timeStamp;
|
||||
std::string diskId;
|
||||
};
|
||||
struct DiskMonitorData
|
||||
{
|
||||
int iOPSRead;
|
||||
int iOPSWrite;
|
||||
int iOPSTotal;
|
||||
int bPSTotal;
|
||||
int bPSWrite;
|
||||
int latencyRead;
|
||||
int bPSRead;
|
||||
int latencyWrite;
|
||||
std::string timeStamp;
|
||||
std::string diskId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDiskMonitorDataResult();
|
||||
explicit DescribeDiskMonitorDataResult(const std::string &payload);
|
||||
~DescribeDiskMonitorDataResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<DiskMonitorData> getMonitorData()const;
|
||||
int getTotalCount()const;
|
||||
std::vector<DiskMonitorData> getMonitorData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<DiskMonitorData> monitorData_;
|
||||
int totalCount_;
|
||||
std::vector<DiskMonitorData> monitorData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,51 +32,51 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDisksFullStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DiskFullStatusType
|
||||
{
|
||||
struct Status
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct HealthStatus
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct DiskEventType
|
||||
{
|
||||
struct EventType
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<EventType> eventType;
|
||||
std::string eventTime;
|
||||
std::string eventId;
|
||||
};
|
||||
std::vector<Status> status;
|
||||
std::vector<DiskFullStatusType::DiskEventType> diskEventSet;
|
||||
std::vector<HealthStatus> healthStatus;
|
||||
std::string diskId;
|
||||
};
|
||||
struct DiskFullStatusType
|
||||
{
|
||||
struct Status
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct HealthStatus
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct DiskEventType
|
||||
{
|
||||
struct EventType
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
EventType eventType;
|
||||
std::string eventTime;
|
||||
std::string eventId;
|
||||
};
|
||||
Status status;
|
||||
std::vector<DiskFullStatusType::DiskEventType> diskEventSet;
|
||||
HealthStatus healthStatus;
|
||||
std::string diskId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDisksFullStatusResult();
|
||||
explicit DescribeDisksFullStatusResult(const std::string &payload);
|
||||
~DescribeDisksFullStatusResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<DiskFullStatusType> getDiskFullStatusSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<DiskFullStatusType> getDiskFullStatusSet()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<DiskFullStatusType> diskFullStatusSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<DiskFullStatusType> diskFullStatusSet_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,75 +32,75 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDisksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Disk
|
||||
{
|
||||
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 detachedTime;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
int size;
|
||||
bool encrypted;
|
||||
bool deleteAutoSnapshot;
|
||||
std::string diskChargeType;
|
||||
int iOPS;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
std::vector<Disk::Tag> tags;
|
||||
std::string status;
|
||||
std::string attachedTime;
|
||||
int iOPSRead;
|
||||
int iOPSWrite;
|
||||
std::string zoneId;
|
||||
std::string sourceSnapshotId;
|
||||
std::string productCode;
|
||||
std::string instanceId;
|
||||
std::string device;
|
||||
bool deleteWithInstance;
|
||||
bool enableAutomatedSnapshotPolicy;
|
||||
bool enableAutoSnapshot;
|
||||
std::string autoSnapshotPolicyId;
|
||||
std::string diskName;
|
||||
std::vector<Disk::OperationLock> operationLocks;
|
||||
bool portable;
|
||||
std::string type;
|
||||
int mountInstanceNum;
|
||||
std::vector<Disk::MountInstance> mountInstances;
|
||||
std::string creationTime;
|
||||
std::string regionId;
|
||||
std::string diskId;
|
||||
};
|
||||
struct Disk
|
||||
{
|
||||
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 detachedTime;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
int size;
|
||||
bool encrypted;
|
||||
bool deleteAutoSnapshot;
|
||||
std::string diskChargeType;
|
||||
int iOPS;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
std::vector<Disk::Tag> tags;
|
||||
std::string status;
|
||||
std::string attachedTime;
|
||||
int iOPSRead;
|
||||
int iOPSWrite;
|
||||
std::string zoneId;
|
||||
std::string sourceSnapshotId;
|
||||
std::string productCode;
|
||||
std::string instanceId;
|
||||
std::string device;
|
||||
bool deleteWithInstance;
|
||||
bool enableAutomatedSnapshotPolicy;
|
||||
bool enableAutoSnapshot;
|
||||
std::string autoSnapshotPolicyId;
|
||||
std::string diskName;
|
||||
std::vector<Disk::OperationLock> operationLocks;
|
||||
bool portable;
|
||||
std::string type;
|
||||
int mountInstanceNum;
|
||||
std::vector<Disk::MountInstance> mountInstances;
|
||||
std::string creationTime;
|
||||
std::string regionId;
|
||||
std::string diskId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDisksResult();
|
||||
explicit DescribeDisksResult(const std::string &payload);
|
||||
~DescribeDisksResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Disk> getDisks()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Disk> getDisks()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Disk> disks_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Disk> disks_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,43 +32,43 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeEipAddressesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EipAddress
|
||||
{
|
||||
struct LockReason
|
||||
{
|
||||
std::string lockReason;
|
||||
};
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string allocationId;
|
||||
std::vector<EipAddress::LockReason> operationLocks;
|
||||
std::string internetChargeType;
|
||||
std::string allocationTime;
|
||||
std::string eipBandwidth;
|
||||
std::string chargeType;
|
||||
std::string bandwidth;
|
||||
std::string expiredTime;
|
||||
std::string ipAddress;
|
||||
std::string regionId;
|
||||
std::string instanceType;
|
||||
};
|
||||
struct EipAddress
|
||||
{
|
||||
struct LockReason
|
||||
{
|
||||
std::string lockReason;
|
||||
};
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string allocationId;
|
||||
std::vector<EipAddress::LockReason> operationLocks;
|
||||
std::string internetChargeType;
|
||||
std::string allocationTime;
|
||||
std::string eipBandwidth;
|
||||
std::string chargeType;
|
||||
std::string bandwidth;
|
||||
std::string expiredTime;
|
||||
std::string ipAddress;
|
||||
std::string regionId;
|
||||
std::string instanceType;
|
||||
};
|
||||
|
||||
|
||||
DescribeEipAddressesResult();
|
||||
explicit DescribeEipAddressesResult(const std::string &payload);
|
||||
~DescribeEipAddressesResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<EipAddress> getEipAddresses()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalCount()const;
|
||||
std::vector<EipAddress> getEipAddresses()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<EipAddress> eipAddresses_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalCount_;
|
||||
std::vector<EipAddress> eipAddresses_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,26 +32,26 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeEipMonitorDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EipMonitorData
|
||||
{
|
||||
int eipPackets;
|
||||
int eipBandwidth;
|
||||
int eipFlow;
|
||||
int eipTX;
|
||||
std::string timeStamp;
|
||||
int eipRX;
|
||||
};
|
||||
struct EipMonitorData
|
||||
{
|
||||
int eipPackets;
|
||||
int eipBandwidth;
|
||||
int eipFlow;
|
||||
int eipTX;
|
||||
std::string timeStamp;
|
||||
int eipRX;
|
||||
};
|
||||
|
||||
|
||||
DescribeEipMonitorDataResult();
|
||||
explicit DescribeEipMonitorDataResult(const std::string &payload);
|
||||
~DescribeEipMonitorDataResult();
|
||||
std::vector<EipMonitorData> getEipMonitorDatas()const;
|
||||
std::vector<EipMonitorData> getEipMonitorDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<EipMonitorData> eipMonitorDatas_;
|
||||
std::vector<EipMonitorData> eipMonitorDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
114
ecs/include/alibabacloud/ecs/model/DescribeEventDetailRequest.h
Normal file
114
ecs/include/alibabacloud/ecs/model/DescribeEventDetailRequest.h
Normal 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_DESCRIBEEVENTDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILREQUEST_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 DescribeEventDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeEventDetailRequest();
|
||||
~DescribeEventDetailRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getEventId()const;
|
||||
void setEventId(const std::string& eventId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string eventId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILREQUEST_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_DESCRIBEEVENTDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILRESULT_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 DescribeEventDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeEventDetailResult();
|
||||
explicit DescribeEventDetailResult(const std::string &payload);
|
||||
~DescribeEventDetailResult();
|
||||
std::string getStatus()const;
|
||||
std::string getLimitTime()const;
|
||||
std::string getEventCategory()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getEventType()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getEffectTime()const;
|
||||
std::string getMark()const;
|
||||
std::string getPlanTime()const;
|
||||
std::string getResourceId()const;
|
||||
std::string getSupportModify()const;
|
||||
std::string getEventId()const;
|
||||
std::string getExpireTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string limitTime_;
|
||||
std::string eventCategory_;
|
||||
std::string endTime_;
|
||||
std::string eventType_;
|
||||
std::string startTime_;
|
||||
std::string effectTime_;
|
||||
std::string mark_;
|
||||
std::string planTime_;
|
||||
std::string resourceId_;
|
||||
std::string supportModify_;
|
||||
std::string eventId_;
|
||||
std::string expireTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILRESULT_H_
|
||||
135
ecs/include/alibabacloud/ecs/model/DescribeEventsRequest.h
Normal file
135
ecs/include/alibabacloud/ecs/model/DescribeEventsRequest.h
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* 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_DESCRIBEEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSREQUEST_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 DescribeEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeEventsRequest();
|
||||
~DescribeEventsRequest();
|
||||
|
||||
std::string getEventId()const;
|
||||
void setEventId(const std::string& eventId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getPlanTime()const;
|
||||
void setPlanTime(const std::string& planTime);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getExpireTime()const;
|
||||
void setExpireTime(const std::string& expireTime);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getEventType()const;
|
||||
void setEventType(const std::string& eventType);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string eventId_;
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
int pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string planTime_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string expireTime_;
|
||||
std::string resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string eventType_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSREQUEST_H_
|
||||
68
ecs/include/alibabacloud/ecs/model/DescribeEventsResult.h
Normal file
68
ecs/include/alibabacloud/ecs/model/DescribeEventsResult.h
Normal file
@@ -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_DESCRIBEEVENTSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSRESULT_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 DescribeEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Events
|
||||
{
|
||||
std::string status;
|
||||
std::string eventCategory;
|
||||
std::string resourceId;
|
||||
std::string eventType;
|
||||
std::string supportModify;
|
||||
std::string eventId;
|
||||
std::string planTime;
|
||||
std::string expireTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeEventsResult();
|
||||
explicit DescribeEventsResult(const std::string &payload);
|
||||
~DescribeEventsResult();
|
||||
int getPageSize()const;
|
||||
int getTotal()const;
|
||||
std::vector<Events> getData()const;
|
||||
int getPageNo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int total_;
|
||||
std::vector<Events> data_;
|
||||
int pageNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSRESULT_H_
|
||||
@@ -32,34 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeForwardTableEntriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ForwardTableEntry
|
||||
{
|
||||
std::string status;
|
||||
std::string externalPort;
|
||||
std::string externalIp;
|
||||
std::string forwardEntryId;
|
||||
std::string ipProtocol;
|
||||
std::string internalPort;
|
||||
std::string internalIp;
|
||||
std::string forwardTableId;
|
||||
};
|
||||
struct ForwardTableEntry
|
||||
{
|
||||
std::string status;
|
||||
std::string externalPort;
|
||||
std::string externalIp;
|
||||
std::string forwardEntryId;
|
||||
std::string ipProtocol;
|
||||
std::string internalPort;
|
||||
std::string internalIp;
|
||||
std::string forwardTableId;
|
||||
};
|
||||
|
||||
|
||||
DescribeForwardTableEntriesResult();
|
||||
explicit DescribeForwardTableEntriesResult(const std::string &payload);
|
||||
~DescribeForwardTableEntriesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ForwardTableEntry> getForwardTableEntries()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ForwardTableEntry> getForwardTableEntries()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<ForwardTableEntry> forwardTableEntries_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<ForwardTableEntry> forwardTableEntries_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,37 +32,37 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeHaVipsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HaVip
|
||||
{
|
||||
std::string status;
|
||||
std::vector<std::string> associatedInstances;
|
||||
std::string description;
|
||||
std::string vpcId;
|
||||
std::vector<std::string> associatedEipAddresses;
|
||||
std::string masterInstanceId;
|
||||
std::string vSwitchId;
|
||||
std::string createTime;
|
||||
std::string ipAddress;
|
||||
std::string haVipId;
|
||||
std::string regionId;
|
||||
};
|
||||
struct HaVip
|
||||
{
|
||||
std::string status;
|
||||
std::vector<std::string> associatedInstances;
|
||||
std::string description;
|
||||
std::string vpcId;
|
||||
std::vector<std::string> associatedEipAddresses;
|
||||
std::string masterInstanceId;
|
||||
std::string vSwitchId;
|
||||
std::string createTime;
|
||||
std::string ipAddress;
|
||||
std::string haVipId;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeHaVipsResult();
|
||||
explicit DescribeHaVipsResult(const std::string &payload);
|
||||
~DescribeHaVipsResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<HaVip> getHaVips()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalCount()const;
|
||||
std::vector<HaVip> getHaVips()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<HaVip> haVips_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalCount_;
|
||||
std::vector<HaVip> haVips_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,29 +32,29 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeHpcClustersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HpcCluster
|
||||
{
|
||||
std::string description;
|
||||
std::string hpcClusterId;
|
||||
std::string name;
|
||||
};
|
||||
struct HpcCluster
|
||||
{
|
||||
std::string description;
|
||||
std::string hpcClusterId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeHpcClustersResult();
|
||||
explicit DescribeHpcClustersResult(const std::string &payload);
|
||||
~DescribeHpcClustersResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<HpcCluster> getHpcClusters()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<HpcCluster> getHpcClusters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<HpcCluster> hpcClusters_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<HpcCluster> hpcClusters_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,37 +32,37 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImageSharePermissionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ShareGroup
|
||||
{
|
||||
std::string group;
|
||||
};
|
||||
struct Account
|
||||
{
|
||||
std::string aliyunId;
|
||||
};
|
||||
struct ShareGroup
|
||||
{
|
||||
std::string group;
|
||||
};
|
||||
struct Account
|
||||
{
|
||||
std::string aliyunId;
|
||||
};
|
||||
|
||||
|
||||
DescribeImageSharePermissionResult();
|
||||
explicit DescribeImageSharePermissionResult(const std::string &payload);
|
||||
~DescribeImageSharePermissionResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getImageId()const;
|
||||
std::vector<ShareGroup> getShareGroups()const;
|
||||
std::string getRegionId()const;
|
||||
std::vector<Account> getAccounts()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getImageId()const;
|
||||
std::vector<ShareGroup> getShareGroups()const;
|
||||
std::string getRegionId()const;
|
||||
std::vector<Account> getAccounts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string imageId_;
|
||||
std::vector<ShareGroup> shareGroups_;
|
||||
std::string regionId_;
|
||||
std::vector<Account> accounts_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string imageId_;
|
||||
std::vector<ShareGroup> shareGroups_;
|
||||
std::string regionId_;
|
||||
std::vector<Account> accounts_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,28 +32,28 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImageSupportInstanceTypesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceType
|
||||
{
|
||||
float memorySize;
|
||||
int cpuCoreCount;
|
||||
std::string instanceTypeFamily;
|
||||
std::string instanceTypeId;
|
||||
};
|
||||
struct InstanceType
|
||||
{
|
||||
float memorySize;
|
||||
int cpuCoreCount;
|
||||
std::string instanceTypeFamily;
|
||||
std::string instanceTypeId;
|
||||
};
|
||||
|
||||
|
||||
DescribeImageSupportInstanceTypesResult();
|
||||
explicit DescribeImageSupportInstanceTypesResult(const std::string &payload);
|
||||
~DescribeImageSupportInstanceTypesResult();
|
||||
std::string getImageId()const;
|
||||
std::vector<InstanceType> getInstanceTypes()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getImageId()const;
|
||||
std::vector<InstanceType> getInstanceTypes()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string imageId_;
|
||||
std::vector<InstanceType> instanceTypes_;
|
||||
std::string regionId_;
|
||||
std::string imageId_;
|
||||
std::vector<InstanceType> instanceTypes_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,65 +32,65 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImagesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Image
|
||||
{
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string snapshotId;
|
||||
std::string type;
|
||||
std::string format;
|
||||
std::string size;
|
||||
std::string device;
|
||||
std::string importOSSBucket;
|
||||
std::string importOSSObject;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string imageOwnerAlias;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string isSelfShared;
|
||||
std::string architecture;
|
||||
std::string platform;
|
||||
std::string productCode;
|
||||
int size;
|
||||
bool isSubscribed;
|
||||
bool isCopied;
|
||||
std::string oSName;
|
||||
bool isSupportIoOptimized;
|
||||
bool isSupportCloudinit;
|
||||
std::string imageName;
|
||||
std::vector<Image::DiskDeviceMapping> diskDeviceMappings;
|
||||
std::string imageVersion;
|
||||
std::string oSType;
|
||||
std::string imageId;
|
||||
std::string creationTime;
|
||||
std::vector<Image::Tag> tags;
|
||||
};
|
||||
struct Image
|
||||
{
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string snapshotId;
|
||||
std::string type;
|
||||
std::string format;
|
||||
std::string size;
|
||||
std::string device;
|
||||
std::string importOSSBucket;
|
||||
std::string importOSSObject;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string imageOwnerAlias;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string isSelfShared;
|
||||
std::string architecture;
|
||||
std::string platform;
|
||||
std::string productCode;
|
||||
int size;
|
||||
bool isSubscribed;
|
||||
bool isCopied;
|
||||
std::string oSName;
|
||||
bool isSupportIoOptimized;
|
||||
bool isSupportCloudinit;
|
||||
std::string imageName;
|
||||
std::vector<Image::DiskDeviceMapping> diskDeviceMappings;
|
||||
std::string imageVersion;
|
||||
std::string oSType;
|
||||
std::string imageId;
|
||||
std::string creationTime;
|
||||
std::vector<Image::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
DescribeImagesResult();
|
||||
explicit DescribeImagesResult(const std::string &payload);
|
||||
~DescribeImagesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Image> getImages()const;
|
||||
std::string getRegionId()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Image> getImages()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Image> images_;
|
||||
std::string regionId_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Image> images_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,91 +32,91 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VpcAttributes
|
||||
{
|
||||
std::vector<std::string> privateIpAddress;
|
||||
std::string vpcId;
|
||||
std::string vSwitchId;
|
||||
std::string natIpAddress;
|
||||
};
|
||||
struct EipAddress
|
||||
{
|
||||
std::string allocationId;
|
||||
int bandwidth;
|
||||
std::string ipAddress;
|
||||
std::string internetChargeType;
|
||||
};
|
||||
struct LockReason
|
||||
{
|
||||
std::string lockReason;
|
||||
};
|
||||
struct VpcAttributes
|
||||
{
|
||||
std::vector<std::string> privateIpAddress;
|
||||
std::string vpcId;
|
||||
std::string vSwitchId;
|
||||
std::string natIpAddress;
|
||||
};
|
||||
struct EipAddress
|
||||
{
|
||||
std::string allocationId;
|
||||
int bandwidth;
|
||||
std::string ipAddress;
|
||||
std::string internetChargeType;
|
||||
};
|
||||
struct LockReason
|
||||
{
|
||||
std::string lockReason;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceAttributeResult();
|
||||
explicit DescribeInstanceAttributeResult(const std::string &payload);
|
||||
~DescribeInstanceAttributeResult();
|
||||
std::string getDescription()const;
|
||||
int getMemory()const;
|
||||
std::string getInstanceChargeType()const;
|
||||
int getCpu()const;
|
||||
std::string getInstanceNetworkType()const;
|
||||
std::vector<std::string> getPublicIpAddress()const;
|
||||
std::vector<std::string> getInnerIpAddress()const;
|
||||
std::string getExpiredTime()const;
|
||||
std::vector<EipAddress> getEipAddress()const;
|
||||
std::string getImageId()const;
|
||||
std::string getInstanceType()const;
|
||||
std::string getHostName()const;
|
||||
std::string getVlanId()const;
|
||||
std::string getStatus()const;
|
||||
std::string getIoOptimized()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getClusterId()const;
|
||||
std::string getStoppedMode()const;
|
||||
std::vector<VpcAttributes> getVpcAttributes()const;
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
std::vector<LockReason> getOperationLocks()const;
|
||||
std::string getInternetChargeType()const;
|
||||
std::string getInstanceName()const;
|
||||
int getInternetMaxBandwidthOut()const;
|
||||
int getInternetMaxBandwidthIn()const;
|
||||
std::string getSerialNumber()const;
|
||||
std::string getCreationTime()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getDescription()const;
|
||||
int getMemory()const;
|
||||
std::string getInstanceChargeType()const;
|
||||
int getCpu()const;
|
||||
std::string getInstanceNetworkType()const;
|
||||
std::vector<std::string> getPublicIpAddress()const;
|
||||
std::vector<std::string> getInnerIpAddress()const;
|
||||
std::string getExpiredTime()const;
|
||||
EipAddress getEipAddress()const;
|
||||
std::string getImageId()const;
|
||||
std::string getInstanceType()const;
|
||||
std::string getHostName()const;
|
||||
std::string getVlanId()const;
|
||||
std::string getStatus()const;
|
||||
std::string getIoOptimized()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getClusterId()const;
|
||||
std::string getStoppedMode()const;
|
||||
VpcAttributes getVpcAttributes()const;
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
std::vector<LockReason> getOperationLocks()const;
|
||||
std::string getInternetChargeType()const;
|
||||
std::string getInstanceName()const;
|
||||
int getInternetMaxBandwidthOut()const;
|
||||
int getInternetMaxBandwidthIn()const;
|
||||
std::string getSerialNumber()const;
|
||||
std::string getCreationTime()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
int memory_;
|
||||
std::string instanceChargeType_;
|
||||
int cpu_;
|
||||
std::string instanceNetworkType_;
|
||||
std::vector<std::string> publicIpAddress_;
|
||||
std::vector<std::string> innerIpAddress_;
|
||||
std::string expiredTime_;
|
||||
std::vector<EipAddress> eipAddress_;
|
||||
std::string imageId_;
|
||||
std::string instanceType_;
|
||||
std::string hostName_;
|
||||
std::string vlanId_;
|
||||
std::string status_;
|
||||
std::string ioOptimized_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
std::string clusterId_;
|
||||
std::string stoppedMode_;
|
||||
std::vector<VpcAttributes> vpcAttributes_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::vector<LockReason> operationLocks_;
|
||||
std::string internetChargeType_;
|
||||
std::string instanceName_;
|
||||
int internetMaxBandwidthOut_;
|
||||
int internetMaxBandwidthIn_;
|
||||
std::string serialNumber_;
|
||||
std::string creationTime_;
|
||||
std::string regionId_;
|
||||
std::string description_;
|
||||
int memory_;
|
||||
std::string instanceChargeType_;
|
||||
int cpu_;
|
||||
std::string instanceNetworkType_;
|
||||
std::vector<std::string> publicIpAddress_;
|
||||
std::vector<std::string> innerIpAddress_;
|
||||
std::string expiredTime_;
|
||||
EipAddress eipAddress_;
|
||||
std::string imageId_;
|
||||
std::string instanceType_;
|
||||
std::string hostName_;
|
||||
std::string vlanId_;
|
||||
std::string status_;
|
||||
std::string ioOptimized_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
std::string clusterId_;
|
||||
std::string stoppedMode_;
|
||||
VpcAttributes vpcAttributes_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::vector<LockReason> operationLocks_;
|
||||
std::string internetChargeType_;
|
||||
std::string instanceName_;
|
||||
int internetMaxBandwidthOut_;
|
||||
int internetMaxBandwidthIn_;
|
||||
std::string serialNumber_;
|
||||
std::string creationTime_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,25 +32,25 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceAutoRenewAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceRenewAttribute
|
||||
{
|
||||
bool autoRenewEnabled;
|
||||
std::string instanceId;
|
||||
std::string renewalStatus;
|
||||
int duration;
|
||||
std::string periodUnit;
|
||||
};
|
||||
struct InstanceRenewAttribute
|
||||
{
|
||||
bool autoRenewEnabled;
|
||||
std::string instanceId;
|
||||
std::string renewalStatus;
|
||||
int duration;
|
||||
std::string periodUnit;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceAutoRenewAttributeResult();
|
||||
explicit DescribeInstanceAutoRenewAttributeResult(const std::string &payload);
|
||||
~DescribeInstanceAutoRenewAttributeResult();
|
||||
std::vector<InstanceRenewAttribute> getInstanceRenewAttributes()const;
|
||||
std::vector<InstanceRenewAttribute> getInstanceRenewAttributes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<InstanceRenewAttribute> instanceRenewAttributes_;
|
||||
std::vector<InstanceRenewAttribute> instanceRenewAttributes_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,36 +32,36 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceHistoryEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceSystemEventType
|
||||
{
|
||||
struct EventType
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
std::string eventPublishTime;
|
||||
std::vector<EventType> eventType;
|
||||
std::string instanceId;
|
||||
std::string eventId;
|
||||
std::string notBefore;
|
||||
};
|
||||
struct InstanceSystemEventType
|
||||
{
|
||||
struct EventType
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
std::string eventPublishTime;
|
||||
EventType eventType;
|
||||
std::string instanceId;
|
||||
std::string eventId;
|
||||
std::string notBefore;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceHistoryEventsResult();
|
||||
explicit DescribeInstanceHistoryEventsResult(const std::string &payload);
|
||||
~DescribeInstanceHistoryEventsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<InstanceSystemEventType> getInstanceSystemEventSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<InstanceSystemEventType> getInstanceSystemEventSet()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<InstanceSystemEventType> instanceSystemEventSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<InstanceSystemEventType> instanceSystemEventSet_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,35 +32,35 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceMonitorDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceMonitorData
|
||||
{
|
||||
int iOPSRead;
|
||||
int intranetBandwidth;
|
||||
int iOPSWrite;
|
||||
float cPUCreditUsage;
|
||||
std::string instanceId;
|
||||
int intranetTX;
|
||||
int cPU;
|
||||
int bPSRead;
|
||||
int intranetRX;
|
||||
std::string timeStamp;
|
||||
int internetBandwidth;
|
||||
float cPUCreditBalance;
|
||||
int internetTX;
|
||||
int internetRX;
|
||||
int bPSWrite;
|
||||
};
|
||||
struct InstanceMonitorData
|
||||
{
|
||||
int iOPSRead;
|
||||
int intranetBandwidth;
|
||||
int iOPSWrite;
|
||||
float cPUCreditUsage;
|
||||
std::string instanceId;
|
||||
int intranetTX;
|
||||
int cPU;
|
||||
int bPSRead;
|
||||
int intranetRX;
|
||||
std::string timeStamp;
|
||||
int internetBandwidth;
|
||||
float cPUCreditBalance;
|
||||
int internetTX;
|
||||
int internetRX;
|
||||
int bPSWrite;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceMonitorDataResult();
|
||||
explicit DescribeInstanceMonitorDataResult(const std::string &payload);
|
||||
~DescribeInstanceMonitorDataResult();
|
||||
std::vector<InstanceMonitorData> getMonitorData()const;
|
||||
std::vector<InstanceMonitorData> getMonitorData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<InstanceMonitorData> monitorData_;
|
||||
std::vector<InstanceMonitorData> monitorData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
DescribeInstancePhysicalAttributeResult();
|
||||
explicit DescribeInstancePhysicalAttributeResult(const std::string &payload);
|
||||
~DescribeInstancePhysicalAttributeResult();
|
||||
std::string getRackId()const;
|
||||
std::string getNodeControllerId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getVlanId()const;
|
||||
std::string getRackId()const;
|
||||
std::string getNodeControllerId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getVlanId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string rackId_;
|
||||
std::string nodeControllerId_;
|
||||
std::string instanceId_;
|
||||
std::string vlanId_;
|
||||
std::string rackId_;
|
||||
std::string nodeControllerId_;
|
||||
std::string instanceId_;
|
||||
std::string vlanId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,26 +32,26 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceRamRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceRamRoleSet
|
||||
{
|
||||
std::string ramRoleName;
|
||||
std::string instanceId;
|
||||
};
|
||||
struct InstanceRamRoleSet
|
||||
{
|
||||
std::string ramRoleName;
|
||||
std::string instanceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceRamRoleResult();
|
||||
explicit DescribeInstanceRamRoleResult(const std::string &payload);
|
||||
~DescribeInstanceRamRoleResult();
|
||||
int getTotalCount()const;
|
||||
std::string getRegionId()const;
|
||||
std::vector<InstanceRamRoleSet> getInstanceRamRoleSets()const;
|
||||
int getTotalCount()const;
|
||||
std::string getRegionId()const;
|
||||
std::vector<InstanceRamRoleSet> getInstanceRamRoleSets()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string regionId_;
|
||||
std::vector<InstanceRamRoleSet> instanceRamRoleSets_;
|
||||
int totalCount_;
|
||||
std::string regionId_;
|
||||
std::vector<InstanceRamRoleSet> instanceRamRoleSets_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,28 +32,28 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
};
|
||||
struct InstanceStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceStatusResult();
|
||||
explicit DescribeInstanceStatusResult(const std::string &payload);
|
||||
~DescribeInstanceStatusResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<InstanceStatus> getInstanceStatuses()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<InstanceStatus> getInstanceStatuses()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<InstanceStatus> instanceStatuses_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<InstanceStatus> instanceStatuses_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,22 +32,22 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceTypeFamiliesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceTypeFamily
|
||||
{
|
||||
std::string instanceTypeFamilyId;
|
||||
std::string generation;
|
||||
};
|
||||
struct InstanceTypeFamily
|
||||
{
|
||||
std::string instanceTypeFamilyId;
|
||||
std::string generation;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceTypeFamiliesResult();
|
||||
explicit DescribeInstanceTypeFamiliesResult(const std::string &payload);
|
||||
~DescribeInstanceTypeFamiliesResult();
|
||||
std::vector<InstanceTypeFamily> getInstanceTypeFamilies()const;
|
||||
std::vector<InstanceTypeFamily> getInstanceTypeFamilies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<InstanceTypeFamily> instanceTypeFamilies_;
|
||||
std::vector<InstanceTypeFamily> instanceTypeFamilies_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,32 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceTypesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceType
|
||||
{
|
||||
float memorySize;
|
||||
std::string localStorageCategory;
|
||||
int cpuCoreCount;
|
||||
long localStorageCapacity;
|
||||
std::string gPUSpec;
|
||||
std::string instanceTypeFamily;
|
||||
int baselineCredit;
|
||||
int initialCredit;
|
||||
std::string instanceTypeId;
|
||||
int eniQuantity;
|
||||
int gPUAmount;
|
||||
int localStorageAmount;
|
||||
};
|
||||
struct InstanceType
|
||||
{
|
||||
float memorySize;
|
||||
int cpuCoreCount;
|
||||
long localStorageCapacity;
|
||||
std::string instanceTypeFamily;
|
||||
int initialCredit;
|
||||
int eniQuantity;
|
||||
int instanceBandwidthRx;
|
||||
int gPUAmount;
|
||||
int instanceBandwidthTx;
|
||||
int localStorageAmount;
|
||||
std::string localStorageCategory;
|
||||
std::string gPUSpec;
|
||||
int baselineCredit;
|
||||
std::string instanceTypeId;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceTypesResult();
|
||||
explicit DescribeInstanceTypesResult(const std::string &payload);
|
||||
~DescribeInstanceTypesResult();
|
||||
std::vector<InstanceType> getInstanceTypes()const;
|
||||
std::vector<InstanceType> getInstanceTypes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<InstanceType> instanceTypes_;
|
||||
std::vector<InstanceType> instanceTypes_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
DescribeInstanceVncPasswdResult();
|
||||
explicit DescribeInstanceVncPasswdResult(const std::string &payload);
|
||||
~DescribeInstanceVncPasswdResult();
|
||||
std::string getVncPasswd()const;
|
||||
std::string getVncPasswd()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string vncPasswd_;
|
||||
std::string vncPasswd_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
DescribeInstanceVncUrlResult();
|
||||
explicit DescribeInstanceVncUrlResult(const std::string &payload);
|
||||
~DescribeInstanceVncUrlResult();
|
||||
std::string getVncUrl()const;
|
||||
std::string getVncUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string vncUrl_;
|
||||
std::string vncUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,58 +32,58 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstancesFullStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceFullStatusType
|
||||
{
|
||||
struct Status
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct HealthStatus
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct ScheduledSystemEventType
|
||||
{
|
||||
struct EventCycleStatus
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct EventType
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<EventCycleStatus> eventCycleStatus;
|
||||
std::string eventPublishTime;
|
||||
std::vector<EventType> eventType;
|
||||
std::string eventId;
|
||||
std::string notBefore;
|
||||
};
|
||||
std::vector<Status> status;
|
||||
std::string instanceId;
|
||||
std::vector<HealthStatus> healthStatus;
|
||||
std::vector<InstanceFullStatusType::ScheduledSystemEventType> scheduledSystemEventSet;
|
||||
};
|
||||
struct InstanceFullStatusType
|
||||
{
|
||||
struct Status
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct HealthStatus
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct ScheduledSystemEventType
|
||||
{
|
||||
struct EventCycleStatus
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
struct EventType
|
||||
{
|
||||
int code;
|
||||
std::string name;
|
||||
};
|
||||
EventCycleStatus eventCycleStatus;
|
||||
std::string eventPublishTime;
|
||||
EventType eventType;
|
||||
std::string eventId;
|
||||
std::string notBefore;
|
||||
};
|
||||
Status status;
|
||||
std::string instanceId;
|
||||
HealthStatus healthStatus;
|
||||
std::vector<InstanceFullStatusType::ScheduledSystemEventType> scheduledSystemEventSet;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstancesFullStatusResult();
|
||||
explicit DescribeInstancesFullStatusResult(const std::string &payload);
|
||||
~DescribeInstancesFullStatusResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<InstanceFullStatusType> getInstanceFullStatusSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<InstanceFullStatusType> getInstanceFullStatusSet()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<InstanceFullStatusType> instanceFullStatusSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<InstanceFullStatusType> instanceFullStatusSet_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,106 +32,106 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
struct VpcAttributes
|
||||
{
|
||||
std::vector<std::string> privateIpAddress;
|
||||
std::string vpcId;
|
||||
std::string vSwitchId;
|
||||
std::string natIpAddress;
|
||||
};
|
||||
struct EipAddress
|
||||
{
|
||||
std::string allocationId;
|
||||
int bandwidth;
|
||||
std::string ipAddress;
|
||||
bool isSupportUnassociate;
|
||||
std::string internetChargeType;
|
||||
};
|
||||
struct NetworkInterface
|
||||
{
|
||||
std::string primaryIpAddress;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
};
|
||||
struct LockReason
|
||||
{
|
||||
std::string lockReason;
|
||||
std::string lockMsg;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string resourceGroupId;
|
||||
int memory;
|
||||
std::string instanceChargeType;
|
||||
int cpu;
|
||||
std::string oSName;
|
||||
std::string instanceNetworkType;
|
||||
std::vector<std::string> innerIpAddress;
|
||||
std::string expiredTime;
|
||||
std::vector<EipAddress> eipAddress;
|
||||
std::string imageId;
|
||||
std::vector<Instance::Tag> tags;
|
||||
std::string hostName;
|
||||
std::string vlanId;
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string stoppedMode;
|
||||
std::string startTime;
|
||||
std::vector<VpcAttributes> vpcAttributes;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
std::string internetChargeType;
|
||||
std::string instanceName;
|
||||
int internetMaxBandwidthOut;
|
||||
std::string serialNumber;
|
||||
std::string oSType;
|
||||
std::string creationTime;
|
||||
std::string autoReleaseTime;
|
||||
std::string description;
|
||||
long localStorageCapacity;
|
||||
std::string instanceTypeFamily;
|
||||
int localStorageAmount;
|
||||
std::vector<std::string> publicIpAddress;
|
||||
std::string gPUSpec;
|
||||
std::vector<Instance::NetworkInterface> networkInterfaces;
|
||||
float spotPriceLimit;
|
||||
std::string saleCycle;
|
||||
bool deviceAvailable;
|
||||
std::string instanceType;
|
||||
std::string spotStrategy;
|
||||
std::string keyPairName;
|
||||
bool ioOptimized;
|
||||
std::string zoneId;
|
||||
std::string clusterId;
|
||||
std::string hpcClusterId;
|
||||
int gPUAmount;
|
||||
std::vector<Instance::LockReason> operationLocks;
|
||||
std::vector<std::string> rdmaIpAddress;
|
||||
int internetMaxBandwidthIn;
|
||||
bool recyclable;
|
||||
std::string regionId;
|
||||
};
|
||||
struct Instance
|
||||
{
|
||||
struct VpcAttributes
|
||||
{
|
||||
std::vector<std::string> privateIpAddress;
|
||||
std::string vpcId;
|
||||
std::string vSwitchId;
|
||||
std::string natIpAddress;
|
||||
};
|
||||
struct EipAddress
|
||||
{
|
||||
std::string allocationId;
|
||||
int bandwidth;
|
||||
std::string ipAddress;
|
||||
bool isSupportUnassociate;
|
||||
std::string internetChargeType;
|
||||
};
|
||||
struct NetworkInterface
|
||||
{
|
||||
std::string primaryIpAddress;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
};
|
||||
struct LockReason
|
||||
{
|
||||
std::string lockReason;
|
||||
std::string lockMsg;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string resourceGroupId;
|
||||
int memory;
|
||||
std::string instanceChargeType;
|
||||
int cpu;
|
||||
std::string oSName;
|
||||
std::string instanceNetworkType;
|
||||
std::vector<std::string> innerIpAddress;
|
||||
std::string expiredTime;
|
||||
EipAddress eipAddress;
|
||||
std::string imageId;
|
||||
std::vector<Instance::Tag> tags;
|
||||
std::string hostName;
|
||||
std::string vlanId;
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string stoppedMode;
|
||||
std::string startTime;
|
||||
VpcAttributes vpcAttributes;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
std::string internetChargeType;
|
||||
std::string instanceName;
|
||||
int internetMaxBandwidthOut;
|
||||
std::string serialNumber;
|
||||
std::string oSType;
|
||||
std::string creationTime;
|
||||
std::string autoReleaseTime;
|
||||
std::string description;
|
||||
long localStorageCapacity;
|
||||
std::string instanceTypeFamily;
|
||||
int localStorageAmount;
|
||||
std::vector<std::string> publicIpAddress;
|
||||
std::string gPUSpec;
|
||||
std::vector<Instance::NetworkInterface> networkInterfaces;
|
||||
float spotPriceLimit;
|
||||
std::string saleCycle;
|
||||
bool deviceAvailable;
|
||||
std::string instanceType;
|
||||
std::string spotStrategy;
|
||||
std::string keyPairName;
|
||||
bool ioOptimized;
|
||||
std::string zoneId;
|
||||
std::string clusterId;
|
||||
std::string hpcClusterId;
|
||||
int gPUAmount;
|
||||
std::vector<Instance::LockReason> operationLocks;
|
||||
std::vector<std::string> rdmaIpAddress;
|
||||
int internetMaxBandwidthIn;
|
||||
bool recyclable;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstancesResult();
|
||||
explicit DescribeInstancesResult(const std::string &payload);
|
||||
~DescribeInstancesResult();
|
||||
std::vector<Instance> getInstances()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Instance> getInstances()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Instance> instances_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Instance> instances_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,20 +37,20 @@ namespace AlibabaCloud
|
||||
DescribeIntranetAttributeKbResult();
|
||||
explicit DescribeIntranetAttributeKbResult(const std::string &payload);
|
||||
~DescribeIntranetAttributeKbResult();
|
||||
std::string getInstanceId()const;
|
||||
int getIntranetMaxBandwidthOut()const;
|
||||
std::string getVlanId()const;
|
||||
std::string getIntranetIpAddress()const;
|
||||
int getIntranetMaxBandwidthIn()const;
|
||||
std::string getInstanceId()const;
|
||||
int getIntranetMaxBandwidthOut()const;
|
||||
std::string getVlanId()const;
|
||||
std::string getIntranetIpAddress()const;
|
||||
int getIntranetMaxBandwidthIn()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
int intranetMaxBandwidthOut_;
|
||||
std::string vlanId_;
|
||||
std::string intranetIpAddress_;
|
||||
int intranetMaxBandwidthIn_;
|
||||
std::string instanceId_;
|
||||
int intranetMaxBandwidthOut_;
|
||||
std::string vlanId_;
|
||||
std::string intranetIpAddress_;
|
||||
int intranetMaxBandwidthIn_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,34 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInvocationResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Invocation
|
||||
{
|
||||
struct InvocationResult
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string output;
|
||||
long exitCode;
|
||||
std::string commandId;
|
||||
std::string invokeRecordStatus;
|
||||
std::string finishedTime;
|
||||
std::string invokeId;
|
||||
};
|
||||
std::vector<InvocationResult> invocationResults;
|
||||
long totalCount;
|
||||
long pageSize;
|
||||
long pageNumber;
|
||||
};
|
||||
struct Invocation
|
||||
{
|
||||
struct InvocationResult
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string output;
|
||||
long exitCode;
|
||||
std::string commandId;
|
||||
std::string invokeRecordStatus;
|
||||
std::string finishedTime;
|
||||
std::string invokeId;
|
||||
};
|
||||
std::vector<InvocationResult> invocationResults;
|
||||
long totalCount;
|
||||
long pageSize;
|
||||
long pageNumber;
|
||||
};
|
||||
|
||||
|
||||
DescribeInvocationResultsResult();
|
||||
explicit DescribeInvocationResultsResult(const std::string &payload);
|
||||
~DescribeInvocationResultsResult();
|
||||
std::vector<Invocation> getInvocation()const;
|
||||
Invocation getInvocation()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Invocation> invocation_;
|
||||
Invocation invocation_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,39 +32,39 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInvocationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Invocation
|
||||
{
|
||||
struct InvokeInstance
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string instanceInvokeStatus;
|
||||
};
|
||||
std::string invokeStatus;
|
||||
std::string commandType;
|
||||
bool timed;
|
||||
std::string frequency;
|
||||
std::string commandId;
|
||||
std::string commandName;
|
||||
std::vector<Invocation::InvokeInstance> invokeInstances;
|
||||
std::string invokeId;
|
||||
};
|
||||
struct Invocation
|
||||
{
|
||||
struct InvokeInstance
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string instanceInvokeStatus;
|
||||
};
|
||||
std::string invokeStatus;
|
||||
std::string commandType;
|
||||
bool timed;
|
||||
std::string frequency;
|
||||
std::string commandId;
|
||||
std::string commandName;
|
||||
std::vector<Invocation::InvokeInstance> invokeInstances;
|
||||
std::string invokeId;
|
||||
};
|
||||
|
||||
|
||||
DescribeInvocationsResult();
|
||||
explicit DescribeInvocationsResult(const std::string &payload);
|
||||
~DescribeInvocationsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::vector<Invocation> getInvocations()const;
|
||||
long getPageNumber()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::vector<Invocation> getInvocations()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::vector<Invocation> invocations_;
|
||||
long pageNumber_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::vector<Invocation> invocations_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,32 +32,32 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeIpRangesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct IpRange
|
||||
{
|
||||
std::string ipAddress;
|
||||
std::string nicType;
|
||||
};
|
||||
struct IpRange
|
||||
{
|
||||
std::string ipAddress;
|
||||
std::string nicType;
|
||||
};
|
||||
|
||||
|
||||
DescribeIpRangesResult();
|
||||
explicit DescribeIpRangesResult(const std::string &payload);
|
||||
~DescribeIpRangesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getClusterId()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<IpRange> getIpRanges()const;
|
||||
std::string getRegionId()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getClusterId()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<IpRange> getIpRanges()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
std::vector<IpRange> ipRanges_;
|
||||
std::string regionId_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
std::vector<IpRange> ipRanges_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,28 +32,28 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeKeyPairsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct KeyPair
|
||||
{
|
||||
std::string keyPairFingerPrint;
|
||||
std::string keyPairName;
|
||||
};
|
||||
struct KeyPair
|
||||
{
|
||||
std::string keyPairFingerPrint;
|
||||
std::string keyPairName;
|
||||
};
|
||||
|
||||
|
||||
DescribeKeyPairsResult();
|
||||
explicit DescribeKeyPairsResult(const std::string &payload);
|
||||
~DescribeKeyPairsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<KeyPair> getKeyPairs()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<KeyPair> getKeyPairs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<KeyPair> keyPairs_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<KeyPair> keyPairs_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,14 +37,14 @@ namespace AlibabaCloud
|
||||
DescribeLimitationResult();
|
||||
explicit DescribeLimitationResult(const std::string &payload);
|
||||
~DescribeLimitationResult();
|
||||
std::string getLimitation()const;
|
||||
std::string getValue()const;
|
||||
std::string getLimitation()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string limitation_;
|
||||
std::string value_;
|
||||
std::string limitation_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,38 +32,38 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeNatGatewaysResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NatGateway
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string vpcId;
|
||||
std::string instanceChargeType;
|
||||
std::vector<std::string> forwardTableIds;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> bandwidthPackageIds;
|
||||
std::string regionId;
|
||||
std::string spec;
|
||||
std::string natGatewayId;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
};
|
||||
struct NatGateway
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string vpcId;
|
||||
std::string instanceChargeType;
|
||||
std::vector<std::string> forwardTableIds;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> bandwidthPackageIds;
|
||||
std::string regionId;
|
||||
std::string spec;
|
||||
std::string natGatewayId;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeNatGatewaysResult();
|
||||
explicit DescribeNatGatewaysResult(const std::string &payload);
|
||||
~DescribeNatGatewaysResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<NatGateway> getNatGateways()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<NatGateway> getNatGateways()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<NatGateway> natGateways_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<NatGateway> natGateways_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,57 +32,57 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeNetworkInterfacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NetworkInterfaceSet
|
||||
{
|
||||
struct AssociatedPublicIp
|
||||
{
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
struct PrivateIpSet
|
||||
{
|
||||
struct AssociatedPublicIp1
|
||||
{
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
std::vector<AssociatedPublicIp1> associatedPublicIp1;
|
||||
std::string privateIpAddress;
|
||||
bool primary;
|
||||
};
|
||||
std::string status;
|
||||
std::string privateIpAddress;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string vSwitchId;
|
||||
std::string networkInterfaceName;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
std::string type;
|
||||
std::string vpcId;
|
||||
std::vector<AssociatedPublicIp> associatedPublicIp;
|
||||
std::string creationTime;
|
||||
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
|
||||
};
|
||||
struct NetworkInterfaceSet
|
||||
{
|
||||
struct AssociatedPublicIp
|
||||
{
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
struct PrivateIpSet
|
||||
{
|
||||
struct AssociatedPublicIp1
|
||||
{
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
AssociatedPublicIp1 associatedPublicIp1;
|
||||
std::string privateIpAddress;
|
||||
bool primary;
|
||||
};
|
||||
std::string status;
|
||||
std::string privateIpAddress;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string vSwitchId;
|
||||
std::string networkInterfaceName;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
std::string type;
|
||||
std::string vpcId;
|
||||
AssociatedPublicIp associatedPublicIp;
|
||||
std::string creationTime;
|
||||
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
|
||||
};
|
||||
|
||||
|
||||
DescribeNetworkInterfacesResult();
|
||||
explicit DescribeNetworkInterfacesResult(const std::string &payload);
|
||||
~DescribeNetworkInterfacesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<NetworkInterfaceSet> getNetworkInterfaceSets()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<NetworkInterfaceSet> getNetworkInterfaceSets()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<NetworkInterfaceSet> networkInterfaceSets_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<NetworkInterfaceSet> networkInterfaceSets_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,26 +32,26 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeNewProjectEipMonitorDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EipMonitorData
|
||||
{
|
||||
int eipPackets;
|
||||
int eipBandwidth;
|
||||
int eipFlow;
|
||||
int eipTX;
|
||||
std::string timeStamp;
|
||||
int eipRX;
|
||||
};
|
||||
struct EipMonitorData
|
||||
{
|
||||
int eipPackets;
|
||||
int eipBandwidth;
|
||||
int eipFlow;
|
||||
int eipTX;
|
||||
std::string timeStamp;
|
||||
int eipRX;
|
||||
};
|
||||
|
||||
|
||||
DescribeNewProjectEipMonitorDataResult();
|
||||
explicit DescribeNewProjectEipMonitorDataResult(const std::string &payload);
|
||||
~DescribeNewProjectEipMonitorDataResult();
|
||||
std::vector<EipMonitorData> getEipMonitorDatas()const;
|
||||
std::vector<EipMonitorData> getEipMonitorDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<EipMonitorData> eipMonitorDatas_;
|
||||
std::vector<EipMonitorData> eipMonitorDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,44 +32,44 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePhysicalConnectionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhysicalConnectionType
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string lineOperator;
|
||||
std::string circuitCode;
|
||||
std::string physicalConnectionId;
|
||||
std::string peerLocation;
|
||||
std::string redundantPhysicalConnectionId;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string type;
|
||||
std::string adLocation;
|
||||
long bandwidth;
|
||||
std::string accessPointId;
|
||||
std::string creationTime;
|
||||
std::string enabledTime;
|
||||
std::string spec;
|
||||
std::string portNumber;
|
||||
std::string portType;
|
||||
};
|
||||
struct PhysicalConnectionType
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string lineOperator;
|
||||
std::string circuitCode;
|
||||
std::string physicalConnectionId;
|
||||
std::string peerLocation;
|
||||
std::string redundantPhysicalConnectionId;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string type;
|
||||
std::string adLocation;
|
||||
long bandwidth;
|
||||
std::string accessPointId;
|
||||
std::string creationTime;
|
||||
std::string enabledTime;
|
||||
std::string spec;
|
||||
std::string portNumber;
|
||||
std::string portType;
|
||||
};
|
||||
|
||||
|
||||
DescribePhysicalConnectionsResult();
|
||||
explicit DescribePhysicalConnectionsResult(const std::string &payload);
|
||||
~DescribePhysicalConnectionsResult();
|
||||
std::vector<PhysicalConnectionType> getPhysicalConnectionSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<PhysicalConnectionType> getPhysicalConnectionSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PhysicalConnectionType> physicalConnectionSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<PhysicalConnectionType> physicalConnectionSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,34 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePriceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PriceInfo
|
||||
{
|
||||
struct Price
|
||||
{
|
||||
float originalPrice;
|
||||
float discountPrice;
|
||||
std::string currency;
|
||||
float tradePrice;
|
||||
};
|
||||
struct Rule
|
||||
{
|
||||
std::string description;
|
||||
long ruleId;
|
||||
};
|
||||
std::vector<Price> price;
|
||||
std::vector<Rule> rules;
|
||||
};
|
||||
struct PriceInfo
|
||||
{
|
||||
struct Price
|
||||
{
|
||||
float originalPrice;
|
||||
float discountPrice;
|
||||
std::string currency;
|
||||
float tradePrice;
|
||||
};
|
||||
struct Rule
|
||||
{
|
||||
std::string description;
|
||||
long ruleId;
|
||||
};
|
||||
Price price;
|
||||
std::vector<Rule> rules;
|
||||
};
|
||||
|
||||
|
||||
DescribePriceResult();
|
||||
explicit DescribePriceResult(const std::string &payload);
|
||||
~DescribePriceResult();
|
||||
std::vector<PriceInfo> getPriceInfo()const;
|
||||
PriceInfo getPriceInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PriceInfo> priceInfo_;
|
||||
PriceInfo priceInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,39 +32,39 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRecommendInstanceTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RecommendInstanceType
|
||||
{
|
||||
struct InstanceType
|
||||
{
|
||||
std::string supportIoOptimized;
|
||||
int cores;
|
||||
std::string generation;
|
||||
std::string instanceTypeFamily;
|
||||
int memory;
|
||||
std::string instanceType;
|
||||
};
|
||||
struct Zone
|
||||
{
|
||||
std::vector<std::string> networkTypes;
|
||||
std::string zoneNo;
|
||||
};
|
||||
std::string regionNo;
|
||||
std::string commodityCode;
|
||||
std::vector<InstanceType> instanceType;
|
||||
std::string scene;
|
||||
std::vector<RecommendInstanceType::Zone> zones;
|
||||
};
|
||||
struct RecommendInstanceType
|
||||
{
|
||||
struct InstanceType
|
||||
{
|
||||
std::string supportIoOptimized;
|
||||
int cores;
|
||||
std::string generation;
|
||||
std::string instanceTypeFamily;
|
||||
int memory;
|
||||
std::string instanceType;
|
||||
};
|
||||
struct Zone
|
||||
{
|
||||
std::vector<std::string> networkTypes;
|
||||
std::string zoneNo;
|
||||
};
|
||||
std::string regionNo;
|
||||
std::string commodityCode;
|
||||
InstanceType instanceType;
|
||||
std::string scene;
|
||||
std::vector<RecommendInstanceType::Zone> zones;
|
||||
};
|
||||
|
||||
|
||||
DescribeRecommendInstanceTypeResult();
|
||||
explicit DescribeRecommendInstanceTypeResult(const std::string &payload);
|
||||
~DescribeRecommendInstanceTypeResult();
|
||||
std::vector<RecommendInstanceType> getData()const;
|
||||
std::vector<RecommendInstanceType> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RecommendInstanceType> data_;
|
||||
std::vector<RecommendInstanceType> data_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRecycleBinResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RecycleBinModel
|
||||
{
|
||||
struct RelationResource
|
||||
{
|
||||
std::string relationResourceId;
|
||||
std::string relationResourceType;
|
||||
};
|
||||
std::string status;
|
||||
std::string resourceId;
|
||||
std::string creationTime;
|
||||
std::string resourceType;
|
||||
std::vector<RecycleBinModel::RelationResource> relationResources;
|
||||
std::string regionId;
|
||||
};
|
||||
struct RecycleBinModel
|
||||
{
|
||||
struct RelationResource
|
||||
{
|
||||
std::string relationResourceId;
|
||||
std::string relationResourceType;
|
||||
};
|
||||
std::string status;
|
||||
std::string resourceId;
|
||||
std::string creationTime;
|
||||
std::string resourceType;
|
||||
std::vector<RecycleBinModel::RelationResource> relationResources;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeRecycleBinResult();
|
||||
explicit DescribeRecycleBinResult(const std::string &payload);
|
||||
~DescribeRecycleBinResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<RecycleBinModel> getRecycleBinModels()const;
|
||||
int getTotalCount()const;
|
||||
std::vector<RecycleBinModel> getRecycleBinModels()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<RecycleBinModel> recycleBinModels_;
|
||||
int totalCount_;
|
||||
std::vector<RecycleBinModel> recycleBinModels_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,23 +32,23 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Region
|
||||
{
|
||||
std::string status;
|
||||
std::string regionId;
|
||||
std::string localName;
|
||||
};
|
||||
struct Region
|
||||
{
|
||||
std::string status;
|
||||
std::string regionId;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
DescribeRegionsResult();
|
||||
explicit DescribeRegionsResult(const std::string &payload);
|
||||
~DescribeRegionsResult();
|
||||
std::vector<Region> getRegions()const;
|
||||
std::vector<Region> getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Region> regions_;
|
||||
std::vector<Region> regions_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,34 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRenewalPriceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PriceInfo
|
||||
{
|
||||
struct Price
|
||||
{
|
||||
float originalPrice;
|
||||
float discountPrice;
|
||||
std::string currency;
|
||||
float tradePrice;
|
||||
};
|
||||
struct Rule
|
||||
{
|
||||
std::string description;
|
||||
long ruleId;
|
||||
};
|
||||
std::vector<Price> price;
|
||||
std::vector<Rule> rules;
|
||||
};
|
||||
struct PriceInfo
|
||||
{
|
||||
struct Price
|
||||
{
|
||||
float originalPrice;
|
||||
float discountPrice;
|
||||
std::string currency;
|
||||
float tradePrice;
|
||||
};
|
||||
struct Rule
|
||||
{
|
||||
std::string description;
|
||||
long ruleId;
|
||||
};
|
||||
Price price;
|
||||
std::vector<Rule> rules;
|
||||
};
|
||||
|
||||
|
||||
DescribeRenewalPriceResult();
|
||||
explicit DescribeRenewalPriceResult(const std::string &payload);
|
||||
~DescribeRenewalPriceResult();
|
||||
std::vector<PriceInfo> getPriceInfo()const;
|
||||
PriceInfo getPriceInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PriceInfo> priceInfo_;
|
||||
PriceInfo priceInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,29 +32,29 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeResourceByTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string resourceType;
|
||||
std::string regionId;
|
||||
};
|
||||
struct Resource
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string resourceType;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeResourceByTagsResult();
|
||||
explicit DescribeResourceByTagsResult(const std::string &payload);
|
||||
~DescribeResourceByTagsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Resource> getResources()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Resource> getResources()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Resource> resources_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Resource> resources_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,37 +32,37 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeResourcesModificationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AvailableZone
|
||||
{
|
||||
struct AvailableResource
|
||||
{
|
||||
struct SupportedResource
|
||||
{
|
||||
std::string status;
|
||||
int min;
|
||||
int max;
|
||||
std::string value;
|
||||
std::string unit;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<AvailableResource::SupportedResource> supportedResources;
|
||||
};
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::AvailableResource> availableResources;
|
||||
std::string regionId;
|
||||
};
|
||||
struct AvailableZone
|
||||
{
|
||||
struct AvailableResource
|
||||
{
|
||||
struct SupportedResource
|
||||
{
|
||||
std::string status;
|
||||
int min;
|
||||
int max;
|
||||
std::string value;
|
||||
std::string unit;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<AvailableResource::SupportedResource> supportedResources;
|
||||
};
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::AvailableResource> availableResources;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeResourcesModificationResult();
|
||||
explicit DescribeResourcesModificationResult(const std::string &payload);
|
||||
~DescribeResourcesModificationResult();
|
||||
std::vector<AvailableZone> getAvailableZones()const;
|
||||
std::vector<AvailableZone> getAvailableZones()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AvailableZone> availableZones_;
|
||||
std::vector<AvailableZone> availableZones_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,48 +32,48 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRouteTablesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RouteTable
|
||||
{
|
||||
struct RouteEntry
|
||||
{
|
||||
struct NextHop
|
||||
{
|
||||
std::string nextHopType;
|
||||
std::string nextHopId;
|
||||
int enabled;
|
||||
int weight;
|
||||
};
|
||||
std::string status;
|
||||
std::string nextHopType;
|
||||
std::string type;
|
||||
std::string routeTableId;
|
||||
std::string instanceId;
|
||||
std::vector<RouteEntry::NextHop> nextHops;
|
||||
std::string destinationCidrBlock;
|
||||
};
|
||||
std::string vRouterId;
|
||||
std::string routeTableId;
|
||||
std::string creationTime;
|
||||
std::vector<RouteTable::RouteEntry> routeEntrys;
|
||||
std::string routeTableType;
|
||||
};
|
||||
struct RouteTable
|
||||
{
|
||||
struct RouteEntry
|
||||
{
|
||||
struct NextHop
|
||||
{
|
||||
std::string nextHopType;
|
||||
std::string nextHopId;
|
||||
int enabled;
|
||||
int weight;
|
||||
};
|
||||
std::string status;
|
||||
std::string nextHopType;
|
||||
std::string type;
|
||||
std::string routeTableId;
|
||||
std::string instanceId;
|
||||
std::vector<RouteEntry::NextHop> nextHops;
|
||||
std::string destinationCidrBlock;
|
||||
};
|
||||
std::string vRouterId;
|
||||
std::string routeTableId;
|
||||
std::string creationTime;
|
||||
std::vector<RouteTable::RouteEntry> routeEntrys;
|
||||
std::string routeTableType;
|
||||
};
|
||||
|
||||
|
||||
DescribeRouteTablesResult();
|
||||
explicit DescribeRouteTablesResult(const std::string &payload);
|
||||
~DescribeRouteTablesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<RouteTable> getRouteTables()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<RouteTable> getRouteTables()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<RouteTable> routeTables_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<RouteTable> routeTables_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,51 +32,51 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRouterInterfacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RouterInterfaceType
|
||||
{
|
||||
std::string oppositeInterfaceId;
|
||||
std::string oppositeInterfaceStatus;
|
||||
std::string description;
|
||||
std::string oppositeRouterId;
|
||||
std::string endTime;
|
||||
std::string routerId;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string oppositeRouterType;
|
||||
std::string connectedTime;
|
||||
std::string status;
|
||||
std::string oppositeInterfaceOwnerId;
|
||||
std::string oppositeRegionId;
|
||||
std::string healthCheckSourceIp;
|
||||
std::string role;
|
||||
std::string oppositeInterfaceSpec;
|
||||
std::string routerType;
|
||||
std::string chargeType;
|
||||
std::string creationTime;
|
||||
std::string accessPointId;
|
||||
std::string oppositeInterfaceBusinessStatus;
|
||||
std::string oppositeAccessPointId;
|
||||
std::string spec;
|
||||
std::string routerInterfaceId;
|
||||
std::string healthCheckTargetIp;
|
||||
};
|
||||
struct RouterInterfaceType
|
||||
{
|
||||
std::string oppositeInterfaceId;
|
||||
std::string oppositeInterfaceStatus;
|
||||
std::string description;
|
||||
std::string oppositeRouterId;
|
||||
std::string endTime;
|
||||
std::string routerId;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string oppositeRouterType;
|
||||
std::string connectedTime;
|
||||
std::string status;
|
||||
std::string oppositeInterfaceOwnerId;
|
||||
std::string oppositeRegionId;
|
||||
std::string healthCheckSourceIp;
|
||||
std::string role;
|
||||
std::string oppositeInterfaceSpec;
|
||||
std::string routerType;
|
||||
std::string chargeType;
|
||||
std::string creationTime;
|
||||
std::string accessPointId;
|
||||
std::string oppositeInterfaceBusinessStatus;
|
||||
std::string oppositeAccessPointId;
|
||||
std::string spec;
|
||||
std::string routerInterfaceId;
|
||||
std::string healthCheckTargetIp;
|
||||
};
|
||||
|
||||
|
||||
DescribeRouterInterfacesResult();
|
||||
explicit DescribeRouterInterfacesResult(const std::string &payload);
|
||||
~DescribeRouterInterfacesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<RouterInterfaceType> getRouterInterfaceSet()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<RouterInterfaceType> getRouterInterfaceSet()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<RouterInterfaceType> routerInterfaceSet_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<RouterInterfaceType> routerInterfaceSet_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,48 +32,48 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSecurityGroupAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Permission
|
||||
{
|
||||
std::string sourceGroupId;
|
||||
std::string policy;
|
||||
std::string description;
|
||||
std::string priority;
|
||||
std::string createTime;
|
||||
std::string nicType;
|
||||
std::string destGroupId;
|
||||
std::string direction;
|
||||
std::string sourceGroupName;
|
||||
std::string portRange;
|
||||
std::string destGroupOwnerAccount;
|
||||
std::string sourceCidrIp;
|
||||
std::string ipProtocol;
|
||||
std::string destGroupName;
|
||||
std::string destCidrIp;
|
||||
std::string sourceGroupOwnerAccount;
|
||||
};
|
||||
struct Permission
|
||||
{
|
||||
std::string sourceGroupId;
|
||||
std::string policy;
|
||||
std::string description;
|
||||
std::string priority;
|
||||
std::string createTime;
|
||||
std::string nicType;
|
||||
std::string destGroupId;
|
||||
std::string direction;
|
||||
std::string sourceGroupName;
|
||||
std::string portRange;
|
||||
std::string destGroupOwnerAccount;
|
||||
std::string sourceCidrIp;
|
||||
std::string ipProtocol;
|
||||
std::string destGroupName;
|
||||
std::string destCidrIp;
|
||||
std::string sourceGroupOwnerAccount;
|
||||
};
|
||||
|
||||
|
||||
DescribeSecurityGroupAttributeResult();
|
||||
explicit DescribeSecurityGroupAttributeResult(const std::string &payload);
|
||||
~DescribeSecurityGroupAttributeResult();
|
||||
std::string getDescription()const;
|
||||
std::string getSecurityGroupName()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getSecurityGroupId()const;
|
||||
std::vector<Permission> getPermissions()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getInnerAccessPolicy()const;
|
||||
std::string getDescription()const;
|
||||
std::string getSecurityGroupName()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getSecurityGroupId()const;
|
||||
std::vector<Permission> getPermissions()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getInnerAccessPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string securityGroupName_;
|
||||
std::string vpcId_;
|
||||
std::string securityGroupId_;
|
||||
std::vector<Permission> permissions_;
|
||||
std::string regionId_;
|
||||
std::string innerAccessPolicy_;
|
||||
std::string description_;
|
||||
std::string securityGroupName_;
|
||||
std::string vpcId_;
|
||||
std::string securityGroupId_;
|
||||
std::vector<Permission> permissions_;
|
||||
std::string regionId_;
|
||||
std::string innerAccessPolicy_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,27 +32,27 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSecurityGroupReferencesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityGroupReference
|
||||
{
|
||||
struct ReferencingSecurityGroup
|
||||
{
|
||||
std::string securityGroupId;
|
||||
std::string aliUid;
|
||||
};
|
||||
std::vector<SecurityGroupReference::ReferencingSecurityGroup> referencingSecurityGroups;
|
||||
std::string securityGroupId;
|
||||
};
|
||||
struct SecurityGroupReference
|
||||
{
|
||||
struct ReferencingSecurityGroup
|
||||
{
|
||||
std::string securityGroupId;
|
||||
std::string aliUid;
|
||||
};
|
||||
std::vector<SecurityGroupReference::ReferencingSecurityGroup> referencingSecurityGroups;
|
||||
std::string securityGroupId;
|
||||
};
|
||||
|
||||
|
||||
DescribeSecurityGroupReferencesResult();
|
||||
explicit DescribeSecurityGroupReferencesResult(const std::string &payload);
|
||||
~DescribeSecurityGroupReferencesResult();
|
||||
std::vector<SecurityGroupReference> getSecurityGroupReferences()const;
|
||||
std::vector<SecurityGroupReference> getSecurityGroupReferences()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SecurityGroupReference> securityGroupReferences_;
|
||||
std::vector<SecurityGroupReference> securityGroupReferences_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,41 +32,41 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSecurityGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityGroup
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
int ecsCount;
|
||||
std::string description;
|
||||
std::string securityGroupName;
|
||||
std::string vpcId;
|
||||
std::string securityGroupId;
|
||||
std::string creationTime;
|
||||
std::vector<SecurityGroup::Tag> tags;
|
||||
int availableInstanceAmount;
|
||||
};
|
||||
struct SecurityGroup
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
int ecsCount;
|
||||
std::string description;
|
||||
std::string securityGroupName;
|
||||
std::string vpcId;
|
||||
std::string securityGroupId;
|
||||
std::string creationTime;
|
||||
std::vector<SecurityGroup::Tag> tags;
|
||||
int availableInstanceAmount;
|
||||
};
|
||||
|
||||
|
||||
DescribeSecurityGroupsResult();
|
||||
explicit DescribeSecurityGroupsResult(const std::string &payload);
|
||||
~DescribeSecurityGroupsResult();
|
||||
std::vector<SecurityGroup> getSecurityGroups()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getRegionId()const;
|
||||
std::vector<SecurityGroup> getSecurityGroups()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SecurityGroup> securityGroups_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::vector<SecurityGroup> securityGroups_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,35 +32,35 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotLinksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SnapshotLink
|
||||
{
|
||||
std::string instanceName;
|
||||
int totalCount;
|
||||
int sourceDiskSize;
|
||||
std::string instanceId;
|
||||
std::string snapshotLinkId;
|
||||
std::string regionId;
|
||||
std::string sourceDiskType;
|
||||
int totalSize;
|
||||
std::string sourceDiskId;
|
||||
};
|
||||
struct SnapshotLink
|
||||
{
|
||||
std::string instanceName;
|
||||
int totalCount;
|
||||
int sourceDiskSize;
|
||||
std::string instanceId;
|
||||
std::string snapshotLinkId;
|
||||
std::string regionId;
|
||||
std::string sourceDiskType;
|
||||
int totalSize;
|
||||
std::string sourceDiskId;
|
||||
};
|
||||
|
||||
|
||||
DescribeSnapshotLinksResult();
|
||||
explicit DescribeSnapshotLinksResult(const std::string &payload);
|
||||
~DescribeSnapshotLinksResult();
|
||||
std::vector<SnapshotLink> getSnapshotLinks()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<SnapshotLink> getSnapshotLinks()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SnapshotLink> snapshotLinks_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<SnapshotLink> snapshotLinks_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,22 +32,22 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotMonitorDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataPoint
|
||||
{
|
||||
long size;
|
||||
std::string timeStamp;
|
||||
};
|
||||
struct DataPoint
|
||||
{
|
||||
long size;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeSnapshotMonitorDataResult();
|
||||
explicit DescribeSnapshotMonitorDataResult(const std::string &payload);
|
||||
~DescribeSnapshotMonitorDataResult();
|
||||
std::vector<DataPoint> getMonitorData()const;
|
||||
std::vector<DataPoint> getMonitorData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataPoint> monitorData_;
|
||||
std::vector<DataPoint> monitorData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotPackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SnapshotPackage
|
||||
{
|
||||
std::string endTime;
|
||||
long initCapacity;
|
||||
std::string startTime;
|
||||
std::string displayName;
|
||||
};
|
||||
struct SnapshotPackage
|
||||
{
|
||||
std::string endTime;
|
||||
long initCapacity;
|
||||
std::string startTime;
|
||||
std::string displayName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSnapshotPackageResult();
|
||||
explicit DescribeSnapshotPackageResult(const std::string &payload);
|
||||
~DescribeSnapshotPackageResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<SnapshotPackage> getSnapshotPackages()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<SnapshotPackage> getSnapshotPackages()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<SnapshotPackage> snapshotPackages_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<SnapshotPackage> snapshotPackages_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,46 +32,46 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Snapshot
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string productCode;
|
||||
bool encrypted;
|
||||
int retentionDays;
|
||||
std::string snapshotName;
|
||||
std::string sourceDiskId;
|
||||
std::string sourceStorageType;
|
||||
std::string snapshotId;
|
||||
std::string sourceDiskSize;
|
||||
std::string creationTime;
|
||||
std::string sourceDiskType;
|
||||
std::vector<Snapshot::Tag> tags;
|
||||
};
|
||||
struct Snapshot
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string productCode;
|
||||
bool encrypted;
|
||||
int retentionDays;
|
||||
std::string snapshotName;
|
||||
std::string sourceDiskId;
|
||||
std::string sourceStorageType;
|
||||
std::string snapshotId;
|
||||
std::string sourceDiskSize;
|
||||
std::string creationTime;
|
||||
std::string sourceDiskType;
|
||||
std::vector<Snapshot::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
DescribeSnapshotsResult();
|
||||
explicit DescribeSnapshotsResult(const std::string &payload);
|
||||
~DescribeSnapshotsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Snapshot> getSnapshots()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Snapshot> getSnapshots()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Snapshot> snapshots_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Snapshot> snapshots_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,14 +37,14 @@ namespace AlibabaCloud
|
||||
DescribeSnapshotsUsageResult();
|
||||
explicit DescribeSnapshotsUsageResult(const std::string &payload);
|
||||
~DescribeSnapshotsUsageResult();
|
||||
int getSnapshotCount()const;
|
||||
long getSnapshotSize()const;
|
||||
int getSnapshotCount()const;
|
||||
long getSnapshotSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int snapshotCount_;
|
||||
long snapshotSize_;
|
||||
int snapshotCount_;
|
||||
long snapshotSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSpotPriceHistoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SpotPriceType
|
||||
{
|
||||
float spotPrice;
|
||||
float originPrice;
|
||||
std::string ioOptimized;
|
||||
std::string zoneId;
|
||||
std::string networkType;
|
||||
std::string instanceType;
|
||||
std::string timestamp;
|
||||
};
|
||||
struct SpotPriceType
|
||||
{
|
||||
float spotPrice;
|
||||
float originPrice;
|
||||
std::string ioOptimized;
|
||||
std::string zoneId;
|
||||
std::string networkType;
|
||||
std::string instanceType;
|
||||
std::string timestamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeSpotPriceHistoryResult();
|
||||
explicit DescribeSpotPriceHistoryResult(const std::string &payload);
|
||||
~DescribeSpotPriceHistoryResult();
|
||||
std::string getCurrency()const;
|
||||
int getNextOffset()const;
|
||||
std::vector<SpotPriceType> getSpotPrices()const;
|
||||
std::string getCurrency()const;
|
||||
int getNextOffset()const;
|
||||
std::vector<SpotPriceType> getSpotPrices()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string currency_;
|
||||
int nextOffset_;
|
||||
std::vector<SpotPriceType> spotPrices_;
|
||||
std::string currency_;
|
||||
int nextOffset_;
|
||||
std::vector<SpotPriceType> spotPrices_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
DescribeTagKeysResult();
|
||||
explicit DescribeTagKeysResult(const std::string &payload);
|
||||
~DescribeTagKeysResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<std::string> getTagKeys()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<std::string> getTagKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<std::string> tagKeys_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<std::string> tagKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,38 +32,38 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
struct ResourceTypeCount
|
||||
{
|
||||
int snapshot;
|
||||
int instance;
|
||||
int volume;
|
||||
int securitygroup;
|
||||
int image;
|
||||
int disk;
|
||||
};
|
||||
std::vector<ResourceTypeCount> resourceTypeCount;
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
struct ResourceTypeCount
|
||||
{
|
||||
int snapshot;
|
||||
int instance;
|
||||
int volume;
|
||||
int securitygroup;
|
||||
int image;
|
||||
int disk;
|
||||
};
|
||||
ResourceTypeCount resourceTypeCount;
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
DescribeTagsResult();
|
||||
explicit DescribeTagsResult(const std::string &payload);
|
||||
~DescribeTagsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Tag> tags_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user