Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7453673df9 | ||
|
|
d3da09eb38 | ||
|
|
3b52186538 | ||
|
|
9499006f5d | ||
|
|
dd6bc60245 | ||
|
|
9e40693b46 | ||
|
|
9a1d8f666c | ||
|
|
fc583688b3 | ||
|
|
9df24cf9eb | ||
|
|
3e7b519b35 | ||
|
|
31b25aab35 |
33
CHANGELOG
33
CHANGELOG
@@ -1,3 +1,36 @@
|
||||
2020-02-13 Version 1.36.259
|
||||
- Init MQTT SDK .
|
||||
|
||||
2020-02-12 Version 1.36.258
|
||||
- Support to create, describe and expire demo access token.
|
||||
|
||||
2020-02-12 Version 1.36.257
|
||||
- Update Full showStorageTyp.
|
||||
|
||||
2020-02-12 Version 1.36.256
|
||||
- Add Full showStorageTyp.
|
||||
|
||||
2020-02-12 Version 1.36.255
|
||||
- Support mau.
|
||||
|
||||
2020-02-11 Version 1.36.254
|
||||
- Return `VpcInstanceId ` for DescribeDBClusterEndpoints.
|
||||
- Add DescribeBackupLogs.
|
||||
|
||||
2020-02-11 Version 1.36.253
|
||||
- Support ModifyInstanceAttributes for SecurityGroupIds.
|
||||
|
||||
2020-02-11 Version 1.36.252
|
||||
- Update default endpoints.
|
||||
|
||||
2020-02-10 Version 1.36.251
|
||||
- Supported address for GetMediaMeta.
|
||||
|
||||
2020-02-07 Version 1.36.250
|
||||
- Fix bug for DescribeZoneInfo, delete return result of reionId.
|
||||
- Fix bug for DeleteZone, parameter zoneId change to compulsory.
|
||||
- Fix bug for SetProxyPattern, parameter zoneId change to compulsory.
|
||||
|
||||
2020-02-05 Version 1.36.249
|
||||
- Supported GetOfficePreviewURL.
|
||||
- Supported RefreshOfficePreviewToken.
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
bool getShowStorageType()const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
bool getShowStorageType()const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointRegion()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
|
||||
{
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setCoreParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
setParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupGatewayId()const
|
||||
@@ -46,7 +46,7 @@ long ConfigureBackupPlanRequest::getBackupGatewayId()const
|
||||
void ConfigureBackupPlanRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setCoreParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceID()const
|
||||
@@ -57,7 +57,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceID()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
|
||||
{
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setCoreParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
setParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointUserName()const
|
||||
@@ -68,7 +68,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointUserName()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
|
||||
{
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setCoreParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
setParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getClientToken()const
|
||||
@@ -79,7 +79,7 @@ std::string ConfigureBackupPlanRequest::getClientToken()const
|
||||
void ConfigureBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanId()const
|
||||
@@ -90,7 +90,7 @@ std::string ConfigureBackupPlanRequest::getBackupPlanId()const
|
||||
void ConfigureBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointDatabaseName()const
|
||||
@@ -101,7 +101,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointDatabaseName()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
|
||||
{
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setCoreParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
setParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationInfrequentAccessPeriod()const
|
||||
@@ -112,7 +112,7 @@ int ConfigureBackupPlanRequest::getDuplicationInfrequentAccessPeriod()const
|
||||
void ConfigureBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod)
|
||||
{
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setCoreParameter("DuplicationInfrequentAccessPeriod", std::to_string(duplicationInfrequentAccessPeriod));
|
||||
setParameter("DuplicationInfrequentAccessPeriod", std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStartTime()const
|
||||
@@ -123,7 +123,7 @@ std::string ConfigureBackupPlanRequest::getBackupStartTime()const
|
||||
void ConfigureBackupPlanRequest::setBackupStartTime(const std::string& backupStartTime)
|
||||
{
|
||||
backupStartTime_ = backupStartTime;
|
||||
setCoreParameter("BackupStartTime", backupStartTime);
|
||||
setParameter("BackupStartTime", backupStartTime);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointIP()const
|
||||
@@ -134,7 +134,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointIP()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
|
||||
{
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setCoreParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
setParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
}
|
||||
|
||||
bool ConfigureBackupPlanRequest::getEnableBackupLog()const
|
||||
@@ -145,7 +145,7 @@ bool ConfigureBackupPlanRequest::getEnableBackupLog()const
|
||||
void ConfigureBackupPlanRequest::setEnableBackupLog(bool enableBackupLog)
|
||||
{
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setCoreParameter("EnableBackupLog", enableBackupLog ? "true" : "false");
|
||||
setParameter("EnableBackupLog", enableBackupLog ? "true" : "false");
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationArchivePeriod()const
|
||||
@@ -156,7 +156,7 @@ int ConfigureBackupPlanRequest::getDuplicationArchivePeriod()const
|
||||
void ConfigureBackupPlanRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod)
|
||||
{
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setCoreParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
||||
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointPassword()const
|
||||
@@ -167,7 +167,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointPassword()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
|
||||
{
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setCoreParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
setParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupObjects()const
|
||||
@@ -178,7 +178,7 @@ std::string ConfigureBackupPlanRequest::getBackupObjects()const
|
||||
void ConfigureBackupPlanRequest::setBackupObjects(const std::string& backupObjects)
|
||||
{
|
||||
backupObjects_ = backupObjects;
|
||||
setCoreParameter("BackupObjects", backupObjects);
|
||||
setParameter("BackupObjects", backupObjects);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getOwnerId()const
|
||||
@@ -189,7 +189,7 @@ std::string ConfigureBackupPlanRequest::getOwnerId()const
|
||||
void ConfigureBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getSourceEndpointPort()const
|
||||
@@ -200,7 +200,7 @@ int ConfigureBackupPlanRequest::getSourceEndpointPort()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort)
|
||||
{
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setCoreParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
setParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getBackupRetentionPeriod()const
|
||||
@@ -211,7 +211,7 @@ int ConfigureBackupPlanRequest::getBackupRetentionPeriod()const
|
||||
void ConfigureBackupPlanRequest::setBackupRetentionPeriod(int backupRetentionPeriod)
|
||||
{
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setCoreParameter("BackupRetentionPeriod", std::to_string(backupRetentionPeriod));
|
||||
setParameter("BackupRetentionPeriod", std::to_string(backupRetentionPeriod));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPeriod()const
|
||||
@@ -222,7 +222,7 @@ std::string ConfigureBackupPlanRequest::getBackupPeriod()const
|
||||
void ConfigureBackupPlanRequest::setBackupPeriod(const std::string& backupPeriod)
|
||||
{
|
||||
backupPeriod_ = backupPeriod;
|
||||
setCoreParameter("BackupPeriod", backupPeriod);
|
||||
setParameter("BackupPeriod", backupPeriod);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceType()const
|
||||
@@ -233,7 +233,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceType()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
|
||||
{
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setCoreParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
setParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanName()const
|
||||
@@ -244,7 +244,7 @@ std::string ConfigureBackupPlanRequest::getBackupPlanName()const
|
||||
void ConfigureBackupPlanRequest::setBackupPlanName(const std::string& backupPlanName)
|
||||
{
|
||||
backupPlanName_ = backupPlanName;
|
||||
setCoreParameter("BackupPlanName", backupPlanName);
|
||||
setParameter("BackupPlanName", backupPlanName);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointOracleSID()const
|
||||
@@ -255,7 +255,7 @@ std::string ConfigureBackupPlanRequest::getSourceEndpointOracleSID()const
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
|
||||
{
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setCoreParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
setParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getOSSBucketName()const
|
||||
@@ -266,6 +266,6 @@ std::string ConfigureBackupPlanRequest::getOSSBucketName()const
|
||||
void ConfigureBackupPlanRequest::setOSSBucketName(const std::string& oSSBucketName)
|
||||
{
|
||||
oSSBucketName_ = oSSBucketName;
|
||||
setCoreParameter("OSSBucketName", oSSBucketName);
|
||||
setParameter("OSSBucketName", oSSBucketName);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string CreateBackupPlanRequest::getDatabaseType()const
|
||||
void CreateBackupPlanRequest::setDatabaseType(const std::string& databaseType)
|
||||
{
|
||||
databaseType_ = databaseType;
|
||||
setCoreParameter("DatabaseType", databaseType);
|
||||
setParameter("DatabaseType", databaseType);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateBackupPlanRequest::getClientToken()const
|
||||
void CreateBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getInstanceClass()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateBackupPlanRequest::getInstanceClass()const
|
||||
void CreateBackupPlanRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setCoreParameter("InstanceClass", instanceClass);
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getStorageType()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateBackupPlanRequest::getStorageType()const
|
||||
void CreateBackupPlanRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setCoreParameter("StorageType", storageType);
|
||||
setParameter("StorageType", storageType);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getDatabaseRegion()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateBackupPlanRequest::getDatabaseRegion()const
|
||||
void CreateBackupPlanRequest::setDatabaseRegion(const std::string& databaseRegion)
|
||||
{
|
||||
databaseRegion_ = databaseRegion;
|
||||
setCoreParameter("DatabaseRegion", databaseRegion);
|
||||
setParameter("DatabaseRegion", databaseRegion);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getInstanceType()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateBackupPlanRequest::getInstanceType()const
|
||||
void CreateBackupPlanRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setCoreParameter("InstanceType", instanceType);
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getPeriod()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateBackupPlanRequest::getPeriod()const
|
||||
void CreateBackupPlanRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", period);
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getOwnerId()const
|
||||
@@ -112,7 +112,7 @@ std::string CreateBackupPlanRequest::getOwnerId()const
|
||||
void CreateBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int CreateBackupPlanRequest::getUsedTime()const
|
||||
@@ -123,7 +123,7 @@ int CreateBackupPlanRequest::getUsedTime()const
|
||||
void CreateBackupPlanRequest::setUsedTime(int usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setCoreParameter("UsedTime", std::to_string(usedTime));
|
||||
setParameter("UsedTime", std::to_string(usedTime));
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getBackupMethod()const
|
||||
@@ -134,7 +134,7 @@ std::string CreateBackupPlanRequest::getBackupMethod()const
|
||||
void CreateBackupPlanRequest::setBackupMethod(const std::string& backupMethod)
|
||||
{
|
||||
backupMethod_ = backupMethod;
|
||||
setCoreParameter("BackupMethod", backupMethod);
|
||||
setParameter("BackupMethod", backupMethod);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getStorageRegion()const
|
||||
@@ -145,7 +145,7 @@ std::string CreateBackupPlanRequest::getStorageRegion()const
|
||||
void CreateBackupPlanRequest::setStorageRegion(const std::string& storageRegion)
|
||||
{
|
||||
storageRegion_ = storageRegion;
|
||||
setCoreParameter("StorageRegion", storageRegion);
|
||||
setParameter("StorageRegion", storageRegion);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getRegion()const
|
||||
@@ -156,7 +156,7 @@ std::string CreateBackupPlanRequest::getRegion()const
|
||||
void CreateBackupPlanRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setCoreParameter("Region", region);
|
||||
setParameter("Region", region);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getPayType()const
|
||||
@@ -167,6 +167,6 @@ std::string CreateBackupPlanRequest::getPayType()const
|
||||
void CreateBackupPlanRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setCoreParameter("PayType", payType);
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CreateRestoreTaskRequest::getBackupGatewayId()const
|
||||
void CreateRestoreTaskRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setCoreParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceType()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceType()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType)
|
||||
{
|
||||
destinationEndpointInstanceType_ = destinationEndpointInstanceType;
|
||||
setCoreParameter("DestinationEndpointInstanceType", destinationEndpointInstanceType);
|
||||
setParameter("DestinationEndpointInstanceType", destinationEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getClientToken()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateRestoreTaskRequest::getClientToken()const
|
||||
void CreateRestoreTaskRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getBackupPlanId()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateRestoreTaskRequest::getBackupPlanId()const
|
||||
void CreateRestoreTaskRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointRegion()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointRegion()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointRegion(const std::string& destinationEndpointRegion)
|
||||
{
|
||||
destinationEndpointRegion_ = destinationEndpointRegion;
|
||||
setCoreParameter("DestinationEndpointRegion", destinationEndpointRegion);
|
||||
setParameter("DestinationEndpointRegion", destinationEndpointRegion);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointUserName()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointUserName()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointUserName(const std::string& destinationEndpointUserName)
|
||||
{
|
||||
destinationEndpointUserName_ = destinationEndpointUserName;
|
||||
setCoreParameter("DestinationEndpointUserName", destinationEndpointUserName);
|
||||
setParameter("DestinationEndpointUserName", destinationEndpointUserName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreObjects()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateRestoreTaskRequest::getRestoreObjects()const
|
||||
void CreateRestoreTaskRequest::setRestoreObjects(const std::string& restoreObjects)
|
||||
{
|
||||
restoreObjects_ = restoreObjects;
|
||||
setCoreParameter("RestoreObjects", restoreObjects);
|
||||
setParameter("RestoreObjects", restoreObjects);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreTaskName()const
|
||||
@@ -112,7 +112,7 @@ std::string CreateRestoreTaskRequest::getRestoreTaskName()const
|
||||
void CreateRestoreTaskRequest::setRestoreTaskName(const std::string& restoreTaskName)
|
||||
{
|
||||
restoreTaskName_ = restoreTaskName;
|
||||
setCoreParameter("RestoreTaskName", restoreTaskName);
|
||||
setParameter("RestoreTaskName", restoreTaskName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreHome()const
|
||||
@@ -123,7 +123,7 @@ std::string CreateRestoreTaskRequest::getRestoreHome()const
|
||||
void CreateRestoreTaskRequest::setRestoreHome(const std::string& restoreHome)
|
||||
{
|
||||
restoreHome_ = restoreHome;
|
||||
setCoreParameter("RestoreHome", restoreHome);
|
||||
setParameter("RestoreHome", restoreHome);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointOracleSID()const
|
||||
@@ -134,7 +134,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointOracleSID()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID)
|
||||
{
|
||||
destinationEndpointOracleSID_ = destinationEndpointOracleSID;
|
||||
setCoreParameter("DestinationEndpointOracleSID", destinationEndpointOracleSID);
|
||||
setParameter("DestinationEndpointOracleSID", destinationEndpointOracleSID);
|
||||
}
|
||||
|
||||
long CreateRestoreTaskRequest::getRestoreTime()const
|
||||
@@ -145,7 +145,7 @@ long CreateRestoreTaskRequest::getRestoreTime()const
|
||||
void CreateRestoreTaskRequest::setRestoreTime(long restoreTime)
|
||||
{
|
||||
restoreTime_ = restoreTime;
|
||||
setCoreParameter("RestoreTime", std::to_string(restoreTime));
|
||||
setParameter("RestoreTime", std::to_string(restoreTime));
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceID()const
|
||||
@@ -156,7 +156,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceID()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID)
|
||||
{
|
||||
destinationEndpointInstanceID_ = destinationEndpointInstanceID;
|
||||
setCoreParameter("DestinationEndpointInstanceID", destinationEndpointInstanceID);
|
||||
setParameter("DestinationEndpointInstanceID", destinationEndpointInstanceID);
|
||||
}
|
||||
|
||||
int CreateRestoreTaskRequest::getDestinationEndpointPort()const
|
||||
@@ -167,7 +167,7 @@ int CreateRestoreTaskRequest::getDestinationEndpointPort()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointPort(int destinationEndpointPort)
|
||||
{
|
||||
destinationEndpointPort_ = destinationEndpointPort;
|
||||
setCoreParameter("DestinationEndpointPort", std::to_string(destinationEndpointPort));
|
||||
setParameter("DestinationEndpointPort", std::to_string(destinationEndpointPort));
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getBackupSetId()const
|
||||
@@ -178,7 +178,7 @@ std::string CreateRestoreTaskRequest::getBackupSetId()const
|
||||
void CreateRestoreTaskRequest::setBackupSetId(const std::string& backupSetId)
|
||||
{
|
||||
backupSetId_ = backupSetId;
|
||||
setCoreParameter("BackupSetId", backupSetId);
|
||||
setParameter("BackupSetId", backupSetId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getOwnerId()const
|
||||
@@ -189,7 +189,7 @@ std::string CreateRestoreTaskRequest::getOwnerId()const
|
||||
void CreateRestoreTaskRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreDir()const
|
||||
@@ -200,7 +200,7 @@ std::string CreateRestoreTaskRequest::getRestoreDir()const
|
||||
void CreateRestoreTaskRequest::setRestoreDir(const std::string& restoreDir)
|
||||
{
|
||||
restoreDir_ = restoreDir;
|
||||
setCoreParameter("RestoreDir", restoreDir);
|
||||
setParameter("RestoreDir", restoreDir);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointIP()const
|
||||
@@ -211,7 +211,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointIP()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointIP(const std::string& destinationEndpointIP)
|
||||
{
|
||||
destinationEndpointIP_ = destinationEndpointIP;
|
||||
setCoreParameter("DestinationEndpointIP", destinationEndpointIP);
|
||||
setParameter("DestinationEndpointIP", destinationEndpointIP);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointDatabaseName()const
|
||||
@@ -222,7 +222,7 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointDatabaseName()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointDatabaseName(const std::string& destinationEndpointDatabaseName)
|
||||
{
|
||||
destinationEndpointDatabaseName_ = destinationEndpointDatabaseName;
|
||||
setCoreParameter("DestinationEndpointDatabaseName", destinationEndpointDatabaseName);
|
||||
setParameter("DestinationEndpointDatabaseName", destinationEndpointDatabaseName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDuplicateConflict()const
|
||||
@@ -233,7 +233,7 @@ std::string CreateRestoreTaskRequest::getDuplicateConflict()const
|
||||
void CreateRestoreTaskRequest::setDuplicateConflict(const std::string& duplicateConflict)
|
||||
{
|
||||
duplicateConflict_ = duplicateConflict;
|
||||
setCoreParameter("DuplicateConflict", duplicateConflict);
|
||||
setParameter("DuplicateConflict", duplicateConflict);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointPassword()const
|
||||
@@ -244,6 +244,6 @@ std::string CreateRestoreTaskRequest::getDestinationEndpointPassword()const
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointPassword(const std::string& destinationEndpointPassword)
|
||||
{
|
||||
destinationEndpointPassword_ = destinationEndpointPassword;
|
||||
setCoreParameter("DestinationEndpointPassword", destinationEndpointPassword);
|
||||
setParameter("DestinationEndpointPassword", destinationEndpointPassword);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeBackupGatewayListRequest::getIdentifier()const
|
||||
void DescribeBackupGatewayListRequest::setIdentifier(const std::string& identifier)
|
||||
{
|
||||
identifier_ = identifier;
|
||||
setCoreParameter("Identifier", identifier);
|
||||
setParameter("Identifier", identifier);
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeBackupGatewayListRequest::getClientToken()const
|
||||
void DescribeBackupGatewayListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListRequest::getPageNum()const
|
||||
@@ -57,7 +57,7 @@ int DescribeBackupGatewayListRequest::getPageNum()const
|
||||
void DescribeBackupGatewayListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeBackupGatewayListRequest::getOwnerId()const
|
||||
void DescribeBackupGatewayListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListRequest::getPageSize()const
|
||||
@@ -79,7 +79,7 @@ int DescribeBackupGatewayListRequest::getPageSize()const
|
||||
void DescribeBackupGatewayListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getRegion()const
|
||||
@@ -90,6 +90,6 @@ std::string DescribeBackupGatewayListRequest::getRegion()const
|
||||
void DescribeBackupGatewayListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setCoreParameter("Region", region);
|
||||
setParameter("Region", region);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeBackupPlanListRequest::getClientToken()const
|
||||
void DescribeBackupPlanListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeBackupPlanListRequest::getBackupPlanId()const
|
||||
void DescribeBackupPlanListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListRequest::getPageNum()const
|
||||
@@ -57,7 +57,7 @@ int DescribeBackupPlanListRequest::getPageNum()const
|
||||
void DescribeBackupPlanListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeBackupPlanListRequest::getOwnerId()const
|
||||
void DescribeBackupPlanListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListRequest::getPageSize()const
|
||||
@@ -79,7 +79,7 @@ int DescribeBackupPlanListRequest::getPageSize()const
|
||||
void DescribeBackupPlanListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getRegion()const
|
||||
@@ -90,6 +90,6 @@ std::string DescribeBackupPlanListRequest::getRegion()const
|
||||
void DescribeBackupPlanListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setCoreParameter("Region", region);
|
||||
setParameter("Region", region);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeFullBackupListRequest::getClientToken()const
|
||||
void DescribeFullBackupListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeFullBackupListRequest::getBackupPlanId()const
|
||||
void DescribeFullBackupListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
int DescribeFullBackupListRequest::getPageNum()const
|
||||
@@ -57,7 +57,7 @@ int DescribeFullBackupListRequest::getPageNum()const
|
||||
void DescribeFullBackupListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getOwnerId()const
|
||||
@@ -68,7 +68,18 @@ std::string DescribeFullBackupListRequest::getOwnerId()const
|
||||
void DescribeFullBackupListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
bool DescribeFullBackupListRequest::getShowStorageType()const
|
||||
{
|
||||
return showStorageType_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setShowStorageType(bool showStorageType)
|
||||
{
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter("ShowStorageType", showStorageType ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeFullBackupListRequest::getPageSize()const
|
||||
@@ -79,6 +90,6 @@ int DescribeFullBackupListRequest::getPageSize()const
|
||||
void DescribeFullBackupListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeIncrementBackupListRequest::getClientToken()const
|
||||
void DescribeIncrementBackupListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeIncrementBackupListRequest::getBackupPlanId()const
|
||||
void DescribeIncrementBackupListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListRequest::getPageNum()const
|
||||
@@ -57,7 +57,7 @@ int DescribeIncrementBackupListRequest::getPageNum()const
|
||||
void DescribeIncrementBackupListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getOwnerId()const
|
||||
@@ -68,7 +68,18 @@ std::string DescribeIncrementBackupListRequest::getOwnerId()const
|
||||
void DescribeIncrementBackupListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
bool DescribeIncrementBackupListRequest::getShowStorageType()const
|
||||
{
|
||||
return showStorageType_;
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setShowStorageType(bool showStorageType)
|
||||
{
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter("ShowStorageType", showStorageType ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListRequest::getPageSize()const
|
||||
@@ -79,6 +90,6 @@ int DescribeIncrementBackupListRequest::getPageSize()const
|
||||
void DescribeIncrementBackupListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeJobErrorCodeRequest::getClientToken()const
|
||||
void DescribeJobErrorCodeRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getLanguage()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeJobErrorCodeRequest::getLanguage()const
|
||||
void DescribeJobErrorCodeRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setCoreParameter("Language", language);
|
||||
setParameter("Language", language);
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeJobErrorCodeRequest::getOwnerId()const
|
||||
void DescribeJobErrorCodeRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getTaskId()const
|
||||
@@ -68,6 +68,6 @@ std::string DescribeJobErrorCodeRequest::getTaskId()const
|
||||
void DescribeJobErrorCodeRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeNodeCidrListRequest::getClientToken()const
|
||||
void DescribeNodeCidrListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeNodeCidrListRequest::getOwnerId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeNodeCidrListRequest::getOwnerId()const
|
||||
void DescribeNodeCidrListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeNodeCidrListRequest::getRegion()const
|
||||
@@ -57,6 +57,6 @@ std::string DescribeNodeCidrListRequest::getRegion()const
|
||||
void DescribeNodeCidrListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setCoreParameter("Region", region);
|
||||
setParameter("Region", region);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribePreCheckProgressListRequest::getClientToken()const
|
||||
void DescribePreCheckProgressListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribePreCheckProgressListRequest::getBackupPlanId()const
|
||||
void DescribePreCheckProgressListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribePreCheckProgressListRequest::getOwnerId()const
|
||||
void DescribePreCheckProgressListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getRestoreTaskId()const
|
||||
@@ -68,6 +68,6 @@ std::string DescribePreCheckProgressListRequest::getRestoreTaskId()const
|
||||
void DescribePreCheckProgressListRequest::setRestoreTaskId(const std::string& restoreTaskId)
|
||||
{
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setCoreParameter("RestoreTaskId", restoreTaskId);
|
||||
setParameter("RestoreTaskId", restoreTaskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeRestoreRangeInfoRequest::getBeginTimestampForRestore()const
|
||||
void DescribeRestoreRangeInfoRequest::setBeginTimestampForRestore(long beginTimestampForRestore)
|
||||
{
|
||||
beginTimestampForRestore_ = beginTimestampForRestore;
|
||||
setCoreParameter("BeginTimestampForRestore", std::to_string(beginTimestampForRestore));
|
||||
setParameter("BeginTimestampForRestore", std::to_string(beginTimestampForRestore));
|
||||
}
|
||||
|
||||
long DescribeRestoreRangeInfoRequest::getEndTimestampForRestore()const
|
||||
@@ -46,7 +46,7 @@ long DescribeRestoreRangeInfoRequest::getEndTimestampForRestore()const
|
||||
void DescribeRestoreRangeInfoRequest::setEndTimestampForRestore(long endTimestampForRestore)
|
||||
{
|
||||
endTimestampForRestore_ = endTimestampForRestore;
|
||||
setCoreParameter("EndTimestampForRestore", std::to_string(endTimestampForRestore));
|
||||
setParameter("EndTimestampForRestore", std::to_string(endTimestampForRestore));
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getClientToken()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeRestoreRangeInfoRequest::getClientToken()const
|
||||
void DescribeRestoreRangeInfoRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getBackupPlanId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeRestoreRangeInfoRequest::getBackupPlanId()const
|
||||
void DescribeRestoreRangeInfoRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getOwnerId()const
|
||||
@@ -79,6 +79,6 @@ std::string DescribeRestoreRangeInfoRequest::getOwnerId()const
|
||||
void DescribeRestoreRangeInfoRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeRestoreTaskListRequest::getClientToken()const
|
||||
void DescribeRestoreTaskListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeRestoreTaskListRequest::getBackupPlanId()const
|
||||
void DescribeRestoreTaskListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListRequest::getPageNum()const
|
||||
@@ -57,7 +57,7 @@ int DescribeRestoreTaskListRequest::getPageNum()const
|
||||
void DescribeRestoreTaskListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeRestoreTaskListRequest::getOwnerId()const
|
||||
void DescribeRestoreTaskListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getRestoreTaskId()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeRestoreTaskListRequest::getRestoreTaskId()const
|
||||
void DescribeRestoreTaskListRequest::setRestoreTaskId(const std::string& restoreTaskId)
|
||||
{
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setCoreParameter("RestoreTaskId", restoreTaskId);
|
||||
setParameter("RestoreTaskId", restoreTaskId);
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListRequest::getPageSize()const
|
||||
@@ -90,6 +90,6 @@ int DescribeRestoreTaskListRequest::getPageSize()const
|
||||
void DescribeRestoreTaskListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string ModifyBackupObjectsRequest::getClientToken()const
|
||||
void ModifyBackupObjectsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ModifyBackupObjectsRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string ModifyBackupObjectsRequest::getBackupPlanId()const
|
||||
void ModifyBackupObjectsRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupObjectsRequest::getBackupObjects()const
|
||||
@@ -57,7 +57,7 @@ std::string ModifyBackupObjectsRequest::getBackupObjects()const
|
||||
void ModifyBackupObjectsRequest::setBackupObjects(const std::string& backupObjects)
|
||||
{
|
||||
backupObjects_ = backupObjects;
|
||||
setCoreParameter("BackupObjects", backupObjects);
|
||||
setParameter("BackupObjects", backupObjects);
|
||||
}
|
||||
|
||||
std::string ModifyBackupObjectsRequest::getOwnerId()const
|
||||
@@ -68,6 +68,6 @@ std::string ModifyBackupObjectsRequest::getOwnerId()const
|
||||
void ModifyBackupObjectsRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string ModifyBackupPlanNameRequest::getClientToken()const
|
||||
void ModifyBackupPlanNameRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPlanNameRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string ModifyBackupPlanNameRequest::getBackupPlanId()const
|
||||
void ModifyBackupPlanNameRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPlanNameRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ std::string ModifyBackupPlanNameRequest::getOwnerId()const
|
||||
void ModifyBackupPlanNameRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPlanNameRequest::getBackupPlanName()const
|
||||
@@ -68,6 +68,6 @@ std::string ModifyBackupPlanNameRequest::getBackupPlanName()const
|
||||
void ModifyBackupPlanNameRequest::setBackupPlanName(const std::string& backupPlanName)
|
||||
{
|
||||
backupPlanName_ = backupPlanName;
|
||||
setCoreParameter("BackupPlanName", backupPlanName);
|
||||
setParameter("BackupPlanName", backupPlanName);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointRegion()const
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
|
||||
{
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setCoreParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
setParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
}
|
||||
|
||||
long ModifyBackupSourceEndpointRequest::getBackupGatewayId()const
|
||||
@@ -46,7 +46,7 @@ long ModifyBackupSourceEndpointRequest::getBackupGatewayId()const
|
||||
void ModifyBackupSourceEndpointRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setCoreParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointInstanceID()const
|
||||
@@ -57,7 +57,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointInstanceID()cons
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
|
||||
{
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setCoreParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
setParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointUserName()const
|
||||
@@ -68,7 +68,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointUserName()const
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
|
||||
{
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setCoreParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
setParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getClientToken()const
|
||||
@@ -79,7 +79,7 @@ std::string ModifyBackupSourceEndpointRequest::getClientToken()const
|
||||
void ModifyBackupSourceEndpointRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getBackupPlanId()const
|
||||
@@ -90,7 +90,7 @@ std::string ModifyBackupSourceEndpointRequest::getBackupPlanId()const
|
||||
void ModifyBackupSourceEndpointRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointDatabaseName()const
|
||||
@@ -101,7 +101,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointDatabaseName()co
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
|
||||
{
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setCoreParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
setParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointIP()const
|
||||
@@ -112,7 +112,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointIP()const
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
|
||||
{
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setCoreParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
setParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointPassword()const
|
||||
@@ -123,7 +123,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointPassword()const
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
|
||||
{
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setCoreParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
setParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getBackupObjects()const
|
||||
@@ -134,7 +134,7 @@ std::string ModifyBackupSourceEndpointRequest::getBackupObjects()const
|
||||
void ModifyBackupSourceEndpointRequest::setBackupObjects(const std::string& backupObjects)
|
||||
{
|
||||
backupObjects_ = backupObjects;
|
||||
setCoreParameter("BackupObjects", backupObjects);
|
||||
setParameter("BackupObjects", backupObjects);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getOwnerId()const
|
||||
@@ -145,7 +145,7 @@ std::string ModifyBackupSourceEndpointRequest::getOwnerId()const
|
||||
void ModifyBackupSourceEndpointRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int ModifyBackupSourceEndpointRequest::getSourceEndpointPort()const
|
||||
@@ -156,7 +156,7 @@ int ModifyBackupSourceEndpointRequest::getSourceEndpointPort()const
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointPort(int sourceEndpointPort)
|
||||
{
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setCoreParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
setParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointInstanceType()const
|
||||
@@ -167,7 +167,7 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointInstanceType()co
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
|
||||
{
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setCoreParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
setParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointOracleSID()const
|
||||
@@ -178,6 +178,6 @@ std::string ModifyBackupSourceEndpointRequest::getSourceEndpointOracleSID()const
|
||||
void ModifyBackupSourceEndpointRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
|
||||
{
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setCoreParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
setParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string ModifyBackupStrategyRequest::getClientToken()const
|
||||
void ModifyBackupStrategyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string ModifyBackupStrategyRequest::getBackupPlanId()const
|
||||
void ModifyBackupStrategyRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ std::string ModifyBackupStrategyRequest::getOwnerId()const
|
||||
void ModifyBackupStrategyRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getBackupPeriod()const
|
||||
@@ -68,7 +68,7 @@ std::string ModifyBackupStrategyRequest::getBackupPeriod()const
|
||||
void ModifyBackupStrategyRequest::setBackupPeriod(const std::string& backupPeriod)
|
||||
{
|
||||
backupPeriod_ = backupPeriod;
|
||||
setCoreParameter("BackupPeriod", backupPeriod);
|
||||
setParameter("BackupPeriod", backupPeriod);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getBackupStartTime()const
|
||||
@@ -79,6 +79,6 @@ std::string ModifyBackupStrategyRequest::getBackupStartTime()const
|
||||
void ModifyBackupStrategyRequest::setBackupStartTime(const std::string& backupStartTime)
|
||||
{
|
||||
backupStartTime_ = backupStartTime;
|
||||
setCoreParameter("BackupStartTime", backupStartTime);
|
||||
setParameter("BackupStartTime", backupStartTime);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string RenewBackupPlanRequest::getPeriod()const
|
||||
void RenewBackupPlanRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", period);
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string RenewBackupPlanRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string RenewBackupPlanRequest::getClientToken()const
|
||||
void RenewBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string RenewBackupPlanRequest::getBackupPlanId()const
|
||||
@@ -57,7 +57,7 @@ std::string RenewBackupPlanRequest::getBackupPlanId()const
|
||||
void RenewBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string RenewBackupPlanRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ std::string RenewBackupPlanRequest::getOwnerId()const
|
||||
void RenewBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int RenewBackupPlanRequest::getUsedTime()const
|
||||
@@ -79,6 +79,6 @@ int RenewBackupPlanRequest::getUsedTime()const
|
||||
void RenewBackupPlanRequest::setUsedTime(int usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setCoreParameter("UsedTime", std::to_string(usedTime));
|
||||
setParameter("UsedTime", std::to_string(usedTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string StartBackupPlanRequest::getClientToken()const
|
||||
void StartBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string StartBackupPlanRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string StartBackupPlanRequest::getBackupPlanId()const
|
||||
void StartBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string StartBackupPlanRequest::getOwnerId()const
|
||||
@@ -57,6 +57,6 @@ std::string StartBackupPlanRequest::getOwnerId()const
|
||||
void StartBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string StartRestoreTaskRequest::getClientToken()const
|
||||
void StartRestoreTaskRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string StartRestoreTaskRequest::getOwnerId()const
|
||||
@@ -46,7 +46,7 @@ std::string StartRestoreTaskRequest::getOwnerId()const
|
||||
void StartRestoreTaskRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string StartRestoreTaskRequest::getRestoreTaskId()const
|
||||
@@ -57,6 +57,6 @@ std::string StartRestoreTaskRequest::getRestoreTaskId()const
|
||||
void StartRestoreTaskRequest::setRestoreTaskId(const std::string& restoreTaskId)
|
||||
{
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setCoreParameter("RestoreTaskId", restoreTaskId);
|
||||
setParameter("RestoreTaskId", restoreTaskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string StopBackupPlanRequest::getStopMethod()const
|
||||
void StopBackupPlanRequest::setStopMethod(const std::string& stopMethod)
|
||||
{
|
||||
stopMethod_ = stopMethod;
|
||||
setCoreParameter("StopMethod", stopMethod);
|
||||
setParameter("StopMethod", stopMethod);
|
||||
}
|
||||
|
||||
std::string StopBackupPlanRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string StopBackupPlanRequest::getClientToken()const
|
||||
void StopBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string StopBackupPlanRequest::getBackupPlanId()const
|
||||
@@ -57,7 +57,7 @@ std::string StopBackupPlanRequest::getBackupPlanId()const
|
||||
void StopBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string StopBackupPlanRequest::getOwnerId()const
|
||||
@@ -68,6 +68,6 @@ std::string StopBackupPlanRequest::getOwnerId()const
|
||||
void StopBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string UpgradeBackupPlanRequest::getClientToken()const
|
||||
void UpgradeBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string UpgradeBackupPlanRequest::getBackupPlanId()const
|
||||
@@ -46,7 +46,7 @@ std::string UpgradeBackupPlanRequest::getBackupPlanId()const
|
||||
void UpgradeBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setCoreParameter("BackupPlanId", backupPlanId);
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string UpgradeBackupPlanRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ std::string UpgradeBackupPlanRequest::getOwnerId()const
|
||||
void UpgradeBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string UpgradeBackupPlanRequest::getInstanceClass()const
|
||||
@@ -68,6 +68,6 @@ std::string UpgradeBackupPlanRequest::getInstanceClass()const
|
||||
void UpgradeBackupPlanRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setCoreParameter("InstanceClass", instanceClass);
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
|
||||
94
democenter/CMakeLists.txt
Normal file
94
democenter/CMakeLists.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(democenter_public_header
|
||||
include/alibabacloud/democenter/DemoCenterClient.h
|
||||
include/alibabacloud/democenter/DemoCenterExport.h )
|
||||
|
||||
set(democenter_public_header_model
|
||||
include/alibabacloud/democenter/model/CreateDemoAccessTokenRequest.h
|
||||
include/alibabacloud/democenter/model/CreateDemoAccessTokenResult.h
|
||||
include/alibabacloud/democenter/model/DescribeDemoAccessTokenRequest.h
|
||||
include/alibabacloud/democenter/model/DescribeDemoAccessTokenResult.h
|
||||
include/alibabacloud/democenter/model/ExpireDemoAccessTokenRequest.h
|
||||
include/alibabacloud/democenter/model/ExpireDemoAccessTokenResult.h )
|
||||
|
||||
set(democenter_src
|
||||
src/DemoCenterClient.cc
|
||||
src/model/CreateDemoAccessTokenRequest.cc
|
||||
src/model/CreateDemoAccessTokenResult.cc
|
||||
src/model/DescribeDemoAccessTokenRequest.cc
|
||||
src/model/DescribeDemoAccessTokenResult.cc
|
||||
src/model/ExpireDemoAccessTokenRequest.cc
|
||||
src/model/ExpireDemoAccessTokenResult.cc )
|
||||
|
||||
add_library(democenter ${LIB_TYPE}
|
||||
${democenter_public_header}
|
||||
${democenter_public_header_model}
|
||||
${democenter_src})
|
||||
|
||||
set_target_properties(democenter
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}democenter
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(democenter
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_DEMOCENTER_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(democenter
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(democenter
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(democenter
|
||||
jsoncpp)
|
||||
target_include_directories(democenter
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(democenter
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(democenter
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(democenter
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(democenter
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${democenter_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/democenter)
|
||||
install(FILES ${democenter_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/democenter/model)
|
||||
install(TARGETS democenter
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_DEMOCENTERCLIENT_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_DEMOCENTERCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DemoCenterExport.h"
|
||||
#include "model/CreateDemoAccessTokenRequest.h"
|
||||
#include "model/CreateDemoAccessTokenResult.h"
|
||||
#include "model/DescribeDemoAccessTokenRequest.h"
|
||||
#include "model/DescribeDemoAccessTokenResult.h"
|
||||
#include "model/ExpireDemoAccessTokenRequest.h"
|
||||
#include "model/ExpireDemoAccessTokenResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT DemoCenterClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateDemoAccessTokenResult> CreateDemoAccessTokenOutcome;
|
||||
typedef std::future<CreateDemoAccessTokenOutcome> CreateDemoAccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const DemoCenterClient*, const Model::CreateDemoAccessTokenRequest&, const CreateDemoAccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDemoAccessTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDemoAccessTokenResult> DescribeDemoAccessTokenOutcome;
|
||||
typedef std::future<DescribeDemoAccessTokenOutcome> DescribeDemoAccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const DemoCenterClient*, const Model::DescribeDemoAccessTokenRequest&, const DescribeDemoAccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDemoAccessTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExpireDemoAccessTokenResult> ExpireDemoAccessTokenOutcome;
|
||||
typedef std::future<ExpireDemoAccessTokenOutcome> ExpireDemoAccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const DemoCenterClient*, const Model::ExpireDemoAccessTokenRequest&, const ExpireDemoAccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExpireDemoAccessTokenAsyncHandler;
|
||||
|
||||
DemoCenterClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DemoCenterClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DemoCenterClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DemoCenterClient();
|
||||
CreateDemoAccessTokenOutcome createDemoAccessToken(const Model::CreateDemoAccessTokenRequest &request)const;
|
||||
void createDemoAccessTokenAsync(const Model::CreateDemoAccessTokenRequest& request, const CreateDemoAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDemoAccessTokenOutcomeCallable createDemoAccessTokenCallable(const Model::CreateDemoAccessTokenRequest& request) const;
|
||||
DescribeDemoAccessTokenOutcome describeDemoAccessToken(const Model::DescribeDemoAccessTokenRequest &request)const;
|
||||
void describeDemoAccessTokenAsync(const Model::DescribeDemoAccessTokenRequest& request, const DescribeDemoAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDemoAccessTokenOutcomeCallable describeDemoAccessTokenCallable(const Model::DescribeDemoAccessTokenRequest& request) const;
|
||||
ExpireDemoAccessTokenOutcome expireDemoAccessToken(const Model::ExpireDemoAccessTokenRequest &request)const;
|
||||
void expireDemoAccessTokenAsync(const Model::ExpireDemoAccessTokenRequest& request, const ExpireDemoAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExpireDemoAccessTokenOutcomeCallable expireDemoAccessTokenCallable(const Model::ExpireDemoAccessTokenRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_DEMOCENTERCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_DEMOCENTEREXPORT_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_DEMOCENTEREXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_DEMOCENTER_LIBRARY)
|
||||
# define ALIBABACLOUD_DEMOCENTER_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_DEMOCENTER_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_DEMOCENTER_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_DEMOCENTEREXPORT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_MODEL_CREATEDEMOACCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_MODEL_CREATEDEMOACCESSTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/democenter/DemoCenterExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT CreateDemoAccessTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDemoAccessTokenRequest();
|
||||
~CreateDemoAccessTokenRequest();
|
||||
|
||||
long getDemoId()const;
|
||||
void setDemoId(long demoId);
|
||||
|
||||
private:
|
||||
long demoId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_MODEL_CREATEDEMOACCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_MODEL_CREATEDEMOACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_MODEL_CREATEDEMOACCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/democenter/DemoCenterExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT CreateDemoAccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDemoAccessTokenResult();
|
||||
explicit CreateDemoAccessTokenResult(const std::string &payload);
|
||||
~CreateDemoAccessTokenResult();
|
||||
std::string getDemoTrialPage()const;
|
||||
std::string getDemoDetailPage()const;
|
||||
std::string getExpiredDate()const;
|
||||
std::string getDemoAccessToken()const;
|
||||
std::string getOpenUserId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string demoTrialPage_;
|
||||
std::string demoDetailPage_;
|
||||
std::string expiredDate_;
|
||||
std::string demoAccessToken_;
|
||||
std::string openUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_MODEL_CREATEDEMOACCESSTOKENRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_MODEL_DESCRIBEDEMOACCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_MODEL_DESCRIBEDEMOACCESSTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/democenter/DemoCenterExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT DescribeDemoAccessTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDemoAccessTokenRequest();
|
||||
~DescribeDemoAccessTokenRequest();
|
||||
|
||||
std::string getDemoAccessToken()const;
|
||||
void setDemoAccessToken(const std::string& demoAccessToken);
|
||||
|
||||
private:
|
||||
std::string demoAccessToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_MODEL_DESCRIBEDEMOACCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_MODEL_DESCRIBEDEMOACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_MODEL_DESCRIBEDEMOACCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/democenter/DemoCenterExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT DescribeDemoAccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDemoAccessTokenResult();
|
||||
explicit DescribeDemoAccessTokenResult(const std::string &payload);
|
||||
~DescribeDemoAccessTokenResult();
|
||||
std::string getDemoTrialPage()const;
|
||||
std::string getDemoDetailPage()const;
|
||||
std::string getExpiredDate()const;
|
||||
std::string getDemoAccessToken()const;
|
||||
std::string getOpenUserId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string demoTrialPage_;
|
||||
std::string demoDetailPage_;
|
||||
std::string expiredDate_;
|
||||
std::string demoAccessToken_;
|
||||
std::string openUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_MODEL_DESCRIBEDEMOACCESSTOKENRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_DEMOCENTER_MODEL_EXPIREDEMOACCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_MODEL_EXPIREDEMOACCESSTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/democenter/DemoCenterExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT ExpireDemoAccessTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExpireDemoAccessTokenRequest();
|
||||
~ExpireDemoAccessTokenRequest();
|
||||
|
||||
std::string getDemoAccessToken()const;
|
||||
void setDemoAccessToken(const std::string& demoAccessToken);
|
||||
|
||||
private:
|
||||
std::string demoAccessToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_MODEL_EXPIREDEMOACCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEMOCENTER_MODEL_EXPIREDEMOACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_DEMOCENTER_MODEL_EXPIREDEMOACCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/democenter/DemoCenterExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DemoCenter
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEMOCENTER_EXPORT ExpireDemoAccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExpireDemoAccessTokenResult();
|
||||
explicit ExpireDemoAccessTokenResult(const std::string &payload);
|
||||
~ExpireDemoAccessTokenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEMOCENTER_MODEL_EXPIREDEMOACCESSTOKENRESULT_H_
|
||||
161
democenter/src/DemoCenterClient.cc
Normal file
161
democenter/src/DemoCenterClient.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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/democenter/DemoCenterClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::DemoCenter;
|
||||
using namespace AlibabaCloud::DemoCenter::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "DemoCenter";
|
||||
}
|
||||
|
||||
DemoCenterClient::DemoCenterClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "DemoCenter");
|
||||
}
|
||||
|
||||
DemoCenterClient::DemoCenterClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "DemoCenter");
|
||||
}
|
||||
|
||||
DemoCenterClient::DemoCenterClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "DemoCenter");
|
||||
}
|
||||
|
||||
DemoCenterClient::~DemoCenterClient()
|
||||
{}
|
||||
|
||||
DemoCenterClient::CreateDemoAccessTokenOutcome DemoCenterClient::createDemoAccessToken(const CreateDemoAccessTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDemoAccessTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDemoAccessTokenOutcome(CreateDemoAccessTokenResult(outcome.result()));
|
||||
else
|
||||
return CreateDemoAccessTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DemoCenterClient::createDemoAccessTokenAsync(const CreateDemoAccessTokenRequest& request, const CreateDemoAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDemoAccessToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DemoCenterClient::CreateDemoAccessTokenOutcomeCallable DemoCenterClient::createDemoAccessTokenCallable(const CreateDemoAccessTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDemoAccessTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDemoAccessToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DemoCenterClient::DescribeDemoAccessTokenOutcome DemoCenterClient::describeDemoAccessToken(const DescribeDemoAccessTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDemoAccessTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDemoAccessTokenOutcome(DescribeDemoAccessTokenResult(outcome.result()));
|
||||
else
|
||||
return DescribeDemoAccessTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DemoCenterClient::describeDemoAccessTokenAsync(const DescribeDemoAccessTokenRequest& request, const DescribeDemoAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDemoAccessToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DemoCenterClient::DescribeDemoAccessTokenOutcomeCallable DemoCenterClient::describeDemoAccessTokenCallable(const DescribeDemoAccessTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDemoAccessTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDemoAccessToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DemoCenterClient::ExpireDemoAccessTokenOutcome DemoCenterClient::expireDemoAccessToken(const ExpireDemoAccessTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExpireDemoAccessTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExpireDemoAccessTokenOutcome(ExpireDemoAccessTokenResult(outcome.result()));
|
||||
else
|
||||
return ExpireDemoAccessTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DemoCenterClient::expireDemoAccessTokenAsync(const ExpireDemoAccessTokenRequest& request, const ExpireDemoAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, expireDemoAccessToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DemoCenterClient::ExpireDemoAccessTokenOutcomeCallable DemoCenterClient::expireDemoAccessTokenCallable(const ExpireDemoAccessTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ExpireDemoAccessTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->expireDemoAccessToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
40
democenter/src/model/CreateDemoAccessTokenRequest.cc
Normal file
40
democenter/src/model/CreateDemoAccessTokenRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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/democenter/model/CreateDemoAccessTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::DemoCenter::Model::CreateDemoAccessTokenRequest;
|
||||
|
||||
CreateDemoAccessTokenRequest::CreateDemoAccessTokenRequest() :
|
||||
RpcServiceRequest("democenter", "2020-01-21", "CreateDemoAccessToken")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDemoAccessTokenRequest::~CreateDemoAccessTokenRequest()
|
||||
{}
|
||||
|
||||
long CreateDemoAccessTokenRequest::getDemoId()const
|
||||
{
|
||||
return demoId_;
|
||||
}
|
||||
|
||||
void CreateDemoAccessTokenRequest::setDemoId(long demoId)
|
||||
{
|
||||
demoId_ = demoId;
|
||||
setBodyParameter("DemoId", std::to_string(demoId));
|
||||
}
|
||||
|
||||
79
democenter/src/model/CreateDemoAccessTokenResult.cc
Normal file
79
democenter/src/model/CreateDemoAccessTokenResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/democenter/model/CreateDemoAccessTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::DemoCenter;
|
||||
using namespace AlibabaCloud::DemoCenter::Model;
|
||||
|
||||
CreateDemoAccessTokenResult::CreateDemoAccessTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDemoAccessTokenResult::CreateDemoAccessTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDemoAccessTokenResult::~CreateDemoAccessTokenResult()
|
||||
{}
|
||||
|
||||
void CreateDemoAccessTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DemoAccessToken"].isNull())
|
||||
demoAccessToken_ = value["DemoAccessToken"].asString();
|
||||
if(!value["ExpiredDate"].isNull())
|
||||
expiredDate_ = value["ExpiredDate"].asString();
|
||||
if(!value["OpenUserId"].isNull())
|
||||
openUserId_ = value["OpenUserId"].asString();
|
||||
if(!value["DemoTrialPage"].isNull())
|
||||
demoTrialPage_ = value["DemoTrialPage"].asString();
|
||||
if(!value["DemoDetailPage"].isNull())
|
||||
demoDetailPage_ = value["DemoDetailPage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateDemoAccessTokenResult::getDemoTrialPage()const
|
||||
{
|
||||
return demoTrialPage_;
|
||||
}
|
||||
|
||||
std::string CreateDemoAccessTokenResult::getDemoDetailPage()const
|
||||
{
|
||||
return demoDetailPage_;
|
||||
}
|
||||
|
||||
std::string CreateDemoAccessTokenResult::getExpiredDate()const
|
||||
{
|
||||
return expiredDate_;
|
||||
}
|
||||
|
||||
std::string CreateDemoAccessTokenResult::getDemoAccessToken()const
|
||||
{
|
||||
return demoAccessToken_;
|
||||
}
|
||||
|
||||
std::string CreateDemoAccessTokenResult::getOpenUserId()const
|
||||
{
|
||||
return openUserId_;
|
||||
}
|
||||
|
||||
40
democenter/src/model/DescribeDemoAccessTokenRequest.cc
Normal file
40
democenter/src/model/DescribeDemoAccessTokenRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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/democenter/model/DescribeDemoAccessTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::DemoCenter::Model::DescribeDemoAccessTokenRequest;
|
||||
|
||||
DescribeDemoAccessTokenRequest::DescribeDemoAccessTokenRequest() :
|
||||
RpcServiceRequest("democenter", "2020-01-21", "DescribeDemoAccessToken")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDemoAccessTokenRequest::~DescribeDemoAccessTokenRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDemoAccessTokenRequest::getDemoAccessToken()const
|
||||
{
|
||||
return demoAccessToken_;
|
||||
}
|
||||
|
||||
void DescribeDemoAccessTokenRequest::setDemoAccessToken(const std::string& demoAccessToken)
|
||||
{
|
||||
demoAccessToken_ = demoAccessToken;
|
||||
setBodyParameter("DemoAccessToken", demoAccessToken);
|
||||
}
|
||||
|
||||
79
democenter/src/model/DescribeDemoAccessTokenResult.cc
Normal file
79
democenter/src/model/DescribeDemoAccessTokenResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/democenter/model/DescribeDemoAccessTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::DemoCenter;
|
||||
using namespace AlibabaCloud::DemoCenter::Model;
|
||||
|
||||
DescribeDemoAccessTokenResult::DescribeDemoAccessTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDemoAccessTokenResult::DescribeDemoAccessTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDemoAccessTokenResult::~DescribeDemoAccessTokenResult()
|
||||
{}
|
||||
|
||||
void DescribeDemoAccessTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DemoAccessToken"].isNull())
|
||||
demoAccessToken_ = value["DemoAccessToken"].asString();
|
||||
if(!value["ExpiredDate"].isNull())
|
||||
expiredDate_ = value["ExpiredDate"].asString();
|
||||
if(!value["OpenUserId"].isNull())
|
||||
openUserId_ = value["OpenUserId"].asString();
|
||||
if(!value["DemoTrialPage"].isNull())
|
||||
demoTrialPage_ = value["DemoTrialPage"].asString();
|
||||
if(!value["DemoDetailPage"].isNull())
|
||||
demoDetailPage_ = value["DemoDetailPage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDemoAccessTokenResult::getDemoTrialPage()const
|
||||
{
|
||||
return demoTrialPage_;
|
||||
}
|
||||
|
||||
std::string DescribeDemoAccessTokenResult::getDemoDetailPage()const
|
||||
{
|
||||
return demoDetailPage_;
|
||||
}
|
||||
|
||||
std::string DescribeDemoAccessTokenResult::getExpiredDate()const
|
||||
{
|
||||
return expiredDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDemoAccessTokenResult::getDemoAccessToken()const
|
||||
{
|
||||
return demoAccessToken_;
|
||||
}
|
||||
|
||||
std::string DescribeDemoAccessTokenResult::getOpenUserId()const
|
||||
{
|
||||
return openUserId_;
|
||||
}
|
||||
|
||||
40
democenter/src/model/ExpireDemoAccessTokenRequest.cc
Normal file
40
democenter/src/model/ExpireDemoAccessTokenRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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/democenter/model/ExpireDemoAccessTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::DemoCenter::Model::ExpireDemoAccessTokenRequest;
|
||||
|
||||
ExpireDemoAccessTokenRequest::ExpireDemoAccessTokenRequest() :
|
||||
RpcServiceRequest("democenter", "2020-01-21", "ExpireDemoAccessToken")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExpireDemoAccessTokenRequest::~ExpireDemoAccessTokenRequest()
|
||||
{}
|
||||
|
||||
std::string ExpireDemoAccessTokenRequest::getDemoAccessToken()const
|
||||
{
|
||||
return demoAccessToken_;
|
||||
}
|
||||
|
||||
void ExpireDemoAccessTokenRequest::setDemoAccessToken(const std::string& demoAccessToken)
|
||||
{
|
||||
demoAccessToken_ = demoAccessToken;
|
||||
setBodyParameter("DemoAccessToken", demoAccessToken);
|
||||
}
|
||||
|
||||
44
democenter/src/model/ExpireDemoAccessTokenResult.cc
Normal file
44
democenter/src/model/ExpireDemoAccessTokenResult.cc
Normal file
@@ -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/democenter/model/ExpireDemoAccessTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::DemoCenter;
|
||||
using namespace AlibabaCloud::DemoCenter::Model;
|
||||
|
||||
ExpireDemoAccessTokenResult::ExpireDemoAccessTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExpireDemoAccessTokenResult::ExpireDemoAccessTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExpireDemoAccessTokenResult::~ExpireDemoAccessTokenResult()
|
||||
{}
|
||||
|
||||
void ExpireDemoAccessTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT AddTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT AllocateDedicatedHostsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CopyImageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateAutoProvisioningGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LaunchTemplateConfig
|
||||
{
|
||||
std::string instanceType;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateDiskRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateImageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string snapshotId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateKeyPairRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateLaunchTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TemplateTag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateLaunchTemplateVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateNatGatewayRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct BandwidthPackage
|
||||
{
|
||||
int bandwidth;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateNetworkInterfaceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateRouteEntryRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct NextHopList
|
||||
{
|
||||
std::string nextHopId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSecurityGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSnapshotRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
@@ -60,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
int getRetentionDays()const;
|
||||
void setRetentionDays(int retentionDays);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -72,6 +75,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
int retentionDays_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DeleteRouteEntryRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct NextHopList
|
||||
{
|
||||
std::string nextHopId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAccessPointsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDemandsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDisksRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeHaVipsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImageSupportInstanceTypesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImagesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeKeyPairsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeLaunchTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TemplateTag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeNetworkInterfacesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePhysicalConnectionsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setReservedInstanceName(const std::string& reservedInstanceName);
|
||||
std::vector<std::string> getStatus()const;
|
||||
void setStatus(const std::vector<std::string>& status);
|
||||
std::string getAllocationType()const;
|
||||
void setAllocationType(const std::string& allocationType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -85,6 +87,7 @@ namespace AlibabaCloud
|
||||
std::string zoneId_;
|
||||
std::string reservedInstanceName_;
|
||||
std::vector<std::string> status_;
|
||||
std::string allocationType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string allocationStatus;
|
||||
std::string zoneId;
|
||||
std::string platform;
|
||||
std::string resourceGroupId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeResourceByTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRouterInterfacesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSecurityGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string instanceName;
|
||||
int totalCount;
|
||||
std::string category;
|
||||
int sourceDiskSize;
|
||||
std::string instanceId;
|
||||
std::string snapshotLinkId;
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string kMSKeyId;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
std::string productCode;
|
||||
bool encrypted;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeVirtualBorderRoutersForPhysicalConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeVirtualBorderRoutersRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ImportImageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string oSSBucket;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -57,6 +57,8 @@ namespace AlibabaCloud
|
||||
void setCreditSpecification(const std::string& creditSpecification);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getInstanceName()const;
|
||||
@@ -74,6 +76,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
std::string creditSpecification_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyInstanceMaintenanceAttributesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct MaintenanceWindow
|
||||
{
|
||||
std::string startTime;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyReservedInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Configuration
|
||||
{
|
||||
std::string zoneId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT RemoveTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT RunInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string AcceptInquiredSystemEventRequest::getEventId()const
|
||||
void AcceptInquiredSystemEventRequest::setEventId(const std::string& eventId)
|
||||
{
|
||||
eventId_ = eventId;
|
||||
setCoreParameter("EventId", eventId);
|
||||
setParameter("EventId", eventId);
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long AcceptInquiredSystemEventRequest::getResourceOwnerId()const
|
||||
void AcceptInquiredSystemEventRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AcceptInquiredSystemEventRequest::getRegionId()const
|
||||
void AcceptInquiredSystemEventRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AcceptInquiredSystemEventRequest::getResourceOwnerAccount()const
|
||||
void AcceptInquiredSystemEventRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AcceptInquiredSystemEventRequest::getOwnerAccount()const
|
||||
void AcceptInquiredSystemEventRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long AcceptInquiredSystemEventRequest::getOwnerId()const
|
||||
void AcceptInquiredSystemEventRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ActivateRouterInterfaceRequest::getResourceOwnerId()const
|
||||
void ActivateRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string ActivateRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
void ActivateRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ActivateRouterInterfaceRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long ActivateRouterInterfaceRequest::getOwnerId()const
|
||||
void ActivateRouterInterfaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getRouterInterfaceId()const
|
||||
@@ -68,7 +68,7 @@ std::string ActivateRouterInterfaceRequest::getRouterInterfaceId()const
|
||||
void ActivateRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
|
||||
{
|
||||
routerInterfaceId_ = routerInterfaceId;
|
||||
setCoreParameter("RouterInterfaceId", routerInterfaceId);
|
||||
setParameter("RouterInterfaceId", routerInterfaceId);
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getRegionId()const
|
||||
@@ -79,6 +79,6 @@ std::string ActivateRouterInterfaceRequest::getRegionId()const
|
||||
void ActivateRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AddBandwidthPackageIpsRequest::getResourceOwnerId()const
|
||||
void AddBandwidthPackageIpsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AddBandwidthPackageIpsRequest::getClientToken()const
|
||||
void AddBandwidthPackageIpsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AddBandwidthPackageIpsRequest::getRegionId()const
|
||||
void AddBandwidthPackageIpsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
|
||||
@@ -68,7 +68,7 @@ std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
|
||||
void AddBandwidthPackageIpsRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
|
||||
{
|
||||
bandwidthPackageId_ = bandwidthPackageId;
|
||||
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
|
||||
setParameter("BandwidthPackageId", bandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AddBandwidthPackageIpsRequest::getResourceOwnerAccount()const
|
||||
void AddBandwidthPackageIpsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
|
||||
void AddBandwidthPackageIpsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddBandwidthPackageIpsRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long AddBandwidthPackageIpsRequest::getOwnerId()const
|
||||
void AddBandwidthPackageIpsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getIpCount()const
|
||||
@@ -112,6 +112,6 @@ std::string AddBandwidthPackageIpsRequest::getIpCount()const
|
||||
void AddBandwidthPackageIpsRequest::setIpCount(const std::string& ipCount)
|
||||
{
|
||||
ipCount_ = ipCount;
|
||||
setCoreParameter("IpCount", ipCount);
|
||||
setParameter("IpCount", ipCount);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AddTagsRequest::getResourceOwnerId()const
|
||||
void AddTagsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AddTagsRequest::getRegionId()const
|
||||
void AddTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::vector<AddTagsRequest::Tag> AddTagsRequest::getTag()const
|
||||
@@ -59,9 +59,9 @@ void AddTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ std::string AddTagsRequest::getResourceId()const
|
||||
void AddTagsRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setCoreParameter("ResourceId", resourceId);
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
@@ -84,7 +84,7 @@ std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
void AddTagsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddTagsRequest::getOwnerId()const
|
||||
@@ -95,7 +95,7 @@ long AddTagsRequest::getOwnerId()const
|
||||
void AddTagsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceType()const
|
||||
@@ -106,6 +106,6 @@ std::string AddTagsRequest::getResourceType()const
|
||||
void AddTagsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AllocateDedicatedHostsRequest::getResourceOwnerId()const
|
||||
void AllocateDedicatedHostsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AllocateDedicatedHostsRequest::getClientToken()const
|
||||
void AllocateDedicatedHostsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDescription()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocateDedicatedHostsRequest::getDescription()const
|
||||
void AllocateDedicatedHostsRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceGroupId()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocateDedicatedHostsRequest::getResourceGroupId()const
|
||||
void AllocateDedicatedHostsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRegionId()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocateDedicatedHostsRequest::getRegionId()const
|
||||
void AllocateDedicatedHostsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getActionOnMaintenance()const
|
||||
@@ -90,7 +90,7 @@ std::string AllocateDedicatedHostsRequest::getActionOnMaintenance()const
|
||||
void AllocateDedicatedHostsRequest::setActionOnMaintenance(const std::string& actionOnMaintenance)
|
||||
{
|
||||
actionOnMaintenance_ = actionOnMaintenance;
|
||||
setCoreParameter("ActionOnMaintenance", actionOnMaintenance);
|
||||
setParameter("ActionOnMaintenance", actionOnMaintenance);
|
||||
}
|
||||
|
||||
std::vector<AllocateDedicatedHostsRequest::Tag> AllocateDedicatedHostsRequest::getTag()const
|
||||
@@ -103,9 +103,9 @@ void AllocateDedicatedHostsRequest::setTag(const std::vector<Tag>& tag)
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ std::string AllocateDedicatedHostsRequest::getDedicatedHostType()const
|
||||
void AllocateDedicatedHostsRequest::setDedicatedHostType(const std::string& dedicatedHostType)
|
||||
{
|
||||
dedicatedHostType_ = dedicatedHostType;
|
||||
setCoreParameter("DedicatedHostType", dedicatedHostType);
|
||||
setParameter("DedicatedHostType", dedicatedHostType);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getAutoRenewPeriod()const
|
||||
@@ -128,7 +128,7 @@ int AllocateDedicatedHostsRequest::getAutoRenewPeriod()const
|
||||
void AllocateDedicatedHostsRequest::setAutoRenewPeriod(int autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setCoreParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getPeriod()const
|
||||
@@ -139,7 +139,7 @@ int AllocateDedicatedHostsRequest::getPeriod()const
|
||||
void AllocateDedicatedHostsRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", std::to_string(period));
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getQuantity()const
|
||||
@@ -150,7 +150,7 @@ int AllocateDedicatedHostsRequest::getQuantity()const
|
||||
void AllocateDedicatedHostsRequest::setQuantity(int quantity)
|
||||
{
|
||||
quantity_ = quantity;
|
||||
setCoreParameter("Quantity", std::to_string(quantity));
|
||||
setParameter("Quantity", std::to_string(quantity));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDedicatedHostName()const
|
||||
@@ -161,7 +161,7 @@ std::string AllocateDedicatedHostsRequest::getDedicatedHostName()const
|
||||
void AllocateDedicatedHostsRequest::setDedicatedHostName(const std::string& dedicatedHostName)
|
||||
{
|
||||
dedicatedHostName_ = dedicatedHostName;
|
||||
setCoreParameter("DedicatedHostName", dedicatedHostName);
|
||||
setParameter("DedicatedHostName", dedicatedHostName);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceOwnerAccount()const
|
||||
@@ -172,7 +172,7 @@ std::string AllocateDedicatedHostsRequest::getResourceOwnerAccount()const
|
||||
void AllocateDedicatedHostsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getOwnerAccount()const
|
||||
@@ -183,7 +183,7 @@ std::string AllocateDedicatedHostsRequest::getOwnerAccount()const
|
||||
void AllocateDedicatedHostsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAutoReleaseTime()const
|
||||
@@ -194,7 +194,7 @@ std::string AllocateDedicatedHostsRequest::getAutoReleaseTime()const
|
||||
void AllocateDedicatedHostsRequest::setAutoReleaseTime(const std::string& autoReleaseTime)
|
||||
{
|
||||
autoReleaseTime_ = autoReleaseTime;
|
||||
setCoreParameter("AutoReleaseTime", autoReleaseTime);
|
||||
setParameter("AutoReleaseTime", autoReleaseTime);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getOwnerId()const
|
||||
@@ -205,7 +205,7 @@ long AllocateDedicatedHostsRequest::getOwnerId()const
|
||||
void AllocateDedicatedHostsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getPeriodUnit()const
|
||||
@@ -216,7 +216,7 @@ std::string AllocateDedicatedHostsRequest::getPeriodUnit()const
|
||||
void AllocateDedicatedHostsRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
{
|
||||
periodUnit_ = periodUnit;
|
||||
setCoreParameter("PeriodUnit", periodUnit);
|
||||
setParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getAutoRenew()const
|
||||
@@ -227,7 +227,7 @@ bool AllocateDedicatedHostsRequest::getAutoRenew()const
|
||||
void AllocateDedicatedHostsRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesSlbUdpTimeout()const
|
||||
@@ -238,7 +238,7 @@ int AllocateDedicatedHostsRequest::getNetworkAttributesSlbUdpTimeout()const
|
||||
void AllocateDedicatedHostsRequest::setNetworkAttributesSlbUdpTimeout(int networkAttributesSlbUdpTimeout)
|
||||
{
|
||||
networkAttributesSlbUdpTimeout_ = networkAttributesSlbUdpTimeout;
|
||||
setCoreParameter("NetworkAttributesSlbUdpTimeout", std::to_string(networkAttributesSlbUdpTimeout));
|
||||
setParameter("NetworkAttributesSlbUdpTimeout", std::to_string(networkAttributesSlbUdpTimeout));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getZoneId()const
|
||||
@@ -249,7 +249,7 @@ std::string AllocateDedicatedHostsRequest::getZoneId()const
|
||||
void AllocateDedicatedHostsRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAutoPlacement()const
|
||||
@@ -260,7 +260,7 @@ std::string AllocateDedicatedHostsRequest::getAutoPlacement()const
|
||||
void AllocateDedicatedHostsRequest::setAutoPlacement(const std::string& autoPlacement)
|
||||
{
|
||||
autoPlacement_ = autoPlacement;
|
||||
setCoreParameter("AutoPlacement", autoPlacement);
|
||||
setParameter("AutoPlacement", autoPlacement);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getChargeType()const
|
||||
@@ -271,7 +271,7 @@ std::string AllocateDedicatedHostsRequest::getChargeType()const
|
||||
void AllocateDedicatedHostsRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setCoreParameter("ChargeType", chargeType);
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesUdpTimeout()const
|
||||
@@ -282,6 +282,6 @@ int AllocateDedicatedHostsRequest::getNetworkAttributesUdpTimeout()const
|
||||
void AllocateDedicatedHostsRequest::setNetworkAttributesUdpTimeout(int networkAttributesUdpTimeout)
|
||||
{
|
||||
networkAttributesUdpTimeout_ = networkAttributesUdpTimeout;
|
||||
setCoreParameter("NetworkAttributesUdpTimeout", std::to_string(networkAttributesUdpTimeout));
|
||||
setParameter("NetworkAttributesUdpTimeout", std::to_string(networkAttributesUdpTimeout));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AllocateEipAddressRequest::getResourceOwnerId()const
|
||||
void AllocateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AllocateEipAddressRequest::getClientToken()const
|
||||
void AllocateEipAddressRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getISP()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocateEipAddressRequest::getISP()const
|
||||
void AllocateEipAddressRequest::setISP(const std::string& iSP)
|
||||
{
|
||||
iSP_ = iSP;
|
||||
setCoreParameter("ISP", iSP);
|
||||
setParameter("ISP", iSP);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getRegionId()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocateEipAddressRequest::getRegionId()const
|
||||
void AllocateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
|
||||
void AllocateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getBandwidth()const
|
||||
@@ -90,7 +90,7 @@ std::string AllocateEipAddressRequest::getBandwidth()const
|
||||
void AllocateEipAddressRequest::setBandwidth(const std::string& bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setCoreParameter("Bandwidth", bandwidth);
|
||||
setParameter("Bandwidth", bandwidth);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string AllocateEipAddressRequest::getOwnerAccount()const
|
||||
void AllocateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AllocateEipAddressRequest::getOwnerId()const
|
||||
@@ -112,7 +112,7 @@ long AllocateEipAddressRequest::getOwnerId()const
|
||||
void AllocateEipAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long AllocateEipAddressRequest::getActivityId()const
|
||||
@@ -123,7 +123,7 @@ long AllocateEipAddressRequest::getActivityId()const
|
||||
void AllocateEipAddressRequest::setActivityId(long activityId)
|
||||
{
|
||||
activityId_ = activityId;
|
||||
setCoreParameter("ActivityId", std::to_string(activityId));
|
||||
setParameter("ActivityId", std::to_string(activityId));
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getInternetChargeType()const
|
||||
@@ -134,6 +134,6 @@ std::string AllocateEipAddressRequest::getInternetChargeType()const
|
||||
void AllocateEipAddressRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setCoreParameter("InternetChargeType", internetChargeType);
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string AllocatePublicIpAddressRequest::getIpAddress()const
|
||||
void AllocatePublicIpAddressRequest::setIpAddress(const std::string& ipAddress)
|
||||
{
|
||||
ipAddress_ = ipAddress;
|
||||
setCoreParameter("IpAddress", ipAddress);
|
||||
setParameter("IpAddress", ipAddress);
|
||||
}
|
||||
|
||||
long AllocatePublicIpAddressRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long AllocatePublicIpAddressRequest::getResourceOwnerId()const
|
||||
void AllocatePublicIpAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getVlanId()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocatePublicIpAddressRequest::getVlanId()const
|
||||
void AllocatePublicIpAddressRequest::setVlanId(const std::string& vlanId)
|
||||
{
|
||||
vlanId_ = vlanId;
|
||||
setCoreParameter("VlanId", vlanId);
|
||||
setParameter("VlanId", vlanId);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocatePublicIpAddressRequest::getResourceOwnerAccount()const
|
||||
void AllocatePublicIpAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocatePublicIpAddressRequest::getOwnerAccount()const
|
||||
void AllocatePublicIpAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AllocatePublicIpAddressRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long AllocatePublicIpAddressRequest::getOwnerId()const
|
||||
void AllocatePublicIpAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getInstanceId()const
|
||||
@@ -101,6 +101,6 @@ std::string AllocatePublicIpAddressRequest::getInstanceId()const
|
||||
void AllocatePublicIpAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ApplyAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getAutoSnapshotPolicyId()const
|
||||
@@ -46,7 +46,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getAutoSnapshotPolicyId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setAutoSnapshotPolicyId(const std::string& autoSnapshotPolicyId)
|
||||
{
|
||||
autoSnapshotPolicyId_ = autoSnapshotPolicyId;
|
||||
setCoreParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId);
|
||||
setParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getRegionId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
@@ -68,7 +68,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setDiskIds(const std::string& diskIds)
|
||||
{
|
||||
diskIds_ = diskIds;
|
||||
setCoreParameter("DiskIds", diskIds);
|
||||
setParameter("DiskIds", diskIds);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ApplyAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long ApplyAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssignIpv6AddressesRequest::getResourceOwnerId()const
|
||||
void AssignIpv6AddressesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AssignIpv6AddressesRequest::getRegionId()const
|
||||
void AssignIpv6AddressesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string AssignIpv6AddressesRequest::getResourceOwnerAccount()const
|
||||
void AssignIpv6AddressesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int AssignIpv6AddressesRequest::getIpv6AddressCount()const
|
||||
@@ -68,7 +68,7 @@ int AssignIpv6AddressesRequest::getIpv6AddressCount()const
|
||||
void AssignIpv6AddressesRequest::setIpv6AddressCount(int ipv6AddressCount)
|
||||
{
|
||||
ipv6AddressCount_ = ipv6AddressCount;
|
||||
setCoreParameter("Ipv6AddressCount", std::to_string(ipv6AddressCount));
|
||||
setParameter("Ipv6AddressCount", std::to_string(ipv6AddressCount));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssignIpv6AddressesRequest::getOwnerAccount()const
|
||||
void AssignIpv6AddressesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssignIpv6AddressesRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long AssignIpv6AddressesRequest::getOwnerId()const
|
||||
void AssignIpv6AddressesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getNetworkInterfaceId()const
|
||||
@@ -101,7 +101,7 @@ std::string AssignIpv6AddressesRequest::getNetworkInterfaceId()const
|
||||
void AssignIpv6AddressesRequest::setNetworkInterfaceId(const std::string& networkInterfaceId)
|
||||
{
|
||||
networkInterfaceId_ = networkInterfaceId;
|
||||
setCoreParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
setParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
}
|
||||
|
||||
std::vector<std::string> AssignIpv6AddressesRequest::getIpv6Address()const
|
||||
@@ -113,7 +113,7 @@ void AssignIpv6AddressesRequest::setIpv6Address(const std::vector<std::string>&
|
||||
{
|
||||
ipv6Address_ = ipv6Address;
|
||||
for(int dep1 = 0; dep1!= ipv6Address.size(); dep1++) {
|
||||
setCoreParameter("Ipv6Address."+ std::to_string(dep1), ipv6Address.at(dep1));
|
||||
setParameter("Ipv6Address."+ std::to_string(dep1), ipv6Address.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssignPrivateIpAddressesRequest::getResourceOwnerId()const
|
||||
void AssignPrivateIpAddressesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int AssignPrivateIpAddressesRequest::getSecondaryPrivateIpAddressCount()const
|
||||
@@ -46,7 +46,7 @@ int AssignPrivateIpAddressesRequest::getSecondaryPrivateIpAddressCount()const
|
||||
void AssignPrivateIpAddressesRequest::setSecondaryPrivateIpAddressCount(int secondaryPrivateIpAddressCount)
|
||||
{
|
||||
secondaryPrivateIpAddressCount_ = secondaryPrivateIpAddressCount;
|
||||
setCoreParameter("SecondaryPrivateIpAddressCount", std::to_string(secondaryPrivateIpAddressCount));
|
||||
setParameter("SecondaryPrivateIpAddressCount", std::to_string(secondaryPrivateIpAddressCount));
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AssignPrivateIpAddressesRequest::getRegionId()const
|
||||
void AssignPrivateIpAddressesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AssignPrivateIpAddressesRequest::getResourceOwnerAccount()const
|
||||
void AssignPrivateIpAddressesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssignPrivateIpAddressesRequest::getOwnerAccount()const
|
||||
void AssignPrivateIpAddressesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssignPrivateIpAddressesRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long AssignPrivateIpAddressesRequest::getOwnerId()const
|
||||
void AssignPrivateIpAddressesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<std::string> AssignPrivateIpAddressesRequest::getPrivateIpAddress()const
|
||||
@@ -102,7 +102,7 @@ void AssignPrivateIpAddressesRequest::setPrivateIpAddress(const std::vector<std:
|
||||
{
|
||||
privateIpAddress_ = privateIpAddress;
|
||||
for(int dep1 = 0; dep1!= privateIpAddress.size(); dep1++) {
|
||||
setCoreParameter("PrivateIpAddress."+ std::to_string(dep1), privateIpAddress.at(dep1));
|
||||
setParameter("PrivateIpAddress."+ std::to_string(dep1), privateIpAddress.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,6 +114,6 @@ std::string AssignPrivateIpAddressesRequest::getNetworkInterfaceId()const
|
||||
void AssignPrivateIpAddressesRequest::setNetworkInterfaceId(const std::string& networkInterfaceId)
|
||||
{
|
||||
networkInterfaceId_ = networkInterfaceId;
|
||||
setCoreParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
setParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssociateEipAddressRequest::getResourceOwnerId()const
|
||||
void AssociateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getAllocationId()const
|
||||
@@ -46,7 +46,7 @@ std::string AssociateEipAddressRequest::getAllocationId()const
|
||||
void AssociateEipAddressRequest::setAllocationId(const std::string& allocationId)
|
||||
{
|
||||
allocationId_ = allocationId;
|
||||
setCoreParameter("AllocationId", allocationId);
|
||||
setParameter("AllocationId", allocationId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AssociateEipAddressRequest::getRegionId()const
|
||||
void AssociateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceType()const
|
||||
@@ -68,7 +68,7 @@ std::string AssociateEipAddressRequest::getInstanceType()const
|
||||
void AssociateEipAddressRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setCoreParameter("InstanceType", instanceType);
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
|
||||
void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string AssociateEipAddressRequest::getOwnerAccount()const
|
||||
void AssociateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssociateEipAddressRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long AssociateEipAddressRequest::getOwnerId()const
|
||||
void AssociateEipAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceId()const
|
||||
@@ -112,6 +112,6 @@ std::string AssociateEipAddressRequest::getInstanceId()const
|
||||
void AssociateEipAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user