Compare commits
6 Commits
Ecs-patch
...
devops-rdc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bf214bc2c | ||
|
|
9bdc7d4fa5 | ||
|
|
80f230d35a | ||
|
|
0faf3e6ffa | ||
|
|
3dcd83a4f3 | ||
|
|
052017ee0a |
21
CHANGELOG
21
CHANGELOG
@@ -1,3 +1,24 @@
|
||||
2021-02-19 Version: patch
|
||||
- Add.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Supported API for GTM.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Support CPP and Go and PHP.
|
||||
|
||||
2021-02-19 Version: patch
|
||||
- Support some MergeRequest API.
|
||||
|
||||
2021-02-08 Version: patch
|
||||
- Fix IoT Studio BatchBindDevicesIntoProject API return datatype.
|
||||
- Fix IoT Studio BatchBindProductsIntoProject API return datatype.
|
||||
- Fix IoT Studio BatchUnbindProjectDevices API return datatype.
|
||||
- Fix IoT Studio BatchUnbindProjectProducts API return datatype.
|
||||
|
||||
2021-02-08 Version: patch
|
||||
- Add username for RunCommand and InvokeCommand.
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeDNSSLBSubDomainsRequest();
|
||||
~DescribeDNSSLBSubDomainsRequest();
|
||||
|
||||
std::string getRr()const;
|
||||
void setRr(const std::string& rr);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getPageNumber()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string rr_;
|
||||
std::string domainName_;
|
||||
long pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SlbSubDomain
|
||||
{
|
||||
struct LineAlgorithm
|
||||
{
|
||||
std::string line;
|
||||
bool open;
|
||||
};
|
||||
std::string subDomain;
|
||||
std::string type;
|
||||
std::vector<SlbSubDomain::LineAlgorithm> lineAlgorithms;
|
||||
long recordCount;
|
||||
bool open;
|
||||
};
|
||||
|
||||
@@ -65,8 +65,11 @@ namespace AlibabaCloud
|
||||
~DescribeDnsGtmAccessStrategyAvailableConfigResult();
|
||||
std::vector<Ipv4AddrPool> getIpv4AddrPools()const;
|
||||
std::vector<DomainAddrPool> getDomainAddrPools()const;
|
||||
std::vector<std::string> getSelectedDomainLines()const;
|
||||
std::vector<std::string> getSelectedIpv4Lines()const;
|
||||
std::vector<Ipv6AddrPool> getIpv6AddrPools()const;
|
||||
std::vector<Line> getLines()const;
|
||||
std::vector<std::string> getSelectedIpv6Lines()const;
|
||||
bool getSuggestSetDefaultLine()const;
|
||||
|
||||
protected:
|
||||
@@ -74,8 +77,11 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<Ipv4AddrPool> ipv4AddrPools_;
|
||||
std::vector<DomainAddrPool> domainAddrPools_;
|
||||
std::vector<std::string> selectedDomainLines_;
|
||||
std::vector<std::string> selectedIpv4Lines_;
|
||||
std::vector<Ipv6AddrPool> ipv6AddrPools_;
|
||||
std::vector<Line> lines_;
|
||||
std::vector<std::string> selectedIpv6Lines_;
|
||||
bool suggestSetDefaultLine_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
SetDNSSLBStatusRequest();
|
||||
~SetDNSSLBStatusRequest();
|
||||
|
||||
std::string getLine()const;
|
||||
void setLine(const std::string& line);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getType()const;
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
void setOpen(bool open);
|
||||
|
||||
private:
|
||||
std::string line_;
|
||||
std::string domainName_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest() :
|
||||
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getRr()const
|
||||
{
|
||||
return rr_;
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setRr(const std::string& rr)
|
||||
{
|
||||
rr_ = rr;
|
||||
setParameter("Rr", rr);
|
||||
}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -51,6 +51,16 @@ void DescribeDNSSLBSubDomainsResult::parse(const std::string &payload)
|
||||
slbSubDomainsObject.open = valueSlbSubDomainsSlbSubDomain["Open"].asString() == "true";
|
||||
if(!valueSlbSubDomainsSlbSubDomain["Type"].isNull())
|
||||
slbSubDomainsObject.type = valueSlbSubDomainsSlbSubDomain["Type"].asString();
|
||||
auto allLineAlgorithmsNode = valueSlbSubDomainsSlbSubDomain["LineAlgorithms"]["LineAlgorithm"];
|
||||
for (auto valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm : allLineAlgorithmsNode)
|
||||
{
|
||||
SlbSubDomain::LineAlgorithm lineAlgorithmsObject;
|
||||
if(!valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Line"].isNull())
|
||||
lineAlgorithmsObject.line = valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Line"].asString();
|
||||
if(!valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Open"].isNull())
|
||||
lineAlgorithmsObject.open = valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Open"].asString() == "true";
|
||||
slbSubDomainsObject.lineAlgorithms.push_back(lineAlgorithmsObject);
|
||||
}
|
||||
slbSubDomains_.push_back(slbSubDomainsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -91,6 +91,15 @@ void DescribeDnsGtmAccessStrategyAvailableConfigResult::parse(const std::string
|
||||
domainAddrPoolsObject.addrCount = std::stoi(valueDomainAddrPoolsDomainAddrPool["AddrCount"].asString());
|
||||
domainAddrPools_.push_back(domainAddrPoolsObject);
|
||||
}
|
||||
auto allSelectedIpv4Lines = value["SelectedIpv4Lines"]["SelectedIpv4Line"];
|
||||
for (const auto &item : allSelectedIpv4Lines)
|
||||
selectedIpv4Lines_.push_back(item.asString());
|
||||
auto allSelectedIpv6Lines = value["SelectedIpv6Lines"]["SelectedIpv6Line"];
|
||||
for (const auto &item : allSelectedIpv6Lines)
|
||||
selectedIpv6Lines_.push_back(item.asString());
|
||||
auto allSelectedDomainLines = value["SelectedDomainLines"]["SelectedDomainLine"];
|
||||
for (const auto &item : allSelectedDomainLines)
|
||||
selectedDomainLines_.push_back(item.asString());
|
||||
if(!value["SuggestSetDefaultLine"].isNull())
|
||||
suggestSetDefaultLine_ = value["SuggestSetDefaultLine"].asString() == "true";
|
||||
|
||||
@@ -106,6 +115,16 @@ std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::DomainAddrPool> D
|
||||
return domainAddrPools_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedDomainLines()const
|
||||
{
|
||||
return selectedDomainLines_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedIpv4Lines()const
|
||||
{
|
||||
return selectedIpv4Lines_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Ipv6AddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getIpv6AddrPools()const
|
||||
{
|
||||
return ipv6AddrPools_;
|
||||
@@ -116,6 +135,11 @@ std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Line> DescribeDns
|
||||
return lines_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedIpv6Lines()const
|
||||
{
|
||||
return selectedIpv6Lines_;
|
||||
}
|
||||
|
||||
bool DescribeDnsGtmAccessStrategyAvailableConfigResult::getSuggestSetDefaultLine()const
|
||||
{
|
||||
return suggestSetDefaultLine_;
|
||||
|
||||
@@ -27,6 +27,17 @@ SetDNSSLBStatusRequest::SetDNSSLBStatusRequest() :
|
||||
SetDNSSLBStatusRequest::~SetDNSSLBStatusRequest()
|
||||
{}
|
||||
|
||||
std::string SetDNSSLBStatusRequest::getLine()const
|
||||
{
|
||||
return line_;
|
||||
}
|
||||
|
||||
void SetDNSSLBStatusRequest::setLine(const std::string& line)
|
||||
{
|
||||
line_ = line;
|
||||
setParameter("Line", line);
|
||||
}
|
||||
|
||||
std::string SetDNSSLBStatusRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -48,16 +48,16 @@ void DescribeClusterDashboardResult::parse(const std::string &payload)
|
||||
Dashboard::DataCenter dataCenterObject;
|
||||
if(!dashboardNodeDataCentersDataCenter["DataCenterId"].isNull())
|
||||
dataCenterObject.dataCenterId = dashboardNodeDataCentersDataCenter["DataCenterId"].asString();
|
||||
auto allNodesNode = allDataCentersNode["Nodes"]["Node"];
|
||||
for (auto allDataCentersNodeNodesNode : allNodesNode)
|
||||
auto allNodesNode = dashboardNodeDataCentersDataCenter["Nodes"]["Node"];
|
||||
for (auto dashboardNodeDataCentersDataCenterNodesNode : allNodesNode)
|
||||
{
|
||||
Dashboard::DataCenter::Node nodesObject;
|
||||
if(!allDataCentersNodeNodesNode["Address"].isNull())
|
||||
nodesObject.address = allDataCentersNodeNodesNode["Address"].asString();
|
||||
if(!allDataCentersNodeNodesNode["Status"].isNull())
|
||||
nodesObject.status = allDataCentersNodeNodesNode["Status"].asString();
|
||||
if(!allDataCentersNodeNodesNode["Load"].isNull())
|
||||
nodesObject.load = allDataCentersNodeNodesNode["Load"].asString();
|
||||
if(!dashboardNodeDataCentersDataCenterNodesNode["Address"].isNull())
|
||||
nodesObject.address = dashboardNodeDataCentersDataCenterNodesNode["Address"].asString();
|
||||
if(!dashboardNodeDataCentersDataCenterNodesNode["Status"].isNull())
|
||||
nodesObject.status = dashboardNodeDataCentersDataCenterNodesNode["Status"].asString();
|
||||
if(!dashboardNodeDataCentersDataCenterNodesNode["Load"].isNull())
|
||||
nodesObject.load = dashboardNodeDataCentersDataCenterNodesNode["Load"].asString();
|
||||
dataCenterObject.nodes.push_back(nodesObject);
|
||||
}
|
||||
dashboard_.dataCenters.push_back(dataCenterObject);
|
||||
|
||||
@@ -67,14 +67,14 @@ void DescribeClustersResult::parse(const std::string &payload)
|
||||
clustersObject.autoRenewal = valueClustersCluster["AutoRenewal"].asString() == "true";
|
||||
if(!valueClustersCluster["AutoRenewPeriod"].isNull())
|
||||
clustersObject.autoRenewPeriod = std::stoi(valueClustersCluster["AutoRenewPeriod"].asString());
|
||||
auto allTagsNode = allClustersNode["Tags"]["Tag"];
|
||||
for (auto allClustersNodeTagsTag : allTagsNode)
|
||||
auto allTagsNode = valueClustersCluster["Tags"]["Tag"];
|
||||
for (auto valueClustersClusterTagsTag : allTagsNode)
|
||||
{
|
||||
Cluster::Tag tagsObject;
|
||||
if(!allClustersNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allClustersNodeTagsTag["Key"].asString();
|
||||
if(!allClustersNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allClustersNodeTagsTag["Value"].asString();
|
||||
if(!valueClustersClusterTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueClustersClusterTagsTag["Key"].asString();
|
||||
if(!valueClustersClusterTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueClustersClusterTagsTag["Value"].asString();
|
||||
clustersObject.tags.push_back(tagsObject);
|
||||
}
|
||||
clusters_.push_back(clustersObject);
|
||||
|
||||
@@ -49,12 +49,12 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||
auto allZonesNode = allRegionsNode["Zones"]["Zone"];
|
||||
for (auto allRegionsNodeZonesZone : allZonesNode)
|
||||
auto allZonesNode = valueRegionsRegion["Zones"]["Zone"];
|
||||
for (auto valueRegionsRegionZonesZone : allZonesNode)
|
||||
{
|
||||
Region::Zone zonesObject;
|
||||
if(!allRegionsNodeZonesZone["Id"].isNull())
|
||||
zonesObject.id = allRegionsNodeZonesZone["Id"].asString();
|
||||
if(!valueRegionsRegionZonesZone["Id"].isNull())
|
||||
zonesObject.id = valueRegionsRegionZonesZone["Id"].asString();
|
||||
regionsObject.zones.push_back(zonesObject);
|
||||
}
|
||||
regions_.push_back(regionsObject);
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchBindDevicesIntoProjectResult();
|
||||
explicit BatchBindDevicesIntoProjectResult(const std::string &payload);
|
||||
~BatchBindDevicesIntoProjectResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchBindProductsIntoProjectResult();
|
||||
explicit BatchBindProductsIntoProjectResult(const std::string &payload);
|
||||
~BatchBindProductsIntoProjectResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchUnbindProjectDevicesResult();
|
||||
explicit BatchUnbindProjectDevicesResult(const std::string &payload);
|
||||
~BatchUnbindProjectDevicesResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
BatchUnbindProjectProductsResult();
|
||||
explicit BatchUnbindProjectProductsResult(const std::string &payload);
|
||||
~BatchUnbindProjectProductsResult();
|
||||
std::string getData()const;
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
CreateConsumerGroupRequest();
|
||||
~CreateConsumerGroupRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getGroupName()const;
|
||||
@@ -45,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string groupName_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
QueryConsumerGroupListRequest();
|
||||
~QueryConsumerGroupListRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
@@ -51,6 +55,8 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
bool fuzzy_;
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
QueryConsumerGroupStatusRequest();
|
||||
~QueryConsumerGroupStatusRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string groupId_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -35,8 +35,12 @@ namespace AlibabaCloud
|
||||
QueryProductTopicRequest();
|
||||
~QueryProductTopicRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProductKey()const;
|
||||
@@ -47,7 +51,9 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string accessKeyId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -35,8 +35,12 @@ namespace AlibabaCloud
|
||||
QuerySubscribeRelationRequest();
|
||||
~QuerySubscribeRelationRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProductKey()const;
|
||||
@@ -47,7 +51,9 @@ namespace AlibabaCloud
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string type_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchBindDevicesIntoProjectResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchBindDevicesIntoProjectResult::getData()const
|
||||
bool BatchBindDevicesIntoProjectResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchBindProductsIntoProjectResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchBindProductsIntoProjectResult::getData()const
|
||||
bool BatchBindProductsIntoProjectResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchUnbindProjectDevicesResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchUnbindProjectDevicesResult::getData()const
|
||||
bool BatchUnbindProjectDevicesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -46,11 +46,11 @@ void BatchUnbindProjectProductsResult::parse(const std::string &payload)
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchUnbindProjectProductsResult::getData()const
|
||||
bool BatchUnbindProjectProductsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,28 @@ CreateConsumerGroupRequest::CreateConsumerGroupRequest() :
|
||||
CreateConsumerGroupRequest::~CreateConsumerGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,28 @@ QueryConsumerGroupListRequest::QueryConsumerGroupListRequest() :
|
||||
QueryConsumerGroupListRequest::~QueryConsumerGroupListRequest()
|
||||
{}
|
||||
|
||||
std::string QueryConsumerGroupListRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupListRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupListRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupListRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupListRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,28 @@ QueryConsumerGroupStatusRequest::QueryConsumerGroupStatusRequest() :
|
||||
QueryConsumerGroupStatusRequest::~QueryConsumerGroupStatusRequest()
|
||||
{}
|
||||
|
||||
std::string QueryConsumerGroupStatusRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupStatusRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupStatusRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QueryConsumerGroupStatusRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QueryConsumerGroupStatusRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ QueryProductTopicRequest::QueryProductTopicRequest() :
|
||||
QueryProductTopicRequest::~QueryProductTopicRequest()
|
||||
{}
|
||||
|
||||
std::string QueryProductTopicRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QueryProductTopicRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QueryProductTopicRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -38,6 +49,17 @@ void QueryProductTopicRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryProductTopicRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QueryProductTopicRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QueryProductTopicRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ QuerySubscribeRelationRequest::QuerySubscribeRelationRequest() :
|
||||
QuerySubscribeRelationRequest::~QuerySubscribeRelationRequest()
|
||||
{}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getRealTenantId()const
|
||||
{
|
||||
return realTenantId_;
|
||||
}
|
||||
|
||||
void QuerySubscribeRelationRequest::setRealTenantId(const std::string& realTenantId)
|
||||
{
|
||||
realTenantId_ = realTenantId;
|
||||
setParameter("RealTenantId", realTenantId);
|
||||
}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -38,6 +49,17 @@ void QuerySubscribeRelationRequest::setType(const std::string& type)
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getRealTripartiteKey()const
|
||||
{
|
||||
return realTripartiteKey_;
|
||||
}
|
||||
|
||||
void QuerySubscribeRelationRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
||||
{
|
||||
realTripartiteKey_ = realTripartiteKey;
|
||||
setParameter("RealTripartiteKey", realTripartiteKey);
|
||||
}
|
||||
|
||||
std::string QuerySubscribeRelationRequest::getIotInstanceId()const
|
||||
{
|
||||
return iotInstanceId_;
|
||||
|
||||
Reference in New Issue
Block a user