Pārlūkot izejas kodu

Add ResourcePoolOptions.Strategy for CreateAutoProvisioningGroup.

sdk-team 1 gadu atpakaļ
vecāks
revīzija
9c795d127b
45 mainītis faili ar 621 papildinājumiem un 970 dzēšanām
  1. 1 1
      VERSION
  2. 4 12
      ecs/CMakeLists.txt
  3. 8 24
      ecs/include/alibabacloud/ecs/EcsClient.h
  4. 8 0
      ecs/include/alibabacloud/ecs/model/CreateAutoProvisioningGroupRequest.h
  5. 3 0
      ecs/include/alibabacloud/ecs/model/CreateImageComponentRequest.h
  6. 9 0
      ecs/include/alibabacloud/ecs/model/CreateImagePipelineRequest.h
  7. 9 0
      ecs/include/alibabacloud/ecs/model/CreateLaunchTemplateRequest.h
  8. 9 0
      ecs/include/alibabacloud/ecs/model/CreateLaunchTemplateVersionRequest.h
  9. 9 0
      ecs/include/alibabacloud/ecs/model/DescribeImageComponentsRequest.h
  10. 8 0
      ecs/include/alibabacloud/ecs/model/DescribeImageComponentsResult.h
  11. 3 0
      ecs/include/alibabacloud/ecs/model/DescribeImagePipelinesResult.h
  12. 3 0
      ecs/include/alibabacloud/ecs/model/DescribeLaunchTemplateVersionsResult.h
  13. 5 3
      ecs/include/alibabacloud/ecs/model/DescribeSecurityGroupsResult.h
  14. 0 60
      ecs/include/alibabacloud/ecs/model/EipFillParamsRequest.h
  15. 0 59
      ecs/include/alibabacloud/ecs/model/EipFillParamsResult.h
  16. 0 60
      ecs/include/alibabacloud/ecs/model/EipFillProductRequest.h
  17. 0 59
      ecs/include/alibabacloud/ecs/model/EipFillProductResult.h
  18. 0 60
      ecs/include/alibabacloud/ecs/model/EipNotifyPaidRequest.h
  19. 9 0
      ecs/include/alibabacloud/ecs/model/ImportImageRequest.h
  20. 6 0
      ecs/include/alibabacloud/ecs/model/ModifyElasticityAssuranceRequest.h
  21. 81 0
      ecs/include/alibabacloud/ecs/model/PurchaseElasticityAssuranceRequest.h
  22. 7 17
      ecs/include/alibabacloud/ecs/model/PurchaseElasticityAssuranceResult.h
  23. 3 0
      ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h
  24. 36 108
      ecs/src/EcsClient.cc
  25. 12 0
      ecs/src/model/CreateAutoProvisioningGroupRequest.cc
  26. 9 0
      ecs/src/model/CreateImageComponentRequest.cc
  27. 27 0
      ecs/src/model/CreateImagePipelineRequest.cc
  28. 27 0
      ecs/src/model/CreateLaunchTemplateRequest.cc
  29. 27 0
      ecs/src/model/CreateLaunchTemplateVersionRequest.cc
  30. 27 0
      ecs/src/model/DescribeImageComponentsRequest.cc
  31. 14 0
      ecs/src/model/DescribeImageComponentsResult.cc
  32. 6 0
      ecs/src/model/DescribeImagePipelinesResult.cc
  33. 6 0
      ecs/src/model/DescribeLaunchTemplateVersionsResult.cc
  34. 4 0
      ecs/src/model/DescribeSecurityGroupsResult.cc
  35. 0 90
      ecs/src/model/EipFillParamsRequest.cc
  36. 0 79
      ecs/src/model/EipFillParamsResult.cc
  37. 0 90
      ecs/src/model/EipFillProductRequest.cc
  38. 0 79
      ecs/src/model/EipFillProductResult.cc
  39. 0 90
      ecs/src/model/EipNotifyPaidRequest.cc
  40. 0 79
      ecs/src/model/EipNotifyPaidResult.cc
  41. 18 0
      ecs/src/model/ImportImageRequest.cc
  42. 18 0
      ecs/src/model/ModifyElasticityAssuranceRequest.cc
  43. 153 0
      ecs/src/model/PurchaseElasticityAssuranceRequest.cc
  44. 44 0
      ecs/src/model/PurchaseElasticityAssuranceResult.cc
  45. 8 0
      ecs/src/model/RunInstancesRequest.cc

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1998
+1.36.1999

+ 4 - 12
ecs/CMakeLists.txt

