Generated 2014-05-26 for Ecs.

This commit is contained in:
sdk-team
2020-10-14 14:41:31 +00:00
parent b5c0b83b02
commit 72d59ded68
38 changed files with 2509 additions and 0 deletions

View File

@@ -92,6 +92,8 @@
#include "model/CreateDeploymentSetResult.h"
#include "model/CreateDiskRequest.h"
#include "model/CreateDiskResult.h"
#include "model/CreateElasticityAssuranceRequest.h"
#include "model/CreateElasticityAssuranceResult.h"
#include "model/CreateForwardEntryRequest.h"
#include "model/CreateForwardEntryResult.h"
#include "model/CreateHaVipRequest.h"
@@ -244,6 +246,10 @@
#include "model/DescribeEipAddressesResult.h"
#include "model/DescribeEipMonitorDataRequest.h"
#include "model/DescribeEipMonitorDataResult.h"
#include "model/DescribeElasticityAssuranceInstancesRequest.h"
#include "model/DescribeElasticityAssuranceInstancesResult.h"
#include "model/DescribeElasticityAssurancesRequest.h"
#include "model/DescribeElasticityAssurancesResult.h"
#include "model/DescribeEniMonitorDataRequest.h"
#include "model/DescribeEniMonitorDataResult.h"
#include "model/DescribeForwardTableEntriesRequest.h"
@@ -260,6 +266,8 @@
#include "model/DescribeImageSupportInstanceTypesResult.h"
#include "model/DescribeImagesRequest.h"
#include "model/DescribeImagesResult.h"
#include "model/DescribeInstanceAttachmentAttributesRequest.h"
#include "model/DescribeInstanceAttachmentAttributesResult.h"
#include "model/DescribeInstanceAttributeRequest.h"
#include "model/DescribeInstanceAttributeResult.h"
#include "model/DescribeInstanceAutoRenewAttributeRequest.h"
@@ -466,6 +474,8 @@
#include "model/ModifyImageShareGroupPermissionResult.h"
#include "model/ModifyImageSharePermissionRequest.h"
#include "model/ModifyImageSharePermissionResult.h"
#include "model/ModifyInstanceAttachmentAttributesRequest.h"
#include "model/ModifyInstanceAttachmentAttributesResult.h"
#include "model/ModifyInstanceAttributeRequest.h"
#include "model/ModifyInstanceAttributeResult.h"
#include "model/ModifyInstanceAutoReleaseTimeRequest.h"
@@ -578,6 +588,8 @@
#include "model/RunInstancesResult.h"
#include "model/SendFileRequest.h"
#include "model/SendFileResult.h"
#include "model/StartElasticityAssuranceRequest.h"
#include "model/StartElasticityAssuranceResult.h"
#include "model/StartInstanceRequest.h"
#include "model/StartInstanceResult.h"
#include "model/StartInstancesRequest.h"
@@ -718,6 +730,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDiskResult> CreateDiskOutcome;
typedef std::future<CreateDiskOutcome> CreateDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDiskRequest&, const CreateDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiskAsyncHandler;
typedef Outcome<Error, Model::CreateElasticityAssuranceResult> CreateElasticityAssuranceOutcome;
typedef std::future<CreateElasticityAssuranceOutcome> CreateElasticityAssuranceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateElasticityAssuranceRequest&, const CreateElasticityAssuranceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateElasticityAssuranceAsyncHandler;
typedef Outcome<Error, Model::CreateForwardEntryResult> CreateForwardEntryOutcome;
typedef std::future<CreateForwardEntryOutcome> CreateForwardEntryOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateForwardEntryRequest&, const CreateForwardEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateForwardEntryAsyncHandler;
@@ -946,6 +961,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeEipMonitorDataResult> DescribeEipMonitorDataOutcome;
typedef std::future<DescribeEipMonitorDataOutcome> DescribeEipMonitorDataOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeEipMonitorDataRequest&, const DescribeEipMonitorDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEipMonitorDataAsyncHandler;
typedef Outcome<Error, Model::DescribeElasticityAssuranceInstancesResult> DescribeElasticityAssuranceInstancesOutcome;
typedef std::future<DescribeElasticityAssuranceInstancesOutcome> DescribeElasticityAssuranceInstancesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeElasticityAssuranceInstancesRequest&, const DescribeElasticityAssuranceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticityAssuranceInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeElasticityAssurancesResult> DescribeElasticityAssurancesOutcome;
typedef std::future<DescribeElasticityAssurancesOutcome> DescribeElasticityAssurancesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeElasticityAssurancesRequest&, const DescribeElasticityAssurancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticityAssurancesAsyncHandler;
typedef Outcome<Error, Model::DescribeEniMonitorDataResult> DescribeEniMonitorDataOutcome;
typedef std::future<DescribeEniMonitorDataOutcome> DescribeEniMonitorDataOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeEniMonitorDataRequest&, const DescribeEniMonitorDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEniMonitorDataAsyncHandler;
@@ -970,6 +991,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeImagesResult> DescribeImagesOutcome;
typedef std::future<DescribeImagesOutcome> DescribeImagesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeImagesRequest&, const DescribeImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImagesAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceAttachmentAttributesResult> DescribeInstanceAttachmentAttributesOutcome;
typedef std::future<DescribeInstanceAttachmentAttributesOutcome> DescribeInstanceAttachmentAttributesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeInstanceAttachmentAttributesRequest&, const DescribeInstanceAttachmentAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAttachmentAttributesAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceAttributeResult> DescribeInstanceAttributeOutcome;
typedef std::future<DescribeInstanceAttributeOutcome> DescribeInstanceAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeInstanceAttributeRequest&, const DescribeInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAttributeAsyncHandler;
@@ -1279,6 +1303,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyImageSharePermissionResult> ModifyImageSharePermissionOutcome;
typedef std::future<ModifyImageSharePermissionOutcome> ModifyImageSharePermissionOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyImageSharePermissionRequest&, const ModifyImageSharePermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyImageSharePermissionAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceAttachmentAttributesResult> ModifyInstanceAttachmentAttributesOutcome;
typedef std::future<ModifyInstanceAttachmentAttributesOutcome> ModifyInstanceAttachmentAttributesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceAttachmentAttributesRequest&, const ModifyInstanceAttachmentAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAttachmentAttributesAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceAttributeResult> ModifyInstanceAttributeOutcome;
typedef std::future<ModifyInstanceAttributeOutcome> ModifyInstanceAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceAttributeRequest&, const ModifyInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAttributeAsyncHandler;
@@ -1447,6 +1474,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SendFileResult> SendFileOutcome;
typedef std::future<SendFileOutcome> SendFileOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::SendFileRequest&, const SendFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendFileAsyncHandler;
typedef Outcome<Error, Model::StartElasticityAssuranceResult> StartElasticityAssuranceOutcome;
typedef std::future<StartElasticityAssuranceOutcome> StartElasticityAssuranceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartElasticityAssuranceRequest&, const StartElasticityAssuranceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartElasticityAssuranceAsyncHandler;
typedef Outcome<Error, Model::StartInstanceResult> StartInstanceOutcome;
typedef std::future<StartInstanceOutcome> StartInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartInstanceRequest&, const StartInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartInstanceAsyncHandler;
@@ -1596,6 +1626,9 @@ namespace AlibabaCloud
CreateDiskOutcome createDisk(const Model::CreateDiskRequest &request)const;
void createDiskAsync(const Model::CreateDiskRequest& request, const CreateDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDiskOutcomeCallable createDiskCallable(const Model::CreateDiskRequest& request) const;
CreateElasticityAssuranceOutcome createElasticityAssurance(const Model::CreateElasticityAssuranceRequest &request)const;
void createElasticityAssuranceAsync(const Model::CreateElasticityAssuranceRequest& request, const CreateElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateElasticityAssuranceOutcomeCallable createElasticityAssuranceCallable(const Model::CreateElasticityAssuranceRequest& request) const;
CreateForwardEntryOutcome createForwardEntry(const Model::CreateForwardEntryRequest &request)const;
void createForwardEntryAsync(const Model::CreateForwardEntryRequest& request, const CreateForwardEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateForwardEntryOutcomeCallable createForwardEntryCallable(const Model::CreateForwardEntryRequest& request) const;
@@ -1824,6 +1857,12 @@ namespace AlibabaCloud
DescribeEipMonitorDataOutcome describeEipMonitorData(const Model::DescribeEipMonitorDataRequest &request)const;
void describeEipMonitorDataAsync(const Model::DescribeEipMonitorDataRequest& request, const DescribeEipMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEipMonitorDataOutcomeCallable describeEipMonitorDataCallable(const Model::DescribeEipMonitorDataRequest& request) const;
DescribeElasticityAssuranceInstancesOutcome describeElasticityAssuranceInstances(const Model::DescribeElasticityAssuranceInstancesRequest &request)const;
void describeElasticityAssuranceInstancesAsync(const Model::DescribeElasticityAssuranceInstancesRequest& request, const DescribeElasticityAssuranceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeElasticityAssuranceInstancesOutcomeCallable describeElasticityAssuranceInstancesCallable(const Model::DescribeElasticityAssuranceInstancesRequest& request) const;
DescribeElasticityAssurancesOutcome describeElasticityAssurances(const Model::DescribeElasticityAssurancesRequest &request)const;
void describeElasticityAssurancesAsync(const Model::DescribeElasticityAssurancesRequest& request, const DescribeElasticityAssurancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeElasticityAssurancesOutcomeCallable describeElasticityAssurancesCallable(const Model::DescribeElasticityAssurancesRequest& request) const;
DescribeEniMonitorDataOutcome describeEniMonitorData(const Model::DescribeEniMonitorDataRequest &request)const;
void describeEniMonitorDataAsync(const Model::DescribeEniMonitorDataRequest& request, const DescribeEniMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEniMonitorDataOutcomeCallable describeEniMonitorDataCallable(const Model::DescribeEniMonitorDataRequest& request) const;
@@ -1848,6 +1887,9 @@ namespace AlibabaCloud
DescribeImagesOutcome describeImages(const Model::DescribeImagesRequest &request)const;
void describeImagesAsync(const Model::DescribeImagesRequest& request, const DescribeImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImagesOutcomeCallable describeImagesCallable(const Model::DescribeImagesRequest& request) const;
DescribeInstanceAttachmentAttributesOutcome describeInstanceAttachmentAttributes(const Model::DescribeInstanceAttachmentAttributesRequest &request)const;
void describeInstanceAttachmentAttributesAsync(const Model::DescribeInstanceAttachmentAttributesRequest& request, const DescribeInstanceAttachmentAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceAttachmentAttributesOutcomeCallable describeInstanceAttachmentAttributesCallable(const Model::DescribeInstanceAttachmentAttributesRequest& request) const;
DescribeInstanceAttributeOutcome describeInstanceAttribute(const Model::DescribeInstanceAttributeRequest &request)const;
void describeInstanceAttributeAsync(const Model::DescribeInstanceAttributeRequest& request, const DescribeInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceAttributeOutcomeCallable describeInstanceAttributeCallable(const Model::DescribeInstanceAttributeRequest& request) const;
@@ -2157,6 +2199,9 @@ namespace AlibabaCloud
ModifyImageSharePermissionOutcome modifyImageSharePermission(const Model::ModifyImageSharePermissionRequest &request)const;
void modifyImageSharePermissionAsync(const Model::ModifyImageSharePermissionRequest& request, const ModifyImageSharePermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyImageSharePermissionOutcomeCallable modifyImageSharePermissionCallable(const Model::ModifyImageSharePermissionRequest& request) const;
ModifyInstanceAttachmentAttributesOutcome modifyInstanceAttachmentAttributes(const Model::ModifyInstanceAttachmentAttributesRequest &request)const;
void modifyInstanceAttachmentAttributesAsync(const Model::ModifyInstanceAttachmentAttributesRequest& request, const ModifyInstanceAttachmentAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceAttachmentAttributesOutcomeCallable modifyInstanceAttachmentAttributesCallable(const Model::ModifyInstanceAttachmentAttributesRequest& request) const;
ModifyInstanceAttributeOutcome modifyInstanceAttribute(const Model::ModifyInstanceAttributeRequest &request)const;
void modifyInstanceAttributeAsync(const Model::ModifyInstanceAttributeRequest& request, const ModifyInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceAttributeOutcomeCallable modifyInstanceAttributeCallable(const Model::ModifyInstanceAttributeRequest& request) const;
@@ -2325,6 +2370,9 @@ namespace AlibabaCloud
SendFileOutcome sendFile(const Model::SendFileRequest &request)const;
void sendFileAsync(const Model::SendFileRequest& request, const SendFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendFileOutcomeCallable sendFileCallable(const Model::SendFileRequest& request) const;
StartElasticityAssuranceOutcome startElasticityAssurance(const Model::StartElasticityAssuranceRequest &request)const;
void startElasticityAssuranceAsync(const Model::StartElasticityAssuranceRequest& request, const StartElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartElasticityAssuranceOutcomeCallable startElasticityAssuranceCallable(const Model::StartElasticityAssuranceRequest& request) const;
StartInstanceOutcome startInstance(const Model::StartInstanceRequest &request)const;
void startInstanceAsync(const Model::StartInstanceRequest& request, const StartInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartInstanceOutcomeCallable startInstanceCallable(const Model::StartInstanceRequest& request) const;

View File

@@ -0,0 +1,111 @@
/*
* 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_CREATEELASTICITYASSURANCEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEELASTICITYASSURANCEREQUEST_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 CreateElasticityAssuranceRequest : public RpcServiceRequest
{
public:
CreateElasticityAssuranceRequest();
~CreateElasticityAssuranceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getPlatform()const;
void setPlatform(const std::string& platform);
std::string getPrivatePoolOptionsMatchCriteria()const;
void setPrivatePoolOptionsMatchCriteria(const std::string& privatePoolOptionsMatchCriteria);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getInstanceType()const;
void setInstanceType(const std::vector<std::string>& instanceType);
std::string getInstanceChargeType()const;
void setInstanceChargeType(const std::string& instanceChargeType);
int getPeriod()const;
void setPeriod(int period);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPrivatePoolOptionsName()const;
void setPrivatePoolOptionsName(const std::string& privatePoolOptionsName);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getAssuranceTimes()const;
void setAssuranceTimes(const std::string& assuranceTimes);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
int getInstanceCpuCoreCount()const;
void setInstanceCpuCoreCount(int instanceCpuCoreCount);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::vector<std::string> getZoneId()const;
void setZoneId(const std::vector<std::string>& zoneId);
std::string getChargeType()const;
void setChargeType(const std::string& chargeType);
std::string getPackageType()const;
void setPackageType(const std::string& packageType);
int getInstanceAmount()const;
void setInstanceAmount(int instanceAmount);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string description_;
std::string startTime_;
std::string platform_;
std::string privatePoolOptionsMatchCriteria_;
std::string regionId_;
std::vector<std::string> instanceType_;
std::string instanceChargeType_;
int period_;
std::string resourceOwnerAccount_;
std::string privatePoolOptionsName_;
std::string ownerAccount_;
std::string assuranceTimes_;
long ownerId_;
std::string resourceType_;
int instanceCpuCoreCount_;
std::string periodUnit_;
std::vector<std::string> zoneId_;
std::string chargeType_;
std::string packageType_;
int instanceAmount_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEELASTICITYASSURANCEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_CREATEELASTICITYASSURANCERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEELASTICITYASSURANCERESULT_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 CreateElasticityAssuranceResult : public ServiceResult
{
public:
CreateElasticityAssuranceResult();
explicit CreateElasticityAssuranceResult(const std::string &payload);
~CreateElasticityAssuranceResult();
std::string getOrderId()const;
std::string getPrivatePoolOptionsId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
std::string privatePoolOptionsId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEELASTICITYASSURANCERESULT_H_

View File

@@ -77,6 +77,8 @@ namespace AlibabaCloud
void setDeletionProtection(bool deletionProtection);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPrivatePoolOptionsMatchCriteria()const;
void setPrivatePoolOptionsMatchCriteria(const std::string& privatePoolOptionsMatchCriteria);
std::string getHostName()const;
void setHostName(const std::string& hostName);
std::string getPassword()const;
@@ -87,6 +89,8 @@ namespace AlibabaCloud
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getPrivatePoolOptionsId()const;
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId);
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
std::string getNodeControllerId()const;
@@ -201,11 +205,13 @@ namespace AlibabaCloud
float spotPriceLimit_;
bool deletionProtection_;
std::string resourceGroupId_;
std::string privatePoolOptionsMatchCriteria_;
std::string hostName_;
std::string password_;
int deploymentSetGroupNo_;
int storageSetPartitionNumber_;
std::vector<Tag> tag_;
std::string privatePoolOptionsId_;
int autoRenewPeriod_;
std::string nodeControllerId_;
int period_;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
bool getServiceManaged()const;
void setServiceManaged(bool serviceManaged);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSecurityGroupName()const;
@@ -69,6 +71,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string clientToken_;
bool serviceManaged_;
std::string description_;
std::string securityGroupName_;
std::string resourceGroupId_;

View File

@@ -0,0 +1,72 @@
/*
* 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_DESCRIBEELASTICITYASSURANCEINSTANCESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCEINSTANCESREQUEST_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 DescribeElasticityAssuranceInstancesRequest : public RpcServiceRequest
{
public:
DescribeElasticityAssuranceInstancesRequest();
~DescribeElasticityAssuranceInstancesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getPrivatePoolOptionsId()const;
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getPackageType()const;
void setPackageType(const std::string& packageType);
private:
long resourceOwnerId_;
std::string regionId_;
std::string nextToken_;
std::string privatePoolOptionsId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
int maxResults_;
std::string packageType_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCEINSTANCESREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_DESCRIBEELASTICITYASSURANCEINSTANCESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCEINSTANCESRESULT_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 DescribeElasticityAssuranceInstancesResult : public ServiceResult
{
public:
struct InstanceIdSet
{
std::string instanceId;
};
DescribeElasticityAssuranceInstancesResult();
explicit DescribeElasticityAssuranceInstancesResult(const std::string &payload);
~DescribeElasticityAssuranceInstancesResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<InstanceIdSet> getElasticityAssuranceItem()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<InstanceIdSet> elasticityAssuranceItem_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCEINSTANCESRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_DESCRIBEELASTICITYASSURANCESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCESREQUEST_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 DescribeElasticityAssurancesRequest : public RpcServiceRequest
{
public:
DescribeElasticityAssurancesRequest();
~DescribeElasticityAssurancesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPrivatePoolOptionsIds()const;
void setPrivatePoolOptionsIds(const std::string& privatePoolOptionsIds);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getPackageType()const;
void setPackageType(const std::string& packageType);
private:
long resourceOwnerId_;
std::string regionId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string privatePoolOptionsIds_;
int maxResults_;
std::string packageType_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCESREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* 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_DESCRIBEELASTICITYASSURANCESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCESRESULT_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 DescribeElasticityAssurancesResult : public ServiceResult
{
public:
struct ElasticityAssuranceItem
{
struct AllocatedResource
{
int usedAmount;
std::string zoneId;
int totalAmount;
std::string instanceType;
};
std::string totalAssuranceTimes;
std::string status;
int usedAssuranceTimes;
std::string description;
std::string endTime;
std::string privatePoolOptionsName;
std::string latestStartTime;
std::string startTime;
std::string regionId;
std::string privatePoolOptionsMatchCriteria;
std::vector<ElasticityAssuranceItem::AllocatedResource> allocatedResources;
std::string privatePoolOptionsId;
};
DescribeElasticityAssurancesResult();
explicit DescribeElasticityAssurancesResult(const std::string &payload);
~DescribeElasticityAssurancesResult();
std::vector<ElasticityAssuranceItem> getElasticityAssuranceSet()const;
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ElasticityAssuranceItem> elasticityAssuranceSet_;
int totalCount_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEELASTICITYASSURANCESRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCEATTACHMENTATTRIBUTESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCEATTACHMENTATTRIBUTESREQUEST_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 DescribeInstanceAttachmentAttributesRequest : public RpcServiceRequest
{
public:
DescribeInstanceAttachmentAttributesRequest();
~DescribeInstanceAttachmentAttributesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
private:
long resourceOwnerId_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceIds_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCEATTACHMENTATTRIBUTESREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCEATTACHMENTATTRIBUTESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCEATTACHMENTATTRIBUTESRESULT_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 DescribeInstanceAttachmentAttributesResult : public ServiceResult
{
public:
struct Instance
{
std::string instanceId;
std::string privatePoolOptionsMatchCriteria;
std::string privatePoolOptionsId;
};
DescribeInstanceAttachmentAttributesResult();
explicit DescribeInstanceAttachmentAttributesResult(const std::string &payload);
~DescribeInstanceAttachmentAttributesResult();
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCEATTACHMENTATTRIBUTESRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getInstanceTypes()const;
void setInstanceTypes(const std::vector<std::string>& instanceTypes);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -48,6 +50,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::vector<std::string> instanceTypes_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string instanceTypeFamily_;

View File

@@ -49,14 +49,20 @@ namespace AlibabaCloud
void setPeriod(int period);
std::string getDataDisk1PerformanceLevel()const;
void setDataDisk1PerformanceLevel(const std::string& dataDisk1PerformanceLevel);
std::string getAssuranceTimes()const;
void setAssuranceTimes(const std::string& assuranceTimes);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getInstanceCpuCoreCount()const;
void setInstanceCpuCoreCount(int instanceCpuCoreCount);
std::string getInternetChargeType()const;
void setInternetChargeType(const std::string& internetChargeType);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
int getInstanceAmount()const;
void setInstanceAmount(int instanceAmount);
std::vector<std::string> getInstanceTypeList()const;
void setInstanceTypeList(const std::vector<std::string>& instanceTypeList);
std::string getDataDisk3PerformanceLevel()const;
void setDataDisk3PerformanceLevel(const std::string& dataDisk3PerformanceLevel);
std::string getImageId()const;
@@ -114,10 +120,13 @@ namespace AlibabaCloud
std::string priceUnit_;
int period_;
std::string dataDisk1PerformanceLevel_;
std::string assuranceTimes_;
long ownerId_;
int instanceCpuCoreCount_;
std::string internetChargeType_;
std::string instanceNetworkType_;
int instanceAmount_;
std::vector<std::string> instanceTypeList_;
std::string dataDisk3PerformanceLevel_;
std::string imageId_;
std::string ioOptimized_;

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTACHMENTATTRIBUTESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTACHMENTATTRIBUTESREQUEST_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 ModifyInstanceAttachmentAttributesRequest : public RpcServiceRequest
{
public:
ModifyInstanceAttachmentAttributesRequest();
~ModifyInstanceAttachmentAttributesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPrivatePoolOptionsMatchCriteria()const;
void setPrivatePoolOptionsMatchCriteria(const std::string& privatePoolOptionsMatchCriteria);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getPrivatePoolOptionsId()const;
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
long resourceOwnerId_;
std::string privatePoolOptionsMatchCriteria_;
std::string regionId_;
std::string privatePoolOptionsId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTACHMENTATTRIBUTESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTACHMENTATTRIBUTESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTACHMENTATTRIBUTESRESULT_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 ModifyInstanceAttachmentAttributesResult : public ServiceResult
{
public:
ModifyInstanceAttachmentAttributesResult();
explicit ModifyInstanceAttachmentAttributesResult(const std::string &payload);
~ModifyInstanceAttachmentAttributesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTACHMENTATTRIBUTESRESULT_H_

View File

@@ -82,6 +82,8 @@ namespace AlibabaCloud
void setDeletionProtection(bool deletionProtection);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPrivatePoolOptionsMatchCriteria()const;
void setPrivatePoolOptionsMatchCriteria(const std::string& privatePoolOptionsMatchCriteria);
std::string getHostName()const;
void setHostName(const std::string& hostName);
std::string getPassword()const;
@@ -166,6 +168,8 @@ namespace AlibabaCloud
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getPrivatePoolOptionsId()const;
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId);
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
std::string getLaunchTemplateId()const;
@@ -235,6 +239,7 @@ namespace AlibabaCloud
int minAmount_;
bool deletionProtection_;
std::string resourceGroupId_;
std::string privatePoolOptionsMatchCriteria_;
std::string hostName_;
std::string password_;
int deploymentSetGroupNo_;
@@ -277,6 +282,7 @@ namespace AlibabaCloud
float spotPriceLimit_;
int storageSetPartitionNumber_;
std::vector<Tag> tag_;
std::string privatePoolOptionsId_;
int autoRenewPeriod_;
std::string launchTemplateId_;
int ipv6AddressCount_;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_STARTELASTICITYASSURANCEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_STARTELASTICITYASSURANCEREQUEST_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 StartElasticityAssuranceRequest : public RpcServiceRequest
{
public:
StartElasticityAssuranceRequest();
~StartElasticityAssuranceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getPrivatePoolOptionsId()const;
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string privatePoolOptionsId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STARTELASTICITYASSURANCEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_STARTELASTICITYASSURANCERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_STARTELASTICITYASSURANCERESULT_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 StartElasticityAssuranceResult : public ServiceResult
{
public:
StartElasticityAssuranceResult();
explicit StartElasticityAssuranceResult(const std::string &payload);
~StartElasticityAssuranceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STARTELASTICITYASSURANCERESULT_H_