|
|
@@ -25,6 +25,15 @@ CreateLindormInstanceRequest::CreateLindormInstanceRequest()
|
|
|
|
|
|
CreateLindormInstanceRequest::~CreateLindormInstanceRequest() {}
|
|
|
|
|
|
+std::string CreateLindormInstanceRequest::getArchVersion() const {
|
|
|
+ return archVersion_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setArchVersion(const std::string &archVersion) {
|
|
|
+ archVersion_ = archVersion;
|
|
|
+ setParameter(std::string("ArchVersion"), archVersion);
|
|
|
+}
|
|
|
+
|
|
|
long CreateLindormInstanceRequest::getResourceOwnerId() const {
|
|
|
return resourceOwnerId_;
|
|
|
}
|
|
|
@@ -34,6 +43,123 @@ void CreateLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
|
|
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
|
|
}
|
|
|
|
|
|
+std::string CreateLindormInstanceRequest::getResourceGroupId() const {
|
|
|
+ return resourceGroupId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
|
|
+ resourceGroupId_ = resourceGroupId;
|
|
|
+ setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getLogSpec() const {
|
|
|
+ return logSpec_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setLogSpec(const std::string &logSpec) {
|
|
|
+ logSpec_ = logSpec;
|
|
|
+ setParameter(std::string("LogSpec"), logSpec);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getSecurityToken() const {
|
|
|
+ return securityToken_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
|
|
|
+ securityToken_ = securityToken;
|
|
|
+ setParameter(std::string("SecurityToken"), securityToken);
|
|
|
+}
|
|
|
+
|
|
|
+int CreateLindormInstanceRequest::getTsdbNum() const {
|
|
|
+ return tsdbNum_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setTsdbNum(int tsdbNum) {
|
|
|
+ tsdbNum_ = tsdbNum;
|
|
|
+ setParameter(std::string("TsdbNum"), std::to_string(tsdbNum));
|
|
|
+}
|
|
|
+
|
|
|
+int CreateLindormInstanceRequest::getSolrNum() const {
|
|
|
+ return solrNum_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setSolrNum(int solrNum) {
|
|
|
+ solrNum_ = solrNum;
|
|
|
+ setParameter(std::string("SolrNum"), std::to_string(solrNum));
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getInstanceStorage() const {
|
|
|
+ return instanceStorage_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setInstanceStorage(const std::string &instanceStorage) {
|
|
|
+ instanceStorage_ = instanceStorage;
|
|
|
+ setParameter(std::string("InstanceStorage"), instanceStorage);
|
|
|
+}
|
|
|
+
|
|
|
+long CreateLindormInstanceRequest::getOwnerId() const {
|
|
|
+ return ownerId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setOwnerId(long ownerId) {
|
|
|
+ ownerId_ = ownerId;
|
|
|
+ setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
|
|
+}
|
|
|
+
|
|
|
+int CreateLindormInstanceRequest::getLindormNum() const {
|
|
|
+ return lindormNum_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setLindormNum(int lindormNum) {
|
|
|
+ lindormNum_ = lindormNum;
|
|
|
+ setParameter(std::string("LindormNum"), std::to_string(lindormNum));
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getVSwitchId() const {
|
|
|
+ return vSwitchId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setVSwitchId(const std::string &vSwitchId) {
|
|
|
+ vSwitchId_ = vSwitchId;
|
|
|
+ setParameter(std::string("VSwitchId"), vSwitchId);
|
|
|
+}
|
|
|
+
|
|
|
+int CreateLindormInstanceRequest::getLogSingleStorage() const {
|
|
|
+ return logSingleStorage_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setLogSingleStorage(int logSingleStorage) {
|
|
|
+ logSingleStorage_ = logSingleStorage;
|
|
|
+ setParameter(std::string("LogSingleStorage"), std::to_string(logSingleStorage));
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getZoneId() const {
|
|
|
+ return zoneId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setZoneId(const std::string &zoneId) {
|
|
|
+ zoneId_ = zoneId;
|
|
|
+ setParameter(std::string("ZoneId"), zoneId);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getArbiterZoneId() const {
|
|
|
+ return arbiterZoneId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setArbiterZoneId(const std::string &arbiterZoneId) {
|
|
|
+ arbiterZoneId_ = arbiterZoneId;
|
|
|
+ setParameter(std::string("ArbiterZoneId"), arbiterZoneId);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getPricingCycle() const {
|
|
|
+ return pricingCycle_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setPricingCycle(const std::string &pricingCycle) {
|
|
|
+ pricingCycle_ = pricingCycle;
|
|
|
+ setParameter(std::string("PricingCycle"), pricingCycle);
|
|
|
+}
|
|
|
+
|
|
|
std::string CreateLindormInstanceRequest::getClientToken() const {
|
|
|
return clientToken_;
|
|
|
}
|
|
|
@@ -43,6 +169,15 @@ void CreateLindormInstanceRequest::setClientToken(const std::string &clientToken
|
|
|
setParameter(std::string("ClientToken"), clientToken);
|
|
|
}
|
|
|
|
|
|
+std::string CreateLindormInstanceRequest::getMultiZoneCombination() const {
|
|
|
+ return multiZoneCombination_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setMultiZoneCombination(const std::string &multiZoneCombination) {
|
|
|
+ multiZoneCombination_ = multiZoneCombination;
|
|
|
+ setParameter(std::string("MultiZoneCombination"), multiZoneCombination);
|
|
|
+}
|
|
|
+
|
|
|
std::string CreateLindormInstanceRequest::getTsdbSpec() const {
|
|
|
return tsdbSpec_;
|
|
|
}
|
|
|
@@ -79,24 +214,6 @@ void CreateLindormInstanceRequest::setDuration(const std::string &duration) {
|
|
|
setParameter(std::string("Duration"), duration);
|
|
|
}
|
|
|
|
|
|
-std::string CreateLindormInstanceRequest::getResourceGroupId() const {
|
|
|
- return resourceGroupId_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
|
|
- resourceGroupId_ = resourceGroupId;
|
|
|
- setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
|
|
-}
|
|
|
-
|
|
|
-std::string CreateLindormInstanceRequest::getSecurityToken() const {
|
|
|
- return securityToken_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
|
|
|
- securityToken_ = securityToken;
|
|
|
- setParameter(std::string("SecurityToken"), securityToken);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateLindormInstanceRequest::getRegionId() const {
|
|
|
return regionId_;
|
|
|
}
|
|
|
@@ -106,15 +223,6 @@ void CreateLindormInstanceRequest::setRegionId(const std::string ®ionId) {
|
|
|
setParameter(std::string("RegionId"), regionId);
|
|
|
}
|
|
|
|
|
|
-int CreateLindormInstanceRequest::getTsdbNum() const {
|
|
|
- return tsdbNum_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setTsdbNum(int tsdbNum) {
|
|
|
- tsdbNum_ = tsdbNum;
|
|
|
- setParameter(std::string("TsdbNum"), std::to_string(tsdbNum));
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateLindormInstanceRequest::getDiskCategory() const {
|
|
|
return diskCategory_;
|
|
|
}
|
|
|
@@ -133,15 +241,6 @@ void CreateLindormInstanceRequest::setLindormSpec(const std::string &lindormSpec
|
|
|
setParameter(std::string("LindormSpec"), lindormSpec);
|
|
|
}
|
|
|
|
|
|
-int CreateLindormInstanceRequest::getSolrNum() const {
|
|
|
- return solrNum_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setSolrNum(int solrNum) {
|
|
|
- solrNum_ = solrNum;
|
|
|
- setParameter(std::string("SolrNum"), std::to_string(solrNum));
|
|
|
-}
|
|
|
-
|
|
|
int CreateLindormInstanceRequest::getColdStorage() const {
|
|
|
return coldStorage_;
|
|
|
}
|
|
|
@@ -151,13 +250,22 @@ void CreateLindormInstanceRequest::setColdStorage(int coldStorage) {
|
|
|
setParameter(std::string("ColdStorage"), std::to_string(coldStorage));
|
|
|
}
|
|
|
|
|
|
-std::string CreateLindormInstanceRequest::getInstanceStorage() const {
|
|
|
- return instanceStorage_;
|
|
|
+int CreateLindormInstanceRequest::getLogNum() const {
|
|
|
+ return logNum_;
|
|
|
}
|
|
|
|
|
|
-void CreateLindormInstanceRequest::setInstanceStorage(const std::string &instanceStorage) {
|
|
|
- instanceStorage_ = instanceStorage;
|
|
|
- setParameter(std::string("InstanceStorage"), instanceStorage);
|
|
|
+void CreateLindormInstanceRequest::setLogNum(int logNum) {
|
|
|
+ logNum_ = logNum;
|
|
|
+ setParameter(std::string("LogNum"), std::to_string(logNum));
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getStandbyVSwitchId() const {
|
|
|
+ return standbyVSwitchId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setStandbyVSwitchId(const std::string &standbyVSwitchId) {
|
|
|
+ standbyVSwitchId_ = standbyVSwitchId;
|
|
|
+ setParameter(std::string("StandbyVSwitchId"), standbyVSwitchId);
|
|
|
}
|
|
|
|
|
|
std::string CreateLindormInstanceRequest::getSolrSpec() const {
|
|
|
@@ -169,6 +277,33 @@ void CreateLindormInstanceRequest::setSolrSpec(const std::string &solrSpec) {
|
|
|
setParameter(std::string("SolrSpec"), solrSpec);
|
|
|
}
|
|
|
|
|
|
+std::string CreateLindormInstanceRequest::getLogDiskCategory() const {
|
|
|
+ return logDiskCategory_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setLogDiskCategory(const std::string &logDiskCategory) {
|
|
|
+ logDiskCategory_ = logDiskCategory;
|
|
|
+ setParameter(std::string("LogDiskCategory"), logDiskCategory);
|
|
|
+}
|
|
|
+
|
|
|
+int CreateLindormInstanceRequest::getCoreSingleStorage() const {
|
|
|
+ return coreSingleStorage_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setCoreSingleStorage(int coreSingleStorage) {
|
|
|
+ coreSingleStorage_ = coreSingleStorage;
|
|
|
+ setParameter(std::string("CoreSingleStorage"), std::to_string(coreSingleStorage));
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateLindormInstanceRequest::getStandbyZoneId() const {
|
|
|
+ return standbyZoneId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateLindormInstanceRequest::setStandbyZoneId(const std::string &standbyZoneId) {
|
|
|
+ standbyZoneId_ = standbyZoneId;
|
|
|
+ setParameter(std::string("StandbyZoneId"), standbyZoneId);
|
|
|
+}
|
|
|
+
|
|
|
std::string CreateLindormInstanceRequest::getResourceOwnerAccount() const {
|
|
|
return resourceOwnerAccount_;
|
|
|
}
|
|
|
@@ -205,24 +340,6 @@ void CreateLindormInstanceRequest::setFilestoreNum(int filestoreNum) {
|
|
|
setParameter(std::string("FilestoreNum"), std::to_string(filestoreNum));
|
|
|
}
|
|
|
|
|
|
-long CreateLindormInstanceRequest::getOwnerId() const {
|
|
|
- return ownerId_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setOwnerId(long ownerId) {
|
|
|
- ownerId_ = ownerId;
|
|
|
- setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
|
|
-}
|
|
|
-
|
|
|
-int CreateLindormInstanceRequest::getLindormNum() const {
|
|
|
- return lindormNum_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setLindormNum(int lindormNum) {
|
|
|
- lindormNum_ = lindormNum;
|
|
|
- setParameter(std::string("LindormNum"), std::to_string(lindormNum));
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateLindormInstanceRequest::getCoreSpec() const {
|
|
|
return coreSpec_;
|
|
|
}
|
|
|
@@ -232,15 +349,6 @@ void CreateLindormInstanceRequest::setCoreSpec(const std::string &coreSpec) {
|
|
|
setParameter(std::string("CoreSpec"), coreSpec);
|
|
|
}
|
|
|
|
|
|
-std::string CreateLindormInstanceRequest::getVSwitchId() const {
|
|
|
- return vSwitchId_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setVSwitchId(const std::string &vSwitchId) {
|
|
|
- vSwitchId_ = vSwitchId;
|
|
|
- setParameter(std::string("VSwitchId"), vSwitchId);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateLindormInstanceRequest::getVPCId() const {
|
|
|
return vPCId_;
|
|
|
}
|
|
|
@@ -250,15 +358,6 @@ void CreateLindormInstanceRequest::setVPCId(const std::string &vPCId) {
|
|
|
setParameter(std::string("VPCId"), vPCId);
|
|
|
}
|
|
|
|
|
|
-std::string CreateLindormInstanceRequest::getZoneId() const {
|
|
|
- return zoneId_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateLindormInstanceRequest::setZoneId(const std::string &zoneId) {
|
|
|
- zoneId_ = zoneId;
|
|
|
- setParameter(std::string("ZoneId"), zoneId);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateLindormInstanceRequest::getPayType() const {
|
|
|
return payType_;
|
|
|
}
|
|
|
@@ -268,12 +367,12 @@ void CreateLindormInstanceRequest::setPayType(const std::string &payType) {
|
|
|
setParameter(std::string("PayType"), payType);
|
|
|
}
|
|
|
|
|
|
-std::string CreateLindormInstanceRequest::getPricingCycle() const {
|
|
|
- return pricingCycle_;
|
|
|
+std::string CreateLindormInstanceRequest::getArbiterVSwitchId() const {
|
|
|
+ return arbiterVSwitchId_;
|
|
|
}
|
|
|
|
|
|
-void CreateLindormInstanceRequest::setPricingCycle(const std::string &pricingCycle) {
|
|
|
- pricingCycle_ = pricingCycle;
|
|
|
- setParameter(std::string("PricingCycle"), pricingCycle);
|
|
|
+void CreateLindormInstanceRequest::setArbiterVSwitchId(const std::string &arbiterVSwitchId) {
|
|
|
+ arbiterVSwitchId_ = arbiterVSwitchId;
|
|
|
+ setParameter(std::string("ArbiterVSwitchId"), arbiterVSwitchId);
|
|
|
}
|
|
|
|