@@ -481,12 +481,6 @@ set(ecs_public_header_model
 	include/alibabacloud/ecs/model/DisableActivationResult.h
 	include/alibabacloud/ecs/model/DisableDiskEncryptionByDefaultRequest.h
 	include/alibabacloud/ecs/model/DisableDiskEncryptionByDefaultResult.h
-	include/alibabacloud/ecs/model/EipFillParamsRequest.h
-	include/alibabacloud/ecs/model/EipFillParamsResult.h
-	include/alibabacloud/ecs/model/EipFillProductRequest.h
-	include/alibabacloud/ecs/model/EipFillProductResult.h
-	include/alibabacloud/ecs/model/EipNotifyPaidRequest.h
-	include/alibabacloud/ecs/model/EipNotifyPaidResult.h
 	include/alibabacloud/ecs/model/EnableDiskEncryptionByDefaultRequest.h
 	include/alibabacloud/ecs/model/EnableDiskEncryptionByDefaultResult.h
 	include/alibabacloud/ecs/model/EnablePhysicalConnectionRequest.h
@@ -647,6 +641,8 @@ set(ecs_public_header_model
 	include/alibabacloud/ecs/model/ModifyVirtualBorderRouterAttributeResult.h
 	include/alibabacloud/ecs/model/ModifyVpcAttributeRequest.h
 	include/alibabacloud/ecs/model/ModifyVpcAttributeResult.h
+	include/alibabacloud/ecs/model/PurchaseElasticityAssuranceRequest.h
+	include/alibabacloud/ecs/model/PurchaseElasticityAssuranceResult.h
 	include/alibabacloud/ecs/model/PurchaseReservedInstancesOfferingRequest.h
 	include/alibabacloud/ecs/model/PurchaseReservedInstancesOfferingResult.h
 	include/alibabacloud/ecs/model/PurchaseStorageCapacityUnitRequest.h
@@ -1200,12 +1196,6 @@ set(ecs_src
 	src/model/DisableActivationResult.cc
 	src/model/DisableDiskEncryptionByDefaultRequest.cc
 	src/model/DisableDiskEncryptionByDefaultResult.cc
-	src/model/EipFillParamsRequest.cc
-	src/model/EipFillParamsResult.cc
-	src/model/EipFillProductRequest.cc
-	src/model/EipFillProductResult.cc
-	src/model/EipNotifyPaidRequest.cc
-	src/model/EipNotifyPaidResult.cc
 	src/model/EnableDiskEncryptionByDefaultRequest.cc
 	src/model/EnableDiskEncryptionByDefaultResult.cc
 	src/model/EnablePhysicalConnectionRequest.cc
@@ -1366,6 +1356,8 @@ set(ecs_src
 	src/model/ModifyVirtualBorderRouterAttributeResult.cc
 	src/model/ModifyVpcAttributeRequest.cc
 	src/model/ModifyVpcAttributeResult.cc
+	src/model/PurchaseElasticityAssuranceRequest.cc
+	src/model/PurchaseElasticityAssuranceResult.cc
 	src/model/PurchaseReservedInstancesOfferingRequest.cc
 	src/model/PurchaseReservedInstancesOfferingResult.cc
 	src/model/PurchaseStorageCapacityUnitRequest.cc

+ 8 - 24
ecs/include/alibabacloud/ecs/EcsClient.h

@@ -482,12 +482,6 @@
 #include "model/DisableActivationResult.h"
 #include "model/DisableDiskEncryptionByDefaultRequest.h"
 #include "model/DisableDiskEncryptionByDefaultResult.h"
-#include "model/EipFillParamsRequest.h"
-#include "model/EipFillParamsResult.h"
-#include "model/EipFillProductRequest.h"
-#include "model/EipFillProductResult.h"
-#include "model/EipNotifyPaidRequest.h"
-#include "model/EipNotifyPaidResult.h"
 #include "model/EnableDiskEncryptionByDefaultRequest.h"
 #include "model/EnableDiskEncryptionByDefaultResult.h"
 #include "model/EnablePhysicalConnectionRequest.h"
@@ -648,6 +642,8 @@
 #include "model/ModifyVirtualBorderRouterAttributeResult.h"
 #include "model/ModifyVpcAttributeRequest.h"
 #include "model/ModifyVpcAttributeResult.h"
+#include "model/PurchaseElasticityAssuranceRequest.h"
+#include "model/PurchaseElasticityAssuranceResult.h"
 #include "model/PurchaseReservedInstancesOfferingRequest.h"
 #include "model/PurchaseReservedInstancesOfferingResult.h"
 #include "model/PurchaseStorageCapacityUnitRequest.h"
@@ -1437,15 +1433,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DisableDiskEncryptionByDefaultResult> DisableDiskEncryptionByDefaultOutcome;
 			typedef std::future<DisableDiskEncryptionByDefaultOutcome> DisableDiskEncryptionByDefaultOutcomeCallable;
 			typedef std::function<void(const EcsClient*, const Model::DisableDiskEncryptionByDefaultRequest&, const DisableDiskEncryptionByDefaultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDiskEncryptionByDefaultAsyncHandler;
-			typedef Outcome<Error, Model::EipFillParamsResult> EipFillParamsOutcome;
-			typedef std::future<EipFillParamsOutcome> EipFillParamsOutcomeCallable;
-			typedef std::function<void(const EcsClient*, const Model::EipFillParamsRequest&, const EipFillParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EipFillParamsAsyncHandler;
-			typedef Outcome<Error, Model::EipFillProductResult> EipFillProductOutcome;
-			typedef std::future<EipFillProductOutcome> EipFillProductOutcomeCallable;
-			typedef std::function<void(const EcsClient*, const Model::EipFillProductRequest&, const EipFillProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EipFillProductAsyncHandler;
-			typedef Outcome<Error, Model::EipNotifyPaidResult> EipNotifyPaidOutcome;
-			typedef std::future<EipNotifyPaidOutcome> EipNotifyPaidOutcomeCallable;
-			typedef std::function<void(const EcsClient*, const Model::EipNotifyPaidRequest&, const EipNotifyPaidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EipNotifyPaidAsyncHandler;
 			typedef Outcome<Error, Model::EnableDiskEncryptionByDefaultResult> EnableDiskEncryptionByDefaultOutcome;
 			typedef std::future<EnableDiskEncryptionByDefaultOutcome> EnableDiskEncryptionByDefaultOutcomeCallable;
 			typedef std::function<void(const EcsClient*, const Model::EnableDiskEncryptionByDefaultRequest&, const EnableDiskEncryptionByDefaultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableDiskEncryptionByDefaultAsyncHandler;
@@ -1686,6 +1673,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ModifyVpcAttributeResult> ModifyVpcAttributeOutcome;
 			typedef std::future<ModifyVpcAttributeOutcome> ModifyVpcAttributeOutcomeCallable;
 			typedef std::function<void(const EcsClient*, const Model::ModifyVpcAttributeRequest&, const ModifyVpcAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyVpcAttributeAsyncHandler;
+			typedef Outcome<Error, Model::PurchaseElasticityAssuranceResult> PurchaseElasticityAssuranceOutcome;
+			typedef std::future<PurchaseElasticityAssuranceOutcome> PurchaseElasticityAssuranceOutcomeCallable;
+			typedef std::function<void(const EcsClient*, const Model::PurchaseElasticityAssuranceRequest&, const PurchaseElasticityAssuranceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PurchaseElasticityAssuranceAsyncHandler;
 			typedef Outcome<Error, Model::PurchaseReservedInstancesOfferingResult> PurchaseReservedInstancesOfferingOutcome;
 			typedef std::future<PurchaseReservedInstancesOfferingOutcome> PurchaseReservedInstancesOfferingOutcomeCallable;
 			typedef std::function<void(const EcsClient*, const Model::PurchaseReservedInstancesOfferingRequest&, const PurchaseReservedInstancesOfferingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PurchaseReservedInstancesOfferingAsyncHandler;
@@ -2516,15 +2506,6 @@ namespace AlibabaCloud
 			DisableDiskEncryptionByDefaultOutcome disableDiskEncryptionByDefault(const Model::DisableDiskEncryptionByDefaultRequest &request)const;
 			void disableDiskEncryptionByDefaultAsync(const Model::DisableDiskEncryptionByDefaultRequest& request, const DisableDiskEncryptionByDefaultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DisableDiskEncryptionByDefaultOutcomeCallable disableDiskEncryptionByDefaultCallable(const Model::DisableDiskEncryptionByDefaultRequest& request) const;
-			EipFillParamsOutcome eipFillParams(const Model::EipFillParamsRequest &request)const;
-			void eipFillParamsAsync(const Model::EipFillParamsRequest& request, const EipFillParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			EipFillParamsOutcomeCallable eipFillParamsCallable(const Model::EipFillParamsRequest& request) const;
-			EipFillProductOutcome eipFillProduct(const Model::EipFillProductRequest &request)const;
-			void eipFillProductAsync(const Model::EipFillProductRequest& request, const EipFillProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			EipFillProductOutcomeCallable eipFillProductCallable(const Model::EipFillProductRequest& request) const;
-			EipNotifyPaidOutcome eipNotifyPaid(const Model::EipNotifyPaidRequest &request)const;
-			void eipNotifyPaidAsync(const Model::EipNotifyPaidRequest& request, const EipNotifyPaidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			EipNotifyPaidOutcomeCallable eipNotifyPaidCallable(const Model::EipNotifyPaidRequest& request) const;
 			EnableDiskEncryptionByDefaultOutcome enableDiskEncryptionByDefault(const Model::EnableDiskEncryptionByDefaultRequest &request)const;
 			void enableDiskEncryptionByDefaultAsync(const Model::EnableDiskEncryptionByDefaultRequest& request, const EnableDiskEncryptionByDefaultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			EnableDiskEncryptionByDefaultOutcomeCallable enableDiskEncryptionByDefaultCallable(const Model::EnableDiskEncryptionByDefaultRequest& request) const;
@@ -2765,6 +2746,9 @@ namespace AlibabaCloud
 			ModifyVpcAttributeOutcome modifyVpcAttribute(const Model::ModifyVpcAttributeRequest &request)const;
 			void modifyVpcAttributeAsync(const Model::ModifyVpcAttributeRequest& request, const ModifyVpcAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ModifyVpcAttributeOutcomeCallable modifyVpcAttributeCallable(const Model::ModifyVpcAttributeRequest& request) const;
+			PurchaseElasticityAssuranceOutcome purchaseElasticityAssurance(const Model::PurchaseElasticityAssuranceRequest &request)const;
+			void purchaseElasticityAssuranceAsync(const Model::PurchaseElasticityAssuranceRequest& request, const PurchaseElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			PurchaseElasticityAssuranceOutcomeCallable purchaseElasticityAssuranceCallable(const Model::PurchaseElasticityAssuranceRequest& request) const;
 			PurchaseReservedInstancesOfferingOutcome purchaseReservedInstancesOffering(const Model::PurchaseReservedInstancesOfferingRequest &request)const;
 			void purchaseReservedInstancesOfferingAsync(const Model::PurchaseReservedInstancesOfferingRequest& request, const PurchaseReservedInstancesOfferingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			PurchaseReservedInstancesOfferingOutcomeCallable purchaseReservedInstancesOfferingCallable(const Model::PurchaseReservedInstancesOfferingRequest& request) const;

+ 8 - 0
ecs/include/alibabacloud/ecs/model/CreateAutoProvisioningGroupRequest.h

@@ -65,6 +65,11 @@ public:
 		long provisionedIops;
 		bool burstingEnabled;
 	};
+	struct ResourcePoolOptions {
+		std::string strategy;
+		std::string string;
+		std::vector<std::string> privatePoolIds;
+	};
 	struct LaunchTemplateConfig {
 		std::string vSwitchId;
 		double maxPrice;
@@ -172,6 +177,8 @@ public:
 	void setLaunchConfigurationInstanceDescription(const std::string &launchConfigurationInstanceDescription);
 	std::string getSpotAllocationStrategy() const;
 	void setSpotAllocationStrategy(const std::string &spotAllocationStrategy);
+	ResourcePoolOptions getResourcePoolOptions() const;
+	void setResourcePoolOptions(const ResourcePoolOptions &resourcePoolOptions);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
 	bool getTerminateInstances() const;
@@ -266,6 +273,7 @@ private:
 	std::string launchConfigurationInstanceName_;
 	std::string launchConfigurationInstanceDescription_;
 	std::string spotAllocationStrategy_;
+	ResourcePoolOptions resourcePoolOptions_;
 	std::string regionId_;
 	bool terminateInstances_;
 	std::string launchConfigurationSystemDiskName_;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/CreateImageComponentRequest.h

@@ -42,6 +42,8 @@ public:
 	void setDescription(const std::string &description);
 	std::string getSystemType() const;
 	void setSystemType(const std::string &systemType);
+	std::string getComponentVersion() const;
+	void setComponentVersion(const std::string &componentVersion);
 	std::string getContent() const;
 	void setContent(const std::string &content);
 	std::string getResourceGroupId() const;
@@ -66,6 +68,7 @@ private:
 	std::string clientToken_;
 	std::string description_;
 	std::string systemType_;
+	std::string componentVersion_;
 	std::string content_;
 	std::string resourceGroupId_;
 	std::string regionId_;

+ 9 - 0
ecs/include/alibabacloud/ecs/model/CreateImagePipelineRequest.h

@@ -62,6 +62,8 @@ public:
 	void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
 	std::string getOwnerAccount() const;
 	void setOwnerAccount(const std::string &ownerAccount);
+	std::string getRepairMode() const;
+	void setRepairMode(const std::string &repairMode);
 	long getOwnerId() const;
 	void setOwnerId(long ownerId);
 	std::string getBaseImage() const;
@@ -74,8 +76,12 @@ public:
 	void setDeleteInstanceOnFailure(bool deleteInstanceOnFailure);
 	std::string getName() const;
 	void setName(const std::string &name);
+	std::string getImageFamily() const;
+	void setImageFamily(const std::string &imageFamily);
 	std::string getBuildContent() const;
 	void setBuildContent(const std::string &buildContent);
+	std::string getTestContent() const;
+	void setTestContent(const std::string &testContent);
 
 private:
 	std::string baseImageType_;
@@ -92,13 +98,16 @@ private:
 	std::vector<Tag> tag_;
 	std::string resourceOwnerAccount_;
 	std::string ownerAccount_;
+	std::string repairMode_;
 	long ownerId_;
 	std::string baseImage_;
 	std::string vSwitchId_;
 	std::vector<long> addAccount_;
 	bool deleteInstanceOnFailure_;
 	std::string name_;
+	std::string imageFamily_;
 	std::string buildContent_;
+	std::string testContent_;
 };
 } // namespace Model
 } // namespace Ecs

+ 9 - 0
ecs/include/alibabacloud/ecs/model/CreateLaunchTemplateRequest.h

@@ -65,6 +65,8 @@ public:
 	void setLaunchTemplateName(const std::string &launchTemplateName);
 	long getResourceOwnerId() const;
 	void setResourceOwnerId(long resourceOwnerId);
+	int getHttpPutResponseHopLimit() const;
+	void setHttpPutResponseHopLimit(int httpPutResponseHopLimit);
 	std::string getSecurityEnhancementStrategy() const;
 	void setSecurityEnhancementStrategy(const std::string &securityEnhancementStrategy);
 	std::string getNetworkType() const;
@@ -143,6 +145,8 @@ public:
 	void setPasswordInherit(bool passwordInherit);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
+	std::string getHttpEndpoint() const;
+	void setHttpEndpoint(const std::string &httpEndpoint);
 	std::string getInstanceType() const;
 	void setInstanceType(const std::string &instanceType);
 	std::string getInstanceChargeType() const;
@@ -177,6 +181,8 @@ public:
 	void setSystemDiskSize(int systemDiskSize);
 	std::string getVpcId() const;
 	void setVpcId(const std::string &vpcId);
+	std::string getHttpTokens() const;
+	void setHttpTokens(const std::string &httpTokens);
 	std::string getSystemDiskDescription() const;
 	void setSystemDiskDescription(const std::string &systemDiskDescription);
 	std::string getSystemDiskEncrypted() const;
@@ -185,6 +191,7 @@ public:
 private:
 	std::string launchTemplateName_;
 	long resourceOwnerId_;
+	int httpPutResponseHopLimit_;
 	std::string securityEnhancementStrategy_;
 	std::string networkType_;
 	std::string keyPairName_;
@@ -224,6 +231,7 @@ private:
 	std::string userData_;
 	bool passwordInherit_;
 	std::string regionId_;
+	std::string httpEndpoint_;
 	std::string instanceType_;
 	std::string instanceChargeType_;
 	bool enableVmOsConfig_;
@@ -241,6 +249,7 @@ private:
 	long systemDiskProvisionedIops_;
 	int systemDiskSize_;
 	std::string vpcId_;
+	std::string httpTokens_;
 	std::string systemDiskDescription_;
 	std::string systemDiskEncrypted_;
 };

+ 9 - 0
ecs/include/alibabacloud/ecs/model/CreateLaunchTemplateVersionRequest.h

@@ -61,6 +61,8 @@ public:
 	void setLaunchTemplateName(const std::string &launchTemplateName);
 	long getResourceOwnerId() const;
 	void setResourceOwnerId(long resourceOwnerId);
+	int getHttpPutResponseHopLimit() const;
+	void setHttpPutResponseHopLimit(int httpPutResponseHopLimit);
 	std::string getSecurityEnhancementStrategy() const;
 	void setSecurityEnhancementStrategy(const std::string &securityEnhancementStrategy);
 	std::string getNetworkType() const;
@@ -137,6 +139,8 @@ public:
 	void setPasswordInherit(bool passwordInherit);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
+	std::string getHttpEndpoint() const;
+	void setHttpEndpoint(const std::string &httpEndpoint);
 	std::string getInstanceType() const;
 	void setInstanceType(const std::string &instanceType);
 	std::string getInstanceChargeType() const;
@@ -171,6 +175,8 @@ public:
 	void setSystemDiskSize(int systemDiskSize);
 	std::string getVpcId() const;
 	void setVpcId(const std::string &vpcId);
+	std::string getHttpTokens() const;
+	void setHttpTokens(const std::string &httpTokens);
 	std::string getSystemDiskDescription() const;
 	void setSystemDiskDescription(const std::string &systemDiskDescription);
 	std::string getSystemDiskEncrypted() const;
@@ -179,6 +185,7 @@ public:
 private:
 	std::string launchTemplateName_;
 	long resourceOwnerId_;
+	int httpPutResponseHopLimit_;
 	std::string securityEnhancementStrategy_;
 	std::string networkType_;
 	std::string keyPairName_;
@@ -217,6 +224,7 @@ private:
 	std::string userData_;
 	bool passwordInherit_;
 	std::string regionId_;
+	std::string httpEndpoint_;
 	std::string instanceType_;
 	std::string instanceChargeType_;
 	bool enableVmOsConfig_;
@@ -234,6 +242,7 @@ private:
 	long systemDiskProvisionedIops_;
 	int systemDiskSize_;
 	std::string vpcId_;
+	std::string httpTokens_;
 	std::string systemDiskDescription_;
 	std::string systemDiskEncrypted_;
 };

+ 9 - 0
ecs/include/alibabacloud/ecs/model/DescribeImageComponentsRequest.h

@@ -36,6 +36,10 @@ public:
 	~DescribeImageComponentsRequest();
 	long getResourceOwnerId() const;
 	void setResourceOwnerId(long resourceOwnerId);
+	std::string getSystemType() const;
+	void setSystemType(const std::string &systemType);
+	std::string getComponentVersion() const;
+	void setComponentVersion(const std::string &componentVersion);
 	std::vector<std::string> getImageComponentId() const;
 	void setImageComponentId(const std::vector<std::string> &imageComponentId);
 	std::string getResourceGroupId() const;
@@ -54,6 +58,8 @@ public:
 	void setOwnerAccount(const std::string &ownerAccount);
 	long getOwnerId() const;
 	void setOwnerId(long ownerId);
+	std::string getComponentType() const;
+	void setComponentType(const std::string &componentType);
 	std::string getName() const;
 	void setName(const std::string &name);
 	int getMaxResults() const;
@@ -61,6 +67,8 @@ public:
 
 private:
 	long resourceOwnerId_;
+	std::string systemType_;
+	std::string componentVersion_;
 	std::vector<std::string> imageComponentId_;
 	std::string resourceGroupId_;
 	std::string regionId_;
@@ -70,6 +78,7 @@ private:
 	std::string resourceOwnerAccount_;
 	std::string ownerAccount_;
 	long ownerId_;
+	std::string componentType_;
 	std::string name_;
 	int maxResults_;
 };

+ 8 - 0
ecs/include/alibabacloud/ecs/model/DescribeImageComponentsResult.h

@@ -39,8 +39,15 @@ namespace AlibabaCloud
 						std::string tagKey;
 						std::string tagValue;
 					};
+					struct _Parameter
+					{
+						std::string defaultValue;
+						std::string type;
+						std::string name;
+					};
 					std::string componentType;
 					std::string owner;
+					std::vector<ImageComponentSet::_Parameter> parameters;
 					std::string description;
 					std::string resourceGroupId;
 					std::string content;
@@ -49,6 +56,7 @@ namespace AlibabaCloud
 					std::string imageComponentId;
 					std::vector<ImageComponentSet::Tag> tags;
 					std::string name;
+					std::string componentVersion;
 				};
 
 

+ 3 - 0
ecs/include/alibabacloud/ecs/model/DescribeImagePipelinesResult.h

@@ -45,7 +45,9 @@ namespace AlibabaCloud
 					int systemDiskSize;
 					std::string imagePipelineId;
 					std::string vSwitchId;
+					std::string imageFamily;
 					std::vector<std::string> toRegionIds;
+					std::string repairMode;
 					std::string name;
 					bool deleteInstanceOnFailure;
 					std::string imageName;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
 					int internetMaxBandwidthOut;
 					std::string creationTime;
 					std::string instanceType;
+					std::string testContent;
 					std::vector<ImagePipelineSet::Tag> tags;
 					std::string baseImage;
 					std::string buildContent;

+ 3 - 0
ecs/include/alibabacloud/ecs/model/DescribeLaunchTemplateVersionsResult.h

@@ -67,6 +67,7 @@ namespace AlibabaCloud
 							std::string value;
 							std::string key;
 						};
+						int httpPutResponseHopLimit;
 						std::vector<DataDisk> dataDisks;
 						std::string resourceGroupId;
 						std::string systemDiskDescription;
@@ -81,6 +82,7 @@ namespace AlibabaCloud
 						std::string vSwitchId;
 						int period;
 						bool deletionProtection;
+						std::string httpEndpoint;
 						std::vector<std::string> securityGroupIds;
 						std::string internetChargeType;
 						std::string deploymentSetId;
@@ -116,6 +118,7 @@ namespace AlibabaCloud
 						std::string systemDiskCategory;
 						bool systemDiskBurstingEnabled;
 						bool enableVmOsConfig;
+						std::string httpTokens;
 						int internetMaxBandwidthIn;
 						std::string creditSpecification;
 					};

+ 5 - 3
ecs/include/alibabacloud/ecs/model/DescribeSecurityGroupsResult.h

@@ -39,18 +39,20 @@ namespace AlibabaCloud
 						std::string tagKey;
 						std::string tagValue;
 					};
+					int ruleCount;
 					int ecsCount;
 					std::string description;
 					std::string securityGroupName;
-					std::string vpcId;
 					std::string resourceGroupId;
 					bool serviceManaged;
 					std::string securityGroupId;
 					std::string securityGroupType;
-					std::string creationTime;
-					std::vector<SecurityGroup::Tag> tags;
 					int availableInstanceAmount;
 					long serviceID;
+					std::string vpcId;
+					int groupToGroupRuleCount;
+					std::string creationTime;
+					std::vector<SecurityGroup::Tag> tags;
 				};
 
 

+ 0 - 60
ecs/include/alibabacloud/ecs/model/EipFillParamsRequest.h

@@ -1,60 +0,0 @@
-/*
- * 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_EIPFILLPARAMSREQUEST_H_
-#define ALIBABACLOUD_ECS_MODEL_EIPFILLPARAMSREQUEST_H_
-
-#include <alibabacloud/ecs/EcsExport.h>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <string>
-#include <vector>
-#include <map>
-
-namespace AlibabaCloud {
-namespace Ecs {
-namespace Model {
-class ALIBABACLOUD_ECS_EXPORT EipFillParamsRequest : public RpcServiceRequest {
-public:
-	EipFillParamsRequest();
-	~EipFillParamsRequest();
-	long getResourceOwnerId() const;
-	void setResourceOwnerId(long resourceOwnerId);
-	std::string getData() const;
-	void setData(const std::string &data);
-	std::string getClientToken() const;
-	void setClientToken(const std::string &clientToken);
-	std::string getUserCidr() const;
-	void setUserCidr(const std::string &userCidr);
-	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 data_;
-	std::string clientToken_;
-	std::string userCidr_;
-	std::string resourceOwnerAccount_;
-	std::string ownerAccount_;
-	long ownerId_;
-};
-} // namespace Model
-} // namespace Ecs
-} // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_ECS_MODEL_EIPFILLPARAMSREQUEST_H_

+ 0 - 59
ecs/include/alibabacloud/ecs/model/EipFillParamsResult.h

@@ -1,59 +0,0 @@
-/*
- * 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_EIPFILLPARAMSRESULT_H_
-#define ALIBABACLOUD_ECS_MODEL_EIPFILLPARAMSRESULT_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 EipFillParamsResult : public ServiceResult
-			{
-			public:
-
-
-				EipFillParamsResult();
-				explicit EipFillParamsResult(const std::string &payload);
-				~EipFillParamsResult();
-				std::string getMessage()const;
-				std::string getRequestId()const;
-				std::string getData()const;
-				std::string getCode()const;
-				bool getSuccess()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				std::string message_;
-				std::string requestId_;
-				std::string data_;
-				std::string code_;
-				bool success_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ECS_MODEL_EIPFILLPARAMSRESULT_H_

+ 0 - 60
ecs/include/alibabacloud/ecs/model/EipFillProductRequest.h

@@ -1,60 +0,0 @@
-/*
- * 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_EIPFILLPRODUCTREQUEST_H_
-#define ALIBABACLOUD_ECS_MODEL_EIPFILLPRODUCTREQUEST_H_
-
-#include <alibabacloud/ecs/EcsExport.h>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <string>
-#include <vector>
-#include <map>
-
-namespace AlibabaCloud {
-namespace Ecs {
-namespace Model {
-class ALIBABACLOUD_ECS_EXPORT EipFillProductRequest : public RpcServiceRequest {
-public:
-	EipFillProductRequest();
-	~EipFillProductRequest();
-	long getResourceOwnerId() const;
-	void setResourceOwnerId(long resourceOwnerId);
-	std::string getData() const;
-	void setData(const std::string &data);
-	std::string getClientToken() const;
-	void setClientToken(const std::string &clientToken);
-	std::string getUserCidr() const;
-	void setUserCidr(const std::string &userCidr);
-	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 data_;
-	std::string clientToken_;
-	std::string userCidr_;
-	std::string resourceOwnerAccount_;
-	std::string ownerAccount_;
-	long ownerId_;
-};
-} // namespace Model
-} // namespace Ecs
-} // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_ECS_MODEL_EIPFILLPRODUCTREQUEST_H_

+ 0 - 59
ecs/include/alibabacloud/ecs/model/EipFillProductResult.h

@@ -1,59 +0,0 @@
-/*
- * 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_EIPFILLPRODUCTRESULT_H_
-#define ALIBABACLOUD_ECS_MODEL_EIPFILLPRODUCTRESULT_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 EipFillProductResult : public ServiceResult
-			{
-			public:
-
-
-				EipFillProductResult();
-				explicit EipFillProductResult(const std::string &payload);
-				~EipFillProductResult();
-				std::string getMessage()const;
-				std::string getRequestId()const;
-				std::string getData()const;
-				std::string getCode()const;
-				bool getSuccess()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				std::string message_;
-				std::string requestId_;
-				std::string data_;
-				std::string code_;
-				bool success_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ECS_MODEL_EIPFILLPRODUCTRESULT_H_

+ 0 - 60
ecs/include/alibabacloud/ecs/model/EipNotifyPaidRequest.h

@@ -1,60 +0,0 @@
-/*
- * 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_EIPNOTIFYPAIDREQUEST_H_
-#define ALIBABACLOUD_ECS_MODEL_EIPNOTIFYPAIDREQUEST_H_
-
-#include <alibabacloud/ecs/EcsExport.h>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <string>
-#include <vector>
-#include <map>
-
-namespace AlibabaCloud {
-namespace Ecs {
-namespace Model {
-class ALIBABACLOUD_ECS_EXPORT EipNotifyPaidRequest : public RpcServiceRequest {
-public:
-	EipNotifyPaidRequest();
-	~EipNotifyPaidRequest();
-	long getResourceOwnerId() const;
-	void setResourceOwnerId(long resourceOwnerId);
-	std::string getData() const;
-	void setData(const std::string &data);
-	std::string getClientToken() const;
-	void setClientToken(const std::string &clientToken);
-	std::string getUserCidr() const;
-	void setUserCidr(const std::string &userCidr);
-	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 data_;
-	std::string clientToken_;
-	std::string userCidr_;
-	std::string resourceOwnerAccount_;
-	std::string ownerAccount_;
-	long ownerId_;
-};
-} // namespace Model
-} // namespace Ecs
-} // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_ECS_MODEL_EIPNOTIFYPAIDREQUEST_H_

+ 9 - 0
ecs/include/alibabacloud/ecs/model/ImportImageRequest.h

@@ -36,6 +36,9 @@ public:
 		std::string oSSObject;
 		int diskImageSize;
 	};
+	struct Features {
+		std::string nvmeSupport;
+	};
 	struct Tag {
 		std::string value;
 		std::string key;
@@ -52,6 +55,8 @@ public:
 	void setPlatform(const std::string &platform);
 	std::string getResourceGroupId() const;
 	void setResourceGroupId(const std::string &resourceGroupId);
+	Features getFeatures() const;
+	void setFeatures(const Features &features);
 	std::string getBootMode() const;
 	void setBootMode(const std::string &bootMode);
 	std::string getRegionId() const;
@@ -68,6 +73,8 @@ public:
 	void setLicenseType(const std::string &licenseType);
 	std::string getDetectionStrategy() const;
 	void setDetectionStrategy(const std::string &detectionStrategy);
+	bool getDryRun() const;
+	void setDryRun(bool dryRun);
 	std::string getResourceOwnerAccount() const;
 	void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
 	std::string getRoleName() const;
@@ -83,6 +90,7 @@ private:
 	std::string description_;
 	std::string platform_;
 	std::string resourceGroupId_;
+	Features features_;
 	std::string bootMode_;
 	std::string regionId_;
 	std::string imageName_;
@@ -91,6 +99,7 @@ private:
 	std::string architecture_;
 	std::string licenseType_;
 	std::string detectionStrategy_;
+	bool dryRun_;
 	std::string resourceOwnerAccount_;
 	std::string roleName_;
 	std::string oSType_;

+ 6 - 0
ecs/include/alibabacloud/ecs/model/ModifyElasticityAssuranceRequest.h

@@ -32,6 +32,8 @@ public:
 	~ModifyElasticityAssuranceRequest();
 	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 getRegionId() const;
@@ -48,9 +50,12 @@ public:
 	void setOwnerId(long ownerId);
 	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 regionId_;
 	std::string privatePoolOptionsId_;
@@ -59,6 +64,7 @@ private:
 	std::string ownerAccount_;
 	long ownerId_;
 	std::string packageType_;
+	int instanceAmount_;
 };
 } // namespace Model
 } // namespace Ecs

+ 81 - 0
ecs/include/alibabacloud/ecs/model/PurchaseElasticityAssuranceRequest.h

@@ -0,0 +1,81 @@
+/*
+ * 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_PURCHASEELASTICITYASSURANCEREQUEST_H_
+#define ALIBABACLOUD_ECS_MODEL_PURCHASEELASTICITYASSURANCEREQUEST_H_
+
+#include <alibabacloud/ecs/EcsExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Ecs {
+namespace Model {
+class ALIBABACLOUD_ECS_EXPORT PurchaseElasticityAssuranceRequest : public RpcServiceRequest {
+public:
+	PurchaseElasticityAssuranceRequest();
+	~PurchaseElasticityAssuranceRequest();
+	long getResourceOwnerId() const;
+	void setResourceOwnerId(long resourceOwnerId);
+	std::string getClientToken() const;
+	void setClientToken(const std::string &clientToken);
+	std::string getStartTime() const;
+	void setStartTime(const std::string &startTime);
+	std::string getPrivatePoolOptionsMatchCriteria() const;
+	void setPrivatePoolOptionsMatchCriteria(const std::string &privatePoolOptionsMatchCriteria);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string getInstanceChargeType() const;
+	void setInstanceChargeType(const std::string &instanceChargeType);
+	std::string getPrivatePoolOptionsId() const;
+	void setPrivatePoolOptionsId(const std::string &privatePoolOptionsId);
+	int getPeriod() const;
+	void setPeriod(int period);
+	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 getResourceType() const;
+	void setResourceType(const std::string &resourceType);
+	std::string getPeriodUnit() const;
+	void setPeriodUnit(const std::string &periodUnit);
+	std::string getPackageType() const;
+	void setPackageType(const std::string &packageType);
+
+private:
+	long resourceOwnerId_;
+	std::string clientToken_;
+	std::string startTime_;
+	std::string privatePoolOptionsMatchCriteria_;
+	std::string regionId_;
+	std::string instanceChargeType_;
+	std::string privatePoolOptionsId_;
+	int period_;
+	std::string resourceOwnerAccount_;
+	std::string ownerAccount_;
+	long ownerId_;
+	std::string resourceType_;
+	std::string periodUnit_;
+	std::string packageType_;
+};
+} // namespace Model
+} // namespace Ecs
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_ECS_MODEL_PURCHASEELASTICITYASSURANCEREQUEST_H_

+ 7 - 17
ecs/include/alibabacloud/ecs/model/EipNotifyPaidResult.h → ecs/include/alibabacloud/ecs/model/PurchaseElasticityAssuranceResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_ECS_MODEL_EIPNOTIFYPAIDRESULT_H_
-#define ALIBABACLOUD_ECS_MODEL_EIPNOTIFYPAIDRESULT_H_
+#ifndef ALIBABACLOUD_ECS_MODEL_PURCHASEELASTICITYASSURANCERESULT_H_
+#define ALIBABACLOUD_ECS_MODEL_PURCHASEELASTICITYASSURANCERESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,31 +29,21 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_ECS_EXPORT EipNotifyPaidResult : public ServiceResult
+			class ALIBABACLOUD_ECS_EXPORT PurchaseElasticityAssuranceResult : public ServiceResult
 			{
 			public:
 
 
-				EipNotifyPaidResult();
-				explicit EipNotifyPaidResult(const std::string &payload);
-				~EipNotifyPaidResult();
-				std::string getMessage()const;
-				std::string getRequestId()const;
-				std::string getData()const;
-				std::string getCode()const;
-				bool getSuccess()const;
+				PurchaseElasticityAssuranceResult();
+				explicit PurchaseElasticityAssuranceResult(const std::string &payload);
+				~PurchaseElasticityAssuranceResult();
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				std::string message_;
-				std::string requestId_;
-				std::string data_;
-				std::string code_;
-				bool success_;
 
 			};
 		}
 	}
 }
-#endif // !ALIBABACLOUD_ECS_MODEL_EIPNOTIFYPAIDRESULT_H_
+#endif // !ALIBABACLOUD_ECS_MODEL_PURCHASEELASTICITYASSURANCERESULT_H_

+ 3 - 0
ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h

@@ -233,6 +233,8 @@ public:
 	void setInstanceName(const std::string &instanceName);
 	std::string getZoneId() const;
 	void setZoneId(const std::string &zoneId);
+	std::vector<std::string> getCpuOptionsAccelerators() const;
+	void setCpuOptionsAccelerators(const std::vector<std::string> &cpuOptionsAccelerators);
 	std::vector<std::string> getIpv6Address() const;
 	void setIpv6Address(const std::vector<std::string> &ipv6Address);
 	std::string getSecurityOptionsConfidentialComputingMode() const;
@@ -356,6 +358,7 @@ private:
 	std::string vSwitchId_;
 	std::string instanceName_;
 	std::string zoneId_;
+	std::vector<std::string> cpuOptionsAccelerators_;
 	std::vector<std::string> ipv6Address_;
 	std::string securityOptionsConfidentialComputingMode_;
 	std::string clientToken_;

+ 36 - 108
ecs/src/EcsClient.cc

@@ -8331,114 +8331,6 @@ EcsClient::DisableDiskEncryptionByDefaultOutcomeCallable EcsClient::disableDiskE
 	return task->get_future();
 }
 
-EcsClient::EipFillParamsOutcome EcsClient::eipFillParams(const EipFillParamsRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return EipFillParamsOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return EipFillParamsOutcome(EipFillParamsResult(outcome.result()));
-	else
-		return EipFillParamsOutcome(outcome.error());
-}
-
-void EcsClient::eipFillParamsAsync(const EipFillParamsRequest& request, const EipFillParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, eipFillParams(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-EcsClient::EipFillParamsOutcomeCallable EcsClient::eipFillParamsCallable(const EipFillParamsRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<EipFillParamsOutcome()>>(
-			[this, request]()
-			{
-			return this->eipFillParams(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-EcsClient::EipFillProductOutcome EcsClient::eipFillProduct(const EipFillProductRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return EipFillProductOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return EipFillProductOutcome(EipFillProductResult(outcome.result()));
-	else
-		return EipFillProductOutcome(outcome.error());
-}
-
-void EcsClient::eipFillProductAsync(const EipFillProductRequest& request, const EipFillProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, eipFillProduct(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-EcsClient::EipFillProductOutcomeCallable EcsClient::eipFillProductCallable(const EipFillProductRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<EipFillProductOutcome()>>(
-			[this, request]()
-			{
-			return this->eipFillProduct(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-EcsClient::EipNotifyPaidOutcome EcsClient::eipNotifyPaid(const EipNotifyPaidRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return EipNotifyPaidOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return EipNotifyPaidOutcome(EipNotifyPaidResult(outcome.result()));
-	else
-		return EipNotifyPaidOutcome(outcome.error());
-}
-
-void EcsClient::eipNotifyPaidAsync(const EipNotifyPaidRequest& request, const EipNotifyPaidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, eipNotifyPaid(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-EcsClient::EipNotifyPaidOutcomeCallable EcsClient::eipNotifyPaidCallable(const EipNotifyPaidRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<EipNotifyPaidOutcome()>>(
-			[this, request]()
-			{
-			return this->eipNotifyPaid(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 EcsClient::EnableDiskEncryptionByDefaultOutcome EcsClient::enableDiskEncryptionByDefault(const EnableDiskEncryptionByDefaultRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -11319,6 +11211,42 @@ EcsClient::ModifyVpcAttributeOutcomeCallable EcsClient::modifyVpcAttributeCallab
 	return task->get_future();
 }
 
+EcsClient::PurchaseElasticityAssuranceOutcome EcsClient::purchaseElasticityAssurance(const PurchaseElasticityAssuranceRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return PurchaseElasticityAssuranceOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return PurchaseElasticityAssuranceOutcome(PurchaseElasticityAssuranceResult(outcome.result()));
+	else
+		return PurchaseElasticityAssuranceOutcome(outcome.error());
+}
+
+void EcsClient::purchaseElasticityAssuranceAsync(const PurchaseElasticityAssuranceRequest& request, const PurchaseElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, purchaseElasticityAssurance(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+EcsClient::PurchaseElasticityAssuranceOutcomeCallable EcsClient::purchaseElasticityAssuranceCallable(const PurchaseElasticityAssuranceRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<PurchaseElasticityAssuranceOutcome()>>(
+			[this, request]()
+			{
+			return this->purchaseElasticityAssurance(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 EcsClient::PurchaseReservedInstancesOfferingOutcome EcsClient::purchaseReservedInstancesOffering(const PurchaseReservedInstancesOfferingRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 12 - 0
ecs/src/model/CreateAutoProvisioningGroupRequest.cc

@@ -422,6 +422,18 @@ void CreateAutoProvisioningGroupRequest::setSpotAllocationStrategy(const std::st
   setParameter(std::string("SpotAllocationStrategy"), spotAllocationStrategy);
 }
 
+CreateAutoProvisioningGroupRequest::ResourcePoolOptions CreateAutoProvisioningGroupRequest::getResourcePoolOptions() const {
+  return resourcePoolOptions_;
+}
+
+void CreateAutoProvisioningGroupRequest::setResourcePoolOptions(const CreateAutoProvisioningGroupRequest::ResourcePoolOptions &resourcePoolOptions) {
+  resourcePoolOptions_ = resourcePoolOptions;
+  setParameter(std::string("ResourcePoolOptions") + ".Strategy", resourcePoolOptions.strategy);
+  for(int dep1 = 0; dep1 != resourcePoolOptions.privatePoolIds.size(); dep1++) {
+    setParameter(std::string("ResourcePoolOptions") + ".PrivatePoolIds." + std::to_string(dep1 + 1), resourcePoolOptions.privatePoolIds[dep1]);
+  }
+}
+
 std::string CreateAutoProvisioningGroupRequest::getRegionId() const {
   return regionId_;
 }

+ 9 - 0
ecs/src/model/CreateImageComponentRequest.cc

@@ -61,6 +61,15 @@ void CreateImageComponentRequest::setSystemType(const std::string &systemType) {
   setParameter(std::string("SystemType"), systemType);
 }
 
+std::string CreateImageComponentRequest::getComponentVersion() const {
+  return componentVersion_;
+}
+
+void CreateImageComponentRequest::setComponentVersion(const std::string &componentVersion) {
+  componentVersion_ = componentVersion;
+  setParameter(std::string("ComponentVersion"), componentVersion);
+}
+
 std::string CreateImageComponentRequest::getContent() const {
   return content_;
 }

+ 27 - 0
ecs/src/model/CreateImagePipelineRequest.cc

@@ -155,6 +155,15 @@ void CreateImagePipelineRequest::setOwnerAccount(const std::string &ownerAccount
   setParameter(std::string("OwnerAccount"), ownerAccount);
 }
 
+std::string CreateImagePipelineRequest::getRepairMode() const {
+  return repairMode_;
+}
+
+void CreateImagePipelineRequest::setRepairMode(const std::string &repairMode) {
+  repairMode_ = repairMode;
+  setParameter(std::string("RepairMode"), repairMode);
+}
+
 long CreateImagePipelineRequest::getOwnerId() const {
   return ownerId_;
 }
@@ -208,6 +217,15 @@ void CreateImagePipelineRequest::setName(const std::string &name) {
   setParameter(std::string("Name"), name);
 }
 
+std::string CreateImagePipelineRequest::getImageFamily() const {
+  return imageFamily_;
+}
+
+void CreateImagePipelineRequest::setImageFamily(const std::string &imageFamily) {
+  imageFamily_ = imageFamily;
+  setParameter(std::string("ImageFamily"), imageFamily);
+}
+
 std::string CreateImagePipelineRequest::getBuildContent() const {
   return buildContent_;
 }
@@ -217,3 +235,12 @@ void CreateImagePipelineRequest::setBuildContent(const std::string &buildContent
   setParameter(std::string("BuildContent"), buildContent);
 }
 
+std::string CreateImagePipelineRequest::getTestContent() const {
+  return testContent_;
+}
+
+void CreateImagePipelineRequest::setTestContent(const std::string &testContent) {
+  testContent_ = testContent;
+  setParameter(std::string("TestContent"), testContent);
+}
+

+ 27 - 0
ecs/src/model/CreateLaunchTemplateRequest.cc

@@ -43,6 +43,15 @@ void CreateLaunchTemplateRequest::setResourceOwnerId(long resourceOwnerId) {
   setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
 }
 
+int CreateLaunchTemplateRequest::getHttpPutResponseHopLimit() const {
+  return httpPutResponseHopLimit_;
+}
+
+void CreateLaunchTemplateRequest::setHttpPutResponseHopLimit(int httpPutResponseHopLimit) {
+  httpPutResponseHopLimit_ = httpPutResponseHopLimit;
+  setParameter(std::string("HttpPutResponseHopLimit"), std::to_string(httpPutResponseHopLimit));
+}
+
 std::string CreateLaunchTemplateRequest::getSecurityEnhancementStrategy() const {
   return securityEnhancementStrategy_;
 }
@@ -404,6 +413,15 @@ void CreateLaunchTemplateRequest::setRegionId(const std::string &regionId) {
   setParameter(std::string("RegionId"), regionId);
 }
 
+std::string CreateLaunchTemplateRequest::getHttpEndpoint() const {
+  return httpEndpoint_;
+}
+
+void CreateLaunchTemplateRequest::setHttpEndpoint(const std::string &httpEndpoint) {
+  httpEndpoint_ = httpEndpoint;
+  setParameter(std::string("HttpEndpoint"), httpEndpoint);
+}
+
 std::string CreateLaunchTemplateRequest::getInstanceType() const {
   return instanceType_;
 }
@@ -581,6 +599,15 @@ void CreateLaunchTemplateRequest::setVpcId(const std::string &vpcId) {
   setParameter(std::string("VpcId"), vpcId);
 }
 
+std::string CreateLaunchTemplateRequest::getHttpTokens() const {
+  return httpTokens_;
+}
+
+void CreateLaunchTemplateRequest::setHttpTokens(const std::string &httpTokens) {
+  httpTokens_ = httpTokens;
+  setParameter(std::string("HttpTokens"), httpTokens);
+}
+
 std::string CreateLaunchTemplateRequest::getSystemDiskDescription() const {
   return systemDiskDescription_;
 }

+ 27 - 0
ecs/src/model/CreateLaunchTemplateVersionRequest.cc

@@ -43,6 +43,15 @@ void CreateLaunchTemplateVersionRequest::setResourceOwnerId(long resourceOwnerId
   setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
 }
 
+int CreateLaunchTemplateVersionRequest::getHttpPutResponseHopLimit() const {
+  return httpPutResponseHopLimit_;
+}
+
+void CreateLaunchTemplateVersionRequest::setHttpPutResponseHopLimit(int httpPutResponseHopLimit) {
+  httpPutResponseHopLimit_ = httpPutResponseHopLimit;
+  setParameter(std::string("HttpPutResponseHopLimit"), std::to_string(httpPutResponseHopLimit));
+}
+
 std::string CreateLaunchTemplateVersionRequest::getSecurityEnhancementStrategy() const {
   return securityEnhancementStrategy_;
 }
@@ -390,6 +399,15 @@ void CreateLaunchTemplateVersionRequest::setRegionId(const std::string &regionId
   setParameter(std::string("RegionId"), regionId);
 }
 
+std::string CreateLaunchTemplateVersionRequest::getHttpEndpoint() const {
+  return httpEndpoint_;
+}
+
+void CreateLaunchTemplateVersionRequest::setHttpEndpoint(const std::string &httpEndpoint) {
+  httpEndpoint_ = httpEndpoint;
+  setParameter(std::string("HttpEndpoint"), httpEndpoint);
+}
+
 std::string CreateLaunchTemplateVersionRequest::getInstanceType() const {
   return instanceType_;
 }
@@ -567,6 +585,15 @@ void CreateLaunchTemplateVersionRequest::setVpcId(const std::string &vpcId) {
   setParameter(std::string("VpcId"), vpcId);
 }
 
+std::string CreateLaunchTemplateVersionRequest::getHttpTokens() const {
+  return httpTokens_;
+}
+
+void CreateLaunchTemplateVersionRequest::setHttpTokens(const std::string &httpTokens) {
+  httpTokens_ = httpTokens;
+  setParameter(std::string("HttpTokens"), httpTokens);
+}
+
 std::string CreateLaunchTemplateVersionRequest::getSystemDiskDescription() const {
   return systemDiskDescription_;
 }

+ 27 - 0
ecs/src/model/DescribeImageComponentsRequest.cc

@@ -34,6 +34,24 @@ void DescribeImageComponentsRequest::setResourceOwnerId(long resourceOwnerId) {
   setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
 }
 
+std::string DescribeImageComponentsRequest::getSystemType() const {
+  return systemType_;
+}
+
+void DescribeImageComponentsRequest::setSystemType(const std::string &systemType) {
+  systemType_ = systemType;
+  setParameter(std::string("SystemType"), systemType);
+}
+
+std::string DescribeImageComponentsRequest::getComponentVersion() const {
+  return componentVersion_;
+}
+
+void DescribeImageComponentsRequest::setComponentVersion(const std::string &componentVersion) {
+  componentVersion_ = componentVersion;
+  setParameter(std::string("ComponentVersion"), componentVersion);
+}
+
 std::vector<std::string> DescribeImageComponentsRequest::getImageComponentId() const {
   return imageComponentId_;
 }
@@ -119,6 +137,15 @@ void DescribeImageComponentsRequest::setOwnerId(long ownerId) {
   setParameter(std::string("OwnerId"), std::to_string(ownerId));
 }
 
+std::string DescribeImageComponentsRequest::getComponentType() const {
+  return componentType_;
+}
+
+void DescribeImageComponentsRequest::setComponentType(const std::string &componentType) {
+  componentType_ = componentType;
+  setParameter(std::string("ComponentType"), componentType);
+}
+
 std::string DescribeImageComponentsRequest::getName() const {
   return name_;
 }

+ 14 - 0
ecs/src/model/DescribeImageComponentsResult.cc

@@ -61,6 +61,8 @@ void DescribeImageComponentsResult::parse(const std::string &payload)
 			imageComponentObject.content = valueImageComponentImageComponentSet["Content"].asString();
 		if(!valueImageComponentImageComponentSet["Owner"].isNull())
 			imageComponentObject.owner = valueImageComponentImageComponentSet["Owner"].asString();
+		if(!valueImageComponentImageComponentSet["ComponentVersion"].isNull())
+			imageComponentObject.componentVersion = valueImageComponentImageComponentSet["ComponentVersion"].asString();
 		auto allTagsNode = valueImageComponentImageComponentSet["Tags"]["Tag"];
 		for (auto valueImageComponentImageComponentSetTagsTag : allTagsNode)
 		{
@@ -71,6 +73,18 @@ void DescribeImageComponentsResult::parse(const std::string &payload)
 				tagsObject.tagKey = valueImageComponentImageComponentSetTagsTag["TagKey"].asString();
 			imageComponentObject.tags.push_back(tagsObject);
 		}
+		auto allParametersNode = valueImageComponentImageComponentSet["Parameters"]["Parameter"];
+		for (auto valueImageComponentImageComponentSetParametersParameter : allParametersNode)
+		{
+			ImageComponentSet::_Parameter parametersObject;
+			if(!valueImageComponentImageComponentSetParametersParameter["Name"].isNull())
+				parametersObject.name = valueImageComponentImageComponentSetParametersParameter["Name"].asString();
+			if(!valueImageComponentImageComponentSetParametersParameter["Type"].isNull())
+				parametersObject.type = valueImageComponentImageComponentSetParametersParameter["Type"].asString();
+			if(!valueImageComponentImageComponentSetParametersParameter["DefaultValue"].isNull())
+				parametersObject.defaultValue = valueImageComponentImageComponentSetParametersParameter["DefaultValue"].asString();
+			imageComponentObject.parameters.push_back(parametersObject);
+		}
 		imageComponent_.push_back(imageComponentObject);
 	}
 	if(!value["NextToken"].isNull())

+ 6 - 0
ecs/src/model/DescribeImagePipelinesResult.cc

@@ -71,6 +71,12 @@ void DescribeImagePipelinesResult::parse(const std::string &payload)
 			imagePipelineObject.name = valueImagePipelineImagePipelineSet["Name"].asString();
 		if(!valueImagePipelineImagePipelineSet["BuildContent"].isNull())
 			imagePipelineObject.buildContent = valueImagePipelineImagePipelineSet["BuildContent"].asString();
+		if(!valueImagePipelineImagePipelineSet["RepairMode"].isNull())
+			imagePipelineObject.repairMode = valueImagePipelineImagePipelineSet["RepairMode"].asString();
+		if(!valueImagePipelineImagePipelineSet["TestContent"].isNull())
+			imagePipelineObject.testContent = valueImagePipelineImagePipelineSet["TestContent"].asString();
+		if(!valueImagePipelineImagePipelineSet["ImageFamily"].isNull())
+			imagePipelineObject.imageFamily = valueImagePipelineImagePipelineSet["ImageFamily"].asString();
 		auto allTagsNode = valueImagePipelineImagePipelineSet["Tags"]["Tag"];
 		for (auto valueImagePipelineImagePipelineSetTagsTag : allTagsNode)
 		{

+ 6 - 0
ecs/src/model/DescribeLaunchTemplateVersionsResult.cc

@@ -154,6 +154,12 @@ void DescribeLaunchTemplateVersionsResult::parse(const std::string &payload)
 			launchTemplateVersionSetsObject.launchTemplateData.autoRenewPeriod = std::stoi(launchTemplateDataNode["AutoRenewPeriod"].asString());
 		if(!launchTemplateDataNode["PeriodUnit"].isNull())
 			launchTemplateVersionSetsObject.launchTemplateData.periodUnit = launchTemplateDataNode["PeriodUnit"].asString();
+		if(!launchTemplateDataNode["HttpEndpoint"].isNull())
+			launchTemplateVersionSetsObject.launchTemplateData.httpEndpoint = launchTemplateDataNode["HttpEndpoint"].asString();
+		if(!launchTemplateDataNode["HttpTokens"].isNull())
+			launchTemplateVersionSetsObject.launchTemplateData.httpTokens = launchTemplateDataNode["HttpTokens"].asString();
+		if(!launchTemplateDataNode["HttpPutResponseHopLimit"].isNull())
+			launchTemplateVersionSetsObject.launchTemplateData.httpPutResponseHopLimit = std::stoi(launchTemplateDataNode["HttpPutResponseHopLimit"].asString());
 		auto allDataDisksNode = launchTemplateDataNode["DataDisks"]["DataDisk"];
 		for (auto launchTemplateDataNodeDataDisksDataDisk : allDataDisksNode)
 		{

+ 4 - 0
ecs/src/model/DescribeSecurityGroupsResult.cc

@@ -65,6 +65,10 @@ void DescribeSecurityGroupsResult::parse(const std::string &payload)
 			securityGroupsObject.serviceManaged = valueSecurityGroupsSecurityGroup["ServiceManaged"].asString() == "true";
 		if(!valueSecurityGroupsSecurityGroup["ServiceID"].isNull())
 			securityGroupsObject.serviceID = std::stol(valueSecurityGroupsSecurityGroup["ServiceID"].asString());
+		if(!valueSecurityGroupsSecurityGroup["RuleCount"].isNull())
+			securityGroupsObject.ruleCount = std::stoi(valueSecurityGroupsSecurityGroup["RuleCount"].asString());
+		if(!valueSecurityGroupsSecurityGroup["GroupToGroupRuleCount"].isNull())
+			securityGroupsObject.groupToGroupRuleCount = std::stoi(valueSecurityGroupsSecurityGroup["GroupToGroupRuleCount"].asString());
 		auto allTagsNode = valueSecurityGroupsSecurityGroup["Tags"]["Tag"];
 		for (auto valueSecurityGroupsSecurityGroupTagsTag : allTagsNode)
 		{

+ 0 - 90
ecs/src/model/EipFillParamsRequest.cc

@@ -1,90 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/ecs/model/EipFillParamsRequest.h>
-
-using AlibabaCloud::Ecs::Model::EipFillParamsRequest;
-
-EipFillParamsRequest::EipFillParamsRequest()
-    : RpcServiceRequest("ecs", "2014-05-26", "EipFillParams") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-EipFillParamsRequest::~EipFillParamsRequest() {}
-
-long EipFillParamsRequest::getResourceOwnerId() const {
-  return resourceOwnerId_;
-}
-
-void EipFillParamsRequest::setResourceOwnerId(long resourceOwnerId) {
-  resourceOwnerId_ = resourceOwnerId;
-  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
-}
-
-std::string EipFillParamsRequest::getData() const {
-  return data_;
-}
-
-void EipFillParamsRequest::setData(const std::string &data) {
-  data_ = data;
-  setParameter(std::string("data"), data);
-}
-
-std::string EipFillParamsRequest::getClientToken() const {
-  return clientToken_;
-}
-
-void EipFillParamsRequest::setClientToken(const std::string &clientToken) {
-  clientToken_ = clientToken;
-  setParameter(std::string("ClientToken"), clientToken);
-}
-
-std::string EipFillParamsRequest::getUserCidr() const {
-  return userCidr_;
-}
-
-void EipFillParamsRequest::setUserCidr(const std::string &userCidr) {
-  userCidr_ = userCidr;
-  setParameter(std::string("UserCidr"), userCidr);
-}
-
-std::string EipFillParamsRequest::getResourceOwnerAccount() const {
-  return resourceOwnerAccount_;
-}
-
-void EipFillParamsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
-  resourceOwnerAccount_ = resourceOwnerAccount;
-  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
-}
-
-std::string EipFillParamsRequest::getOwnerAccount() const {
-  return ownerAccount_;
-}
-
-void EipFillParamsRequest::setOwnerAccount(const std::string &ownerAccount) {
-  ownerAccount_ = ownerAccount;
-  setParameter(std::string("OwnerAccount"), ownerAccount);
-}
-
-long EipFillParamsRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void EipFillParamsRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
-}
-

+ 0 - 79
ecs/src/model/EipFillParamsResult.cc

@@ -1,79 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/ecs/model/EipFillParamsResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ecs;
-using namespace AlibabaCloud::Ecs::Model;
-
-EipFillParamsResult::EipFillParamsResult() :
-	ServiceResult()
-{}
-
-EipFillParamsResult::EipFillParamsResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-EipFillParamsResult::~EipFillParamsResult()
-{}
-
-void EipFillParamsResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["code"].isNull())
-		code_ = value["code"].asString();
-	if(!value["success"].isNull())
-		success_ = value["success"].asString() == "true";
-	if(!value["message"].isNull())
-		message_ = value["message"].asString();
-	if(!value["data"].isNull())
-		data_ = value["data"].asString();
-	if(!value["requestId"].isNull())
-		requestId_ = value["requestId"].asString();
-
-}
-
-std::string EipFillParamsResult::getMessage()const
-{
-	return message_;
-}
-
-std::string EipFillParamsResult::getRequestId()const
-{
-	return requestId_;
-}
-
-std::string EipFillParamsResult::getData()const
-{
-	return data_;
-}
-
-std::string EipFillParamsResult::getCode()const
-{
-	return code_;
-}
-
-bool EipFillParamsResult::getSuccess()const
-{
-	return success_;
-}
-

+ 0 - 90
ecs/src/model/EipFillProductRequest.cc

@@ -1,90 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/ecs/model/EipFillProductRequest.h>
-
-using AlibabaCloud::Ecs::Model::EipFillProductRequest;
-
-EipFillProductRequest::EipFillProductRequest()
-    : RpcServiceRequest("ecs", "2014-05-26", "EipFillProduct") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-EipFillProductRequest::~EipFillProductRequest() {}
-
-long EipFillProductRequest::getResourceOwnerId() const {
-  return resourceOwnerId_;
-}
-
-void EipFillProductRequest::setResourceOwnerId(long resourceOwnerId) {
-  resourceOwnerId_ = resourceOwnerId;
-  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
-}
-
-std::string EipFillProductRequest::getData() const {
-  return data_;
-}
-
-void EipFillProductRequest::setData(const std::string &data) {
-  data_ = data;
-  setParameter(std::string("data"), data);
-}
-
-std::string EipFillProductRequest::getClientToken() const {
-  return clientToken_;
-}
-
-void EipFillProductRequest::setClientToken(const std::string &clientToken) {
-  clientToken_ = clientToken;
-  setParameter(std::string("ClientToken"), clientToken);
-}
-
-std::string EipFillProductRequest::getUserCidr() const {
-  return userCidr_;
-}
-
-void EipFillProductRequest::setUserCidr(const std::string &userCidr) {
-  userCidr_ = userCidr;
-  setParameter(std::string("UserCidr"), userCidr);
-}
-
-std::string EipFillProductRequest::getResourceOwnerAccount() const {
-  return resourceOwnerAccount_;
-}
-
-void EipFillProductRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
-  resourceOwnerAccount_ = resourceOwnerAccount;
-  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
-}
-
-std::string EipFillProductRequest::getOwnerAccount() const {
-  return ownerAccount_;
-}
-
-void EipFillProductRequest::setOwnerAccount(const std::string &ownerAccount) {
-  ownerAccount_ = ownerAccount;
-  setParameter(std::string("OwnerAccount"), ownerAccount);
-}
-
-long EipFillProductRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void EipFillProductRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
-}
-

+ 0 - 79
ecs/src/model/EipFillProductResult.cc

@@ -1,79 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/ecs/model/EipFillProductResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ecs;
-using namespace AlibabaCloud::Ecs::Model;
-
-EipFillProductResult::EipFillProductResult() :
-	ServiceResult()
-{}
-
-EipFillProductResult::EipFillProductResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-EipFillProductResult::~EipFillProductResult()
-{}
-
-void EipFillProductResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["code"].isNull())
-		code_ = value["code"].asString();
-	if(!value["success"].isNull())
-		success_ = value["success"].asString() == "true";
-	if(!value["message"].isNull())
-		message_ = value["message"].asString();
-	if(!value["data"].isNull())
-		data_ = value["data"].asString();
-	if(!value["requestId"].isNull())
-		requestId_ = value["requestId"].asString();
-
-}
-
-std::string EipFillProductResult::getMessage()const
-{
-	return message_;
-}
-
-std::string EipFillProductResult::getRequestId()const
-{
-	return requestId_;
-}
-
-std::string EipFillProductResult::getData()const
-{
-	return data_;
-}
-
-std::string EipFillProductResult::getCode()const
-{
-	return code_;
-}
-
-bool EipFillProductResult::getSuccess()const
-{
-	return success_;
-}
-

+ 0 - 90
ecs/src/model/EipNotifyPaidRequest.cc

@@ -1,90 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/ecs/model/EipNotifyPaidRequest.h>
-
-using AlibabaCloud::Ecs::Model::EipNotifyPaidRequest;
-
-EipNotifyPaidRequest::EipNotifyPaidRequest()
-    : RpcServiceRequest("ecs", "2014-05-26", "EipNotifyPaid") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-EipNotifyPaidRequest::~EipNotifyPaidRequest() {}
-
-long EipNotifyPaidRequest::getResourceOwnerId() const {
-  return resourceOwnerId_;
-}
-
-void EipNotifyPaidRequest::setResourceOwnerId(long resourceOwnerId) {
-  resourceOwnerId_ = resourceOwnerId;
-  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
-}
-
-std::string EipNotifyPaidRequest::getData() const {
-  return data_;
-}
-
-void EipNotifyPaidRequest::setData(const std::string &data) {
-  data_ = data;
-  setParameter(std::string("data"), data);
-}
-
-std::string EipNotifyPaidRequest::getClientToken() const {
-  return clientToken_;
-}
-
-void EipNotifyPaidRequest::setClientToken(const std::string &clientToken) {
-  clientToken_ = clientToken;
-  setParameter(std::string("ClientToken"), clientToken);
-}
-
-std::string EipNotifyPaidRequest::getUserCidr() const {
-  return userCidr_;
-}
-
-void EipNotifyPaidRequest::setUserCidr(const std::string &userCidr) {
-  userCidr_ = userCidr;
-  setParameter(std::string("UserCidr"), userCidr);
-}
-
-std::string EipNotifyPaidRequest::getResourceOwnerAccount() const {
-  return resourceOwnerAccount_;
-}
-
-void EipNotifyPaidRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
-  resourceOwnerAccount_ = resourceOwnerAccount;
-  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
-}
-
-std::string EipNotifyPaidRequest::getOwnerAccount() const {
-  return ownerAccount_;
-}
-
-void EipNotifyPaidRequest::setOwnerAccount(const std::string &ownerAccount) {
-  ownerAccount_ = ownerAccount;
-  setParameter(std::string("OwnerAccount"), ownerAccount);
-}
-
-long EipNotifyPaidRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void EipNotifyPaidRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
-}
-

+ 0 - 79
ecs/src/model/EipNotifyPaidResult.cc

@@ -1,79 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/ecs/model/EipNotifyPaidResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ecs;
-using namespace AlibabaCloud::Ecs::Model;
-
-EipNotifyPaidResult::EipNotifyPaidResult() :
-	ServiceResult()
-{}
-
-EipNotifyPaidResult::EipNotifyPaidResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-EipNotifyPaidResult::~EipNotifyPaidResult()
-{}
-
-void EipNotifyPaidResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["code"].isNull())
-		code_ = value["code"].asString();
-	if(!value["success"].isNull())
-		success_ = value["success"].asString() == "true";
-	if(!value["message"].isNull())
-		message_ = value["message"].asString();
-	if(!value["data"].isNull())
-		data_ = value["data"].asString();
-	if(!value["requestId"].isNull())
-		requestId_ = value["requestId"].asString();
-
-}
-
-std::string EipNotifyPaidResult::getMessage()const
-{
-	return message_;
-}
-
-std::string EipNotifyPaidResult::getRequestId()const
-{
-	return requestId_;
-}
-
-std::string EipNotifyPaidResult::getData()const
-{
-	return data_;
-}
-
-std::string EipNotifyPaidResult::getCode()const
-{
-	return code_;
-}
-
-bool EipNotifyPaidResult::getSuccess()const
-{
-	return success_;
-}
-

+ 18 - 0
ecs/src/model/ImportImageRequest.cc

@@ -79,6 +79,15 @@ void ImportImageRequest::setResourceGroupId(const std::string &resourceGroupId)
   setParameter(std::string("ResourceGroupId"), resourceGroupId);
 }
 
+ImportImageRequest::Features ImportImageRequest::getFeatures() const {
+  return features_;
+}
+
+void ImportImageRequest::setFeatures(const ImportImageRequest::Features &features) {
+  features_ = features;
+  setParameter(std::string("Features") + ".NvmeSupport", features.nvmeSupport);
+}
+
 std::string ImportImageRequest::getBootMode() const {
   return bootMode_;
 }
@@ -156,6 +165,15 @@ void ImportImageRequest::setDetectionStrategy(const std::string &detectionStrate
   setParameter(std::string("DetectionStrategy"), detectionStrategy);
 }
 
+bool ImportImageRequest::getDryRun() const {
+  return dryRun_;
+}
+
+void ImportImageRequest::setDryRun(bool dryRun) {
+  dryRun_ = dryRun;
+  setParameter(std::string("DryRun"), dryRun ? "true" : "false");
+}
+
 std::string ImportImageRequest::getResourceOwnerAccount() const {
   return resourceOwnerAccount_;
 }

+ 18 - 0
ecs/src/model/ModifyElasticityAssuranceRequest.cc

@@ -34,6 +34,15 @@ void ModifyElasticityAssuranceRequest::setResourceOwnerId(long resourceOwnerId)
   setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
 }
 
+std::string ModifyElasticityAssuranceRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void ModifyElasticityAssuranceRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setParameter(std::string("ClientToken"), clientToken);
+}
+
 std::string ModifyElasticityAssuranceRequest::getDescription() const {
   return description_;
 }
@@ -106,3 +115,12 @@ void ModifyElasticityAssuranceRequest::setPackageType(const std::string &package
   setParameter(std::string("PackageType"), packageType);
 }
 
+int ModifyElasticityAssuranceRequest::getInstanceAmount() const {
+  return instanceAmount_;
+}
+
+void ModifyElasticityAssuranceRequest::setInstanceAmount(int instanceAmount) {
+  instanceAmount_ = instanceAmount;
+  setParameter(std::string("InstanceAmount"), std::to_string(instanceAmount));
+}
+

+ 153 - 0
ecs/src/model/PurchaseElasticityAssuranceRequest.cc

@@ -0,0 +1,153 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/ecs/model/PurchaseElasticityAssuranceRequest.h>
+
+using AlibabaCloud::Ecs::Model::PurchaseElasticityAssuranceRequest;
+
+PurchaseElasticityAssuranceRequest::PurchaseElasticityAssuranceRequest()
+    : RpcServiceRequest("ecs", "2014-05-26", "PurchaseElasticityAssurance") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+PurchaseElasticityAssuranceRequest::~PurchaseElasticityAssuranceRequest() {}
+
+long PurchaseElasticityAssuranceRequest::getResourceOwnerId() const {
+  return resourceOwnerId_;
+}
+
+void PurchaseElasticityAssuranceRequest::setResourceOwnerId(long resourceOwnerId) {
+  resourceOwnerId_ = resourceOwnerId;
+  setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
+}
+
+std::string PurchaseElasticityAssuranceRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void PurchaseElasticityAssuranceRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setParameter(std::string("ClientToken"), clientToken);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getStartTime() const {
+  return startTime_;
+}
+
+void PurchaseElasticityAssuranceRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getPrivatePoolOptionsMatchCriteria() const {
+  return privatePoolOptionsMatchCriteria_;
+}
+
+void PurchaseElasticityAssuranceRequest::setPrivatePoolOptionsMatchCriteria(const std::string &privatePoolOptionsMatchCriteria) {
+  privatePoolOptionsMatchCriteria_ = privatePoolOptionsMatchCriteria;
+  setParameter(std::string("PrivatePoolOptions.MatchCriteria"), privatePoolOptionsMatchCriteria);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getRegionId() const {
+  return regionId_;
+}
+
+void PurchaseElasticityAssuranceRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getInstanceChargeType() const {
+  return instanceChargeType_;
+}
+
+void PurchaseElasticityAssuranceRequest::setInstanceChargeType(const std::string &instanceChargeType) {
+  instanceChargeType_ = instanceChargeType;
+  setParameter(std::string("InstanceChargeType"), instanceChargeType);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getPrivatePoolOptionsId() const {
+  return privatePoolOptionsId_;
+}
+
+void PurchaseElasticityAssuranceRequest::setPrivatePoolOptionsId(const std::string &privatePoolOptionsId) {
+  privatePoolOptionsId_ = privatePoolOptionsId;
+  setParameter(std::string("PrivatePoolOptions.Id"), privatePoolOptionsId);
+}
+
+int PurchaseElasticityAssuranceRequest::getPeriod() const {
+  return period_;
+}
+
+void PurchaseElasticityAssuranceRequest::setPeriod(int period) {
+  period_ = period;
+  setParameter(std::string("Period"), std::to_string(period));
+}
+
+std::string PurchaseElasticityAssuranceRequest::getResourceOwnerAccount() const {
+  return resourceOwnerAccount_;
+}
+
+void PurchaseElasticityAssuranceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
+  resourceOwnerAccount_ = resourceOwnerAccount;
+  setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getOwnerAccount() const {
+  return ownerAccount_;
+}
+
+void PurchaseElasticityAssuranceRequest::setOwnerAccount(const std::string &ownerAccount) {
+  ownerAccount_ = ownerAccount;
+  setParameter(std::string("OwnerAccount"), ownerAccount);
+}
+
+long PurchaseElasticityAssuranceRequest::getOwnerId() const {
+  return ownerId_;
+}
+
+void PurchaseElasticityAssuranceRequest::setOwnerId(long ownerId) {
+  ownerId_ = ownerId;
+  setParameter(std::string("OwnerId"), std::to_string(ownerId));
+}
+
+std::string PurchaseElasticityAssuranceRequest::getResourceType() const {
+  return resourceType_;
+}
+
+void PurchaseElasticityAssuranceRequest::setResourceType(const std::string &resourceType) {
+  resourceType_ = resourceType;
+  setParameter(std::string("ResourceType"), resourceType);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getPeriodUnit() const {
+  return periodUnit_;
+}
+
+void PurchaseElasticityAssuranceRequest::setPeriodUnit(const std::string &periodUnit) {
+  periodUnit_ = periodUnit;
+  setParameter(std::string("PeriodUnit"), periodUnit);
+}
+
+std::string PurchaseElasticityAssuranceRequest::getPackageType() const {
+  return packageType_;
+}
+
+void PurchaseElasticityAssuranceRequest::setPackageType(const std::string &packageType) {
+  packageType_ = packageType;
+  setParameter(std::string("PackageType"), packageType);
+}
+

+ 44 - 0
ecs/src/model/PurchaseElasticityAssuranceResult.cc

@@ -0,0 +1,44 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/ecs/model/PurchaseElasticityAssuranceResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Ecs;
+using namespace AlibabaCloud::Ecs::Model;
+
+PurchaseElasticityAssuranceResult::PurchaseElasticityAssuranceResult() :
+	ServiceResult()
+{}
+
+PurchaseElasticityAssuranceResult::PurchaseElasticityAssuranceResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+PurchaseElasticityAssuranceResult::~PurchaseElasticityAssuranceResult()
+{}
+
+void PurchaseElasticityAssuranceResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+
+}
+

+ 8 - 0
ecs/src/model/RunInstancesRequest.cc

@@ -635,6 +635,14 @@ void RunInstancesRequest::setZoneId(const std::string &zoneId) {
   setParameter(std::string("ZoneId"), zoneId);
 }
 
+std::vector<std::string> RunInstancesRequest::getCpuOptionsAccelerators() const {
+  return cpuOptionsAccelerators_;
+}
+
+void RunInstancesRequest::setCpuOptionsAccelerators(const std::vector<std::string> &cpuOptionsAccelerators) {
+  cpuOptionsAccelerators_ = cpuOptionsAccelerators;
+}
+
 std::vector<std::string> RunInstancesRequest::getIpv6Address() const {
   return ipv6Address_;
 }