Update endpoint data.
This commit is contained in:
1512
ecs/src/EcsClient.cc
1512
ecs/src/EcsClient.cc
File diff suppressed because it is too large
Load Diff
@@ -47,105 +47,6 @@ void AcceptInquiredSystemEventRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool AcceptInquiredSystemEventRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -157,72 +58,6 @@ void AcceptInquiredSystemEventRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AcceptInquiredSystemEventRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -245,17 +80,6 @@ void AcceptInquiredSystemEventRequest::setOwnerAccount(const std::string& ownerA
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,58 +91,3 @@ void AcceptInquiredSystemEventRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AcceptInquiredSystemEventRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AcceptInquiredSystemEventRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AcceptInquiredSystemEventRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AcceptInquiredSystemEventRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AcceptInquiredSystemEventResult::~AcceptInquiredSystemEventResult()
|
||||
|
||||
void AcceptInquiredSystemEventResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void ActivateRouterInterfaceRequest::setResourceOwnerAccount(const std::string&
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ActivateRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long ActivateRouterInterfaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -80,3 +69,14 @@ void ActivateRouterInterfaceRequest::setRouterInterfaceId(const std::string& rou
|
||||
setCoreParameter("RouterInterfaceId", routerInterfaceId);
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ActivateRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ActivateRouterInterfaceResult::~ActivateRouterInterfaceResult()
|
||||
|
||||
void ActivateRouterInterfaceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,28 @@ void AddBandwidthPackageIpsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddBandwidthPackageIpsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AddBandwidthPackageIpsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
|
||||
{
|
||||
return bandwidthPackageId_;
|
||||
@@ -58,28 +80,6 @@ void AddBandwidthPackageIpsRequest::setResourceOwnerAccount(const std::string& r
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AddBandwidthPackageIpsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddBandwidthPackageIpsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AddBandwidthPackageIpsResult::~AddBandwidthPackageIpsResult()
|
||||
|
||||
void AddBandwidthPackageIpsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ AddTagsRequest::AddTagsRequest() :
|
||||
AddTagsRequest::~AddTagsRequest()
|
||||
{}
|
||||
|
||||
std::string AddTagsRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long AddTagsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void AddTagsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setCoreParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -97,6 +64,28 @@ void AddTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setCoreParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddTagsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AddTagsResult::~AddTagsResult()
|
||||
|
||||
void AddTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,28 +47,6 @@ void AllocateDedicatedHostsRequest::setClientToken(const std::string& clientToke
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,61 +58,6 @@ void AllocateDedicatedHostsRequest::setDescription(const std::string& descriptio
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -146,17 +69,6 @@ void AllocateDedicatedHostsRequest::setResourceGroupId(const std::string& resour
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -168,28 +80,6 @@ void AllocateDedicatedHostsRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getActionOnMaintenance()const
|
||||
{
|
||||
return actionOnMaintenance_;
|
||||
@@ -201,17 +91,6 @@ void AllocateDedicatedHostsRequest::setActionOnMaintenance(const std::string& ac
|
||||
setCoreParameter("ActionOnMaintenance", actionOnMaintenance);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<AllocateDedicatedHostsRequest::Tag> AllocateDedicatedHostsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -240,39 +119,6 @@ void AllocateDedicatedHostsRequest::setDedicatedHostType(const std::string& dedi
|
||||
setCoreParameter("DedicatedHostType", dedicatedHostType);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getAutoRenewPeriod()const
|
||||
{
|
||||
return autoRenewPeriod_;
|
||||
@@ -350,17 +196,6 @@ void AllocateDedicatedHostsRequest::setAutoReleaseTime(const std::string& autoRe
|
||||
setCoreParameter("AutoReleaseTime", autoReleaseTime);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -372,39 +207,6 @@ void AllocateDedicatedHostsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getPeriodUnit()const
|
||||
{
|
||||
return periodUnit_;
|
||||
@@ -427,28 +229,6 @@ void AllocateDedicatedHostsRequest::setAutoRenew(bool autoRenew)
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesSlbUdpTimeout()const
|
||||
{
|
||||
return networkAttributesSlbUdpTimeout_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AllocateDedicatedHostsResult::~AllocateDedicatedHostsResult()
|
||||
|
||||
void AllocateDedicatedHostsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDedicatedHostIdSets = value["DedicatedHostIdSets"]["DedicatedHostId"];
|
||||
for (const auto &item : allDedicatedHostIdSets)
|
||||
|
||||
@@ -25,17 +25,6 @@ AllocateEipAddressRequest::AllocateEipAddressRequest() :
|
||||
AllocateEipAddressRequest::~AllocateEipAddressRequest()
|
||||
{}
|
||||
|
||||
long AllocateEipAddressRequest::getActivityId()const
|
||||
{
|
||||
return activityId_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setActivityId(long activityId)
|
||||
{
|
||||
activityId_ = activityId;
|
||||
setCoreParameter("ActivityId", std::to_string(activityId));
|
||||
}
|
||||
|
||||
long AllocateEipAddressRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,39 +36,6 @@ void AllocateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setBandwidth(const std::string& bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setCoreParameter("Bandwidth", bandwidth);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -91,17 +47,6 @@ void AllocateEipAddressRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setCoreParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getISP()const
|
||||
{
|
||||
return iSP_;
|
||||
@@ -113,6 +58,39 @@ void AllocateEipAddressRequest::setISP(const std::string& iSP)
|
||||
setCoreParameter("ISP", iSP);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setBandwidth(const std::string& bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setCoreParameter("Bandwidth", bandwidth);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -135,3 +113,25 @@ void AllocateEipAddressRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long AllocateEipAddressRequest::getActivityId()const
|
||||
{
|
||||
return activityId_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setActivityId(long activityId)
|
||||
{
|
||||
activityId_ = activityId;
|
||||
setCoreParameter("ActivityId", std::to_string(activityId));
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setCoreParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AllocateEipAddressResult::~AllocateEipAddressResult()
|
||||
|
||||
void AllocateEipAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AllocationId"].isNull())
|
||||
allocationId_ = value["AllocationId"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ AllocatePublicIpAddressRequest::AllocatePublicIpAddressRequest() :
|
||||
AllocatePublicIpAddressRequest::~AllocatePublicIpAddressRequest()
|
||||
{}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AllocatePublicIpAddressRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getIpAddress()const
|
||||
{
|
||||
return ipAddress_;
|
||||
@@ -58,15 +47,15 @@ void AllocatePublicIpAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getInstanceId()const
|
||||
std::string AllocatePublicIpAddressRequest::getVlanId()const
|
||||
{
|
||||
return instanceId_;
|
||||
return vlanId_;
|
||||
}
|
||||
|
||||
void AllocatePublicIpAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
void AllocatePublicIpAddressRequest::setVlanId(const std::string& vlanId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
vlanId_ = vlanId;
|
||||
setCoreParameter("VlanId", vlanId);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -80,17 +69,6 @@ void AllocatePublicIpAddressRequest::setResourceOwnerAccount(const std::string&
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getVlanId()const
|
||||
{
|
||||
return vlanId_;
|
||||
}
|
||||
|
||||
void AllocatePublicIpAddressRequest::setVlanId(const std::string& vlanId)
|
||||
{
|
||||
vlanId_ = vlanId;
|
||||
setCoreParameter("VlanId", vlanId);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -113,3 +91,14 @@ void AllocatePublicIpAddressRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AllocatePublicIpAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AllocatePublicIpAddressResult::~AllocatePublicIpAddressResult()
|
||||
|
||||
void AllocatePublicIpAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IpAddress"].isNull())
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ ApplyAutoSnapshotPolicyRequest::ApplyAutoSnapshotPolicyRequest() :
|
||||
ApplyAutoSnapshotPolicyRequest::~ApplyAutoSnapshotPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void ApplyAutoSnapshotPolicyRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long ApplyAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void ApplyAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ApplyAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ApplyAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getAutoSnapshotPolicyId()const
|
||||
{
|
||||
return autoSnapshotPolicyId_;
|
||||
@@ -80,6 +47,17 @@ void ApplyAutoSnapshotPolicyRequest::setAutoSnapshotPolicyId(const std::string&
|
||||
setCoreParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ApplyAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
{
|
||||
return diskIds_;
|
||||
@@ -91,6 +69,17 @@ void ApplyAutoSnapshotPolicyRequest::setDiskIds(const std::string& diskIds)
|
||||
setCoreParameter("DiskIds", diskIds);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ApplyAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ApplyAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ ApplyAutoSnapshotPolicyResult::~ApplyAutoSnapshotPolicyResult()
|
||||
|
||||
void ApplyAutoSnapshotPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,105 +36,6 @@ void AssignIpv6AddressesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long AssignIpv6AddressesRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool AssignIpv6AddressesRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -146,72 +47,6 @@ void AssignIpv6AddressesRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AssignIpv6AddressesRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AssignIpv6AddressesRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -245,17 +80,6 @@ void AssignIpv6AddressesRequest::setOwnerAccount(const std::string& ownerAccount
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AssignIpv6AddressesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,61 +91,6 @@ void AssignIpv6AddressesRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AssignIpv6AddressesRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AssignIpv6AddressesRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AssignIpv6AddressesRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AssignIpv6AddressesRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getNetworkInterfaceId()const
|
||||
{
|
||||
return networkInterfaceId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AssignIpv6AddressesResult::~AssignIpv6AddressesResult()
|
||||
|
||||
void AssignIpv6AddressesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,28 +36,6 @@ void AssignPrivateIpAddressesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long AssignPrivateIpAddressesRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool AssignPrivateIpAddressesRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
int AssignPrivateIpAddressesRequest::getSecondaryPrivateIpAddressCount()const
|
||||
{
|
||||
return secondaryPrivateIpAddressCount_;
|
||||
@@ -69,72 +47,6 @@ void AssignPrivateIpAddressesRequest::setSecondaryPrivateIpAddressCount(int seco
|
||||
setCoreParameter("SecondaryPrivateIpAddressCount", std::to_string(secondaryPrivateIpAddressCount));
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -146,72 +58,6 @@ void AssignPrivateIpAddressesRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AssignPrivateIpAddressesRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AssignPrivateIpAddressesRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -234,17 +80,6 @@ void AssignPrivateIpAddressesRequest::setOwnerAccount(const std::string& ownerAc
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AssignPrivateIpAddressesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,39 +91,6 @@ void AssignPrivateIpAddressesRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AssignPrivateIpAddressesRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AssignPrivateIpAddressesRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AssignPrivateIpAddressesRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> AssignPrivateIpAddressesRequest::getPrivateIpAddress()const
|
||||
{
|
||||
return privateIpAddress_;
|
||||
@@ -301,28 +103,6 @@ void AssignPrivateIpAddressesRequest::setPrivateIpAddress(const std::vector<std:
|
||||
setCoreParameter("PrivateIpAddress."+ std::to_string(i), privateIpAddress.at(i));
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AssignPrivateIpAddressesRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getNetworkInterfaceId()const
|
||||
{
|
||||
return networkInterfaceId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AssignPrivateIpAddressesResult::~AssignPrivateIpAddressesResult()
|
||||
|
||||
void AssignPrivateIpAddressesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,26 +36,15 @@ void AssociateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceId()const
|
||||
std::string AssociateEipAddressRequest::getAllocationId()const
|
||||
{
|
||||
return instanceId_;
|
||||
return allocationId_;
|
||||
}
|
||||
|
||||
void AssociateEipAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
void AssociateEipAddressRequest::setAllocationId(const std::string& allocationId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
allocationId_ = allocationId;
|
||||
setCoreParameter("AllocationId", allocationId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getRegionId()const
|
||||
@@ -69,17 +58,6 @@ void AssociateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AssociateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
@@ -91,15 +69,26 @@ void AssociateEipAddressRequest::setInstanceType(const std::string& instanceType
|
||||
setCoreParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getAllocationId()const
|
||||
std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return allocationId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateEipAddressRequest::setAllocationId(const std::string& allocationId)
|
||||
void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
allocationId_ = allocationId;
|
||||
setCoreParameter("AllocationId", allocationId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AssociateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssociateEipAddressRequest::getOwnerId()const
|
||||
@@ -113,3 +102,14 @@ void AssociateEipAddressRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AssociateEipAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AssociateEipAddressResult::~AssociateEipAddressResult()
|
||||
|
||||
void AssociateEipAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ AssociateHaVipRequest::AssociateHaVipRequest() :
|
||||
AssociateHaVipRequest::~AssociateHaVipRequest()
|
||||
{}
|
||||
|
||||
std::string AssociateHaVipRequest::getHaVipId()const
|
||||
{
|
||||
return haVipId_;
|
||||
}
|
||||
|
||||
void AssociateHaVipRequest::setHaVipId(const std::string& haVipId)
|
||||
{
|
||||
haVipId_ = haVipId;
|
||||
setCoreParameter("HaVipId", haVipId);
|
||||
}
|
||||
|
||||
long AssociateHaVipRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void AssociateHaVipRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AssociateHaVipRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -91,6 +58,28 @@ void AssociateHaVipRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getHaVipId()const
|
||||
{
|
||||
return haVipId_;
|
||||
}
|
||||
|
||||
void AssociateHaVipRequest::setHaVipId(const std::string& haVipId)
|
||||
{
|
||||
haVipId_ = haVipId;
|
||||
setCoreParameter("HaVipId", haVipId);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -113,3 +102,14 @@ void AssociateHaVipRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AssociateHaVipRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AssociateHaVipResult::~AssociateHaVipResult()
|
||||
|
||||
void AssociateHaVipResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ AttachClassicLinkVpcRequest::AttachClassicLinkVpcRequest() :
|
||||
AttachClassicLinkVpcRequest::~AttachClassicLinkVpcRequest()
|
||||
{}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AttachClassicLinkVpcRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long AttachClassicLinkVpcRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void AttachClassicLinkVpcRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AttachClassicLinkVpcRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachClassicLinkVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -80,15 +47,15 @@ void AttachClassicLinkVpcRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getVpcId()const
|
||||
std::string AttachClassicLinkVpcRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return vpcId_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachClassicLinkVpcRequest::setVpcId(const std::string& vpcId)
|
||||
void AttachClassicLinkVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AttachClassicLinkVpcRequest::getOwnerId()const
|
||||
@@ -102,3 +69,25 @@ void AttachClassicLinkVpcRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AttachClassicLinkVpcRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void AttachClassicLinkVpcRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachClassicLinkVpcResult::~AttachClassicLinkVpcResult()
|
||||
|
||||
void AttachClassicLinkVpcResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ AttachDiskRequest::AttachDiskRequest() :
|
||||
AttachDiskRequest::~AttachDiskRequest()
|
||||
{}
|
||||
|
||||
std::string AttachDiskRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AttachDiskRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long AttachDiskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,15 +36,26 @@ void AttachDiskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getInstanceId()const
|
||||
std::string AttachDiskRequest::getDiskId()const
|
||||
{
|
||||
return instanceId_;
|
||||
return diskId_;
|
||||
}
|
||||
|
||||
void AttachDiskRequest::setInstanceId(const std::string& instanceId)
|
||||
void AttachDiskRequest::setDiskId(const std::string& diskId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
diskId_ = diskId;
|
||||
setCoreParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
bool AttachDiskRequest::getDeleteWithInstance()const
|
||||
{
|
||||
return deleteWithInstance_;
|
||||
}
|
||||
|
||||
void AttachDiskRequest::setDeleteWithInstance(bool deleteWithInstance)
|
||||
{
|
||||
deleteWithInstance_ = deleteWithInstance;
|
||||
setCoreParameter("DeleteWithInstance", deleteWithInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getResourceOwnerAccount()const
|
||||
@@ -80,17 +80,6 @@ void AttachDiskRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getDiskId()const
|
||||
{
|
||||
return diskId_;
|
||||
}
|
||||
|
||||
void AttachDiskRequest::setDiskId(const std::string& diskId)
|
||||
{
|
||||
diskId_ = diskId;
|
||||
setCoreParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
long AttachDiskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,6 +91,17 @@ void AttachDiskRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AttachDiskRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getDevice()const
|
||||
{
|
||||
return device_;
|
||||
@@ -113,14 +113,3 @@ void AttachDiskRequest::setDevice(const std::string& device)
|
||||
setCoreParameter("Device", device);
|
||||
}
|
||||
|
||||
bool AttachDiskRequest::getDeleteWithInstance()const
|
||||
{
|
||||
return deleteWithInstance_;
|
||||
}
|
||||
|
||||
void AttachDiskRequest::setDeleteWithInstance(bool deleteWithInstance)
|
||||
{
|
||||
deleteWithInstance_ = deleteWithInstance;
|
||||
setCoreParameter("DeleteWithInstance", deleteWithInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachDiskResult::~AttachDiskResult()
|
||||
|
||||
void AttachDiskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ AttachInstanceRamRoleRequest::AttachInstanceRamRoleRequest() :
|
||||
AttachInstanceRamRoleRequest::~AttachInstanceRamRoleRequest()
|
||||
{}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AttachInstanceRamRoleRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long AttachInstanceRamRoleRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void AttachInstanceRamRoleRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachInstanceRamRoleRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -69,15 +47,15 @@ void AttachInstanceRamRoleRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getInstanceIds()const
|
||||
std::string AttachInstanceRamRoleRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return instanceIds_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachInstanceRamRoleRequest::setInstanceIds(const std::string& instanceIds)
|
||||
void AttachInstanceRamRoleRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setCoreParameter("InstanceIds", instanceIds);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getRamRoleName()const
|
||||
@@ -102,3 +80,14 @@ void AttachInstanceRamRoleRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getInstanceIds()const
|
||||
{
|
||||
return instanceIds_;
|
||||
}
|
||||
|
||||
void AttachInstanceRamRoleRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setCoreParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachInstanceRamRoleResult::~AttachInstanceRamRoleResult()
|
||||
|
||||
void AttachInstanceRamRoleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAttachInstanceRamRoleResults = value["AttachInstanceRamRoleResults"]["AttachInstanceRamRoleResult"];
|
||||
for (auto value : allAttachInstanceRamRoleResults)
|
||||
|
||||
@@ -25,17 +25,6 @@ AttachKeyPairRequest::AttachKeyPairRequest() :
|
||||
AttachKeyPairRequest::~AttachKeyPairRequest()
|
||||
{}
|
||||
|
||||
std::string AttachKeyPairRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long AttachKeyPairRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,39 +36,6 @@ void AttachKeyPairRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getInstanceIds()const
|
||||
{
|
||||
return instanceIds_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setCoreParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getKeyPairName()const
|
||||
{
|
||||
return keyPairName_;
|
||||
@@ -91,6 +47,28 @@ void AttachKeyPairRequest::setKeyPairName(const std::string& keyPairName)
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AttachKeyPairRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,3 +80,14 @@ void AttachKeyPairRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getInstanceIds()const
|
||||
{
|
||||
return instanceIds_;
|
||||
}
|
||||
|
||||
void AttachKeyPairRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setCoreParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachKeyPairResult::~AttachKeyPairResult()
|
||||
|
||||
void AttachKeyPairResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
|
||||
@@ -36,94 +36,6 @@ void AttachNetworkInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long AttachNetworkInterfaceRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool AttachNetworkInterfaceRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -135,72 +47,6 @@ void AttachNetworkInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AttachNetworkInterfaceRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AttachNetworkInterfaceRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -223,17 +69,6 @@ void AttachNetworkInterfaceRequest::setOwnerAccount(const std::string& ownerAcco
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AttachNetworkInterfaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,39 +80,6 @@ void AttachNetworkInterfaceRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AttachNetworkInterfaceRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AttachNetworkInterfaceRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AttachNetworkInterfaceRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -289,28 +91,6 @@ void AttachNetworkInterfaceRequest::setInstanceId(const std::string& instanceId)
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AttachNetworkInterfaceRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getNetworkInterfaceId()const
|
||||
{
|
||||
return networkInterfaceId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachNetworkInterfaceResult::~AttachNetworkInterfaceResult()
|
||||
|
||||
void AttachNetworkInterfaceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -69,17 +69,6 @@ void AuthorizeSecurityGroupEgressRequest::setClientToken(const std::string& clie
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupEgressRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
@@ -91,17 +80,6 @@ void AuthorizeSecurityGroupEgressRequest::setSecurityGroupId(const std::string&
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupEgressRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -113,72 +91,6 @@ void AuthorizeSecurityGroupEgressRequest::setDescription(const std::string& desc
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -190,61 +102,6 @@ void AuthorizeSecurityGroupEgressRequest::setRegionId(const std::string& regionI
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupEgressRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupEgressRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getIpv6DestCidrIp()const
|
||||
{
|
||||
return ipv6DestCidrIp_;
|
||||
@@ -278,17 +135,6 @@ void AuthorizeSecurityGroupEgressRequest::setPolicy(const std::string& policy)
|
||||
setCoreParameter("Policy", policy);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getPortRange()const
|
||||
{
|
||||
return portRange_;
|
||||
@@ -344,17 +190,6 @@ void AuthorizeSecurityGroupEgressRequest::setSourceCidrIp(const std::string& sou
|
||||
setCoreParameter("SourceCidrIp", sourceCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getDestGroupId()const
|
||||
{
|
||||
return destGroupId_;
|
||||
@@ -410,39 +245,6 @@ void AuthorizeSecurityGroupEgressRequest::setDestCidrIp(const std::string& destC
|
||||
setCoreParameter("DestCidrIp", destCidrIp);
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupEgressRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupEgressRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupEgressRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupEgressRequest::getDestGroupOwnerId()const
|
||||
{
|
||||
return destGroupOwnerId_;
|
||||
@@ -454,25 +256,3 @@ void AuthorizeSecurityGroupEgressRequest::setDestGroupOwnerId(long destGroupOwne
|
||||
setCoreParameter("DestGroupOwnerId", std::to_string(destGroupOwnerId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupEgressRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AuthorizeSecurityGroupEgressResult::~AuthorizeSecurityGroupEgressResult()
|
||||
|
||||
void AuthorizeSecurityGroupEgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -69,17 +69,6 @@ void AuthorizeSecurityGroupRequest::setClientToken(const std::string& clientToke
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
@@ -91,17 +80,6 @@ void AuthorizeSecurityGroupRequest::setSecurityGroupId(const std::string& securi
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -113,61 +91,6 @@ void AuthorizeSecurityGroupRequest::setDescription(const std::string& descriptio
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getSourceGroupOwnerId()const
|
||||
{
|
||||
return sourceGroupOwnerId_;
|
||||
@@ -190,17 +113,6 @@ void AuthorizeSecurityGroupRequest::setSourceGroupOwnerAccount(const std::string
|
||||
setCoreParameter("SourceGroupOwnerAccount", sourceGroupOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -212,61 +124,6 @@ void AuthorizeSecurityGroupRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getIpv6SourceCidrIp()const
|
||||
{
|
||||
return ipv6SourceCidrIp_;
|
||||
@@ -300,17 +157,6 @@ void AuthorizeSecurityGroupRequest::setPolicy(const std::string& policy)
|
||||
setCoreParameter("Policy", policy);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getPortRange()const
|
||||
{
|
||||
return portRange_;
|
||||
@@ -366,17 +212,6 @@ void AuthorizeSecurityGroupRequest::setSourceCidrIp(const std::string& sourceCid
|
||||
setCoreParameter("SourceCidrIp", sourceCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -410,61 +245,6 @@ void AuthorizeSecurityGroupRequest::setDestCidrIp(const std::string& destCidrIp)
|
||||
setCoreParameter("DestCidrIp", destCidrIp);
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AuthorizeSecurityGroupRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void AuthorizeSecurityGroupRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSourceGroupId()const
|
||||
{
|
||||
return sourceGroupId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AuthorizeSecurityGroupResult::~AuthorizeSecurityGroupResult()
|
||||
|
||||
void AuthorizeSecurityGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ CancelAutoSnapshotPolicyRequest::CancelAutoSnapshotPolicyRequest() :
|
||||
CancelAutoSnapshotPolicyRequest::~CancelAutoSnapshotPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CancelAutoSnapshotPolicyRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long CancelAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void CancelAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -80,6 +58,17 @@ void CancelAutoSnapshotPolicyRequest::setDiskIds(const std::string& diskIds)
|
||||
setCoreParameter("DiskIds", diskIds);
|
||||
}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelAutoSnapshotPolicyResult::~CancelAutoSnapshotPolicyResult()
|
||||
|
||||
void CancelAutoSnapshotPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ CancelCopyImageRequest::CancelCopyImageRequest() :
|
||||
CancelCopyImageRequest::~CancelCopyImageRequest()
|
||||
{}
|
||||
|
||||
std::string CancelCopyImageRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CancelCopyImageRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long CancelCopyImageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,17 +47,6 @@ void CancelCopyImageRequest::setImageId(const std::string& imageId)
|
||||
setCoreParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelCopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -80,6 +58,17 @@ void CancelCopyImageRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelCopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelCopyImageResult::~CancelCopyImageResult()
|
||||
|
||||
void CancelCopyImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,28 +36,6 @@ void CancelPhysicalConnectionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -69,26 +47,15 @@ void CancelPhysicalConnectionRequest::setClientToken(const std::string& clientTo
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getPhysicalConnectionId()const
|
||||
std::string CancelPhysicalConnectionRequest::getRegionId()const
|
||||
{
|
||||
return physicalConnectionId_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
|
||||
void CancelPhysicalConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
physicalConnectionId_ = physicalConnectionId;
|
||||
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getUserCidr()const
|
||||
@@ -102,6 +69,28 @@ void CancelPhysicalConnectionRequest::setUserCidr(const std::string& userCidr)
|
||||
setCoreParameter("UserCidr", userCidr);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CancelPhysicalConnectionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,3 +102,14 @@ void CancelPhysicalConnectionRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getPhysicalConnectionId()const
|
||||
{
|
||||
return physicalConnectionId_;
|
||||
}
|
||||
|
||||
void CancelPhysicalConnectionRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
|
||||
{
|
||||
physicalConnectionId_ = physicalConnectionId;
|
||||
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelPhysicalConnectionResult::~CancelPhysicalConnectionResult()
|
||||
|
||||
void CancelPhysicalConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -48,105 +48,6 @@ void CancelSimulatedSystemEventsRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CancelSimulatedSystemEventsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CancelSimulatedSystemEventsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -158,72 +59,6 @@ void CancelSimulatedSystemEventsRequest::setRegionId(const std::string& regionId
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CancelSimulatedSystemEventsRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CancelSimulatedSystemEventsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -246,17 +81,6 @@ void CancelSimulatedSystemEventsRequest::setOwnerAccount(const std::string& owne
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CancelSimulatedSystemEventsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -268,58 +92,3 @@ void CancelSimulatedSystemEventsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CancelSimulatedSystemEventsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CancelSimulatedSystemEventsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CancelSimulatedSystemEventsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CancelSimulatedSystemEventsRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelSimulatedSystemEventsResult::~CancelSimulatedSystemEventsResult()
|
||||
|
||||
void CancelSimulatedSystemEventsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ CancelTaskRequest::CancelTaskRequest() :
|
||||
CancelTaskRequest::~CancelTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CancelTaskRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long CancelTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void CancelTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -69,17 +47,6 @@ void CancelTaskRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long CancelTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
@@ -91,3 +58,25 @@ void CancelTaskRequest::setTaskId(const std::string& taskId)
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelTaskResult::~CancelTaskResult()
|
||||
|
||||
void CancelTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void ConnectRouterInterfaceRequest::setResourceOwnerAccount(const std::string& r
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ConnectRouterInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConnectRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long ConnectRouterInterfaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -80,3 +69,14 @@ void ConnectRouterInterfaceRequest::setRouterInterfaceId(const std::string& rout
|
||||
setCoreParameter("RouterInterfaceId", routerInterfaceId);
|
||||
}
|
||||
|
||||
std::string ConnectRouterInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConnectRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ConnectRouterInterfaceResult::~ConnectRouterInterfaceResult()
|
||||
|
||||
void ConnectRouterInterfaceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,94 +36,6 @@ void ConvertNatPublicIpToEipRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ConvertNatPublicIpToEipRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ConvertNatPublicIpToEipRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -135,72 +47,6 @@ void ConvertNatPublicIpToEipRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool ConvertNatPublicIpToEipRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ConvertNatPublicIpToEipRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -212,17 +58,6 @@ void ConvertNatPublicIpToEipRequest::setResourceOwnerAccount(const std::string&
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ConvertNatPublicIpToEipRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,39 +69,6 @@ void ConvertNatPublicIpToEipRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool ConvertNatPublicIpToEipRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ConvertNatPublicIpToEipRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ConvertNatPublicIpToEipRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -278,25 +80,3 @@ void ConvertNatPublicIpToEipRequest::setInstanceId(const std::string& instanceId
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void ConvertNatPublicIpToEipRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ConvertNatPublicIpToEipResult::~ConvertNatPublicIpToEipResult()
|
||||
|
||||
void ConvertNatPublicIpToEipResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,28 +47,6 @@ void CopyImageRequest::setImageId(const std::string& imageId)
|
||||
setCoreParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationImageName()const
|
||||
{
|
||||
return destinationImageName_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setDestinationImageName(const std::string& destinationImageName)
|
||||
{
|
||||
destinationImageName_ = destinationImageName;
|
||||
setCoreParameter("DestinationImageName", destinationImageName);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationRegionId()const
|
||||
{
|
||||
return destinationRegionId_;
|
||||
@@ -80,50 +58,6 @@ void CopyImageRequest::setDestinationRegionId(const std::string& destinationRegi
|
||||
setCoreParameter("DestinationRegionId", destinationRegionId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CopyImageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
bool CopyImageRequest::getEncrypted()const
|
||||
{
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
encrypted_ = encrypted;
|
||||
setCoreParameter("Encrypted", encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -152,6 +86,61 @@ void CopyImageRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationImageName()const
|
||||
{
|
||||
return destinationImageName_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setDestinationImageName(const std::string& destinationImageName)
|
||||
{
|
||||
destinationImageName_ = destinationImageName;
|
||||
setCoreParameter("DestinationImageName", destinationImageName);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CopyImageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CopyImageRequest::getEncrypted()const
|
||||
{
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
encrypted_ = encrypted;
|
||||
setCoreParameter("Encrypted", encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getKMSKeyId()const
|
||||
{
|
||||
return kMSKeyId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CopyImageResult::~CopyImageResult()
|
||||
|
||||
void CopyImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ImageId"].isNull())
|
||||
imageId_ = value["ImageId"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateAutoProvisioningGroupRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateAutoProvisioningGroupRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getAutoProvisioningGroupType()const
|
||||
{
|
||||
return autoProvisioningGroupType_;
|
||||
@@ -58,17 +47,6 @@ void CreateAutoProvisioningGroupRequest::setAutoProvisioningGroupType(const std:
|
||||
setCoreParameter("AutoProvisioningGroupType", autoProvisioningGroupType);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,17 +58,6 @@ void CreateAutoProvisioningGroupRequest::setDescription(const std::string& descr
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getTerminateInstancesWithExpiration()const
|
||||
{
|
||||
return terminateInstancesWithExpiration_;
|
||||
@@ -102,39 +69,6 @@ void CreateAutoProvisioningGroupRequest::setTerminateInstancesWithExpiration(boo
|
||||
setCoreParameter("TerminateInstancesWithExpiration", terminateInstancesWithExpiration ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -157,17 +91,6 @@ void CreateAutoProvisioningGroupRequest::setSpotAllocationStrategy(const std::st
|
||||
setCoreParameter("SpotAllocationStrategy", spotAllocationStrategy);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -179,28 +102,6 @@ void CreateAutoProvisioningGroupRequest::setRegionId(const std::string& regionId
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getTerminateInstances()const
|
||||
{
|
||||
return terminateInstances_;
|
||||
@@ -212,17 +113,6 @@ void CreateAutoProvisioningGroupRequest::setTerminateInstances(bool terminateIns
|
||||
setCoreParameter("TerminateInstances", terminateInstances ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getPayAsYouGoAllocationStrategy()const
|
||||
{
|
||||
return payAsYouGoAllocationStrategy_;
|
||||
@@ -287,39 +177,6 @@ void CreateAutoProvisioningGroupRequest::setValidUntil(const std::string& validU
|
||||
setCoreParameter("ValidUntil", validUntil);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateAutoProvisioningGroupRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getSpotInstanceInterruptionBehavior()const
|
||||
{
|
||||
return spotInstanceInterruptionBehavior_;
|
||||
@@ -375,17 +232,6 @@ void CreateAutoProvisioningGroupRequest::setSpotInstancePoolsToUseCount(int spot
|
||||
setCoreParameter("SpotInstancePoolsToUseCount", std::to_string(spotInstancePoolsToUseCount));
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateAutoProvisioningGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -408,39 +254,6 @@ void CreateAutoProvisioningGroupRequest::setLaunchTemplateVersion(const std::str
|
||||
setCoreParameter("LaunchTemplateVersion", launchTemplateVersion);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getPayAsYouGoTargetCapacity()const
|
||||
{
|
||||
return payAsYouGoTargetCapacity_;
|
||||
@@ -452,28 +265,6 @@ void CreateAutoProvisioningGroupRequest::setPayAsYouGoTargetCapacity(const std::
|
||||
setCoreParameter("PayAsYouGoTargetCapacity", payAsYouGoTargetCapacity);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateAutoProvisioningGroupRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getTotalTargetCapacity()const
|
||||
{
|
||||
return totalTargetCapacity_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateAutoProvisioningGroupResult::~CreateAutoProvisioningGroupResult()
|
||||
|
||||
void CreateAutoProvisioningGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AutoProvisioningGroupId"].isNull())
|
||||
autoProvisioningGroupId_ = value["AutoProvisioningGroupId"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateAutoSnapshotPolicyRequest::CreateAutoSnapshotPolicyRequest() :
|
||||
CreateAutoSnapshotPolicyRequest::~CreateAutoSnapshotPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long CreateAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void CreateAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getTimePoints()const
|
||||
{
|
||||
return timePoints_;
|
||||
@@ -80,15 +47,37 @@ void CreateAutoSnapshotPolicyRequest::setTimePoints(const std::string& timePoint
|
||||
setCoreParameter("TimePoints", timePoints);
|
||||
}
|
||||
|
||||
int CreateAutoSnapshotPolicyRequest::getRetentionDays()const
|
||||
std::string CreateAutoSnapshotPolicyRequest::getRepeatWeekdays()const
|
||||
{
|
||||
return retentionDays_;
|
||||
return repeatWeekdays_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setRetentionDays(int retentionDays)
|
||||
void CreateAutoSnapshotPolicyRequest::setRepeatWeekdays(const std::string& repeatWeekdays)
|
||||
{
|
||||
retentionDays_ = retentionDays;
|
||||
setCoreParameter("RetentionDays", std::to_string(retentionDays));
|
||||
repeatWeekdays_ = repeatWeekdays;
|
||||
setCoreParameter("RepeatWeekdays", repeatWeekdays);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
@@ -102,17 +91,6 @@ void CreateAutoSnapshotPolicyRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getRepeatWeekdays()const
|
||||
{
|
||||
return repeatWeekdays_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setRepeatWeekdays(const std::string& repeatWeekdays)
|
||||
{
|
||||
repeatWeekdays_ = repeatWeekdays;
|
||||
setCoreParameter("RepeatWeekdays", repeatWeekdays);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getAutoSnapshotPolicyName()const
|
||||
{
|
||||
return autoSnapshotPolicyName_;
|
||||
@@ -124,3 +102,14 @@ void CreateAutoSnapshotPolicyRequest::setAutoSnapshotPolicyName(const std::strin
|
||||
setCoreParameter("AutoSnapshotPolicyName", autoSnapshotPolicyName);
|
||||
}
|
||||
|
||||
int CreateAutoSnapshotPolicyRequest::getRetentionDays()const
|
||||
{
|
||||
return retentionDays_;
|
||||
}
|
||||
|
||||
void CreateAutoSnapshotPolicyRequest::setRetentionDays(int retentionDays)
|
||||
{
|
||||
retentionDays_ = retentionDays;
|
||||
setCoreParameter("RetentionDays", std::to_string(retentionDays));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateAutoSnapshotPolicyResult::~CreateAutoSnapshotPolicyResult()
|
||||
|
||||
void CreateAutoSnapshotPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AutoSnapshotPolicyId"].isNull())
|
||||
autoSnapshotPolicyId_ = value["AutoSnapshotPolicyId"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateCommandRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateCommandRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getWorkingDir()const
|
||||
{
|
||||
return workingDir_;
|
||||
@@ -58,17 +47,6 @@ void CreateCommandRequest::setWorkingDir(const std::string& workingDir)
|
||||
setCoreParameter("WorkingDir", workingDir);
|
||||
}
|
||||
|
||||
bool CreateCommandRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,17 +58,6 @@ void CreateCommandRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -102,28 +69,6 @@ void CreateCommandRequest::setType(const std::string& type)
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getCommandContent()const
|
||||
{
|
||||
return commandContent_;
|
||||
@@ -146,39 +91,6 @@ void CreateCommandRequest::setTimeout(long timeout)
|
||||
setCoreParameter("Timeout", std::to_string(timeout));
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -190,72 +102,6 @@ void CreateCommandRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateCommandRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateCommandRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -278,17 +124,6 @@ void CreateCommandRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateCommandRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -300,61 +135,6 @@ void CreateCommandRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateCommandRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateCommandRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateCommandRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateCommandRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateCommandRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateCommandResult::~CreateCommandResult()
|
||||
|
||||
void CreateCommandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CommandId"].isNull())
|
||||
commandId_ = value["CommandId"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateDeploymentSetRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,17 +47,6 @@ void CreateDeploymentSetRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,6 +58,39 @@ void CreateDeploymentSetRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getDeploymentSetName()const
|
||||
{
|
||||
return deploymentSetName_;
|
||||
@@ -102,28 +113,6 @@ void CreateDeploymentSetRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDeploymentSetRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDeploymentSetRequest::getOnUnableToRedeployFailedInstance()const
|
||||
{
|
||||
return onUnableToRedeployFailedInstance_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateDeploymentSetResult::~CreateDeploymentSetResult()
|
||||
|
||||
void CreateDeploymentSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DeploymentSetId"].isNull())
|
||||
deploymentSetId_ = value["DeploymentSetId"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void CreateDiskRequest::setSnapshotId(const std::string& snapshotId)
|
||||
setCoreParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -69,28 +58,6 @@ void CreateDiskRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getPerformanceLevel()const
|
||||
{
|
||||
return performanceLevel_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setPerformanceLevel(const std::string& performanceLevel)
|
||||
{
|
||||
performanceLevel_ = performanceLevel;
|
||||
setCoreParameter("PerformanceLevel", performanceLevel);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -102,28 +69,6 @@ void CreateDiskRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateDiskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDiskName()const
|
||||
{
|
||||
return diskName_;
|
||||
@@ -146,50 +91,6 @@ void CreateDiskRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getStorageSetId()const
|
||||
{
|
||||
return storageSetId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setStorageSetId(const std::string& storageSetId)
|
||||
{
|
||||
storageSetId_ = storageSetId;
|
||||
setCoreParameter("StorageSetId", storageSetId);
|
||||
}
|
||||
|
||||
int CreateDiskRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
bool CreateDiskRequest::getEncrypted()const
|
||||
{
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
encrypted_ = encrypted;
|
||||
setCoreParameter("Encrypted", encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -212,17 +113,6 @@ void CreateDiskRequest::setDiskCategory(const std::string& diskCategory)
|
||||
setCoreParameter("DiskCategory", diskCategory);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
int CreateDiskRequest::getStorageSetPartitionNumber()const
|
||||
{
|
||||
return storageSetPartitionNumber_;
|
||||
@@ -269,17 +159,6 @@ void CreateDiskRequest::setArn(const std::vector<Arn>& arn)
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getKMSKeyId()const
|
||||
{
|
||||
return kMSKeyId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setKMSKeyId(const std::string& kMSKeyId)
|
||||
{
|
||||
kMSKeyId_ = kMSKeyId;
|
||||
setCoreParameter("KMSKeyId", kMSKeyId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getAdvancedFeatures()const
|
||||
{
|
||||
return advancedFeatures_;
|
||||
@@ -291,3 +170,113 @@ void CreateDiskRequest::setAdvancedFeatures(const std::string& advancedFeatures)
|
||||
setCoreParameter("AdvancedFeatures", advancedFeatures);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getPerformanceLevel()const
|
||||
{
|
||||
return performanceLevel_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setPerformanceLevel(const std::string& performanceLevel)
|
||||
{
|
||||
performanceLevel_ = performanceLevel;
|
||||
setCoreParameter("PerformanceLevel", performanceLevel);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateDiskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getStorageSetId()const
|
||||
{
|
||||
return storageSetId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setStorageSetId(const std::string& storageSetId)
|
||||
{
|
||||
storageSetId_ = storageSetId;
|
||||
setCoreParameter("StorageSetId", storageSetId);
|
||||
}
|
||||
|
||||
int CreateDiskRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
bool CreateDiskRequest::getEncrypted()const
|
||||
{
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
encrypted_ = encrypted;
|
||||
setCoreParameter("Encrypted", encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getKMSKeyId()const
|
||||
{
|
||||
return kMSKeyId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setKMSKeyId(const std::string& kMSKeyId)
|
||||
{
|
||||
kMSKeyId_ = kMSKeyId;
|
||||
setCoreParameter("KMSKeyId", kMSKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateDiskResult::~CreateDiskResult()
|
||||
|
||||
void CreateDiskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DiskId"].isNull())
|
||||
diskId_ = value["DiskId"].asString();
|
||||
|
||||
@@ -47,28 +47,6 @@ void CreateFleetRequest::setFleetType(const std::string& fleetType)
|
||||
setCoreParameter("FleetType", fleetType);
|
||||
}
|
||||
|
||||
long CreateFleetRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,17 +58,6 @@ void CreateFleetRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getTerminateInstancesWithExpiration()const
|
||||
{
|
||||
return terminateInstancesWithExpiration_;
|
||||
@@ -113,39 +80,6 @@ void CreateFleetRequest::setOnDemandTargetCapacity(const std::string& onDemandTa
|
||||
setCoreParameter("OnDemandTargetCapacity", onDemandTargetCapacity);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getFleetName()const
|
||||
{
|
||||
return fleetName_;
|
||||
@@ -168,17 +102,6 @@ void CreateFleetRequest::setSpotAllocationStrategy(const std::string& spotAlloca
|
||||
setCoreParameter("SpotAllocationStrategy", spotAllocationStrategy);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -190,28 +113,6 @@ void CreateFleetRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getTerminateInstances()const
|
||||
{
|
||||
return terminateInstances_;
|
||||
@@ -223,17 +124,6 @@ void CreateFleetRequest::setTerminateInstances(bool terminateInstances)
|
||||
setCoreParameter("TerminateInstances", terminateInstances ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getDefaultTargetCapacityType()const
|
||||
{
|
||||
return defaultTargetCapacityType_;
|
||||
@@ -287,28 +177,6 @@ void CreateFleetRequest::setValidUntil(const std::string& validUntil)
|
||||
setCoreParameter("ValidUntil", validUntil);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateFleetRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getFillGapWithOnDemand()const
|
||||
{
|
||||
return fillGapWithOnDemand_;
|
||||
@@ -320,17 +188,6 @@ void CreateFleetRequest::setFillGapWithOnDemand(const std::string& fillGapWithOn
|
||||
setCoreParameter("FillGapWithOnDemand", fillGapWithOnDemand);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getSpotInstanceInterruptionBehavior()const
|
||||
{
|
||||
return spotInstanceInterruptionBehavior_;
|
||||
@@ -386,17 +243,6 @@ void CreateFleetRequest::setSpotInstancePoolsToUseCount(int spotInstancePoolsToU
|
||||
setCoreParameter("SpotInstancePoolsToUseCount", std::to_string(spotInstancePoolsToUseCount));
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateFleetRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -419,61 +265,6 @@ void CreateFleetRequest::setLaunchTemplateVersion(const std::string& launchTempl
|
||||
setCoreParameter("LaunchTemplateVersion", launchTemplateVersion);
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateFleetRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateFleetRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateFleetRequest::getTotalTargetCapacity()const
|
||||
{
|
||||
return totalTargetCapacity_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateFleetResult::~CreateFleetResult()
|
||||
|
||||
void CreateFleetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["FleetId"].isNull())
|
||||
fleetId_ = value["FleetId"].asString();
|
||||
|
||||
@@ -36,61 +36,6 @@ void CreateForwardEntryRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getIpProtocol()const
|
||||
{
|
||||
return ipProtocol_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setIpProtocol(const std::string& ipProtocol)
|
||||
{
|
||||
ipProtocol_ = ipProtocol;
|
||||
setCoreParameter("IpProtocol", ipProtocol);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getInternalPort()const
|
||||
{
|
||||
return internalPort_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setInternalPort(const std::string& internalPort)
|
||||
{
|
||||
internalPort_ = internalPort;
|
||||
setCoreParameter("InternalPort", internalPort);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getForwardTableId()const
|
||||
{
|
||||
return forwardTableId_;
|
||||
@@ -102,39 +47,6 @@ void CreateForwardEntryRequest::setForwardTableId(const std::string& forwardTabl
|
||||
setCoreParameter("ForwardTableId", forwardTableId);
|
||||
}
|
||||
|
||||
long CreateForwardEntryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getExternalIp()const
|
||||
{
|
||||
return externalIp_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setExternalIp(const std::string& externalIp)
|
||||
{
|
||||
externalIp_ = externalIp;
|
||||
setCoreParameter("ExternalIp", externalIp);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getExternalPort()const
|
||||
{
|
||||
return externalPort_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setExternalPort(const std::string& externalPort)
|
||||
{
|
||||
externalPort_ = externalPort;
|
||||
setCoreParameter("ExternalPort", externalPort);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getInternalIp()const
|
||||
{
|
||||
return internalIp_;
|
||||
@@ -146,3 +58,91 @@ void CreateForwardEntryRequest::setInternalIp(const std::string& internalIp)
|
||||
setCoreParameter("InternalIp", internalIp);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getExternalIp()const
|
||||
{
|
||||
return externalIp_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setExternalIp(const std::string& externalIp)
|
||||
{
|
||||
externalIp_ = externalIp;
|
||||
setCoreParameter("ExternalIp", externalIp);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getIpProtocol()const
|
||||
{
|
||||
return ipProtocol_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setIpProtocol(const std::string& ipProtocol)
|
||||
{
|
||||
ipProtocol_ = ipProtocol;
|
||||
setCoreParameter("IpProtocol", ipProtocol);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateForwardEntryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getInternalPort()const
|
||||
{
|
||||
return internalPort_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setInternalPort(const std::string& internalPort)
|
||||
{
|
||||
internalPort_ = internalPort;
|
||||
setCoreParameter("InternalPort", internalPort);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getExternalPort()const
|
||||
{
|
||||
return externalPort_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setExternalPort(const std::string& externalPort)
|
||||
{
|
||||
externalPort_ = externalPort;
|
||||
setCoreParameter("ExternalPort", externalPort);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateForwardEntryResult::~CreateForwardEntryResult()
|
||||
|
||||
void CreateForwardEntryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ForwardEntryId"].isNull())
|
||||
forwardEntryId_ = value["ForwardEntryId"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateHaVipRequest::CreateHaVipRequest() :
|
||||
CreateHaVipRequest::~CreateHaVipRequest()
|
||||
{}
|
||||
|
||||
std::string CreateHaVipRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getIpAddress()const
|
||||
{
|
||||
return ipAddress_;
|
||||
@@ -58,17 +47,6 @@ void CreateHaVipRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -80,28 +58,6 @@ void CreateHaVipRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -113,6 +69,39 @@ void CreateHaVipRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateHaVipRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -124,3 +113,14 @@ void CreateHaVipRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateHaVipRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateHaVipRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateHaVipResult::~CreateHaVipResult()
|
||||
|
||||
void CreateHaVipResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HaVipId"].isNull())
|
||||
haVipId_ = value["HaVipId"].asString();
|
||||
|
||||
@@ -47,28 +47,6 @@ void CreateHpcClusterRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long CreateHpcClusterRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateHpcClusterRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,61 +58,6 @@ void CreateHpcClusterRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -146,83 +69,6 @@ void CreateHpcClusterRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
bool CreateHpcClusterRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateHpcClusterRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -245,17 +91,6 @@ void CreateHpcClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateHpcClusterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,61 +102,6 @@ void CreateHpcClusterRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateHpcClusterRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateHpcClusterRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateHpcClusterRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateHpcClusterRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateHpcClusterRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateHpcClusterResult::~CreateHpcClusterResult()
|
||||
|
||||
void CreateHpcClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HpcClusterId"].isNull())
|
||||
hpcClusterId_ = value["HpcClusterId"].asString();
|
||||
|
||||
@@ -66,17 +66,6 @@ void CreateImageRequest::setSnapshotId(const std::string& snapshotId)
|
||||
setCoreParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -88,17 +77,6 @@ void CreateImageRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -110,17 +88,6 @@ void CreateImageRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateImageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
@@ -132,17 +99,6 @@ void CreateImageRequest::setPlatform(const std::string& platform)
|
||||
setCoreParameter("Platform", platform);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -154,17 +110,6 @@ void CreateImageRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -187,17 +132,6 @@ void CreateImageRequest::setImageName(const std::string& imageName)
|
||||
setCoreParameter("ImageName", imageName);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getImageVersion()const
|
||||
{
|
||||
return imageVersion_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setImageVersion(const std::string& imageVersion)
|
||||
{
|
||||
imageVersion_ = imageVersion;
|
||||
setCoreParameter("ImageVersion", imageVersion);
|
||||
}
|
||||
|
||||
std::vector<CreateImageRequest::Tag> CreateImageRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -226,3 +160,58 @@ void CreateImageRequest::setArchitecture(const std::string& architecture)
|
||||
setCoreParameter("Architecture", architecture);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateImageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getImageVersion()const
|
||||
{
|
||||
return imageVersion_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setImageVersion(const std::string& imageVersion)
|
||||
{
|
||||
imageVersion_ = imageVersion;
|
||||
setCoreParameter("ImageVersion", imageVersion);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateImageResult::~CreateImageResult()
|
||||
|
||||
void CreateImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ImageId"].isNull())
|
||||
imageId_ = value["ImageId"].asString();
|
||||
|
||||
@@ -80,17 +80,6 @@ void CreateInstanceRequest::setSpotPriceLimit(float spotPriceLimit)
|
||||
setCoreParameter("SpotPriceLimit", std::to_string(spotPriceLimit));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
bool CreateInstanceRequest::getDeletionProtection()const
|
||||
{
|
||||
return deletionProtection_;
|
||||
@@ -654,6 +643,17 @@ void CreateInstanceRequest::setCreditSpecification(const std::string& creditSpec
|
||||
setCoreParameter("CreditSpecification", creditSpecification);
|
||||
}
|
||||
|
||||
int CreateInstanceRequest::getSpotDuration()const
|
||||
{
|
||||
return spotDuration_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setSpotDuration(int spotDuration)
|
||||
{
|
||||
spotDuration_ = spotDuration;
|
||||
setCoreParameter("SpotDuration", std::to_string(spotDuration));
|
||||
}
|
||||
|
||||
std::vector<CreateInstanceRequest::DataDisk> CreateInstanceRequest::getDataDisk()const
|
||||
{
|
||||
return dataDisk_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateInstanceResult::~CreateInstanceResult()
|
||||
|
||||
void CreateInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
|
||||
@@ -25,15 +25,26 @@ CreateKeyPairRequest::CreateKeyPairRequest() :
|
||||
CreateKeyPairRequest::~CreateKeyPairRequest()
|
||||
{}
|
||||
|
||||
std::string CreateKeyPairRequest::getSourceRegionId()const
|
||||
long CreateKeyPairRequest::getResourceOwnerId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
void CreateKeyPairRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getKeyPairName()const
|
||||
{
|
||||
return keyPairName_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getResourceGroupId()const
|
||||
@@ -47,28 +58,6 @@ void CreateKeyPairRequest::setResourceGroupId(const std::string& resourceGroupId
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
long CreateKeyPairRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -80,17 +69,6 @@ void CreateKeyPairRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getKeyPairName()const
|
||||
{
|
||||
return keyPairName_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::vector<CreateKeyPairRequest::Tag> CreateKeyPairRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -108,6 +86,17 @@ void CreateKeyPairRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateKeyPairRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateKeyPairResult::~CreateKeyPairResult()
|
||||
|
||||
void CreateKeyPairResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["KeyPairId"].isNull())
|
||||
keyPairId_ = value["KeyPairId"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void CreateLaunchTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateLaunchTemplateRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getSecurityEnhancementStrategy()const
|
||||
{
|
||||
return securityEnhancementStrategy_;
|
||||
@@ -91,17 +80,6 @@ void CreateLaunchTemplateRequest::setKeyPairName(const std::string& keyPairName)
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
float CreateLaunchTemplateRequest::getSpotPriceLimit()const
|
||||
{
|
||||
return spotPriceLimit_;
|
||||
@@ -113,28 +91,6 @@ void CreateLaunchTemplateRequest::setSpotPriceLimit(float spotPriceLimit)
|
||||
setCoreParameter("SpotPriceLimit", std::to_string(spotPriceLimit));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getImageOwnerAlias()const
|
||||
{
|
||||
return imageOwnerAlias_;
|
||||
@@ -146,17 +102,6 @@ void CreateLaunchTemplateRequest::setImageOwnerAlias(const std::string& imageOwn
|
||||
setCoreParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -179,28 +124,6 @@ void CreateLaunchTemplateRequest::setHostName(const std::string& hostName)
|
||||
setCoreParameter("HostName", hostName);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateRequest::getSystemDiskIops()const
|
||||
{
|
||||
return systemDiskIops_;
|
||||
@@ -212,17 +135,6 @@ void CreateLaunchTemplateRequest::setSystemDiskIops(int systemDiskIops)
|
||||
setCoreParameter("SystemDiskIops", std::to_string(systemDiskIops));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<CreateLaunchTemplateRequest::TemplateTag> CreateLaunchTemplateRequest::getTemplateTag()const
|
||||
{
|
||||
return templateTag_;
|
||||
@@ -257,17 +169,6 @@ void CreateLaunchTemplateRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
long CreateLaunchTemplateRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
@@ -301,28 +202,6 @@ void CreateLaunchTemplateRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
@@ -356,28 +235,6 @@ void CreateLaunchTemplateRequest::setInstanceName(const std::string& instanceNam
|
||||
setCoreParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
@@ -466,17 +323,6 @@ void CreateLaunchTemplateRequest::setInternetMaxBandwidthOut(int internetMaxBand
|
||||
setCoreParameter("InternetMaxBandwidthOut", std::to_string(internetMaxBandwidthOut));
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -499,17 +345,6 @@ void CreateLaunchTemplateRequest::setSystemDiskCategory(const std::string& syste
|
||||
setCoreParameter("SystemDiskCategory", systemDiskCategory);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
@@ -543,17 +378,6 @@ void CreateLaunchTemplateRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
@@ -576,17 +400,6 @@ void CreateLaunchTemplateRequest::setInstanceChargeType(const std::string& insta
|
||||
setCoreParameter("InstanceChargeType", instanceChargeType);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateRequest::getEnableVmOsConfig()const
|
||||
{
|
||||
return enableVmOsConfig_;
|
||||
@@ -618,17 +431,6 @@ void CreateLaunchTemplateRequest::setNetworkInterface(const std::vector<NetworkI
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -684,17 +486,6 @@ void CreateLaunchTemplateRequest::setAutoReleaseTime(const std::string& autoRele
|
||||
setCoreParameter("AutoReleaseTime", autoReleaseTime);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateRequest::getSpotDuration()const
|
||||
{
|
||||
return spotDuration_;
|
||||
@@ -729,17 +520,6 @@ void CreateLaunchTemplateRequest::setDataDisk(const std::vector<DataDisk>& dataD
|
||||
}
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateRequest::getSystemDiskSize()const
|
||||
{
|
||||
return systemDiskSize_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateLaunchTemplateResult::~CreateLaunchTemplateResult()
|
||||
|
||||
void CreateLaunchTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LaunchTemplateId"].isNull())
|
||||
launchTemplateId_ = value["LaunchTemplateId"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void CreateLaunchTemplateVersionRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateLaunchTemplateVersionRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getSecurityEnhancementStrategy()const
|
||||
{
|
||||
return securityEnhancementStrategy_;
|
||||
@@ -91,17 +80,6 @@ void CreateLaunchTemplateVersionRequest::setKeyPairName(const std::string& keyPa
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
float CreateLaunchTemplateVersionRequest::getSpotPriceLimit()const
|
||||
{
|
||||
return spotPriceLimit_;
|
||||
@@ -113,28 +91,6 @@ void CreateLaunchTemplateVersionRequest::setSpotPriceLimit(float spotPriceLimit)
|
||||
setCoreParameter("SpotPriceLimit", std::to_string(spotPriceLimit));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getImageOwnerAlias()const
|
||||
{
|
||||
return imageOwnerAlias_;
|
||||
@@ -146,17 +102,6 @@ void CreateLaunchTemplateVersionRequest::setImageOwnerAlias(const std::string& i
|
||||
setCoreParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -179,28 +124,6 @@ void CreateLaunchTemplateVersionRequest::setHostName(const std::string& hostName
|
||||
setCoreParameter("HostName", hostName);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateVersionRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateVersionRequest::getSystemDiskIops()const
|
||||
{
|
||||
return systemDiskIops_;
|
||||
@@ -212,17 +135,6 @@ void CreateLaunchTemplateVersionRequest::setSystemDiskIops(int systemDiskIops)
|
||||
setCoreParameter("SystemDiskIops", std::to_string(systemDiskIops));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<CreateLaunchTemplateVersionRequest::Tag> CreateLaunchTemplateVersionRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -240,17 +152,6 @@ void CreateLaunchTemplateVersionRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
long CreateLaunchTemplateVersionRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateVersionRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
@@ -284,28 +185,6 @@ void CreateLaunchTemplateVersionRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateVersionRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateVersionRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
@@ -339,28 +218,6 @@ void CreateLaunchTemplateVersionRequest::setInstanceName(const std::string& inst
|
||||
setCoreParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
@@ -449,17 +306,6 @@ void CreateLaunchTemplateVersionRequest::setInternetMaxBandwidthOut(int internet
|
||||
setCoreParameter("InternetMaxBandwidthOut", std::to_string(internetMaxBandwidthOut));
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateVersionRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -482,17 +328,6 @@ void CreateLaunchTemplateVersionRequest::setSystemDiskCategory(const std::string
|
||||
setCoreParameter("SystemDiskCategory", systemDiskCategory);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
@@ -526,17 +361,6 @@ void CreateLaunchTemplateVersionRequest::setRegionId(const std::string& regionId
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
@@ -559,17 +383,6 @@ void CreateLaunchTemplateVersionRequest::setInstanceChargeType(const std::string
|
||||
setCoreParameter("InstanceChargeType", instanceChargeType);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateVersionRequest::getEnableVmOsConfig()const
|
||||
{
|
||||
return enableVmOsConfig_;
|
||||
@@ -601,17 +414,6 @@ void CreateLaunchTemplateVersionRequest::setNetworkInterface(const std::vector<N
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -667,17 +469,6 @@ void CreateLaunchTemplateVersionRequest::setAutoReleaseTime(const std::string& a
|
||||
setCoreParameter("AutoReleaseTime", autoReleaseTime);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateVersionRequest::getSpotDuration()const
|
||||
{
|
||||
return spotDuration_;
|
||||
@@ -712,17 +503,6 @@ void CreateLaunchTemplateVersionRequest::setDataDisk(const std::vector<DataDisk>
|
||||
}
|
||||
}
|
||||
|
||||
bool CreateLaunchTemplateVersionRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateVersionRequest::getSystemDiskSize()const
|
||||
{
|
||||
return systemDiskSize_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateLaunchTemplateVersionResult::~CreateLaunchTemplateVersionResult()
|
||||
|
||||
void CreateLaunchTemplateVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LaunchTemplateVersionNumber"].isNull())
|
||||
launchTemplateVersionNumber_ = std::stol(value["LaunchTemplateVersionNumber"].asString());
|
||||
|
||||
@@ -36,15 +36,26 @@ void CreateNatGatewayRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getResourceOwnerAccount()const
|
||||
std::string CreateNatGatewayRequest::getClientToken()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void CreateNatGatewayRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getRegionId()const
|
||||
@@ -58,15 +69,33 @@ void CreateNatGatewayRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getClientToken()const
|
||||
std::vector<CreateNatGatewayRequest::BandwidthPackage> CreateNatGatewayRequest::getBandwidthPackage()const
|
||||
{
|
||||
return clientToken_;
|
||||
return bandwidthPackage_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setClientToken(const std::string& clientToken)
|
||||
void CreateNatGatewayRequest::setBandwidthPackage(const std::vector<BandwidthPackage>& bandwidthPackage)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
bandwidthPackage_ = bandwidthPackage;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= bandwidthPackage.size(); i++) {
|
||||
auto obj = bandwidthPackage.at(i);
|
||||
std::string str ="BandwidthPackage."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Bandwidth", std::to_string(obj.bandwidth));
|
||||
setCoreParameter(str + ".Zone", obj.zone);
|
||||
setCoreParameter(str + ".IpCount", std::to_string(obj.ipCount));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getOwnerAccount()const
|
||||
@@ -80,6 +109,17 @@ void CreateNatGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateNatGatewayRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
@@ -102,43 +142,3 @@ void CreateNatGatewayRequest::setName(const std::string& name)
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateNatGatewayRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<CreateNatGatewayRequest::BandwidthPackage> CreateNatGatewayRequest::getBandwidthPackage()const
|
||||
{
|
||||
return bandwidthPackage_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayRequest::setBandwidthPackage(const std::vector<BandwidthPackage>& bandwidthPackage)
|
||||
{
|
||||
bandwidthPackage_ = bandwidthPackage;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= bandwidthPackage.size(); i++) {
|
||||
auto obj = bandwidthPackage.at(i);
|
||||
std::string str ="BandwidthPackage."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Bandwidth", std::to_string(obj.bandwidth));
|
||||
setCoreParameter(str + ".Zone", obj.zone);
|
||||
setCoreParameter(str + ".IpCount", std::to_string(obj.ipCount));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateNatGatewayResult::~CreateNatGatewayResult()
|
||||
|
||||
void CreateNatGatewayResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allForwardTableIds = value["ForwardTableIds"]["ForwardTableId"];
|
||||
for (const auto &item : allForwardTableIds)
|
||||
|
||||
@@ -36,83 +36,6 @@ void CreateNetworkInterfacePermissionRequest::setResourceOwnerId(long resourceOw
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateNetworkInterfacePermissionRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfacePermissionRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfacePermissionRequest::getAccountId()const
|
||||
{
|
||||
return accountId_;
|
||||
@@ -124,17 +47,6 @@ void CreateNetworkInterfacePermissionRequest::setAccountId(long accountId)
|
||||
setCoreParameter("AccountId", std::to_string(accountId));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -146,72 +58,6 @@ void CreateNetworkInterfacePermissionRequest::setRegionId(const std::string& reg
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfacePermissionRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfacePermissionRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -245,17 +91,6 @@ void CreateNetworkInterfacePermissionRequest::setPermission(const std::string& p
|
||||
setCoreParameter("Permission", permission);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfacePermissionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,61 +102,6 @@ void CreateNetworkInterfacePermissionRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfacePermissionRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfacePermissionRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfacePermissionRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfacePermissionRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfacePermissionRequest::getNetworkInterfaceId()const
|
||||
{
|
||||
return networkInterfaceId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateNetworkInterfacePermissionResult::~CreateNetworkInterfacePermissionResult(
|
||||
|
||||
void CreateNetworkInterfacePermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto networkInterfacePermissionNode = value["NetworkInterfacePermission"];
|
||||
if(!networkInterfacePermissionNode["AccountId"].isNull())
|
||||
|
||||
@@ -47,17 +47,6 @@ void CreateNetworkInterfaceRequest::setClientToken(const std::string& clientToke
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfaceRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
@@ -69,17 +58,6 @@ void CreateNetworkInterfaceRequest::setSecurityGroupId(const std::string& securi
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -91,50 +69,6 @@ void CreateNetworkInterfaceRequest::setDescription(const std::string& descriptio
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getBusinessType()const
|
||||
{
|
||||
return businessType_;
|
||||
@@ -146,17 +80,6 @@ void CreateNetworkInterfaceRequest::setBusinessType(const std::string& businessT
|
||||
setCoreParameter("BusinessType", businessType);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -168,17 +91,6 @@ void CreateNetworkInterfaceRequest::setResourceGroupId(const std::string& resour
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -190,39 +102,6 @@ void CreateNetworkInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<CreateNetworkInterfaceRequest::Tag> CreateNetworkInterfaceRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -240,17 +119,6 @@ void CreateNetworkInterfaceRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getNetworkInterfaceName()const
|
||||
{
|
||||
return networkInterfaceName_;
|
||||
@@ -262,28 +130,6 @@ void CreateNetworkInterfaceRequest::setNetworkInterfaceName(const std::string& n
|
||||
setCoreParameter("NetworkInterfaceName", networkInterfaceName);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfaceRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getVisible()const
|
||||
{
|
||||
return visible_;
|
||||
@@ -317,17 +163,6 @@ void CreateNetworkInterfaceRequest::setOwnerAccount(const std::string& ownerAcco
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -339,39 +174,6 @@ void CreateNetworkInterfaceRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
@@ -383,28 +185,6 @@ void CreateNetworkInterfaceRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getPrimaryIpAddress()const
|
||||
{
|
||||
return primaryIpAddress_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateNetworkInterfaceResult::~CreateNetworkInterfaceResult()
|
||||
|
||||
void CreateNetworkInterfaceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["NetworkInterfaceId"].isNull())
|
||||
networkInterfaceId_ = value["NetworkInterfaceId"].asString();
|
||||
|
||||
@@ -36,28 +36,6 @@ void CreatePhysicalConnectionRequest::setAccessPointId(const std::string& access
|
||||
setCoreParameter("AccessPointId", accessPointId);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getRedundantPhysicalConnectionId()const
|
||||
{
|
||||
return redundantPhysicalConnectionId_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setRedundantPhysicalConnectionId(const std::string& redundantPhysicalConnectionId)
|
||||
{
|
||||
redundantPhysicalConnectionId_ = redundantPhysicalConnectionId;
|
||||
setCoreParameter("RedundantPhysicalConnectionId", redundantPhysicalConnectionId);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getPeerLocation()const
|
||||
{
|
||||
return peerLocation_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setPeerLocation(const std::string& peerLocation)
|
||||
{
|
||||
peerLocation_ = peerLocation;
|
||||
setCoreParameter("PeerLocation", peerLocation);
|
||||
}
|
||||
|
||||
long CreatePhysicalConnectionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -91,17 +69,6 @@ void CreatePhysicalConnectionRequest::setCircuitCode(const std::string& circuitC
|
||||
setCoreParameter("CircuitCode", circuitCode);
|
||||
}
|
||||
|
||||
int CreatePhysicalConnectionRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setBandwidth(int bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setCoreParameter("Bandwidth", std::to_string(bandwidth));
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -113,28 +80,6 @@ void CreatePhysicalConnectionRequest::setClientToken(const std::string& clientTo
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -157,6 +102,83 @@ void CreatePhysicalConnectionRequest::setType(const std::string& type)
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getUserCidr()const
|
||||
{
|
||||
return userCidr_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setUserCidr(const std::string& userCidr)
|
||||
{
|
||||
userCidr_ = userCidr;
|
||||
setCoreParameter("UserCidr", userCidr);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getRedundantPhysicalConnectionId()const
|
||||
{
|
||||
return redundantPhysicalConnectionId_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setRedundantPhysicalConnectionId(const std::string& redundantPhysicalConnectionId)
|
||||
{
|
||||
redundantPhysicalConnectionId_ = redundantPhysicalConnectionId;
|
||||
setCoreParameter("RedundantPhysicalConnectionId", redundantPhysicalConnectionId);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getPeerLocation()const
|
||||
{
|
||||
return peerLocation_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setPeerLocation(const std::string& peerLocation)
|
||||
{
|
||||
peerLocation_ = peerLocation;
|
||||
setCoreParameter("PeerLocation", peerLocation);
|
||||
}
|
||||
|
||||
int CreatePhysicalConnectionRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setBandwidth(int bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setCoreParameter("Bandwidth", std::to_string(bandwidth));
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreatePhysicalConnectionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -179,17 +201,6 @@ void CreatePhysicalConnectionRequest::setLineOperator(const std::string& lineOpe
|
||||
setCoreParameter("LineOperator", lineOperator);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
@@ -201,14 +212,3 @@ void CreatePhysicalConnectionRequest::setName(const std::string& name)
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreatePhysicalConnectionRequest::getUserCidr()const
|
||||
{
|
||||
return userCidr_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionRequest::setUserCidr(const std::string& userCidr)
|
||||
{
|
||||
userCidr_ = userCidr;
|
||||
setCoreParameter("UserCidr", userCidr);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreatePhysicalConnectionResult::~CreatePhysicalConnectionResult()
|
||||
|
||||
void CreatePhysicalConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PhysicalConnectionId"].isNull())
|
||||
physicalConnectionId_ = value["PhysicalConnectionId"].asString();
|
||||
|
||||
@@ -36,15 +36,15 @@ void CreateRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getResourceOwnerAccount()const
|
||||
std::string CreateRouteEntryRequest::getClientToken()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void CreateRouteEntryRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getRegionId()const
|
||||
@@ -58,15 +58,48 @@ void CreateRouteEntryRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getClientToken()const
|
||||
std::string CreateRouteEntryRequest::getNextHopId()const
|
||||
{
|
||||
return clientToken_;
|
||||
return nextHopId_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setClientToken(const std::string& clientToken)
|
||||
void CreateRouteEntryRequest::setNextHopId(const std::string& nextHopId)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
nextHopId_ = nextHopId;
|
||||
setCoreParameter("NextHopId", nextHopId);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getNextHopType()const
|
||||
{
|
||||
return nextHopType_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setNextHopType(const std::string& nextHopType)
|
||||
{
|
||||
nextHopType_ = nextHopType;
|
||||
setCoreParameter("NextHopType", nextHopType);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setCoreParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getDestinationCidrBlock()const
|
||||
@@ -91,17 +124,6 @@ void CreateRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getNextHopId()const
|
||||
{
|
||||
return nextHopId_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setNextHopId(const std::string& nextHopId)
|
||||
{
|
||||
nextHopId_ = nextHopId;
|
||||
setCoreParameter("NextHopId", nextHopId);
|
||||
}
|
||||
|
||||
long CreateRouteEntryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,17 +135,6 @@ void CreateRouteEntryRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getNextHopType()const
|
||||
{
|
||||
return nextHopType_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setNextHopType(const std::string& nextHopType)
|
||||
{
|
||||
nextHopType_ = nextHopType;
|
||||
setCoreParameter("NextHopType", nextHopType);
|
||||
}
|
||||
|
||||
std::vector<CreateRouteEntryRequest::NextHopList> CreateRouteEntryRequest::getNextHopList()const
|
||||
{
|
||||
return nextHopList_;
|
||||
@@ -141,14 +152,3 @@ void CreateRouteEntryRequest::setNextHopList(const std::vector<NextHopList>& nex
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateRouteEntryRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void CreateRouteEntryRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setCoreParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateRouteEntryResult::~CreateRouteEntryResult()
|
||||
|
||||
void CreateRouteEntryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateRouterInterfaceResult::~CreateRouterInterfaceResult()
|
||||
|
||||
void CreateRouterInterfaceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RouterInterfaceId"].isNull())
|
||||
routerInterfaceId_ = value["RouterInterfaceId"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateSecurityGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,17 +47,6 @@ void CreateSecurityGroupRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,17 +58,6 @@ void CreateSecurityGroupRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateSecurityGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getSecurityGroupName()const
|
||||
{
|
||||
return securityGroupName_;
|
||||
@@ -102,28 +69,6 @@ void CreateSecurityGroupRequest::setSecurityGroupName(const std::string& securit
|
||||
setCoreParameter("SecurityGroupName", securityGroupName);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getSecurityGroupType()const
|
||||
{
|
||||
return securityGroupType_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setSecurityGroupType(const std::string& securityGroupType)
|
||||
{
|
||||
securityGroupType_ = securityGroupType;
|
||||
setCoreParameter("SecurityGroupType", securityGroupType);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -146,17 +91,6 @@ void CreateSecurityGroupRequest::setRegionId(const std::string& regionId)
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::vector<CreateSecurityGroupRequest::Tag> CreateSecurityGroupRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -174,3 +108,58 @@ void CreateSecurityGroupRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateSecurityGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getSecurityGroupType()const
|
||||
{
|
||||
return securityGroupType_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setSecurityGroupType(const std::string& securityGroupType)
|
||||
{
|
||||
securityGroupType_ = securityGroupType;
|
||||
setCoreParameter("SecurityGroupType", securityGroupType);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateSecurityGroupResult::~CreateSecurityGroupResult()
|
||||
|
||||
void CreateSecurityGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SecurityGroupId"].isNull())
|
||||
securityGroupId_ = value["SecurityGroupId"].asString();
|
||||
|
||||
@@ -47,105 +47,6 @@ void CreateSimulatedSystemEventsRequest::setNotBefore(const std::string& notBefo
|
||||
setCoreParameter("NotBefore", notBefore);
|
||||
}
|
||||
|
||||
long CreateSimulatedSystemEventsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateSimulatedSystemEventsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -157,72 +58,6 @@ void CreateSimulatedSystemEventsRequest::setRegionId(const std::string& regionId
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateSimulatedSystemEventsRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setCoreParameter("Enable", enable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateSimulatedSystemEventsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -245,17 +80,6 @@ void CreateSimulatedSystemEventsRequest::setOwnerAccount(const std::string& owne
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateSimulatedSystemEventsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,39 +91,6 @@ void CreateSimulatedSystemEventsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateSimulatedSystemEventsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateSimulatedSystemEventsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateSimulatedSystemEventsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateSimulatedSystemEventsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -312,28 +103,6 @@ void CreateSimulatedSystemEventsRequest::setInstanceId(const std::vector<std::st
|
||||
setCoreParameter("InstanceId."+ std::to_string(i), instanceId.at(i));
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getAkProxy()const
|
||||
{
|
||||
return akProxy_;
|
||||
}
|
||||
|
||||
void CreateSimulatedSystemEventsRequest::setAkProxy(const std::string& akProxy)
|
||||
{
|
||||
akProxy_ = akProxy;
|
||||
setCoreParameter("AkProxy", akProxy);
|
||||
}
|
||||
|
||||
std::string CreateSimulatedSystemEventsRequest::getEventType()const
|
||||
{
|
||||
return eventType_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateSimulatedSystemEventsResult::~CreateSimulatedSystemEventsResult()
|
||||
|
||||
void CreateSimulatedSystemEventsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEventIdSet = value["EventIdSet"]["EventId"];
|
||||
for (const auto &item : allEventIdSet)
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateSnapshotRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -58,17 +47,6 @@ void CreateSnapshotRequest::setClientToken(const std::string& clientToken)
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -91,50 +69,6 @@ void CreateSnapshotRequest::setSnapshotName(const std::string& snapshotName)
|
||||
setCoreParameter("SnapshotName", snapshotName);
|
||||
}
|
||||
|
||||
long CreateSnapshotRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setSourceRegionId(const std::string& sourceRegionId)
|
||||
{
|
||||
sourceRegionId_ = sourceRegionId;
|
||||
setCoreParameter("SourceRegionId", sourceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getSourceSnapshotId()const
|
||||
{
|
||||
return sourceSnapshotId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setSourceSnapshotId(const std::string& sourceSnapshotId)
|
||||
{
|
||||
sourceSnapshotId_ = sourceSnapshotId;
|
||||
setCoreParameter("SourceSnapshotId", sourceSnapshotId);
|
||||
}
|
||||
|
||||
bool CreateSnapshotRequest::getRemoveSourceSnapshot()const
|
||||
{
|
||||
return removeSourceSnapshot_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setRemoveSourceSnapshot(bool removeSourceSnapshot)
|
||||
{
|
||||
removeSourceSnapshot_ = removeSourceSnapshot;
|
||||
setCoreParameter("RemoveSourceSnapshot", removeSourceSnapshot ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getDiskId()const
|
||||
{
|
||||
return diskId_;
|
||||
@@ -146,17 +80,6 @@ void CreateSnapshotRequest::setDiskId(const std::string& diskId)
|
||||
setCoreParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
int CreateSnapshotRequest::getRetentionDays()const
|
||||
{
|
||||
return retentionDays_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setRetentionDays(int retentionDays)
|
||||
{
|
||||
retentionDays_ = retentionDays;
|
||||
setCoreParameter("RetentionDays", std::to_string(retentionDays));
|
||||
}
|
||||
|
||||
std::vector<CreateSnapshotRequest::Tag> CreateSnapshotRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
@@ -174,14 +97,47 @@ void CreateSnapshotRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getCategory()const
|
||||
std::string CreateSnapshotRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return category_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setCategory(const std::string& category)
|
||||
void CreateSnapshotRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
category_ = category;
|
||||
setCoreParameter("Category", category);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateSnapshotRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int CreateSnapshotRequest::getRetentionDays()const
|
||||
{
|
||||
return retentionDays_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setRetentionDays(int retentionDays)
|
||||
{
|
||||
retentionDays_ = retentionDays;
|
||||
setCoreParameter("RetentionDays", std::to_string(retentionDays));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateSnapshotResult::~CreateSnapshotResult()
|
||||
|
||||
void CreateSnapshotResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SnapshotId"].isNull())
|
||||
snapshotId_ = value["SnapshotId"].asString();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user