ECS SDK Auto Released By corey.ql,Version:1.22.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -303,6 +303,42 @@ EcsClient::AttachDiskOutcomeCallable EcsClient::attachDiskCallable(const AttachD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeEniMonitorDataOutcome EcsClient::describeEniMonitorData(const DescribeEniMonitorDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeEniMonitorDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeEniMonitorDataOutcome(DescribeEniMonitorDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeEniMonitorDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::describeEniMonitorDataAsync(const DescribeEniMonitorDataRequest& request, const DescribeEniMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeEniMonitorData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::DescribeEniMonitorDataOutcomeCallable EcsClient::describeEniMonitorDataCallable(const DescribeEniMonitorDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeEniMonitorDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeEniMonitorData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ReInitDiskOutcome EcsClient::reInitDisk(const ReInitDiskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6891,6 +6927,42 @@ EcsClient::CreateVirtualBorderRouterOutcomeCallable EcsClient::createVirtualBord
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeAccountAttributesOutcome EcsClient::describeAccountAttributes(const DescribeAccountAttributesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAccountAttributesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAccountAttributesOutcome(DescribeAccountAttributesResult(outcome.result()));
|
||||
else
|
||||
return DescribeAccountAttributesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::describeAccountAttributesAsync(const DescribeAccountAttributesRequest& request, const DescribeAccountAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAccountAttributes(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::DescribeAccountAttributesOutcomeCallable EcsClient::describeAccountAttributesCallable(const DescribeAccountAttributesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAccountAttributesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAccountAttributes(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::EipFillParamsOutcome EcsClient::eipFillParams(const EipFillParamsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,17 +25,6 @@ AddTagsRequest::AddTagsRequest() :
|
||||
AddTagsRequest::~AddTagsRequest()
|
||||
{}
|
||||
|
||||
std::string AddTagsRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long AddTagsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,28 +47,6 @@ void AddTagsRequest::setResourceId(const std::string& resourceId)
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -91,15 +58,32 @@ void AddTagsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAcc
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag3Key()const
|
||||
std::string AddTagsRequest::getRegionId()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag3Key(const std::string& tag3Key)
|
||||
void AddTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::vector<AddTagsRequest::Tag> AddTagsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long AddTagsRequest::getOwnerId()const
|
||||
@@ -124,80 +108,3 @@ void AddTagsRequest::setResourceType(const std::string& resourceType)
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void AddTagsRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ CopyImageRequest::CopyImageRequest() :
|
||||
CopyImageRequest::~CopyImageRequest()
|
||||
{}
|
||||
|
||||
std::string CopyImageRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long CopyImageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,26 +47,15 @@ void CopyImageRequest::setImageId(const std::string& imageId)
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag2Key()const
|
||||
bool CopyImageRequest::getEncrypted()const
|
||||
{
|
||||
return tag2Key_;
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag2Key(const std::string& tag2Key)
|
||||
void CopyImageRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
encrypted_ = encrypted;
|
||||
setParameter("Encrypted", std::to_string(encrypted));
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getResourceOwnerAccount()const
|
||||
@@ -91,6 +69,17 @@ void CopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerA
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationImageName()const
|
||||
{
|
||||
return destinationImageName_;
|
||||
@@ -124,15 +113,21 @@ void CopyImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag3Key()const
|
||||
std::vector<CopyImageRequest::Tag> CopyImageRequest::getTag()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag3Key(const std::string& tag3Key)
|
||||
void CopyImageRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long CopyImageRequest::getOwnerId()const
|
||||
@@ -146,83 +141,6 @@ void CopyImageRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
bool CopyImageRequest::getEncrypted()const
|
||||
{
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
encrypted_ = encrypted;
|
||||
setParameter("Encrypted", std::to_string(encrypted));
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationDescription()const
|
||||
{
|
||||
return destinationDescription_;
|
||||
@@ -234,14 +152,3 @@ void CopyImageRequest::setDestinationDescription(const std::string& destinationD
|
||||
setParameter("DestinationDescription", destinationDescription);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void CopyImageRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateDiskRequest::CreateDiskRequest() :
|
||||
CreateDiskRequest::~CreateDiskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDiskRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long CreateDiskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,15 +47,15 @@ void CreateDiskRequest::setSnapshotId(const std::string& snapshotId)
|
||||
setParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag2Key()const
|
||||
std::string CreateDiskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return tag2Key_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag2Key(const std::string& tag2Key)
|
||||
void CreateDiskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getClientToken()const
|
||||
@@ -80,116 +69,6 @@ void CreateDiskRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDiskName()const
|
||||
{
|
||||
return diskName_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setDiskName(const std::string& diskName)
|
||||
{
|
||||
diskName_ = diskName;
|
||||
setParameter("DiskName", diskName);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setDiskCategory(const std::string& diskCategory)
|
||||
{
|
||||
diskCategory_ = diskCategory;
|
||||
setParameter("DiskCategory", diskCategory);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -201,6 +80,17 @@ void CreateDiskRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateDiskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -212,26 +102,26 @@ void CreateDiskRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag5Value()const
|
||||
std::string CreateDiskRequest::getDiskName()const
|
||||
{
|
||||
return tag5Value_;
|
||||
return diskName_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag5Value(const std::string& tag5Value)
|
||||
void CreateDiskRequest::setDiskName(const std::string& diskName)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
diskName_ = diskName;
|
||||
setParameter("DiskName", diskName);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag1Key()const
|
||||
std::string CreateDiskRequest::getResourceGroupId()const
|
||||
{
|
||||
return tag1Key_;
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag1Key(const std::string& tag1Key)
|
||||
void CreateDiskRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
int CreateDiskRequest::getSize()const
|
||||
@@ -256,15 +146,26 @@ void CreateDiskRequest::setEncrypted(bool encrypted)
|
||||
setParameter("Encrypted", std::to_string(encrypted));
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag2Value()const
|
||||
std::string CreateDiskRequest::getRegionId()const
|
||||
{
|
||||
return tag2Value_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag2Value(const std::string& tag2Value)
|
||||
void CreateDiskRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setDiskCategory(const std::string& diskCategory)
|
||||
{
|
||||
diskCategory_ = diskCategory;
|
||||
setParameter("DiskCategory", diskCategory);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getZoneId()const
|
||||
@@ -278,14 +179,20 @@ void CreateDiskRequest::setZoneId(const std::string& zoneId)
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateDiskRequest::getTag4Key()const
|
||||
std::vector<CreateDiskRequest::Tag> CreateDiskRequest::getTag()const
|
||||
{
|
||||
return tag4Key_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateDiskRequest::setTag4Key(const std::string& tag4Key)
|
||||
void CreateDiskRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -37,24 +37,13 @@ void CreateImageRequest::setDiskDeviceMapping(const std::vector<DiskDeviceMappin
|
||||
for(int i = 0; i!= diskDeviceMapping.size(); i++) {
|
||||
auto obj = diskDeviceMapping.at(i);
|
||||
std::string str ="DiskDeviceMapping."+ std::to_string(i);
|
||||
setParameter(str + ".Size", std::to_string(obj.size));
|
||||
setParameter(str + ".SnapshotId", obj.snapshotId);
|
||||
setParameter(str + ".Device", obj.device);
|
||||
setParameter(str + ".Size", std::to_string(obj.size));
|
||||
setParameter(str + ".DiskType", obj.diskType);
|
||||
setParameter(str + ".Device", obj.device);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long CreateImageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -77,15 +66,15 @@ void CreateImageRequest::setSnapshotId(const std::string& snapshotId)
|
||||
setParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag2Key()const
|
||||
std::string CreateImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return tag2Key_;
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag2Key(const std::string& tag2Key)
|
||||
void CreateImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getClientToken()const
|
||||
@@ -99,6 +88,17 @@ void CreateImageRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -110,15 +110,15 @@ void CreateImageRequest::setDescription(const std::string& description)
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag3Key()const
|
||||
long CreateImageRequest::getOwnerId()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag3Key(const std::string& tag3Key)
|
||||
void CreateImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getPlatform()const
|
||||
@@ -132,17 +132,6 @@ void CreateImageRequest::setPlatform(const std::string& platform)
|
||||
setParameter("Platform", platform);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -154,6 +143,17 @@ void CreateImageRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -176,15 +176,32 @@ void CreateImageRequest::setImageName(const std::string& imageName)
|
||||
setParameter("ImageName", imageName);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag3Value()const
|
||||
std::string CreateImageRequest::getImageVersion()const
|
||||
{
|
||||
return tag3Value_;
|
||||
return imageVersion_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag3Value(const std::string& tag3Value)
|
||||
void CreateImageRequest::setImageVersion(const std::string& imageVersion)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
imageVersion_ = imageVersion;
|
||||
setParameter("ImageVersion", imageVersion);
|
||||
}
|
||||
|
||||
std::vector<CreateImageRequest::Tag> CreateImageRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getArchitecture()const
|
||||
@@ -198,113 +215,3 @@ void CreateImageRequest::setArchitecture(const std::string& architecture)
|
||||
setParameter("Architecture", architecture);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateImageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getImageVersion()const
|
||||
{
|
||||
return imageVersion_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setImageVersion(const std::string& imageVersion)
|
||||
{
|
||||
imageVersion_ = imageVersion;
|
||||
setParameter("ImageVersion", imageVersion);
|
||||
}
|
||||
|
||||
std::string CreateImageRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void CreateImageRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateInstanceRequest::CreateInstanceRequest() :
|
||||
CreateInstanceRequest::~CreateInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateInstanceRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long CreateInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void CreateInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getHpcClusterId()const
|
||||
{
|
||||
return hpcClusterId_;
|
||||
@@ -69,17 +47,6 @@ void CreateInstanceRequest::setHpcClusterId(const std::string& hpcClusterId)
|
||||
setParameter("HpcClusterId", hpcClusterId);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getSecurityEnhancementStrategy()const
|
||||
{
|
||||
return securityEnhancementStrategy_;
|
||||
@@ -113,17 +80,6 @@ void CreateInstanceRequest::setSpotPriceLimit(float spotPriceLimit)
|
||||
setParameter("SpotPriceLimit", std::to_string(spotPriceLimit));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -157,6 +113,23 @@ void CreateInstanceRequest::setPassword(const std::string& password)
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
std::vector<CreateInstanceRequest::Tag> CreateInstanceRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
int CreateInstanceRequest::getAutoRenewPeriod()const
|
||||
{
|
||||
return autoRenewPeriod_;
|
||||
@@ -201,17 +174,6 @@ void CreateInstanceRequest::setDryRun(bool dryRun)
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
long CreateInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -311,17 +273,6 @@ void CreateInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
int CreateInstanceRequest::getInternetMaxBandwidthIn()const
|
||||
{
|
||||
return internetMaxBandwidthIn_;
|
||||
@@ -498,17 +449,6 @@ void CreateInstanceRequest::setInstanceChargeType(const std::string& instanceCha
|
||||
setParameter("InstanceChargeType", instanceChargeType);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getDeploymentSetId()const
|
||||
{
|
||||
return deploymentSetId_;
|
||||
@@ -609,39 +549,17 @@ void CreateInstanceRequest::setDataDisk(const std::vector<DataDisk>& dataDisk)
|
||||
for(int i = 0; i!= dataDisk.size(); i++) {
|
||||
auto obj = dataDisk.at(i);
|
||||
std::string str ="DataDisk."+ std::to_string(i);
|
||||
setParameter(str + ".Size", std::to_string(obj.size));
|
||||
setParameter(str + ".SnapshotId", obj.snapshotId);
|
||||
setParameter(str + ".Category", obj.category);
|
||||
setParameter(str + ".DiskName", obj.diskName);
|
||||
setParameter(str + ".SnapshotId", obj.snapshotId);
|
||||
setParameter(str + ".Size", std::to_string(obj.size));
|
||||
setParameter(str + ".Encrypted", std::to_string(obj.encrypted));
|
||||
setParameter(str + ".Description", obj.description);
|
||||
setParameter(str + ".Category", obj.category);
|
||||
setParameter(str + ".Device", obj.device);
|
||||
setParameter(str + ".DeleteWithInstance", std::to_string(obj.deleteWithInstance));
|
||||
setParameter(str + ".Encrypted", std::to_string(obj.encrypted));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
int CreateInstanceRequest::getSystemDiskSize()const
|
||||
{
|
||||
return systemDiskSize_;
|
||||
@@ -653,17 +571,6 @@ void CreateInstanceRequest::setSystemDiskSize(int systemDiskSize)
|
||||
setParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getSystemDiskDescription()const
|
||||
{
|
||||
return systemDiskDescription_;
|
||||
|
||||
@@ -25,15 +25,15 @@ CreateKeyPairRequest::CreateKeyPairRequest() :
|
||||
CreateKeyPairRequest::~CreateKeyPairRequest()
|
||||
{}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag4Value()const
|
||||
std::string CreateKeyPairRequest::getResourceGroupId()const
|
||||
{
|
||||
return tag4Value_;
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag4Value(const std::string& tag4Value)
|
||||
void CreateKeyPairRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
long CreateKeyPairRequest::getResourceOwnerId()const
|
||||
@@ -47,28 +47,6 @@ void CreateKeyPairRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -80,83 +58,6 @@ void CreateKeyPairRequest::setResourceOwnerAccount(const std::string& resourceOw
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getKeyPairName()const
|
||||
{
|
||||
return keyPairName_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
long CreateKeyPairRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -168,36 +69,42 @@ void CreateKeyPairRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag2Value()const
|
||||
std::string CreateKeyPairRequest::getKeyPairName()const
|
||||
{
|
||||
return tag2Value_;
|
||||
return keyPairName_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag2Value(const std::string& tag2Value)
|
||||
void CreateKeyPairRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
keyPairName_ = keyPairName;
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag4Key()const
|
||||
std::vector<CreateKeyPairRequest::Tag> CreateKeyPairRequest::getTag()const
|
||||
{
|
||||
return tag4Key_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag4Key(const std::string& tag4Key)
|
||||
void CreateKeyPairRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateKeyPairRequest::getTag3Value()const
|
||||
long CreateKeyPairRequest::getOwnerId()const
|
||||
{
|
||||
return tag3Value_;
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateKeyPairRequest::setTag3Value(const std::string& tag3Value)
|
||||
void CreateKeyPairRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -47,17 +47,6 @@ void CreateLaunchTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag4Key()const
|
||||
{
|
||||
return templateTag4Key_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag4Key(const std::string& templateTag4Key)
|
||||
{
|
||||
templateTag4Key_ = templateTag4Key;
|
||||
setParameter("TemplateTag4Key", templateTag4Key);
|
||||
}
|
||||
|
||||
long CreateLaunchTemplateRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
@@ -168,17 +157,6 @@ void CreateLaunchTemplateRequest::setResourceGroupId(const std::string& resource
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag3Key()const
|
||||
{
|
||||
return templateTag3Key_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag3Key(const std::string& templateTag3Key)
|
||||
{
|
||||
templateTag3Key_ = templateTag3Key;
|
||||
setParameter("TemplateTag3Key", templateTag3Key);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getHostName()const
|
||||
{
|
||||
return hostName_;
|
||||
@@ -234,15 +212,21 @@ void CreateLaunchTemplateRequest::setCallerBidEmail(const std::string& callerBid
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag3Value()const
|
||||
std::vector<CreateLaunchTemplateRequest::TemplateTag> CreateLaunchTemplateRequest::getTemplateTag()const
|
||||
{
|
||||
return templateTag3Value_;
|
||||
return templateTag_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag3Value(const std::string& templateTag3Value)
|
||||
void CreateLaunchTemplateRequest::setTemplateTag(const std::vector<TemplateTag>& templateTag)
|
||||
{
|
||||
templateTag3Value_ = templateTag3Value;
|
||||
setParameter("TemplateTag3Value", templateTag3Value);
|
||||
templateTag_ = templateTag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= templateTag.size(); i++) {
|
||||
auto obj = templateTag.at(i);
|
||||
std::string str ="TemplateTag."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<CreateLaunchTemplateRequest::Tag> CreateLaunchTemplateRequest::getTag()const
|
||||
@@ -295,17 +279,6 @@ void CreateLaunchTemplateRequest::setTemplateResourceGroupId(const std::string&
|
||||
setParameter("TemplateResourceGroupId", templateResourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag2Value()const
|
||||
{
|
||||
return templateTag2Value_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag2Value(const std::string& templateTag2Value)
|
||||
{
|
||||
templateTag2Value_ = templateTag2Value;
|
||||
setParameter("TemplateTag2Value", templateTag2Value);
|
||||
}
|
||||
|
||||
long CreateLaunchTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -394,17 +367,6 @@ void CreateLaunchTemplateRequest::setInternetChargeType(const std::string& inter
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag5Key()const
|
||||
{
|
||||
return templateTag5Key_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag5Key(const std::string& templateTag5Key)
|
||||
{
|
||||
templateTag5Key_ = templateTag5Key;
|
||||
setParameter("TemplateTag5Key", templateTag5Key);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
@@ -438,17 +400,6 @@ void CreateLaunchTemplateRequest::setVersionDescription(const std::string& versi
|
||||
setParameter("VersionDescription", versionDescription);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag1Value()const
|
||||
{
|
||||
return templateTag1Value_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag1Value(const std::string& templateTag1Value)
|
||||
{
|
||||
templateTag1Value_ = templateTag1Value;
|
||||
setParameter("TemplateTag1Value", templateTag1Value);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getImageId()const
|
||||
{
|
||||
return imageId_;
|
||||
@@ -559,17 +510,6 @@ void CreateLaunchTemplateRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag5Value()const
|
||||
{
|
||||
return templateTag5Value_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag5Value(const std::string& templateTag5Value)
|
||||
{
|
||||
templateTag5Value_ = templateTag5Value;
|
||||
setParameter("TemplateTag5Value", templateTag5Value);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
@@ -656,17 +596,6 @@ void CreateLaunchTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag2Key()const
|
||||
{
|
||||
return templateTag2Key_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag2Key(const std::string& templateTag2Key)
|
||||
{
|
||||
templateTag2Key_ = templateTag2Key;
|
||||
setParameter("TemplateTag2Key", templateTag2Key);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -777,17 +706,6 @@ void CreateLaunchTemplateRequest::setProxy_trust_transport_info(bool proxy_trust
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag4Value()const
|
||||
{
|
||||
return templateTag4Value_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag4Value(const std::string& templateTag4Value)
|
||||
{
|
||||
templateTag4Value_ = templateTag4Value;
|
||||
setParameter("TemplateTag4Value", templateTag4Value);
|
||||
}
|
||||
|
||||
int CreateLaunchTemplateRequest::getSystemDiskSize()const
|
||||
{
|
||||
return systemDiskSize_;
|
||||
@@ -810,17 +728,6 @@ void CreateLaunchTemplateRequest::setVpcId(const std::string& vpcId)
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getTemplateTag1Key()const
|
||||
{
|
||||
return templateTag1Key_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setTemplateTag1Key(const std::string& templateTag1Key)
|
||||
{
|
||||
templateTag1Key_ = templateTag1Key;
|
||||
setParameter("TemplateTag1Key", templateTag1Key);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getSystemDiskDescription()const
|
||||
{
|
||||
return systemDiskDescription_;
|
||||
|
||||
@@ -136,9 +136,9 @@ void CreateNatGatewayRequest::setBandwidthPackage(const std::vector<BandwidthPac
|
||||
for(int i = 0; i!= bandwidthPackage.size(); i++) {
|
||||
auto obj = bandwidthPackage.at(i);
|
||||
std::string str ="BandwidthPackage."+ std::to_string(i);
|
||||
setParameter(str + ".IpCount", std::to_string(obj.ipCount));
|
||||
setParameter(str + ".Bandwidth", std::to_string(obj.bandwidth));
|
||||
setParameter(str + ".Zone", obj.zone);
|
||||
setParameter(str + ".IpCount", std::to_string(obj.ipCount));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateNetworkInterfaceRequest::CreateNetworkInterfaceRequest() :
|
||||
CreateNetworkInterfaceRequest::~CreateNetworkInterfaceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long CreateNetworkInterfaceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void CreateNetworkInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -113,17 +91,6 @@ void CreateNetworkInterfaceRequest::setDescription(const std::string& descriptio
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
@@ -168,17 +135,6 @@ void CreateNetworkInterfaceRequest::setAccessKeyId(const std::string& accessKeyI
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -245,6 +201,23 @@ void CreateNetworkInterfaceRequest::setCallerBidEmail(const std::string& callerB
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<CreateNetworkInterfaceRequest::Tag> CreateNetworkInterfaceRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
@@ -256,17 +229,6 @@ void CreateNetworkInterfaceRequest::setCallerUidEmail(const std::string& callerU
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getNetworkInterfaceName()const
|
||||
{
|
||||
return networkInterfaceName_;
|
||||
@@ -300,17 +262,6 @@ void CreateNetworkInterfaceRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -355,17 +306,6 @@ void CreateNetworkInterfaceRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
bool CreateNetworkInterfaceRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
@@ -399,17 +339,6 @@ void CreateNetworkInterfaceRequest::setSecurity_transport(bool security_transpor
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
@@ -432,28 +361,6 @@ void CreateNetworkInterfaceRequest::setRequestId(const std::string& requestId)
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void CreateNetworkInterfaceRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string CreateNetworkInterfaceRequest::getPrimaryIpAddress()const
|
||||
{
|
||||
return primaryIpAddress_;
|
||||
|
||||
@@ -125,8 +125,8 @@ void CreateRouteEntryRequest::setNextHopList(const std::vector<NextHopList>& nex
|
||||
for(int i = 0; i!= nextHopList.size(); i++) {
|
||||
auto obj = nextHopList.at(i);
|
||||
std::string str ="NextHopList."+ std::to_string(i);
|
||||
setParameter(str + ".NextHopType", obj.nextHopType);
|
||||
setParameter(str + ".NextHopId", obj.nextHopId);
|
||||
setParameter(str + ".NextHopType", obj.nextHopType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,15 @@ CreateSecurityGroupRequest::CreateSecurityGroupRequest() :
|
||||
CreateSecurityGroupRequest::~CreateSecurityGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag4Value()const
|
||||
std::string CreateSecurityGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return tag4Value_;
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag4Value(const std::string& tag4Value)
|
||||
void CreateSecurityGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
long CreateSecurityGroupRequest::getResourceOwnerId()const
|
||||
@@ -47,28 +47,6 @@ void CreateSecurityGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -80,6 +58,17 @@ void CreateSecurityGroupRequest::setResourceOwnerAccount(const std::string& reso
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -91,6 +80,17 @@ void CreateSecurityGroupRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -113,15 +113,21 @@ void CreateSecurityGroupRequest::setDescription(const std::string& description)
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag3Key()const
|
||||
std::vector<CreateSecurityGroupRequest::Tag> CreateSecurityGroupRequest::getTag()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag3Key(const std::string& tag3Key)
|
||||
void CreateSecurityGroupRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long CreateSecurityGroupRequest::getOwnerId()const
|
||||
@@ -146,102 +152,3 @@ void CreateSecurityGroupRequest::setSecurityGroupName(const std::string& securit
|
||||
setParameter("SecurityGroupName", securityGroupName);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string CreateSecurityGroupRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void CreateSecurityGroupRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateSnapshotRequest::CreateSnapshotRequest() :
|
||||
CreateSnapshotRequest::~CreateSnapshotRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long CreateSnapshotRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void CreateSnapshotRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -113,6 +80,17 @@ void CreateSnapshotRequest::setDescription(const std::string& description)
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getDiskId()const
|
||||
{
|
||||
return diskId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setDiskId(const std::string& diskId)
|
||||
{
|
||||
diskId_ = diskId;
|
||||
setParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getSnapshotName()const
|
||||
{
|
||||
return snapshotName_;
|
||||
@@ -124,15 +102,21 @@ void CreateSnapshotRequest::setSnapshotName(const std::string& snapshotName)
|
||||
setParameter("SnapshotName", snapshotName);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag3Key()const
|
||||
std::vector<CreateSnapshotRequest::Tag> CreateSnapshotRequest::getTag()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag3Key(const std::string& tag3Key)
|
||||
void CreateSnapshotRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long CreateSnapshotRequest::getOwnerId()const
|
||||
@@ -146,80 +130,3 @@ void CreateSnapshotRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getDiskId()const
|
||||
{
|
||||
return diskId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setDiskId(const std::string& diskId)
|
||||
{
|
||||
diskId_ = diskId;
|
||||
setParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,17 @@ void CreateVSwitchRequest::setResourceOwnerAccount(const std::string& resourceOw
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateVSwitchRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateVSwitchRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateVSwitchRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
|
||||
@@ -91,17 +91,6 @@ void DeletePhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAc
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeletePhysicalConnectionRequest::getUserCidr()const
|
||||
{
|
||||
return userCidr_;
|
||||
}
|
||||
|
||||
void DeletePhysicalConnectionRequest::setUserCidr(const std::string& userCidr)
|
||||
{
|
||||
userCidr_ = userCidr;
|
||||
setParameter("UserCidr", userCidr);
|
||||
}
|
||||
|
||||
long DeletePhysicalConnectionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -103,8 +103,8 @@ void DeleteRouteEntryRequest::setNextHopList(const std::vector<NextHopList>& nex
|
||||
for(int i = 0; i!= nextHopList.size(); i++) {
|
||||
auto obj = nextHopList.at(i);
|
||||
std::string str ="NextHopList."+ std::to_string(i);
|
||||
setParameter(str + ".NextHopType", obj.nextHopType);
|
||||
setParameter(str + ".NextHopId", obj.nextHopId);
|
||||
setParameter(str + ".NextHopType", obj.nextHopType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,17 @@ void DeleteVSwitchRequest::setResourceOwnerAccount(const std::string& resourceOw
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteVSwitchRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteVSwitchRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteVSwitchRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
|
||||
@@ -47,6 +47,17 @@ void DeleteVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerA
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteVpcRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteVpcRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteVpcRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
|
||||
@@ -37,8 +37,8 @@ void DescribeAccessPointsRequest::setFilter(const std::vector<Filter>& filter)
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
292
ecs/src/model/DescribeAccountAttributesRequest.cc
Normal file
292
ecs/src/model/DescribeAccountAttributesRequest.cc
Normal file
@@ -0,0 +1,292 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/DescribeAccountAttributesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ecs::Model::DescribeAccountAttributesRequest;
|
||||
|
||||
DescribeAccountAttributesRequest::DescribeAccountAttributesRequest() :
|
||||
RpcServiceRequest("ecs", "2014-05-26", "DescribeAccountAttributes")
|
||||
{}
|
||||
|
||||
DescribeAccountAttributesRequest::~DescribeAccountAttributesRequest()
|
||||
{}
|
||||
|
||||
long DescribeAccountAttributesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeAccountAttributesRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeAccountAttributesRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeAccountAttributesRequest::getAttributeName()const
|
||||
{
|
||||
return attributeName_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setAttributeName(const std::vector<std::string>& attributeName)
|
||||
{
|
||||
attributeName_ = attributeName;
|
||||
for(int i = 0; i!= attributeName.size(); i++)
|
||||
setParameter("AttributeName."+ std::to_string(i), attributeName.at(i));
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool DescribeAccountAttributesRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", std::to_string(enable));
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeAccountAttributesRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeAccountAttributesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool DescribeAccountAttributesRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeAccountAttributesRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool DescribeAccountAttributesRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeAccountAttributesRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeAccountAttributesRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
74
ecs/src/model/DescribeAccountAttributesResult.cc
Normal file
74
ecs/src/model/DescribeAccountAttributesResult.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/DescribeAccountAttributesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
using namespace AlibabaCloud::Ecs::Model;
|
||||
|
||||
DescribeAccountAttributesResult::DescribeAccountAttributesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAccountAttributesResult::DescribeAccountAttributesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAccountAttributesResult::~DescribeAccountAttributesResult()
|
||||
{}
|
||||
|
||||
void DescribeAccountAttributesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAccountAttributeItems = value["AccountAttributeItems"]["AccountAttributeItem"];
|
||||
for (auto value : allAccountAttributeItems)
|
||||
{
|
||||
AccountAttributeItem accountAttributeItemsObject;
|
||||
if(!value["AttributeName"].isNull())
|
||||
accountAttributeItemsObject.attributeName = value["AttributeName"].asString();
|
||||
auto allAttributeValues = value["AttributeValues"]["ValueItem"];
|
||||
for (auto value : allAttributeValues)
|
||||
{
|
||||
AccountAttributeItem::ValueItem attributeValuesObject;
|
||||
if(!value["Value"].isNull())
|
||||
attributeValuesObject.value = value["Value"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
attributeValuesObject.zoneId = value["ZoneId"].asString();
|
||||
if(!value["InstanceChargeType"].isNull())
|
||||
attributeValuesObject.instanceChargeType = value["InstanceChargeType"].asString();
|
||||
if(!value["InstanceType"].isNull())
|
||||
attributeValuesObject.instanceType = value["InstanceType"].asString();
|
||||
if(!value["Count"].isNull())
|
||||
attributeValuesObject.count = std::stoi(value["Count"].asString());
|
||||
accountAttributeItemsObject.attributeValues.push_back(attributeValuesObject);
|
||||
}
|
||||
accountAttributeItems_.push_back(accountAttributeItemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAccountAttributesResult::AccountAttributeItem> DescribeAccountAttributesResult::getAccountAttributeItems()const
|
||||
{
|
||||
return accountAttributeItems_;
|
||||
}
|
||||
|
||||
@@ -333,6 +333,17 @@ void DescribeAvailableResourceRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
bool DescribeAvailableResourceRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeDisksRequest::DescribeDisksRequest() :
|
||||
DescribeDisksRequest::~DescribeDisksRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDisksRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long DescribeDisksRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,17 +47,6 @@ void DescribeDisksRequest::setSnapshotId(const std::string& snapshotId)
|
||||
setParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getFilter2Value()const
|
||||
{
|
||||
return filter2Value_;
|
||||
@@ -91,17 +69,6 @@ void DescribeDisksRequest::setAutoSnapshotPolicyId(const std::string& autoSnapsh
|
||||
setParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
int DescribeDisksRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -124,17 +91,6 @@ void DescribeDisksRequest::setDiskName(const std::string& diskName)
|
||||
setParameter("DiskName", diskName);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
bool DescribeDisksRequest::getDeleteAutoSnapshot()const
|
||||
{
|
||||
return deleteAutoSnapshot_;
|
||||
@@ -223,6 +179,23 @@ void DescribeDisksRequest::setDiskIds(const std::string& diskIds)
|
||||
setParameter("DiskIds", diskIds);
|
||||
}
|
||||
|
||||
std::vector<DescribeDisksRequest::Tag> DescribeDisksRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
bool DescribeDisksRequest::getDeleteWithInstance()const
|
||||
{
|
||||
return deleteWithInstance_;
|
||||
@@ -234,17 +207,6 @@ void DescribeDisksRequest::setDeleteWithInstance(bool deleteWithInstance)
|
||||
setParameter("DeleteWithInstance", std::to_string(deleteWithInstance));
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
bool DescribeDisksRequest::getEnableAutoSnapshot()const
|
||||
{
|
||||
return enableAutoSnapshot_;
|
||||
@@ -267,17 +229,6 @@ void DescribeDisksRequest::setDryRun(bool dryRun)
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -366,28 +317,6 @@ void DescribeDisksRequest::setDiskType(const std::string& diskType)
|
||||
setParameter("DiskType", diskType);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDisksRequest::getAdditionalAttributes()const
|
||||
{
|
||||
return additionalAttributes_;
|
||||
@@ -433,17 +362,6 @@ void DescribeDisksRequest::setEncrypted(bool encrypted)
|
||||
setParameter("Encrypted", std::to_string(encrypted));
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
@@ -455,17 +373,6 @@ void DescribeDisksRequest::setZoneId(const std::string& zoneId)
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeDisksRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeDisksRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
|
||||
335
ecs/src/model/DescribeEniMonitorDataRequest.cc
Normal file
335
ecs/src/model/DescribeEniMonitorDataRequest.cc
Normal file
@@ -0,0 +1,335 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/DescribeEniMonitorDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Ecs::Model::DescribeEniMonitorDataRequest;
|
||||
|
||||
DescribeEniMonitorDataRequest::DescribeEniMonitorDataRequest() :
|
||||
RpcServiceRequest("ecs", "2014-05-26", "DescribeEniMonitorData")
|
||||
{}
|
||||
|
||||
DescribeEniMonitorDataRequest::~DescribeEniMonitorDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeEniMonitorDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeEniMonitorDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeEniMonitorDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool DescribeEniMonitorDataRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", std::to_string(enable));
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeEniMonitorDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
int DescribeEniMonitorDataRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeEniMonitorDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool DescribeEniMonitorDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeEniMonitorDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool DescribeEniMonitorDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeEniMonitorDataRequest::getEniId()const
|
||||
{
|
||||
return eniId_;
|
||||
}
|
||||
|
||||
void DescribeEniMonitorDataRequest::setEniId(const std::string& eniId)
|
||||
{
|
||||
eniId_ = eniId;
|
||||
setParameter("EniId", eniId);
|
||||
}
|
||||
|
||||
79
ecs/src/model/DescribeEniMonitorDataResult.cc
Normal file
79
ecs/src/model/DescribeEniMonitorDataResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/DescribeEniMonitorDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
using namespace AlibabaCloud::Ecs::Model;
|
||||
|
||||
DescribeEniMonitorDataResult::DescribeEniMonitorDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeEniMonitorDataResult::DescribeEniMonitorDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeEniMonitorDataResult::~DescribeEniMonitorDataResult()
|
||||
{}
|
||||
|
||||
void DescribeEniMonitorDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allMonitorData = value["MonitorData"]["EniMonitorData"];
|
||||
for (auto value : allMonitorData)
|
||||
{
|
||||
EniMonitorData monitorDataObject;
|
||||
if(!value["EniId"].isNull())
|
||||
monitorDataObject.eniId = value["EniId"].asString();
|
||||
if(!value["TimeStamp"].isNull())
|
||||
monitorDataObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["PacketTx"].isNull())
|
||||
monitorDataObject.packetTx = value["PacketTx"].asString();
|
||||
if(!value["PacketRx"].isNull())
|
||||
monitorDataObject.packetRx = value["PacketRx"].asString();
|
||||
if(!value["IntranetTx"].isNull())
|
||||
monitorDataObject.intranetTx = value["IntranetTx"].asString();
|
||||
if(!value["IntranetRx"].isNull())
|
||||
monitorDataObject.intranetRx = value["IntranetRx"].asString();
|
||||
if(!value["DropPacketTx"].isNull())
|
||||
monitorDataObject.dropPacketTx = value["DropPacketTx"].asString();
|
||||
if(!value["DropPacketRx"].isNull())
|
||||
monitorDataObject.dropPacketRx = value["DropPacketRx"].asString();
|
||||
monitorData_.push_back(monitorDataObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeEniMonitorDataResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeEniMonitorDataResult::EniMonitorData> DescribeEniMonitorDataResult::getMonitorData()const
|
||||
{
|
||||
return monitorData_;
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@ void DescribeHaVipsRequest::setFilter(const std::vector<Filter>& filter)
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,8 +48,8 @@ void DescribeImageSupportInstanceTypesRequest::setFilter(const std::vector<Filte
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeImagesRequest::DescribeImagesRequest() :
|
||||
DescribeImagesRequest::~DescribeImagesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeImagesRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getActionType()const
|
||||
{
|
||||
return actionType_;
|
||||
@@ -80,17 +69,6 @@ void DescribeImagesRequest::setSnapshotId(const std::string& snapshotId)
|
||||
setParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getUsage()const
|
||||
{
|
||||
return usage_;
|
||||
@@ -102,17 +80,6 @@ void DescribeImagesRequest::setUsage(const std::string& usage)
|
||||
setParameter("Usage", usage);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
int DescribeImagesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -135,17 +102,6 @@ void DescribeImagesRequest::setImageOwnerAlias(const std::string& imageOwnerAlia
|
||||
setParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -223,15 +179,21 @@ void DescribeImagesRequest::setInstanceType(const std::string& instanceType)
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag3Value()const
|
||||
std::vector<DescribeImagesRequest::Tag> DescribeImagesRequest::getTag()const
|
||||
{
|
||||
return tag3Value_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag3Value(const std::string& tag3Value)
|
||||
void DescribeImagesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getArchitecture()const
|
||||
@@ -256,17 +218,6 @@ void DescribeImagesRequest::setDryRun(bool dryRun)
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -322,28 +273,6 @@ void DescribeImagesRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::vector<DescribeImagesRequest::Filter> DescribeImagesRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
@@ -356,33 +285,11 @@ void DescribeImagesRequest::setFilter(const std::vector<Filter>& filter)
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeInstancesRequest::DescribeInstancesRequest() :
|
||||
DescribeInstancesRequest::~DescribeInstancesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInnerIpAddresses()const
|
||||
{
|
||||
return innerIpAddresses_;
|
||||
@@ -58,15 +47,15 @@ void DescribeInstancesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag2Key()const
|
||||
std::string DescribeInstancesRequest::getImageId()const
|
||||
{
|
||||
return tag2Key_;
|
||||
return imageId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag2Key(const std::string& tag2Key)
|
||||
void DescribeInstancesRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
imageId_ = imageId;
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getPrivateIpAddresses()const
|
||||
@@ -102,15 +91,37 @@ void DescribeInstancesRequest::setFilter2Value(const std::string& filter2Value)
|
||||
setParameter("Filter2Value", filter2Value);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag3Key()const
|
||||
std::string DescribeInstancesRequest::getFilter4Value()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return filter4Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag3Key(const std::string& tag3Key)
|
||||
void DescribeInstancesRequest::setFilter4Value(const std::string& filter4Value)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
filter4Value_ = filter4Value;
|
||||
setParameter("Filter4Value", filter4Value);
|
||||
}
|
||||
|
||||
bool DescribeInstancesRequest::getIoOptimized()const
|
||||
{
|
||||
return ioOptimized_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setIoOptimized(bool ioOptimized)
|
||||
{
|
||||
ioOptimized_ = ioOptimized;
|
||||
setParameter("IoOptimized", std::to_string(ioOptimized));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getKeyPairName()const
|
||||
@@ -124,15 +135,26 @@ void DescribeInstancesRequest::setKeyPairName(const std::string& keyPairName)
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag1Value()const
|
||||
std::string DescribeInstancesRequest::getFilter4Key()const
|
||||
{
|
||||
return tag1Value_;
|
||||
return filter4Key_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag1Value(const std::string& tag1Value)
|
||||
void DescribeInstancesRequest::setFilter4Key(const std::string& filter4Key)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
filter4Key_ = filter4Key;
|
||||
setParameter("Filter4Key", filter4Key);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getResourceGroupId()const
|
||||
@@ -168,226 +190,6 @@ void DescribeInstancesRequest::setFilter1Key(const std::string& filter1Key)
|
||||
setParameter("Filter1Key", filter1Key);
|
||||
}
|
||||
|
||||
bool DescribeInstancesRequest::getDeviceAvailable()const
|
||||
{
|
||||
return deviceAvailable_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setDeviceAvailable(bool deviceAvailable)
|
||||
{
|
||||
deviceAvailable_ = deviceAvailable;
|
||||
setParameter("DeviceAvailable", std::to_string(deviceAvailable));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter3Value()const
|
||||
{
|
||||
return filter3Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setFilter3Value(const std::string& filter3Value)
|
||||
{
|
||||
filter3Value_ = filter3Value;
|
||||
setParameter("Filter3Value", filter3Value);
|
||||
}
|
||||
|
||||
bool DescribeInstancesRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter1Value()const
|
||||
{
|
||||
return filter1Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setFilter1Value(const std::string& filter1Value)
|
||||
{
|
||||
filter1Value_ = filter1Value;
|
||||
setParameter("Filter1Value", filter1Value);
|
||||
}
|
||||
|
||||
long DescribeInstancesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceIds()const
|
||||
{
|
||||
return instanceIds_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceNetworkType()const
|
||||
{
|
||||
return instanceNetworkType_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInstanceNetworkType(const std::string& instanceNetworkType)
|
||||
{
|
||||
instanceNetworkType_ = instanceNetworkType;
|
||||
setParameter("InstanceNetworkType", instanceNetworkType);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getImageId()const
|
||||
{
|
||||
return imageId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter4Value()const
|
||||
{
|
||||
return filter4Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setFilter4Value(const std::string& filter4Value)
|
||||
{
|
||||
filter4Value_ = filter4Value;
|
||||
setParameter("Filter4Value", filter4Value);
|
||||
}
|
||||
|
||||
bool DescribeInstancesRequest::getIoOptimized()const
|
||||
{
|
||||
return ioOptimized_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setIoOptimized(bool ioOptimized)
|
||||
{
|
||||
ioOptimized_ = ioOptimized;
|
||||
setParameter("IoOptimized", std::to_string(ioOptimized));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter4Key()const
|
||||
{
|
||||
return filter4Key_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setFilter4Key(const std::string& filter4Key)
|
||||
{
|
||||
filter4Key_ = filter4Key;
|
||||
setParameter("Filter4Key", filter4Key);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -410,6 +212,17 @@ void DescribeInstancesRequest::setRdmaIpAddresses(const std::string& rdmaIpAddre
|
||||
setParameter("RdmaIpAddresses", rdmaIpAddresses);
|
||||
}
|
||||
|
||||
bool DescribeInstancesRequest::getDeviceAvailable()const
|
||||
{
|
||||
return deviceAvailable_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setDeviceAvailable(bool deviceAvailable)
|
||||
{
|
||||
deviceAvailable_ = deviceAvailable;
|
||||
setParameter("DeviceAvailable", std::to_string(deviceAvailable));
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -443,6 +256,23 @@ void DescribeInstancesRequest::setInstanceType(const std::string& instanceType)
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::vector<DescribeInstancesRequest::Tag> DescribeInstancesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceChargeType()const
|
||||
{
|
||||
return instanceChargeType_;
|
||||
@@ -454,15 +284,26 @@ void DescribeInstancesRequest::setInstanceChargeType(const std::string& instance
|
||||
setParameter("InstanceChargeType", instanceChargeType);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag3Value()const
|
||||
std::string DescribeInstancesRequest::getFilter3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
return filter3Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag3Value(const std::string& tag3Value)
|
||||
void DescribeInstancesRequest::setFilter3Value(const std::string& filter3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
filter3Value_ = filter3Value;
|
||||
setParameter("Filter3Value", filter3Value);
|
||||
}
|
||||
|
||||
bool DescribeInstancesRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getResourceOwnerAccount()const
|
||||
@@ -498,6 +339,17 @@ void DescribeInstancesRequest::setInstanceTypeFamily(const std::string& instance
|
||||
setParameter("InstanceTypeFamily", instanceTypeFamily);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter1Value()const
|
||||
{
|
||||
return filter1Value_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setFilter1Value(const std::string& filter1Value)
|
||||
{
|
||||
filter1Value_ = filter1Value;
|
||||
setParameter("Filter1Value", filter1Value);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter2Key()const
|
||||
{
|
||||
return filter2Key_;
|
||||
@@ -509,26 +361,26 @@ void DescribeInstancesRequest::setFilter2Key(const std::string& filter2Key)
|
||||
setParameter("Filter2Key", filter2Key);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag5Value()const
|
||||
long DescribeInstancesRequest::getOwnerId()const
|
||||
{
|
||||
return tag5Value_;
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag5Value(const std::string& tag5Value)
|
||||
void DescribeInstancesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag1Key()const
|
||||
std::string DescribeInstancesRequest::getVSwitchId()const
|
||||
{
|
||||
return tag1Key_;
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag1Key(const std::string& tag1Key)
|
||||
void DescribeInstancesRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getEipAddresses()const
|
||||
@@ -542,6 +394,39 @@ void DescribeInstancesRequest::setEipAddresses(const std::string& eipAddresses)
|
||||
setParameter("EipAddresses", eipAddresses);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceIds()const
|
||||
{
|
||||
return instanceIds_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
@@ -553,15 +438,15 @@ void DescribeInstancesRequest::setVpcId(const std::string& vpcId)
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getTag2Value()const
|
||||
std::string DescribeInstancesRequest::getZoneId()const
|
||||
{
|
||||
return tag2Value_;
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setTag2Value(const std::string& tag2Value)
|
||||
void DescribeInstancesRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getFilter3Key()const
|
||||
@@ -575,3 +460,25 @@ void DescribeInstancesRequest::setFilter3Key(const std::string& filter3Key)
|
||||
setParameter("Filter3Key", filter3Key);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getInstanceNetworkType()const
|
||||
{
|
||||
return instanceNetworkType_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setInstanceNetworkType(const std::string& instanceNetworkType)
|
||||
{
|
||||
instanceNetworkType_ = instanceNetworkType;
|
||||
setParameter("InstanceNetworkType", instanceNetworkType);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,15 @@ DescribeKeyPairsRequest::DescribeKeyPairsRequest() :
|
||||
DescribeKeyPairsRequest::~DescribeKeyPairsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag4Value()const
|
||||
std::string DescribeKeyPairsRequest::getResourceGroupId()const
|
||||
{
|
||||
return tag4Value_;
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag4Value(const std::string& tag4Value)
|
||||
void DescribeKeyPairsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
long DescribeKeyPairsRequest::getResourceOwnerId()const
|
||||
@@ -47,28 +47,6 @@ void DescribeKeyPairsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -80,105 +58,6 @@ void DescribeKeyPairsRequest::setResourceOwnerAccount(const std::string& resourc
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getKeyPairFingerPrint()const
|
||||
{
|
||||
return keyPairFingerPrint_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setKeyPairFingerPrint(const std::string& keyPairFingerPrint)
|
||||
{
|
||||
keyPairFingerPrint_ = keyPairFingerPrint;
|
||||
setParameter("KeyPairFingerPrint", keyPairFingerPrint);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getKeyPairName()const
|
||||
{
|
||||
return keyPairName_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
long DescribeKeyPairsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
int DescribeKeyPairsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -190,15 +69,15 @@ void DescribeKeyPairsRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag2Value()const
|
||||
std::string DescribeKeyPairsRequest::getKeyPairFingerPrint()const
|
||||
{
|
||||
return tag2Value_;
|
||||
return keyPairFingerPrint_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag2Value(const std::string& tag2Value)
|
||||
void DescribeKeyPairsRequest::setKeyPairFingerPrint(const std::string& keyPairFingerPrint)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
keyPairFingerPrint_ = keyPairFingerPrint;
|
||||
setParameter("KeyPairFingerPrint", keyPairFingerPrint);
|
||||
}
|
||||
|
||||
int DescribeKeyPairsRequest::getPageSize()const
|
||||
@@ -212,25 +91,53 @@ void DescribeKeyPairsRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag4Key()const
|
||||
std::string DescribeKeyPairsRequest::getKeyPairName()const
|
||||
{
|
||||
return tag4Key_;
|
||||
return keyPairName_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag4Key(const std::string& tag4Key)
|
||||
void DescribeKeyPairsRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
keyPairName_ = keyPairName;
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string DescribeKeyPairsRequest::getTag3Value()const
|
||||
std::vector<DescribeKeyPairsRequest::Tag> DescribeKeyPairsRequest::getTag()const
|
||||
{
|
||||
return tag3Value_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setTag3Value(const std::string& tag3Value)
|
||||
void DescribeKeyPairsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long DescribeKeyPairsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeKeyPairsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeKeyPairsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeLaunchTemplatesRequest::DescribeLaunchTemplatesRequest() :
|
||||
DescribeLaunchTemplatesRequest::~DescribeLaunchTemplatesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag1Value()const
|
||||
{
|
||||
return templateTag1Value_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag1Value(const std::string& templateTag1Value)
|
||||
{
|
||||
templateTag1Value_ = templateTag1Value;
|
||||
setParameter("TemplateTag1Value", templateTag1Value);
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeLaunchTemplatesRequest::getLaunchTemplateName()const
|
||||
{
|
||||
return launchTemplateName_;
|
||||
@@ -59,17 +48,6 @@ void DescribeLaunchTemplatesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag4Key()const
|
||||
{
|
||||
return templateTag4Key_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag4Key(const std::string& templateTag4Key)
|
||||
{
|
||||
templateTag4Key_ = templateTag4Key;
|
||||
setParameter("TemplateTag4Key", templateTag4Key);
|
||||
}
|
||||
|
||||
long DescribeLaunchTemplatesRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
@@ -147,17 +125,6 @@ void DescribeLaunchTemplatesRequest::setAccessKeyId(const std::string& accessKey
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag3Key()const
|
||||
{
|
||||
return templateTag3Key_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag3Key(const std::string& templateTag3Key)
|
||||
{
|
||||
templateTag3Key_ = templateTag3Key;
|
||||
setParameter("TemplateTag3Key", templateTag3Key);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
@@ -180,17 +147,6 @@ void DescribeLaunchTemplatesRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag5Value()const
|
||||
{
|
||||
return templateTag5Value_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag5Value(const std::string& templateTag5Value)
|
||||
{
|
||||
templateTag5Value_ = templateTag5Value;
|
||||
setParameter("TemplateTag5Value", templateTag5Value);
|
||||
}
|
||||
|
||||
bool DescribeLaunchTemplatesRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
@@ -235,15 +191,21 @@ void DescribeLaunchTemplatesRequest::setCallerBidEmail(const std::string& caller
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag3Value()const
|
||||
std::vector<DescribeLaunchTemplatesRequest::TemplateTag> DescribeLaunchTemplatesRequest::getTemplateTag()const
|
||||
{
|
||||
return templateTag3Value_;
|
||||
return templateTag_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag3Value(const std::string& templateTag3Value)
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag(const std::vector<TemplateTag>& templateTag)
|
||||
{
|
||||
templateTag3Value_ = templateTag3Value;
|
||||
setParameter("TemplateTag3Value", templateTag3Value);
|
||||
templateTag_ = templateTag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= templateTag.size(); i++) {
|
||||
auto obj = templateTag.at(i);
|
||||
std::string str ="TemplateTag."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getCallerUidEmail()const
|
||||
@@ -279,17 +241,6 @@ void DescribeLaunchTemplatesRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag2Key()const
|
||||
{
|
||||
return templateTag2Key_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag2Key(const std::string& templateTag2Key)
|
||||
{
|
||||
templateTag2Key_ = templateTag2Key;
|
||||
setParameter("TemplateTag2Key", templateTag2Key);
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeLaunchTemplatesRequest::getLaunchTemplateId()const
|
||||
{
|
||||
return launchTemplateId_;
|
||||
@@ -335,17 +286,6 @@ void DescribeLaunchTemplatesRequest::setTemplateResourceGroupId(const std::strin
|
||||
setParameter("TemplateResourceGroupId", templateResourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag2Value()const
|
||||
{
|
||||
return templateTag2Value_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag2Value(const std::string& templateTag2Value)
|
||||
{
|
||||
templateTag2Value_ = templateTag2Value;
|
||||
setParameter("TemplateTag2Value", templateTag2Value);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
@@ -401,17 +341,6 @@ void DescribeLaunchTemplatesRequest::setSecurity_transport(bool security_transpo
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag4Value()const
|
||||
{
|
||||
return templateTag4Value_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag4Value(const std::string& templateTag4Value)
|
||||
{
|
||||
templateTag4Value_ = templateTag4Value;
|
||||
setParameter("TemplateTag4Value", templateTag4Value);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
@@ -423,25 +352,3 @@ void DescribeLaunchTemplatesRequest::setRequestId(const std::string& requestId)
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag5Key()const
|
||||
{
|
||||
return templateTag5Key_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag5Key(const std::string& templateTag5Key)
|
||||
{
|
||||
templateTag5Key_ = templateTag5Key;
|
||||
setParameter("TemplateTag5Key", templateTag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeLaunchTemplatesRequest::getTemplateTag1Key()const
|
||||
{
|
||||
return templateTag1Key_;
|
||||
}
|
||||
|
||||
void DescribeLaunchTemplatesRequest::setTemplateTag1Key(const std::string& templateTag1Key)
|
||||
{
|
||||
templateTag1Key_ = templateTag1Key;
|
||||
setParameter("TemplateTag1Key", templateTag1Key);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeNetworkInterfacesRequest::DescribeNetworkInterfacesRequest() :
|
||||
DescribeNetworkInterfacesRequest::~DescribeNetworkInterfacesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long DescribeNetworkInterfacesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void DescribeNetworkInterfacesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
long DescribeNetworkInterfacesRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
@@ -91,17 +69,6 @@ void DescribeNetworkInterfacesRequest::setProxy_original_security_transport(bool
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
@@ -168,17 +135,6 @@ void DescribeNetworkInterfacesRequest::setAccessKeyId(const std::string& accessK
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -256,6 +212,23 @@ void DescribeNetworkInterfacesRequest::setCallerBidEmail(const std::string& call
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<DescribeNetworkInterfacesRequest::Tag> DescribeNetworkInterfacesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
@@ -267,17 +240,6 @@ void DescribeNetworkInterfacesRequest::setCallerUidEmail(const std::string& call
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getNetworkInterfaceName()const
|
||||
{
|
||||
return networkInterfaceName_;
|
||||
@@ -311,17 +273,6 @@ void DescribeNetworkInterfacesRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -366,17 +317,6 @@ void DescribeNetworkInterfacesRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
bool DescribeNetworkInterfacesRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
@@ -410,17 +350,6 @@ void DescribeNetworkInterfacesRequest::setSecurity_transport(bool security_trans
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
@@ -454,17 +383,6 @@ void DescribeNetworkInterfacesRequest::setRequestId(const std::string& requestId
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
@@ -476,17 +394,6 @@ void DescribeNetworkInterfacesRequest::setVpcId(const std::string& vpcId)
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeNetworkInterfacesRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeNetworkInterfacesRequest::getPrimaryIpAddress()const
|
||||
{
|
||||
return primaryIpAddress_;
|
||||
|
||||
@@ -37,8 +37,8 @@ void DescribePhysicalConnectionsRequest::setFilter(const std::vector<Filter>& fi
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeResourceByTagsRequest::DescribeResourceByTagsRequest() :
|
||||
DescribeResourceByTagsRequest::~DescribeResourceByTagsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long DescribeResourceByTagsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,28 +36,6 @@ void DescribeResourceByTagsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -80,15 +47,43 @@ void DescribeResourceByTagsRequest::setResourceOwnerAccount(const std::string& r
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag3Key()const
|
||||
std::string DescribeResourceByTagsRequest::getRegionId()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag3Key(const std::string& tag3Key)
|
||||
void DescribeResourceByTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeResourceByTagsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeResourceByTagsRequest::Tag> DescribeResourceByTagsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long DescribeResourceByTagsRequest::getOwnerId()const
|
||||
@@ -113,17 +108,6 @@ void DescribeResourceByTagsRequest::setResourceType(const std::string& resourceT
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
int DescribeResourceByTagsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -135,80 +119,3 @@ void DescribeResourceByTagsRequest::setPageNumber(int pageNumber)
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
int DescribeResourceByTagsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeResourceByTagsRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void DescribeResourceByTagsRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ void DescribeRouterInterfacesRequest::setFilter(const std::vector<Filter>& filte
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeSecurityGroupsRequest::DescribeSecurityGroupsRequest() :
|
||||
DescribeSecurityGroupsRequest::~DescribeSecurityGroupsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long DescribeSecurityGroupsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,149 +36,6 @@ void DescribeSecurityGroupsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
bool DescribeSecurityGroupsRequest::getFuzzyQuery()const
|
||||
{
|
||||
return fuzzyQuery_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setFuzzyQuery(bool fuzzyQuery)
|
||||
{
|
||||
fuzzyQuery_ = fuzzyQuery;
|
||||
setParameter("FuzzyQuery", std::to_string(fuzzyQuery));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
bool DescribeSecurityGroupsRequest::getIsQueryEcsCount()const
|
||||
{
|
||||
return isQueryEcsCount_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setIsQueryEcsCount(bool isQueryEcsCount)
|
||||
{
|
||||
isQueryEcsCount_ = isQueryEcsCount;
|
||||
setParameter("IsQueryEcsCount", std::to_string(isQueryEcsCount));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getNetworkType()const
|
||||
{
|
||||
return networkType_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setNetworkType(const std::string& networkType)
|
||||
{
|
||||
networkType_ = networkType;
|
||||
setParameter("NetworkType", networkType);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getSecurityGroupName()const
|
||||
{
|
||||
return securityGroupName_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setSecurityGroupName(const std::string& securityGroupName)
|
||||
{
|
||||
securityGroupName_ = securityGroupName;
|
||||
setParameter("SecurityGroupName", securityGroupName);
|
||||
}
|
||||
|
||||
int DescribeSecurityGroupsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeSecurityGroupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
bool DescribeSecurityGroupsRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
@@ -201,15 +47,15 @@ void DescribeSecurityGroupsRequest::setDryRun(bool dryRun)
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag5Key()const
|
||||
bool DescribeSecurityGroupsRequest::getFuzzyQuery()const
|
||||
{
|
||||
return tag5Key_;
|
||||
return fuzzyQuery_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag5Key(const std::string& tag5Key)
|
||||
void DescribeSecurityGroupsRequest::setFuzzyQuery(bool fuzzyQuery)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
fuzzyQuery_ = fuzzyQuery;
|
||||
setParameter("FuzzyQuery", std::to_string(fuzzyQuery));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getResourceOwnerAccount()const
|
||||
@@ -234,6 +80,39 @@ void DescribeSecurityGroupsRequest::setOwnerAccount(const std::string& ownerAcco
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
bool DescribeSecurityGroupsRequest::getIsQueryEcsCount()const
|
||||
{
|
||||
return isQueryEcsCount_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setIsQueryEcsCount(bool isQueryEcsCount)
|
||||
{
|
||||
isQueryEcsCount_ = isQueryEcsCount;
|
||||
setParameter("IsQueryEcsCount", std::to_string(isQueryEcsCount));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getNetworkType()const
|
||||
{
|
||||
return networkType_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setNetworkType(const std::string& networkType)
|
||||
{
|
||||
networkType_ = networkType;
|
||||
setParameter("NetworkType", networkType);
|
||||
}
|
||||
|
||||
long DescribeSecurityGroupsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,26 +135,48 @@ void DescribeSecurityGroupsRequest::setSecurityGroupIds(const std::string& secur
|
||||
setParameter("SecurityGroupIds", securityGroupIds);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag5Value()const
|
||||
std::string DescribeSecurityGroupsRequest::getSecurityGroupName()const
|
||||
{
|
||||
return tag5Value_;
|
||||
return securityGroupName_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag5Value(const std::string& tag5Value)
|
||||
void DescribeSecurityGroupsRequest::setSecurityGroupName(const std::string& securityGroupName)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
securityGroupName_ = securityGroupName;
|
||||
setParameter("SecurityGroupName", securityGroupName);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag1Key()const
|
||||
int DescribeSecurityGroupsRequest::getPageNumber()const
|
||||
{
|
||||
return tag1Key_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag1Key(const std::string& tag1Key)
|
||||
void DescribeSecurityGroupsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getVpcId()const
|
||||
@@ -289,25 +190,31 @@ void DescribeSecurityGroupsRequest::setVpcId(const std::string& vpcId)
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag2Value()const
|
||||
int DescribeSecurityGroupsRequest::getPageSize()const
|
||||
{
|
||||
return tag2Value_;
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag2Value(const std::string& tag2Value)
|
||||
void DescribeSecurityGroupsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupsRequest::getTag4Key()const
|
||||
std::vector<DescribeSecurityGroupsRequest::Tag> DescribeSecurityGroupsRequest::getTag()const
|
||||
{
|
||||
return tag4Key_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupsRequest::setTag4Key(const std::string& tag4Key)
|
||||
void DescribeSecurityGroupsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -54,6 +54,8 @@ void DescribeSnapshotLinksResult::parse(const std::string &payload)
|
||||
snapshotLinksObject.instanceName = value["InstanceName"].asString();
|
||||
if(!value["SourceDiskId"].isNull())
|
||||
snapshotLinksObject.sourceDiskId = value["SourceDiskId"].asString();
|
||||
if(!value["SourceDiskName"].isNull())
|
||||
snapshotLinksObject.sourceDiskName = value["SourceDiskName"].asString();
|
||||
if(!value["SourceDiskSize"].isNull())
|
||||
snapshotLinksObject.sourceDiskSize = std::stoi(value["SourceDiskSize"].asString());
|
||||
if(!value["SourceDiskType"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeSnapshotsRequest::DescribeSnapshotsRequest() :
|
||||
DescribeSnapshotsRequest::~DescribeSnapshotsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long DescribeSnapshotsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,17 +36,6 @@ void DescribeSnapshotsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getFilter2Value()const
|
||||
{
|
||||
return filter2Value_;
|
||||
@@ -113,17 +91,6 @@ void DescribeSnapshotsRequest::setSnapshotName(const std::string& snapshotName)
|
||||
setParameter("SnapshotName", snapshotName);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag3Key()const
|
||||
{
|
||||
return tag3Key_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag3Key(const std::string& tag3Key)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
}
|
||||
|
||||
int DescribeSnapshotsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -135,17 +102,6 @@ void DescribeSnapshotsRequest::setPageNumber(int pageNumber)
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -201,15 +157,21 @@ void DescribeSnapshotsRequest::setDiskId(const std::string& diskId)
|
||||
setParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag3Value()const
|
||||
std::vector<DescribeSnapshotsRequest::Tag> DescribeSnapshotsRequest::getTag()const
|
||||
{
|
||||
return tag3Value_;
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag3Value(const std::string& tag3Value)
|
||||
void DescribeSnapshotsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
bool DescribeSnapshotsRequest::getDryRun()const
|
||||
@@ -223,17 +185,6 @@ void DescribeSnapshotsRequest::setDryRun(bool dryRun)
|
||||
setParameter("DryRun", std::to_string(dryRun));
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -300,28 +251,6 @@ void DescribeSnapshotsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
@@ -355,28 +284,6 @@ void DescribeSnapshotsRequest::setSnapshotType(const std::string& snapshotType)
|
||||
setParameter("SnapshotType", snapshotType);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeSnapshotsRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeSnapshotsRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeTagsRequest::DescribeTagsRequest() :
|
||||
DescribeTagsRequest::~DescribeTagsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeTagsRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,28 +47,6 @@ void DescribeTagsRequest::setResourceId(const std::string& resourceId)
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -91,15 +58,43 @@ void DescribeTagsRequest::setResourceOwnerAccount(const std::string& resourceOwn
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag3Key()const
|
||||
std::string DescribeTagsRequest::getRegionId()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag3Key(const std::string& tag3Key)
|
||||
void DescribeTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeTagsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeTagsRequest::Tag> DescribeTagsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getOwnerId()const
|
||||
@@ -124,17 +119,6 @@ void DescribeTagsRequest::setResourceType(const std::string& resourceType)
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
int DescribeTagsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -146,80 +130,3 @@ void DescribeTagsRequest::setPageNumber(int pageNumber)
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
int DescribeTagsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ void DescribeVirtualBorderRoutersForPhysicalConnectionRequest::setFilter(const s
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@ void DescribeVirtualBorderRoutersRequest::setFilter(const std::vector<Filter>& f
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,12 +37,12 @@ void ImportImageRequest::setDiskDeviceMapping(const std::vector<DiskDeviceMappin
|
||||
for(int i = 0; i!= diskDeviceMapping.size(); i++) {
|
||||
auto obj = diskDeviceMapping.at(i);
|
||||
std::string str ="DiskDeviceMapping."+ std::to_string(i);
|
||||
setParameter(str + ".Format", obj.format);
|
||||
setParameter(str + ".OSSBucket", obj.oSSBucket);
|
||||
setParameter(str + ".OSSObject", obj.oSSObject);
|
||||
setParameter(str + ".DiskImSize", std::to_string(obj.diskImSize));
|
||||
setParameter(str + ".DiskImageSize", std::to_string(obj.diskImageSize));
|
||||
setParameter(str + ".Format", obj.format);
|
||||
setParameter(str + ".Device", obj.device);
|
||||
setParameter(str + ".OSSObject", obj.oSSObject);
|
||||
setParameter(str + ".DiskImageSize", std::to_string(obj.diskImageSize));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,17 @@ void ModifyVSwitchAttributeRequest::setResourceOwnerAccount(const std::string& r
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyVSwitchAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyVSwitchAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyVSwitchAttributeRequest::getVSwitchName()const
|
||||
{
|
||||
return vSwitchName_;
|
||||
|
||||
@@ -58,6 +58,17 @@ void ModifyVpcAttributeRequest::setResourceOwnerAccount(const std::string& resou
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyVpcAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyVpcAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyVpcAttributeRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
@@ -80,6 +91,17 @@ void ModifyVpcAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyVpcAttributeRequest::getCidrBlock()const
|
||||
{
|
||||
return cidrBlock_;
|
||||
}
|
||||
|
||||
void ModifyVpcAttributeRequest::setCidrBlock(const std::string& cidrBlock)
|
||||
{
|
||||
cidrBlock_ = cidrBlock;
|
||||
setParameter("CidrBlock", cidrBlock);
|
||||
}
|
||||
|
||||
std::string ModifyVpcAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
|
||||
@@ -25,17 +25,6 @@ RemoveTagsRequest::RemoveTagsRequest() :
|
||||
RemoveTagsRequest::~RemoveTagsRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveTagsRequest::getTag4Value()const
|
||||
{
|
||||
return tag4Value_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag4Value(const std::string& tag4Value)
|
||||
{
|
||||
tag4Value_ = tag4Value;
|
||||
setParameter("Tag4Value", tag4Value);
|
||||
}
|
||||
|
||||
long RemoveTagsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,28 +47,6 @@ void RemoveTagsRequest::setResourceId(const std::string& resourceId)
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag2Key()const
|
||||
{
|
||||
return tag2Key_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag2Key(const std::string& tag2Key)
|
||||
{
|
||||
tag2Key_ = tag2Key;
|
||||
setParameter("Tag2Key", tag2Key);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag5Key()const
|
||||
{
|
||||
return tag5Key_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag5Key(const std::string& tag5Key)
|
||||
{
|
||||
tag5Key_ = tag5Key;
|
||||
setParameter("Tag5Key", tag5Key);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -91,15 +58,32 @@ void RemoveTagsRequest::setResourceOwnerAccount(const std::string& resourceOwner
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag3Key()const
|
||||
std::string RemoveTagsRequest::getRegionId()const
|
||||
{
|
||||
return tag3Key_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag3Key(const std::string& tag3Key)
|
||||
void RemoveTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
tag3Key_ = tag3Key;
|
||||
setParameter("Tag3Key", tag3Key);
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::vector<RemoveTagsRequest::Tag> RemoveTagsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long RemoveTagsRequest::getOwnerId()const
|
||||
@@ -124,80 +108,3 @@ void RemoveTagsRequest::setResourceType(const std::string& resourceType)
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag5Value()const
|
||||
{
|
||||
return tag5Value_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag5Value(const std::string& tag5Value)
|
||||
{
|
||||
tag5Value_ = tag5Value;
|
||||
setParameter("Tag5Value", tag5Value);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag1Key()const
|
||||
{
|
||||
return tag1Key_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag1Key(const std::string& tag1Key)
|
||||
{
|
||||
tag1Key_ = tag1Key;
|
||||
setParameter("Tag1Key", tag1Key);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag1Value()const
|
||||
{
|
||||
return tag1Value_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag1Value(const std::string& tag1Value)
|
||||
{
|
||||
tag1Value_ = tag1Value;
|
||||
setParameter("Tag1Value", tag1Value);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag2Value()const
|
||||
{
|
||||
return tag2Value_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag2Value(const std::string& tag2Value)
|
||||
{
|
||||
tag2Value_ = tag2Value;
|
||||
setParameter("Tag2Value", tag2Value);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag4Key()const
|
||||
{
|
||||
return tag4Key_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag4Key(const std::string& tag4Key)
|
||||
{
|
||||
tag4Key_ = tag4Key;
|
||||
setParameter("Tag4Key", tag4Key);
|
||||
}
|
||||
|
||||
std::string RemoveTagsRequest::getTag3Value()const
|
||||
{
|
||||
return tag3Value_;
|
||||
}
|
||||
|
||||
void RemoveTagsRequest::setTag3Value(const std::string& tag3Value)
|
||||
{
|
||||
tag3Value_ = tag3Value;
|
||||
setParameter("Tag3Value", tag3Value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user