Describe tcpOptionAddress.
This commit is contained in:
@@ -54,6 +54,8 @@ public:
|
||||
void setVisible(bool visible);
|
||||
int getIpv6AddressCount() const;
|
||||
void setIpv6AddressCount(int ipv6AddressCount);
|
||||
int getRxQueueSize() const;
|
||||
void setRxQueueSize(int rxQueueSize);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVSwitchId() const;
|
||||
@@ -76,6 +78,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
int getTxQueueSize() const;
|
||||
void setTxQueueSize(int txQueueSize);
|
||||
bool getDeleteOnRelease() const;
|
||||
void setDeleteOnRelease(bool deleteOnRelease);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -104,6 +108,7 @@ private:
|
||||
std::string networkInterfaceName_;
|
||||
bool visible_;
|
||||
int ipv6AddressCount_;
|
||||
int rxQueueSize_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::vector<std::string> privateIpAddress_;
|
||||
@@ -115,6 +120,7 @@ private:
|
||||
int ipv6PrefixCount_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
int txQueueSize_;
|
||||
bool deleteOnRelease_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -54,6 +56,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getActivationId() const;
|
||||
void setActivationId(const std::string &activationId);
|
||||
|
||||
@@ -62,12 +66,14 @@ private:
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceName_;
|
||||
int maxResults_;
|
||||
std::string activationId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -59,6 +59,7 @@ namespace AlibabaCloud
|
||||
~DescribeActivationsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Activation> getActivationList()const;
|
||||
|
||||
@@ -67,6 +68,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
long pageNumber_;
|
||||
std::vector<Activation> activationList_;
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
@@ -54,6 +56,7 @@ public:
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<std::string> autoProvisioningGroupStatus_;
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
TargetCapacitySpecification targetCapacitySpecification;
|
||||
std::string autoProvisioningGroupName;
|
||||
std::string excessCapacityTerminationPolicy;
|
||||
std::string resourceGroupId;
|
||||
PayAsYouGoOptions payAsYouGoOptions;
|
||||
SpotOptions spotOptions;
|
||||
std::string launchTemplateId;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -48,17 +50,21 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getInstanceId() const;
|
||||
void setInstanceId(const std::vector<std::string> &instanceId);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
long pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string oSType_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> instanceId_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace AlibabaCloud
|
||||
~DescribeCloudAssistantStatusResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
std::vector<InstanceCloudAssistantStatus> getInstanceCloudAssistantStatusSet()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
@@ -59,6 +60,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
std::vector<InstanceCloudAssistantStatus> instanceCloudAssistantStatusSet_;
|
||||
long pageNumber_;
|
||||
|
||||
|
||||
@@ -50,6 +50,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProvider() const;
|
||||
void setProvider(const std::string &provider);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getContentEncoding() const;
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
long getPageSize() const;
|
||||
@@ -66,6 +68,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -76,6 +80,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string provider_;
|
||||
std::string nextToken_;
|
||||
std::string contentEncoding_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
@@ -84,6 +89,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string name_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -73,6 +73,7 @@ namespace AlibabaCloud
|
||||
~DescribeCommandsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Command> getCommands()const;
|
||||
|
||||
@@ -81,6 +82,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
long pageNumber_;
|
||||
std::vector<Command> commands_;
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct CpuOptions
|
||||
{
|
||||
std::string topologyType;
|
||||
int threadsPerCore;
|
||||
std::string numa;
|
||||
int coreCount;
|
||||
@@ -150,6 +151,7 @@ namespace AlibabaCloud
|
||||
std::string internetChargeType;
|
||||
std::string deploymentSetId;
|
||||
std::string instanceName;
|
||||
std::string spotInterruptionBehavior;
|
||||
int internetMaxBandwidthOut;
|
||||
std::string serialNumber;
|
||||
std::string oSType;
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getContentEncoding() const;
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
long getPageSize() const;
|
||||
@@ -64,6 +66,8 @@ public:
|
||||
void setInvokeRecordStatus(const std::string &invokeRecordStatus);
|
||||
bool getIncludeHistory() const;
|
||||
void setIncludeHistory(bool includeHistory);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -71,6 +75,7 @@ private:
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::string contentEncoding_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
@@ -81,6 +86,7 @@ private:
|
||||
std::string instanceId_;
|
||||
std::string invokeRecordStatus_;
|
||||
bool includeHistory_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::vector<InvocationResult> invocationResults;
|
||||
long totalCount;
|
||||
long pageSize;
|
||||
std::string nextToken;
|
||||
long pageNumber;
|
||||
};
|
||||
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getContentEncoding() const;
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
std::string getRepeatMode() const;
|
||||
@@ -72,6 +74,8 @@ public:
|
||||
void setCommandType(const std::string &commandType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -81,6 +85,7 @@ private:
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::string contentEncoding_;
|
||||
std::string repeatMode_;
|
||||
long pageSize_;
|
||||
@@ -93,6 +98,7 @@ private:
|
||||
long ownerId_;
|
||||
std::string commandType_;
|
||||
std::string instanceId_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -85,6 +85,7 @@ namespace AlibabaCloud
|
||||
~DescribeInvocationsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
std::vector<Invocation> getInvocations()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
@@ -93,6 +94,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
std::vector<Invocation> invocations_;
|
||||
long pageNumber_;
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setKeyPairFingerPrint(const std::string &keyPairFingerPrint);
|
||||
std::string getKeyPairName() const;
|
||||
void setKeyPairName(const std::string &keyPairName);
|
||||
bool getIncludePublicKey() const;
|
||||
void setIncludePublicKey(bool includePublicKey);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getResourceGroupId() const;
|
||||
@@ -59,6 +61,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string keyPairFingerPrint_;
|
||||
std::string keyPairName_;
|
||||
bool includePublicKey_;
|
||||
int pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string keyPairFingerPrint;
|
||||
std::string keyPairName;
|
||||
std::string resourceGroupId;
|
||||
std::string publicKey;
|
||||
std::string creationTime;
|
||||
std::vector<KeyPair::Tag> tags;
|
||||
};
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -58,6 +60,8 @@ public:
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::vector<std::string> getInstanceId() const;
|
||||
void setInstanceId(const std::vector<std::string> &instanceId);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getInstanceIp() const;
|
||||
void setInstanceIp(const std::string &instanceIp);
|
||||
std::string getActivationId() const;
|
||||
@@ -68,6 +72,7 @@ private:
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -76,6 +81,7 @@ private:
|
||||
long ownerId_;
|
||||
std::string instanceName_;
|
||||
std::vector<std::string> instanceId_;
|
||||
int maxResults_;
|
||||
std::string instanceIp_;
|
||||
std::string activationId_;
|
||||
};
|
||||
|
||||
@@ -64,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::vector<Instance> getInstances()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
@@ -72,6 +73,7 @@ namespace AlibabaCloud
|
||||
std::vector<Instance> instances_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -116,6 +116,7 @@ namespace AlibabaCloud
|
||||
std::string getMacAddress()const;
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
long getServiceID()const;
|
||||
std::string getTcpOptionAddressEnabled()const;
|
||||
std::string getType()const;
|
||||
int getQueuePairNumber()const;
|
||||
int getQueueNumber()const;
|
||||
@@ -150,6 +151,7 @@ namespace AlibabaCloud
|
||||
std::string macAddress_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
long serviceID_;
|
||||
std::string tcpOptionAddressEnabled_;
|
||||
std::string type_;
|
||||
int queuePairNumber_;
|
||||
int queueNumber_;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -60,12 +62,15 @@ public:
|
||||
void setInvocationStatus(const std::string &invocationStatus);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string invokeId_;
|
||||
@@ -75,6 +80,7 @@ private:
|
||||
std::string instanceId_;
|
||||
std::string invocationStatus_;
|
||||
std::string name_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -73,6 +73,7 @@ namespace AlibabaCloud
|
||||
~DescribeSendFileResultsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
std::vector<Invocation> getInvocations()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
@@ -81,6 +82,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
std::vector<Invocation> invocations_;
|
||||
long pageNumber_;
|
||||
|
||||
|
||||
@@ -33,6 +33,10 @@ public:
|
||||
std::string value;
|
||||
std::string scope;
|
||||
};
|
||||
struct ResourceTag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
@@ -61,6 +65,8 @@ public:
|
||||
void setRepeatMode(const std::string &repeatMode);
|
||||
std::string getWindowsPasswordName() const;
|
||||
void setWindowsPasswordName(const std::string &windowsPasswordName);
|
||||
std::vector<ResourceTag> getResourceTag() const;
|
||||
void setResourceTag(const std::vector<ResourceTag> &resourceTag);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
bool getTimed() const;
|
||||
@@ -92,6 +98,7 @@ private:
|
||||
std::string regionId_;
|
||||
std::string repeatMode_;
|
||||
std::string windowsPasswordName_;
|
||||
std::vector<ResourceTag> resourceTag_;
|
||||
std::vector<Tag> tag_;
|
||||
bool timed_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -48,17 +50,21 @@ public:
|
||||
void setInstanceId(const std::vector<std::string> &instanceId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
long pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> instanceId_;
|
||||
std::string name_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::vector<InstancePluginStatus> getInstancePluginStatusSet()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
std::string getNextToken()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
@@ -61,6 +62,7 @@ namespace AlibabaCloud
|
||||
std::vector<InstancePluginStatus> instancePluginStatusSet_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
std::string nextToken_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -50,6 +50,8 @@ public:
|
||||
void setPassword(const std::string &password);
|
||||
std::string getHostName() const;
|
||||
void setHostName(const std::string &hostName);
|
||||
std::string getCpuOptionsTopologyType() const;
|
||||
void setCpuOptionsTopologyType(const std::string &cpuOptionsTopologyType);
|
||||
bool getEnableJumboFrame() const;
|
||||
void setEnableJumboFrame(bool enableJumboFrame);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -78,6 +80,7 @@ private:
|
||||
std::string userData_;
|
||||
std::string password_;
|
||||
std::string hostName_;
|
||||
std::string cpuOptionsTopologyType_;
|
||||
bool enableJumboFrame_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyInstanceNetworkSpecRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct PromotionOptions {
|
||||
std::string couponNo;
|
||||
};
|
||||
ModifyInstanceNetworkSpecRequest();
|
||||
~ModifyInstanceNetworkSpecRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -50,6 +53,8 @@ public:
|
||||
void setEndTime(const std::string &endTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
PromotionOptions getPromotionOptions() const;
|
||||
void setPromotionOptions(const PromotionOptions &promotionOptions);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getNetworkChargeType() const;
|
||||
@@ -70,6 +75,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
PromotionOptions promotionOptions_;
|
||||
std::string instanceId_;
|
||||
std::string networkChargeType_;
|
||||
int internetMaxBandwidthIn_;
|
||||
|
||||
@@ -42,12 +42,16 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNetworkInterfaceName() const;
|
||||
void setNetworkInterfaceName(const std::string &networkInterfaceName);
|
||||
int getTxQueueSize() const;
|
||||
void setTxQueueSize(int txQueueSize);
|
||||
bool getDeleteOnRelease() const;
|
||||
void setDeleteOnRelease(bool deleteOnRelease);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getRxQueueSize() const;
|
||||
void setRxQueueSize(int rxQueueSize);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNetworkInterfaceId() const;
|
||||
@@ -60,9 +64,11 @@ private:
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
std::string networkInterfaceName_;
|
||||
int txQueueSize_;
|
||||
bool deleteOnRelease_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int rxQueueSize_;
|
||||
long ownerId_;
|
||||
std::string networkInterfaceId_;
|
||||
};
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyPrepayInstanceSpecRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct PromotionOptions {
|
||||
std::string couponNo;
|
||||
};
|
||||
struct Disk {
|
||||
std::string performanceLevel;
|
||||
std::string diskId;
|
||||
@@ -67,6 +70,8 @@ public:
|
||||
void setEndTime(const std::string &endTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
PromotionOptions getPromotionOptions() const;
|
||||
void setPromotionOptions(const PromotionOptions &promotionOptions);
|
||||
std::vector<Disk> getDisk() const;
|
||||
void setDisk(const std::vector<Disk> &disk);
|
||||
std::string getInstanceId() const;
|
||||
@@ -89,6 +94,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
PromotionOptions promotionOptions_;
|
||||
std::vector<Disk> disk_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,10 @@ public:
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
struct ResourceTag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
RunCommandRequest();
|
||||
~RunCommandRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -78,6 +82,8 @@ public:
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
std::string getWindowsPasswordName() const;
|
||||
void setWindowsPasswordName(const std::string &windowsPasswordName);
|
||||
std::vector<ResourceTag> getResourceTag() const;
|
||||
void setResourceTag(const std::vector<ResourceTag> &resourceTag);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -110,6 +116,7 @@ private:
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
std::string windowsPasswordName_;
|
||||
std::vector<ResourceTag> resourceTag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
bool enableParameter_;
|
||||
|
||||
@@ -70,6 +70,8 @@ public:
|
||||
int networkCardIndex;
|
||||
bool deleteOnRelease;
|
||||
std::string networkInterfaceId;
|
||||
int rxQueueSize;
|
||||
int txQueueSize;
|
||||
};
|
||||
struct DataDisk {
|
||||
std::string performanceLevel;
|
||||
@@ -192,6 +194,8 @@ public:
|
||||
void setKeyPairName(const std::string &keyPairName);
|
||||
float getSpotPriceLimit() const;
|
||||
void setSpotPriceLimit(float spotPriceLimit);
|
||||
std::string getCpuOptionsTopologyType() const;
|
||||
void setCpuOptionsTopologyType(const std::string &cpuOptionsTopologyType);
|
||||
int getStorageSetPartitionNumber() const;
|
||||
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -323,6 +327,7 @@ private:
|
||||
std::string isp_;
|
||||
std::string keyPairName_;
|
||||
float spotPriceLimit_;
|
||||
std::string cpuOptionsTopologyType_;
|
||||
int storageSetPartitionNumber_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string privatePoolOptionsId_;
|
||||
|
||||
@@ -119,6 +119,15 @@ void CreateNetworkInterfaceRequest::setIpv6AddressCount(int ipv6AddressCount) {
|
||||
setParameter(std::string("Ipv6AddressCount"), std::to_string(ipv6AddressCount));
|
||||
}
|
||||
|
||||
int CreateNetworkInterfaceRequest::getRxQueueSize() const {
|
||||
return rxQueueSize_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setRxQueueSize(int rxQueueSize) {
|
||||
rxQueueSize_ = rxQueueSize;
|
||||
setParameter(std::string("RxQueueSize"), std::to_string(rxQueueSize));
|
||||
}
|
||||
|
||||
long CreateNetworkInterfaceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -215,6 +224,15 @@ void CreateNetworkInterfaceRequest::setInstanceType(const std::string &instanceT
|
||||
setParameter(std::string("InstanceType"), instanceType);
|
||||
}
|
||||
|
||||
int CreateNetworkInterfaceRequest::getTxQueueSize() const {
|
||||
return txQueueSize_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTxQueueSize(int txQueueSize) {
|
||||
txQueueSize_ = txQueueSize;
|
||||
setParameter(std::string("TxQueueSize"), std::to_string(txQueueSize));
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getDeleteOnRelease() const {
|
||||
return deleteOnRelease_;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,15 @@ void DescribeActivationsRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeActivationsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeActivationsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
long DescribeActivationsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -120,6 +129,15 @@ void DescribeActivationsRequest::setInstanceName(const std::string &instanceName
|
||||
setParameter(std::string("InstanceName"), instanceName);
|
||||
}
|
||||
|
||||
int DescribeActivationsRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeActivationsRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
std::string DescribeActivationsRequest::getActivationId() const {
|
||||
return activationId_;
|
||||
}
|
||||
|
||||
@@ -83,6 +83,8 @@ void DescribeActivationsResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -96,6 +98,11 @@ long DescribeActivationsResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
long DescribeActivationsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -43,6 +43,15 @@ void DescribeAutoProvisioningGroupsRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeAutoProvisioningGroupsRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeAutoProvisioningGroupsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeAutoProvisioningGroupsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,8 @@ void DescribeAutoProvisioningGroupsResult::parse(const std::string &payload)
|
||||
autoProvisioningGroupsObject.autoProvisioningGroupId = valueAutoProvisioningGroupsAutoProvisioningGroup["AutoProvisioningGroupId"].asString();
|
||||
if(!valueAutoProvisioningGroupsAutoProvisioningGroup["ExcessCapacityTerminationPolicy"].isNull())
|
||||
autoProvisioningGroupsObject.excessCapacityTerminationPolicy = valueAutoProvisioningGroupsAutoProvisioningGroup["ExcessCapacityTerminationPolicy"].asString();
|
||||
if(!valueAutoProvisioningGroupsAutoProvisioningGroup["ResourceGroupId"].isNull())
|
||||
autoProvisioningGroupsObject.resourceGroupId = valueAutoProvisioningGroupsAutoProvisioningGroup["ResourceGroupId"].asString();
|
||||
auto allLaunchTemplateConfigsNode = valueAutoProvisioningGroupsAutoProvisioningGroup["LaunchTemplateConfigs"]["LaunchTemplateConfig"];
|
||||
for (auto valueAutoProvisioningGroupsAutoProvisioningGroupLaunchTemplateConfigsLaunchTemplateConfig : allLaunchTemplateConfigsNode)
|
||||
{
|
||||
|
||||
@@ -52,6 +52,15 @@ void DescribeCloudAssistantStatusRequest::setRegionId(const std::string ®ionI
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeCloudAssistantStatusRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeCloudAssistantStatusRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
long DescribeCloudAssistantStatusRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -105,3 +114,12 @@ void DescribeCloudAssistantStatusRequest::setInstanceId(const std::vector<std::s
|
||||
instanceId_ = instanceId;
|
||||
}
|
||||
|
||||
int DescribeCloudAssistantStatusRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeCloudAssistantStatusRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,8 @@ void DescribeCloudAssistantStatusResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -82,6 +84,11 @@ long DescribeCloudAssistantStatusResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeCloudAssistantStatusResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCloudAssistantStatusResult::InstanceCloudAssistantStatus> DescribeCloudAssistantStatusResult::getInstanceCloudAssistantStatusSet()const
|
||||
{
|
||||
return instanceCloudAssistantStatusSet_;
|
||||
|
||||
@@ -97,6 +97,15 @@ void DescribeCommandsRequest::setProvider(const std::string &provider) {
|
||||
setParameter(std::string("Provider"), provider);
|
||||
}
|
||||
|
||||
std::string DescribeCommandsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeCommandsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string DescribeCommandsRequest::getContentEncoding() const {
|
||||
return contentEncoding_;
|
||||
}
|
||||
@@ -174,3 +183,12 @@ void DescribeCommandsRequest::setName(const std::string &name) {
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
int DescribeCommandsRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeCommandsRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
|
||||
@@ -111,6 +111,8 @@ void DescribeCommandsResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -124,6 +126,11 @@ long DescribeCommandsResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeCommandsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
long DescribeCommandsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -137,6 +137,8 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.instanceTypeFamily = valueInstancesInstance["InstanceTypeFamily"].asString();
|
||||
if(!valueInstancesInstance["OSType"].isNull())
|
||||
instancesObject.oSType = valueInstancesInstance["OSType"].asString();
|
||||
if(!valueInstancesInstance["SpotInterruptionBehavior"].isNull())
|
||||
instancesObject.spotInterruptionBehavior = valueInstancesInstance["SpotInterruptionBehavior"].asString();
|
||||
auto allNetworkInterfacesNode = valueInstancesInstance["NetworkInterfaces"]["NetworkInterface"];
|
||||
for (auto valueInstancesInstanceNetworkInterfacesNetworkInterface : allNetworkInterfacesNode)
|
||||
{
|
||||
@@ -253,6 +255,8 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.cpuOptions.coreCount = std::stoi(cpuOptionsNode["CoreCount"].asString());
|
||||
if(!cpuOptionsNode["ThreadsPerCore"].isNull())
|
||||
instancesObject.cpuOptions.threadsPerCore = std::stoi(cpuOptionsNode["ThreadsPerCore"].asString());
|
||||
if(!cpuOptionsNode["TopologyType"].isNull())
|
||||
instancesObject.cpuOptions.topologyType = cpuOptionsNode["TopologyType"].asString();
|
||||
auto metadataOptionsNode = value["MetadataOptions"];
|
||||
if(!metadataOptionsNode["HttpEndpoint"].isNull())
|
||||
instancesObject.metadataOptions.httpEndpoint = metadataOptionsNode["HttpEndpoint"].asString();
|
||||
|
||||
@@ -70,6 +70,15 @@ void DescribeInvocationResultsRequest::setRegionId(const std::string ®ionId)
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeInvocationResultsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeInvocationResultsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string DescribeInvocationResultsRequest::getContentEncoding() const {
|
||||
return contentEncoding_;
|
||||
}
|
||||
@@ -165,3 +174,12 @@ void DescribeInvocationResultsRequest::setIncludeHistory(bool includeHistory) {
|
||||
setParameter(std::string("IncludeHistory"), includeHistory ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeInvocationResultsRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeInvocationResultsRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,8 @@ void DescribeInvocationResultsResult::parse(const std::string &payload)
|
||||
invocation_.pageNumber = std::stol(invocationNode["PageNumber"].asString());
|
||||
if(!invocationNode["TotalCount"].isNull())
|
||||
invocation_.totalCount = std::stol(invocationNode["TotalCount"].asString());
|
||||
if(!invocationNode["NextToken"].isNull())
|
||||
invocation_.nextToken = invocationNode["NextToken"].asString();
|
||||
auto allInvocationResultsNode = invocationNode["InvocationResults"]["InvocationResult"];
|
||||
for (auto invocationNodeInvocationResultsInvocationResult : allInvocationResultsNode)
|
||||
{
|
||||
|
||||
@@ -88,6 +88,15 @@ void DescribeInvocationsRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeInvocationsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeInvocationsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string DescribeInvocationsRequest::getContentEncoding() const {
|
||||
return contentEncoding_;
|
||||
}
|
||||
@@ -201,3 +210,12 @@ void DescribeInvocationsRequest::setInstanceId(const std::string &instanceId) {
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
int DescribeInvocationsRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeInvocationsRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
|
||||
@@ -133,6 +133,8 @@ void DescribeInvocationsResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -146,6 +148,11 @@ long DescribeInvocationsResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeInvocationsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<DescribeInvocationsResult::Invocation> DescribeInvocationsResult::getInvocations()const
|
||||
{
|
||||
return invocations_;
|
||||
|
||||
@@ -52,6 +52,15 @@ void DescribeKeyPairsRequest::setKeyPairName(const std::string &keyPairName) {
|
||||
setParameter(std::string("KeyPairName"), keyPairName);
|
||||
}
|
||||
|
||||
bool DescribeKeyPairsRequest::getIncludePublicKey() const {
|
||||
return includePublicKey_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setIncludePublicKey(bool includePublicKey) {
|
||||
includePublicKey_ = includePublicKey;
|
||||
setParameter(std::string("IncludePublicKey"), includePublicKey ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeKeyPairsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
@@ -51,6 +51,8 @@ void DescribeKeyPairsResult::parse(const std::string &payload)
|
||||
keyPairsObject.keyPairFingerPrint = valueKeyPairsKeyPair["KeyPairFingerPrint"].asString();
|
||||
if(!valueKeyPairsKeyPair["ResourceGroupId"].isNull())
|
||||
keyPairsObject.resourceGroupId = valueKeyPairsKeyPair["ResourceGroupId"].asString();
|
||||
if(!valueKeyPairsKeyPair["PublicKey"].isNull())
|
||||
keyPairsObject.publicKey = valueKeyPairsKeyPair["PublicKey"].asString();
|
||||
auto allTagsNode = valueKeyPairsKeyPair["Tags"]["Tag"];
|
||||
for (auto valueKeyPairsKeyPairTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -61,6 +61,15 @@ void DescribeManagedInstancesRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeManagedInstancesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeManagedInstancesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
long DescribeManagedInstancesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -137,6 +146,15 @@ void DescribeManagedInstancesRequest::setInstanceId(const std::vector<std::strin
|
||||
instanceId_ = instanceId;
|
||||
}
|
||||
|
||||
int DescribeManagedInstancesRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeManagedInstancesRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
std::string DescribeManagedInstancesRequest::getInstanceIp() const {
|
||||
return instanceIp_;
|
||||
}
|
||||
|
||||
@@ -91,6 +91,8 @@ void DescribeManagedInstancesResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -109,6 +111,11 @@ long DescribeManagedInstancesResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeManagedInstancesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
long DescribeManagedInstancesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -170,6 +170,8 @@ void DescribeNetworkInterfaceAttributeResult::parse(const std::string &payload)
|
||||
queueNumber_ = std::stoi(value["QueueNumber"].asString());
|
||||
if(!value["DeleteOnRelease"].isNull())
|
||||
deleteOnRelease_ = value["DeleteOnRelease"].asString() == "true";
|
||||
if(!value["TcpOptionAddressEnabled"].isNull())
|
||||
tcpOptionAddressEnabled_ = value["TcpOptionAddressEnabled"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -278,6 +280,11 @@ long DescribeNetworkInterfaceAttributeResult::getServiceID()const
|
||||
return serviceID_;
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfaceAttributeResult::getTcpOptionAddressEnabled()const
|
||||
{
|
||||
return tcpOptionAddressEnabled_;
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfaceAttributeResult::getType()const
|
||||
{
|
||||
return type_;
|
||||
|
||||
@@ -61,6 +61,15 @@ void DescribeSendFileResultsRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeSendFileResultsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeSendFileResultsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
long DescribeSendFileResultsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -147,3 +156,12 @@ void DescribeSendFileResultsRequest::setName(const std::string &name) {
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
int DescribeSendFileResultsRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeSendFileResultsRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
|
||||
@@ -109,6 +109,8 @@ void DescribeSendFileResultsResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -122,6 +124,11 @@ long DescribeSendFileResultsResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeSendFileResultsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<DescribeSendFileResultsResult::Invocation> DescribeSendFileResultsResult::getInvocations()const
|
||||
{
|
||||
return invocations_;
|
||||
|
||||
@@ -130,6 +130,20 @@ void InvokeCommandRequest::setWindowsPasswordName(const std::string &windowsPass
|
||||
setParameter(std::string("WindowsPasswordName"), windowsPasswordName);
|
||||
}
|
||||
|
||||
std::vector<InvokeCommandRequest::ResourceTag> InvokeCommandRequest::getResourceTag() const {
|
||||
return resourceTag_;
|
||||
}
|
||||
|
||||
void InvokeCommandRequest::setResourceTag(const std::vector<InvokeCommandRequest::ResourceTag> &resourceTag) {
|
||||
resourceTag_ = resourceTag;
|
||||
for(int dep1 = 0; dep1 != resourceTag.size(); dep1++) {
|
||||
auto resourceTagObj = resourceTag.at(dep1);
|
||||
std::string resourceTagObjStr = std::string("ResourceTag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(resourceTagObjStr + ".Key", resourceTagObj.key);
|
||||
setParameter(resourceTagObjStr + ".Value", resourceTagObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<InvokeCommandRequest::Tag> InvokeCommandRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void ListPluginStatusRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ListPluginStatusRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListPluginStatusRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
long ListPluginStatusRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -105,3 +114,12 @@ void ListPluginStatusRequest::setName(const std::string &name) {
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
int ListPluginStatusRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void ListPluginStatusRequest::setMaxResults(int maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,8 @@ void ListPluginStatusResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -87,6 +89,11 @@ long ListPluginStatusResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string ListPluginStatusResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
long ListPluginStatusResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -97,6 +97,15 @@ void ModifyInstanceAttributeRequest::setHostName(const std::string &hostName) {
|
||||
setParameter(std::string("HostName"), hostName);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceAttributeRequest::getCpuOptionsTopologyType() const {
|
||||
return cpuOptionsTopologyType_;
|
||||
}
|
||||
|
||||
void ModifyInstanceAttributeRequest::setCpuOptionsTopologyType(const std::string &cpuOptionsTopologyType) {
|
||||
cpuOptionsTopologyType_ = cpuOptionsTopologyType;
|
||||
setParameter(std::string("CpuOptions.TopologyType"), cpuOptionsTopologyType);
|
||||
}
|
||||
|
||||
bool ModifyInstanceAttributeRequest::getEnableJumboFrame() const {
|
||||
return enableJumboFrame_;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,15 @@ void ModifyInstanceNetworkSpecRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
ModifyInstanceNetworkSpecRequest::PromotionOptions ModifyInstanceNetworkSpecRequest::getPromotionOptions() const {
|
||||
return promotionOptions_;
|
||||
}
|
||||
|
||||
void ModifyInstanceNetworkSpecRequest::setPromotionOptions(const ModifyInstanceNetworkSpecRequest::PromotionOptions &promotionOptions) {
|
||||
promotionOptions_ = promotionOptions;
|
||||
setParameter(std::string("PromotionOptions") + ".CouponNo", promotionOptions.couponNo);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceNetworkSpecRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
@@ -78,6 +78,15 @@ void ModifyNetworkInterfaceAttributeRequest::setNetworkInterfaceName(const std::
|
||||
setParameter(std::string("NetworkInterfaceName"), networkInterfaceName);
|
||||
}
|
||||
|
||||
int ModifyNetworkInterfaceAttributeRequest::getTxQueueSize() const {
|
||||
return txQueueSize_;
|
||||
}
|
||||
|
||||
void ModifyNetworkInterfaceAttributeRequest::setTxQueueSize(int txQueueSize) {
|
||||
txQueueSize_ = txQueueSize;
|
||||
setParameter(std::string("TxQueueSize"), std::to_string(txQueueSize));
|
||||
}
|
||||
|
||||
bool ModifyNetworkInterfaceAttributeRequest::getDeleteOnRelease() const {
|
||||
return deleteOnRelease_;
|
||||
}
|
||||
@@ -105,6 +114,15 @@ void ModifyNetworkInterfaceAttributeRequest::setOwnerAccount(const std::string &
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
int ModifyNetworkInterfaceAttributeRequest::getRxQueueSize() const {
|
||||
return rxQueueSize_;
|
||||
}
|
||||
|
||||
void ModifyNetworkInterfaceAttributeRequest::setRxQueueSize(int rxQueueSize) {
|
||||
rxQueueSize_ = rxQueueSize;
|
||||
setParameter(std::string("RxQueueSize"), std::to_string(rxQueueSize));
|
||||
}
|
||||
|
||||
long ModifyNetworkInterfaceAttributeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
@@ -169,6 +169,15 @@ void ModifyPrepayInstanceSpecRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
ModifyPrepayInstanceSpecRequest::PromotionOptions ModifyPrepayInstanceSpecRequest::getPromotionOptions() const {
|
||||
return promotionOptions_;
|
||||
}
|
||||
|
||||
void ModifyPrepayInstanceSpecRequest::setPromotionOptions(const ModifyPrepayInstanceSpecRequest::PromotionOptions &promotionOptions) {
|
||||
promotionOptions_ = promotionOptions;
|
||||
setParameter(std::string("PromotionOptions") + ".CouponNo", promotionOptions.couponNo);
|
||||
}
|
||||
|
||||
std::vector<ModifyPrepayInstanceSpecRequest::Disk> ModifyPrepayInstanceSpecRequest::getDisk() const {
|
||||
return disk_;
|
||||
}
|
||||
|
||||
@@ -227,6 +227,20 @@ void RunCommandRequest::setWindowsPasswordName(const std::string &windowsPasswor
|
||||
setParameter(std::string("WindowsPasswordName"), windowsPasswordName);
|
||||
}
|
||||
|
||||
std::vector<RunCommandRequest::ResourceTag> RunCommandRequest::getResourceTag() const {
|
||||
return resourceTag_;
|
||||
}
|
||||
|
||||
void RunCommandRequest::setResourceTag(const std::vector<RunCommandRequest::ResourceTag> &resourceTag) {
|
||||
resourceTag_ = resourceTag;
|
||||
for(int dep1 = 0; dep1 != resourceTag.size(); dep1++) {
|
||||
auto resourceTagObj = resourceTag.at(dep1);
|
||||
std::string resourceTagObjStr = std::string("ResourceTag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(resourceTagObjStr + ".Key", resourceTagObj.key);
|
||||
setParameter(resourceTagObjStr + ".Value", resourceTagObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::string RunCommandRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -500,6 +500,15 @@ void RunInstancesRequest::setSpotPriceLimit(float spotPriceLimit) {
|
||||
setParameter(std::string("SpotPriceLimit"), std::to_string(spotPriceLimit));
|
||||
}
|
||||
|
||||
std::string RunInstancesRequest::getCpuOptionsTopologyType() const {
|
||||
return cpuOptionsTopologyType_;
|
||||
}
|
||||
|
||||
void RunInstancesRequest::setCpuOptionsTopologyType(const std::string &cpuOptionsTopologyType) {
|
||||
cpuOptionsTopologyType_ = cpuOptionsTopologyType;
|
||||
setParameter(std::string("CpuOptions.TopologyType"), cpuOptionsTopologyType);
|
||||
}
|
||||
|
||||
int RunInstancesRequest::getStorageSetPartitionNumber() const {
|
||||
return storageSetPartitionNumber_;
|
||||
}
|
||||
@@ -750,6 +759,8 @@ void RunInstancesRequest::setNetworkInterface(const std::vector<RunInstancesRequ
|
||||
setParameter(networkInterfaceObjStr + ".NetworkCardIndex", std::to_string(networkInterfaceObj.networkCardIndex));
|
||||
setParameter(networkInterfaceObjStr + ".DeleteOnRelease", networkInterfaceObj.deleteOnRelease ? "true" : "false");
|
||||
setParameter(networkInterfaceObjStr + ".NetworkInterfaceId", networkInterfaceObj.networkInterfaceId);
|
||||
setParameter(networkInterfaceObjStr + ".RxQueueSize", std::to_string(networkInterfaceObj.rxQueueSize));
|
||||
setParameter(networkInterfaceObjStr + ".TxQueueSize", std::to_string(networkInterfaceObj.txQueueSize));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user