Compare commits
98 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0dc704dbaa | ||
|
|
97c5e2c422 | ||
|
|
34d72f2b3b | ||
|
|
ff3b6aec0a | ||
|
|
cf6a43062a | ||
|
|
6877b35beb | ||
|
|
ba67c01925 | ||
|
|
e89b92569f | ||
|
|
b5a6f66a29 | ||
|
|
b3c82e1e45 | ||
|
|
fe5bdbf24a | ||
|
|
a0c0379235 | ||
|
|
f3e060235c | ||
|
|
ec69dc6bc1 | ||
|
|
c89b84b7de | ||
|
|
9b0afb4553 | ||
|
|
3d0a6fad54 | ||
|
|
d63c8b343d | ||
|
|
79946b0b8d | ||
|
|
9345e356d4 | ||
|
|
40d1ce44af | ||
|
|
4552a4ad69 | ||
|
|
99ad81bc82 | ||
|
|
4ba1e4237f | ||
|
|
056354a86e | ||
|
|
930b29acdd | ||
|
|
cab6049e8f | ||
|
|
698f5e96da | ||
|
|
c99e90b98e | ||
|
|
c3c8160946 | ||
|
|
052e0fa723 | ||
|
|
ff9366ef41 | ||
|
|
ac11b7e23d | ||
|
|
5599b4ad14 | ||
|
|
b4b0cb593d | ||
|
|
73a8478a41 | ||
|
|
a3a8fed5ec | ||
|
|
08cc0d55f3 | ||
|
|
648aacf470 | ||
|
|
727bbe9c98 | ||
|
|
c8dd9a4660 | ||
|
|
5e0a06b53b | ||
|
|
685112f414 | ||
|
|
0d6b5d7108 | ||
|
|
f3a5eccfc1 | ||
|
|
abe9edfb61 | ||
|
|
2c761da6cd | ||
|
|
4ee03ced70 | ||
|
|
77822cfe63 | ||
|
|
fe0018aad2 | ||
|
|
9daef8bca3 | ||
|
|
9e1db6ede8 | ||
|
|
79b5e173b0 | ||
|
|
3a2b4a3b0a | ||
|
|
216a31ec31 | ||
|
|
a85bc74388 | ||
|
|
f4aa70c22f | ||
|
|
c79f8bf7fb | ||
|
|
babd707824 | ||
|
|
482c28eea7 | ||
|
|
e98d0acba7 | ||
|
|
8951d4e70a | ||
|
|
88def81ef3 | ||
|
|
4ff900857e | ||
|
|
8617b6ffe5 | ||
|
|
5d8e86e1a6 | ||
|
|
f613ffa984 | ||
|
|
a6b0e4e963 | ||
|
|
2e6be9d7ed | ||
|
|
920e72f912 | ||
|
|
bd94cb0b25 | ||
|
|
cfd8b7cb85 | ||
|
|
c74e24f508 | ||
|
|
73fc4a65dc | ||
|
|
ededc6be9f | ||
|
|
be3de6fa81 | ||
|
|
01e5e4b6af | ||
|
|
f1434348f4 | ||
|
|
d60deaaa54 | ||
|
|
c137f76500 | ||
|
|
643f70f732 | ||
|
|
4833822295 | ||
|
|
21407b1822 | ||
|
|
900bb894d0 | ||
|
|
36c89057b5 | ||
|
|
f7f5568da6 | ||
|
|
ae995d3475 | ||
|
|
667d50d279 | ||
|
|
be6457df4f | ||
|
|
afefd8895c | ||
|
|
8267386d41 | ||
|
|
7ef6eafff4 | ||
|
|
6ac69f79bc | ||
|
|
6234d4fd3d | ||
|
|
72f080a1b3 | ||
|
|
01a8086b8f | ||
|
|
131a52ee78 | ||
|
|
761c9a617d |
332
CHANGELOG
332
CHANGELOG
@@ -1,3 +1,335 @@
|
||||
2021-07-09 Version: 1.36.815
|
||||
- Fix ListPIpelineTemplates.
|
||||
|
||||
2021-07-08 Version: 1.36.814
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2021-07-08 Version: 1.36.813
|
||||
- Support APP auth.
|
||||
|
||||
2021-07-08 Version: 1.36.812
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2021-07-07 Version: 1.36.811
|
||||
- Supported DescribeGlobalDatabaseNetworks set pages.
|
||||
|
||||
2021-07-07 Version: 1.36.810
|
||||
- Add ModifyResourceGroup API.
|
||||
|
||||
2021-07-07 Version: 1.36.809
|
||||
- Support FilterKey for RestoreInstance.
|
||||
- DescribeInstanceAttribute add return argument BackupLogStartTime.
|
||||
- Add RemoveSubInstance for Global Distributed Cache.
|
||||
|
||||
2021-07-07 Version: 1.36.808
|
||||
- Supported AAA for BBB.
|
||||
|
||||
2021-07-05 Version: 1.36.807
|
||||
- Supported deleteItem for sdk.
|
||||
|
||||
2021-07-02 Version: 1.36.806
|
||||
- Fix DescribeInstance EncryptionType.
|
||||
|
||||
2021-07-02 Version: 1.36.805
|
||||
- Release RecognizeQuotaInvoice RecognizeTicketInvoice RecognizePdf.
|
||||
|
||||
2021-07-02 Version: 1.36.804
|
||||
- Release AnalyzeChestVessel.
|
||||
|
||||
2021-06-28 Version: 1.36.803
|
||||
- Edit ListRetcodeApps.
|
||||
- Edit SearchRetcodeAppByPage.
|
||||
|
||||
2021-06-28 Version: 1.36.802
|
||||
- Support GetSQLReviewOptimizeDetail,ListSQLReviewOriginSQL Order API.
|
||||
|
||||
2021-06-25 Version: 1.36.801
|
||||
- Supported new features for outbound.
|
||||
|
||||
2021-06-25 Version: 1.36.800
|
||||
- Update DescribeSplitItemBill to support daily report.
|
||||
|
||||
2021-06-24 Version: 1.36.799
|
||||
- DescribeSynchronizationJobs, DescribeSubscriptionInstances, DescribeMigrationJobs, Add InstanceCreateTime and JobCreateTime.
|
||||
|
||||
2021-06-24 Version: 1.36.798
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-24 Version: 1.36.797
|
||||
- Update QueryBillOverview, QuerySettleBill, QueryAccountBill, DescribeInstanceBill and support trusteeship bill query.
|
||||
|
||||
2021-06-22 Version: 1.36.796
|
||||
- Supported CreateGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported ModifyGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported DeleteGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported DescribeGlobalDatabaseNetworks for PolarDB Global Database Network.
|
||||
- Supported DescribeGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported RemoveDBClusterFromGDN for PolarDB Global Database Network.
|
||||
- Supported parameter SSLEnabled for ModifyDBClusterSSL changed to non-required.
|
||||
|
||||
2021-06-21 Version: 1.36.795
|
||||
- Public V430.
|
||||
|
||||
2021-06-21 Version: 1.36.794
|
||||
- Generated 2019-11-20 for `Ga`.
|
||||
|
||||
2021-06-21 Version: 1.36.793
|
||||
- Generated 2019-11-20 for `Ga`.
|
||||
|
||||
2021-06-21 Version: 1.36.792
|
||||
- Generated 2016-04-28 for `Vpc`.
|
||||
|
||||
2021-06-18 Version: 1.36.791
|
||||
- Support DescribeInstallCaptcha API.
|
||||
|
||||
2021-06-18 Version: 1.36.790
|
||||
- Supported 20210618 version for sdk.
|
||||
|
||||
2021-06-17 Version: 1.36.789
|
||||
- Generated 2019-11-20 for `Ga`.
|
||||
|
||||
2021-06-16 Version: 1.36.788
|
||||
- Update imageaudit.
|
||||
|
||||
2021-06-16 Version: 1.36.787
|
||||
- Encrypt Dialog Content.
|
||||
|
||||
2021-06-15 Version: 1.36.786
|
||||
- Add ListDevopsProjects.
|
||||
|
||||
2021-06-15 Version: 1.36.785
|
||||
- Supported EncryptNewTables for ModifyDBClusterTDE.
|
||||
- Supported SSLAutoRotate for ModifyDBClusterSSL.
|
||||
|
||||
2021-06-15 Version: 1.36.784
|
||||
- Support API for Trail.
|
||||
|
||||
2021-06-11 Version: 1.36.783
|
||||
- Add CreateSshKey OpenAPI.
|
||||
|
||||
2021-06-10 Version: 1.36.782
|
||||
- Support SQLReview Order API.
|
||||
|
||||
2021-06-10 Version: 1.36.781
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2021-06-10 Version: 1.36.780
|
||||
- DiskEncryption.
|
||||
|
||||
2021-06-10 Version: 1.36.779
|
||||
- Generated 2016-04-28 for `Vpc`.
|
||||
|
||||
2021-06-09 Version: 1.36.778
|
||||
- Update TMP API, including QueryDevice, CreateThingModel, UpdateThingModel, ImportThingModelTsl, BatchPickThingModel, ListDeviceDistributeJob.
|
||||
- Add TMP API, including QueryDeviceInfo.
|
||||
- Update OTA API, including CreateOTAVerifyJob, CreateOTAStaticUpgradeJob, CreateOTADynamicUpgradeJob, CancelOTATaskByJob, QueryOTAJob.
|
||||
- Add OTA API, including ListOTAUnfinishedTaskByDevice,ConfirmOTATask.
|
||||
|
||||
2021-06-09 Version: 1.36.777
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2021-06-09 Version: 1.36.776
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-09 Version: 1.36.775
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-09 Version: 1.36.774
|
||||
- Edit GetTrace.
|
||||
|
||||
2021-06-08 Version: 1.36.773
|
||||
- Support Aliyun Workorder OpenAPI.
|
||||
|
||||
2021-06-08 Version: 1.36.772
|
||||
- Refine API response for GetCallDetailRecord.
|
||||
|
||||
2021-06-08 Version: 1.36.771
|
||||
- Support input parameter LaunchConfigurationHostNames and MinTargetCapacity for CreateAutoProvisioningGroup.
|
||||
|
||||
2021-06-08 Version: 1.36.770
|
||||
- Increase detection frequency for availability monitoring.
|
||||
- Add application group to query in batch according to group ID.
|
||||
|
||||
2021-06-05 Version: 1.36.769
|
||||
- Supported new version of Ticket for Alibaba Cloud.
|
||||
|
||||
2021-06-05 Version: 1.36.768
|
||||
- New API Version of Work Order System.
|
||||
|
||||
2021-06-04 Version: 1.36.767
|
||||
- Add Emon-Service support.
|
||||
- Remove Deprecated Interfaces.
|
||||
|
||||
2021-06-04 Version: 1.36.766
|
||||
- Supported multi attach feature for disk.
|
||||
|
||||
2021-06-04 Version: 1.36.765
|
||||
- Delete live API.
|
||||
|
||||
2021-06-03 Version: 1.36.764
|
||||
- Add name.
|
||||
|
||||
2021-06-03 Version: 1.36.763
|
||||
- Support name.
|
||||
|
||||
2021-06-02 Version: 1.36.762
|
||||
- Support key deletion protection.
|
||||
|
||||
2021-05-31 Version: 1.36.761
|
||||
- Support upgrade.
|
||||
|
||||
2021-05-28 Version: 1.36.760
|
||||
- Add TriggerRemoteSync api.
|
||||
|
||||
2021-05-28 Version: 1.36.759
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-05-28 Version: 1.36.758
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-05-27 Version: 1.36.757
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
2021-05-25 Version: 1.36.756
|
||||
- Export new API for IVR tracking.
|
||||
|
||||
2021-05-24 Version: 1.36.755
|
||||
- Support a2a openapi.
|
||||
|
||||
2021-05-24 Version: 1.36.754
|
||||
- Export new API for report.
|
||||
|
||||
2021-05-24 Version: 1.36.753
|
||||
- Support TransformDBClusterPayType.
|
||||
|
||||
2021-05-23 Version: 1.36.752
|
||||
- New API- GetDrdsDbRdsRelationInfo, which can get private RDS list under certain DB out of DRDS instance ID and DB name.
|
||||
|
||||
2021-05-22 Version: 1.36.751
|
||||
- Aaaaa.
|
||||
|
||||
2021-05-21 Version: 1.36.750
|
||||
- Supported DescribeLoadBalancers with DeleteProtection and so on.
|
||||
|
||||
2021-05-21 Version: 1.36.749
|
||||
- Support StrictResourceProvision in ApplyNodes.
|
||||
|
||||
2021-05-20 Version: 1.36.748
|
||||
- Upgrade mongodb sdk.
|
||||
|
||||
2021-05-20 Version: 1.36.747
|
||||
- DescribeAvailableResource frequency.
|
||||
|
||||
2021-05-19 Version: 1.36.746
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-05-19 Version: 1.36.745
|
||||
- Update API.
|
||||
|
||||
2021-05-19 Version: 1.36.744
|
||||
- Publish multi language sdk.
|
||||
|
||||
2021-05-18 Version: 1.36.743
|
||||
- Add IoT Studio SetStudioProjectCooperation API.
|
||||
- Add IoT Studio QueryStudioProjectList API.
|
||||
- Add IoT Studio QueryStudioAppList API.
|
||||
- Add IoT Studio QueryStudioAppPageListOpen API.
|
||||
- Add IoT Studio QueryStudioAppDomainListOpen API.
|
||||
- Add IoT Studio DeleteStudioAppDomainOpen API.
|
||||
- Add IoT Studio CreateStudioAppDomainOpen API.
|
||||
- Add IoT Studio GetStudioAppTokenOpen API.
|
||||
- Add IoT Studio SetupStudioAppAuthModeOpen API.
|
||||
- Add IoT Studio RefreshStudioAppTokenOpen API.
|
||||
- Add IoT Studio PublishStudioApp API.
|
||||
|
||||
2021-05-18 Version: 1.36.742
|
||||
- Support MinCount for AddNodes.
|
||||
- Support HostNamePreffix and HostNameSuffix for ListNodes.
|
||||
|
||||
2021-05-17 Version: 1.36.741
|
||||
- Add API ListQuotaReviewTasks.
|
||||
|
||||
2021-05-17 Version: 1.36.740
|
||||
- Support DescribeInstallCaptcha API.
|
||||
|
||||
2021-05-17 Version: 1.36.739
|
||||
- Export new API for predictive dialer.
|
||||
|
||||
2021-05-17 Version: 1.36.738
|
||||
- Add DescribeDcdnRefreshTaskById.
|
||||
|
||||
2021-05-14 Version: 1.36.737
|
||||
- Release ExtractFingerPrint.
|
||||
|
||||
2021-05-14 Version: 1.36.736
|
||||
- EnableAdditionalBandwidth add AutoRenew,AutoRenewPeriod parameter.
|
||||
|
||||
2021-05-14 Version: 1.36.735
|
||||
- Update ScreenChestCT.
|
||||
|
||||
2021-05-14 Version: 1.36.734
|
||||
- Support Private RDS management through OpenAPI.
|
||||
- ManagePrivateRds to do RDS information query and some management.
|
||||
- DescribeDrdsRdsInstances to find RDS under a certain DRDS instance.
|
||||
- UpdatePrivateRdsClass to Upgrade or Downgrade your Private RDS class.
|
||||
|
||||
2021-05-14 Version: 1.36.733
|
||||
- Support Private RDS management through OpenAPI.
|
||||
- ManagePrivateRds to do RDS information query and some management.
|
||||
- DescribeDrdsRdsInstances to find RDS under a certain DRDS instance.
|
||||
- UpdatePrivateRdsClass to Upgrade or Downgrade your Private RDS class.
|
||||
|
||||
2021-05-13 Version: 1.36.732
|
||||
- Support query quota.
|
||||
- Supprt create quota increase request.
|
||||
|
||||
2021-05-13 Version: 1.36.731
|
||||
- Generated 2020-01-01 for `ddoscoo`.
|
||||
|
||||
2021-05-13 Version: 1.36.730
|
||||
- Add Indexing-Service support.
|
||||
- Remove jsonItem form.
|
||||
|
||||
2021-05-12 Version: 1.36.729
|
||||
- Add GetRepositoryCommit and ListRepositoryCommitDiff API.
|
||||
|
||||
2021-05-12 Version: 1.36.728
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-05-12 Version: 1.36.727
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-05-11 Version: 1.36.726
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-05-11 Version: 1.36.725
|
||||
- CreateInstance API add Port, Tags, DryRun.
|
||||
|
||||
2021-05-11 Version: 1.36.724
|
||||
- SDK device authorization API.
|
||||
|
||||
2021-05-10 Version: 1.36.723
|
||||
- Update RecognizeDriverLicense RecognizeLicensePlate.
|
||||
|
||||
2021-05-10 Version: 1.36.722
|
||||
- Add API GenerateMergedTable.
|
||||
- Add API ListDateSourceTables.
|
||||
- Add API ListDateSourceTableFields.
|
||||
- Add API ListRamRoles.
|
||||
|
||||
2021-05-10 Version: 1.36.721
|
||||
- Delete API.
|
||||
|
||||
2021-05-10 Version: 1.36.720
|
||||
- Delete live API.
|
||||
|
||||
2021-05-10 Version: 1.36.719
|
||||
- Delete Api.
|
||||
|
||||
2021-05-10 Version: 1.36.718
|
||||
- Delete API.
|
||||
|
||||
2021-05-08 Version: 1.36.717
|
||||
- Support SLB DescribeLoadBalancerListeners.
|
||||
|
||||
|
||||
@@ -37,18 +37,14 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getSlsProjectArn()const;
|
||||
void setSlsProjectArn(const std::string& slsProjectArn);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
|
||||
bool getIsOrganizationTrail()const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
std::string getOssKeyPrefix()const;
|
||||
void setOssKeyPrefix(const std::string& ossKeyPrefix);
|
||||
std::string getMnsTopicArn()const;
|
||||
void setMnsTopicArn(const std::string& mnsTopicArn);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getOssWriteRoleArn()const;
|
||||
void setOssWriteRoleArn(const std::string& ossWriteRoleArn);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getName()const;
|
||||
@@ -60,12 +56,10 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string accessKeyId_;
|
||||
std::string slsWriteRoleArn_;
|
||||
bool isOrganizationTrail_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
|
||||
@@ -38,13 +38,12 @@ namespace AlibabaCloud
|
||||
explicit CreateTrailResult(const std::string &payload);
|
||||
~CreateTrailResult();
|
||||
std::string getSlsProjectArn()const;
|
||||
std::string getMnsTopicArn()const;
|
||||
std::string getRoleName()const;
|
||||
std::string getEventRW()const;
|
||||
std::string getHomeRegion()const;
|
||||
std::string getOssKeyPrefix()const;
|
||||
std::string getOssBucketName()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getOssWriteRoleArn()const;
|
||||
std::string getTrailRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
@@ -52,13 +51,12 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string eventRW_;
|
||||
std::string homeRegion_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossBucketName_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string trailRegion_;
|
||||
std::string name_;
|
||||
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
DeleteTrailRequest();
|
||||
~DeleteTrailRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAcceptLanguage()const;
|
||||
void setAcceptLanguage(const std::string& acceptLanguage);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string acceptLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,25 +32,23 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Regions
|
||||
struct Region
|
||||
{
|
||||
struct RegionItem
|
||||
{
|
||||
std::string regionId;
|
||||
};
|
||||
std::vector<RegionItem> region;
|
||||
std::string regionId;
|
||||
std::string regionEndpoint;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
DescribeRegionsResult();
|
||||
explicit DescribeRegionsResult(const std::string &payload);
|
||||
~DescribeRegionsResult();
|
||||
Regions getRegions()const;
|
||||
std::vector<Region> getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Regions regions_;
|
||||
std::vector<Region> regions_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
DescribeTrailsRequest();
|
||||
~DescribeTrailsRequest();
|
||||
|
||||
bool getIncludeOrganizationTrail()const;
|
||||
void setIncludeOrganizationTrail(bool includeOrganizationTrail);
|
||||
bool getIncludeShadowTrails()const;
|
||||
void setIncludeShadowTrails(bool includeShadowTrails);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNameList()const;
|
||||
void setNameList(const std::string& nameList);
|
||||
|
||||
private:
|
||||
bool includeOrganizationTrail_;
|
||||
bool includeShadowTrails_;
|
||||
std::string accessKeyId_;
|
||||
std::string nameList_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,36 +32,39 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrailListItem
|
||||
struct Trail
|
||||
{
|
||||
std::string status;
|
||||
std::string mnsTopicArn;
|
||||
std::string homeRegion;
|
||||
std::string createTime;
|
||||
std::string startLoggingTime;
|
||||
std::string createTime;
|
||||
std::string stopLoggingTime;
|
||||
std::string organizationId;
|
||||
std::string slsWriteRoleArn;
|
||||
std::string ossBucketLocation;
|
||||
std::string trailRegion;
|
||||
std::string name;
|
||||
bool isOrganizationTrail;
|
||||
std::string slsProjectArn;
|
||||
std::string roleName;
|
||||
std::string eventRW;
|
||||
std::string ossKeyPrefix;
|
||||
std::string updateTime;
|
||||
std::string region;
|
||||
std::string ossBucketName;
|
||||
std::string ossWriteRoleArn;
|
||||
long isShadowTrail;
|
||||
};
|
||||
|
||||
|
||||
DescribeTrailsResult();
|
||||
explicit DescribeTrailsResult(const std::string &payload);
|
||||
~DescribeTrailsResult();
|
||||
std::vector<TrailListItem> getTrailList()const;
|
||||
std::vector<Trail> getTrailList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrailListItem> trailList_;
|
||||
std::vector<Trail> trailList_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
GetTrailStatusRequest();
|
||||
~GetTrailStatusRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
bool getIsOrganizationTrail()const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
bool isOrganizationTrail_;
|
||||
|
||||
|
||||
@@ -37,20 +37,28 @@ namespace AlibabaCloud
|
||||
GetTrailStatusResult();
|
||||
explicit GetTrailStatusResult(const std::string &payload);
|
||||
~GetTrailStatusResult();
|
||||
std::string getLatestDeliveryLogServiceTime()const;
|
||||
std::string getLatestDeliveryLogServiceError()const;
|
||||
std::string getStartLoggingTime()const;
|
||||
bool getOssBucketStatus()const;
|
||||
std::string getLatestDeliveryError()const;
|
||||
std::string getStopLoggingTime()const;
|
||||
bool getIsLogging()const;
|
||||
bool getSlsLogStoreStatus()const;
|
||||
std::string getLatestDeliveryTime()const;
|
||||
bool getIsLogging()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string latestDeliveryLogServiceTime_;
|
||||
std::string latestDeliveryLogServiceError_;
|
||||
std::string startLoggingTime_;
|
||||
bool ossBucketStatus_;
|
||||
std::string latestDeliveryError_;
|
||||
std::string stopLoggingTime_;
|
||||
bool isLogging_;
|
||||
bool slsLogStoreStatus_;
|
||||
std::string latestDeliveryTime_;
|
||||
bool isLogging_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,58 +30,37 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LookupAttribute
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
LookupEventsRequest();
|
||||
~LookupEventsRequest();
|
||||
|
||||
std::string getRequest()const;
|
||||
void setRequest(const std::string& request);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getEventName()const;
|
||||
void setEventName(const std::string& eventName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
std::string getEvent()const;
|
||||
void setEvent(const std::string& event);
|
||||
std::string getEventAccessKeyId()const;
|
||||
void setEventAccessKeyId(const std::string& eventAccessKeyId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::vector<LookupAttribute> getLookupAttribute()const;
|
||||
void setLookupAttribute(const std::vector<LookupAttribute>& lookupAttribute);
|
||||
std::string getMaxResults()const;
|
||||
void setMaxResults(const std::string& maxResults);
|
||||
std::string getEventType()const;
|
||||
void setEventType(const std::string& eventType);
|
||||
std::string getResourceName()const;
|
||||
void setResourceName(const std::string& resourceName);
|
||||
std::string getUser()const;
|
||||
void setUser(const std::string& user);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
|
||||
private:
|
||||
std::string request_;
|
||||
std::string startTime_;
|
||||
std::string eventName_;
|
||||
std::string accessKeyId_;
|
||||
std::string nextToken_;
|
||||
std::string serviceName_;
|
||||
std::string event_;
|
||||
std::string eventAccessKeyId_;
|
||||
std::string endTime_;
|
||||
std::string eventRW_;
|
||||
std::string resourceType_;
|
||||
std::string startTime_;
|
||||
std::string nextToken_;
|
||||
std::vector<LookupAttribute> lookupAttribute_;
|
||||
std::string maxResults_;
|
||||
std::string eventType_;
|
||||
std::string resourceName_;
|
||||
std::string user_;
|
||||
std::string direction_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
LookupEventsResult();
|
||||
explicit LookupEventsResult(const std::string &payload);
|
||||
~LookupEventsResult();
|
||||
std::string getNextToken()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getNextToken()const;
|
||||
std::vector<std::string> getEvents()const;
|
||||
std::string getStartTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::string endTime_;
|
||||
std::string nextToken_;
|
||||
std::vector<std::string> events_;
|
||||
std::string startTime_;
|
||||
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
StartLoggingRequest();
|
||||
~StartLoggingRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,14 +37,10 @@ namespace AlibabaCloud
|
||||
StartLoggingResult();
|
||||
explicit StartLoggingResult(const std::string &payload);
|
||||
~StartLoggingResult();
|
||||
std::string getParam()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string param_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
StopLoggingRequest();
|
||||
~StopLoggingRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,16 +37,12 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getSlsProjectArn()const;
|
||||
void setSlsProjectArn(const std::string& slsProjectArn);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
|
||||
std::string getOssKeyPrefix()const;
|
||||
void setOssKeyPrefix(const std::string& ossKeyPrefix);
|
||||
std::string getMnsTopicArn()const;
|
||||
void setMnsTopicArn(const std::string& mnsTopicArn);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getOssWriteRoleArn()const;
|
||||
void setOssWriteRoleArn(const std::string& ossWriteRoleArn);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getName()const;
|
||||
@@ -58,11 +54,9 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string accessKeyId_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
|
||||
@@ -38,13 +38,12 @@ namespace AlibabaCloud
|
||||
explicit UpdateTrailResult(const std::string &payload);
|
||||
~UpdateTrailResult();
|
||||
std::string getSlsProjectArn()const;
|
||||
std::string getMnsTopicArn()const;
|
||||
std::string getRoleName()const;
|
||||
std::string getEventRW()const;
|
||||
std::string getHomeRegion()const;
|
||||
std::string getOssKeyPrefix()const;
|
||||
std::string getOssBucketName()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getOssWriteRoleArn()const;
|
||||
std::string getTrailRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
@@ -52,13 +51,12 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string eventRW_;
|
||||
std::string homeRegion_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossBucketName_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string trailRegion_;
|
||||
std::string name_;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::CreateTrailRequest;
|
||||
|
||||
CreateTrailRequest::CreateTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "CreateTrail")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "CreateTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -38,17 +38,6 @@ void CreateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
|
||||
setParameter("SlsProjectArn", slsProjectArn);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
@@ -82,26 +71,15 @@ void CreateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
|
||||
setParameter("OssKeyPrefix", ossKeyPrefix);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getMnsTopicArn()const
|
||||
std::string CreateTrailRequest::getOssWriteRoleArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
|
||||
void CreateTrailRequest::setOssWriteRoleArn(const std::string& ossWriteRoleArn)
|
||||
{
|
||||
mnsTopicArn_ = mnsTopicArn;
|
||||
setParameter("MnsTopicArn", mnsTopicArn);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setRoleName(const std::string& roleName)
|
||||
{
|
||||
roleName_ = roleName;
|
||||
setParameter("RoleName", roleName);
|
||||
ossWriteRoleArn_ = ossWriteRoleArn;
|
||||
setParameter("OssWriteRoleArn", ossWriteRoleArn);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getEventRW()const
|
||||
|
||||
@@ -39,26 +39,24 @@ void CreateTrailResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
if(!value["OssBucketName"].isNull())
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["OssKeyPrefix"].isNull())
|
||||
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
|
||||
if(!value["RoleName"].isNull())
|
||||
roleName_ = value["RoleName"].asString();
|
||||
if(!value["SlsProjectArn"].isNull())
|
||||
slsProjectArn_ = value["SlsProjectArn"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["EventRW"].isNull())
|
||||
eventRW_ = value["EventRW"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
if(!value["OssKeyPrefix"].isNull())
|
||||
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
|
||||
if(!value["OssBucketName"].isNull())
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["OssWriteRoleArn"].isNull())
|
||||
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
|
||||
if(!value["TrailRegion"].isNull())
|
||||
trailRegion_ = value["TrailRegion"].asString();
|
||||
if(!value["MnsTopicArn"].isNull())
|
||||
mnsTopicArn_ = value["MnsTopicArn"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -67,16 +65,6 @@ std::string CreateTrailResult::getSlsProjectArn()const
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getMnsTopicArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
@@ -102,6 +90,11 @@ std::string CreateTrailResult::getSlsWriteRoleArn()const
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getOssWriteRoleArn()const
|
||||
{
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteTrailRequest;
|
||||
|
||||
DeleteTrailRequest::DeleteTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "DeleteTrail")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,17 +27,6 @@ DeleteTrailRequest::DeleteTrailRequest() :
|
||||
DeleteTrailRequest::~DeleteTrailRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTrailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteTrailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeRegions")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,14 +27,14 @@ DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRegionsRequest::getAccessKeyId()const
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setParameter("AcceptLanguage", acceptLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,19 +39,22 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto regionsNode = value["Regions"];
|
||||
auto allRegionNode = regionsNode["Region"]["RegionItem"];
|
||||
for (auto regionsNodeRegionRegionItem : allRegionNode)
|
||||
auto allRegionsNode = value["Regions"]["Region"];
|
||||
for (auto valueRegionsRegion : allRegionsNode)
|
||||
{
|
||||
Regions::RegionItem regionItemObject;
|
||||
if(!regionsNodeRegionRegionItem["RegionId"].isNull())
|
||||
regionItemObject.regionId = regionsNodeRegionRegionItem["RegionId"].asString();
|
||||
regions_.region.push_back(regionItemObject);
|
||||
Region regionsObject;
|
||||
if(!valueRegionsRegion["RegionId"].isNull())
|
||||
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
|
||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||
if(!valueRegionsRegion["LocalName"].isNull())
|
||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||
regions_.push_back(regionsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeRegionsResult::Regions DescribeRegionsResult::getRegions()const
|
||||
std::vector<DescribeRegionsResult::Region> DescribeRegionsResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeTrailsRequest;
|
||||
|
||||
DescribeTrailsRequest::DescribeTrailsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeTrails")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DescribeTrails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,6 +27,17 @@ DescribeTrailsRequest::DescribeTrailsRequest() :
|
||||
DescribeTrailsRequest::~DescribeTrailsRequest()
|
||||
{}
|
||||
|
||||
bool DescribeTrailsRequest::getIncludeOrganizationTrail()const
|
||||
{
|
||||
return includeOrganizationTrail_;
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setIncludeOrganizationTrail(bool includeOrganizationTrail)
|
||||
{
|
||||
includeOrganizationTrail_ = includeOrganizationTrail;
|
||||
setParameter("IncludeOrganizationTrail", includeOrganizationTrail ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrailsRequest::getIncludeShadowTrails()const
|
||||
{
|
||||
return includeShadowTrails_;
|
||||
@@ -38,17 +49,6 @@ void DescribeTrailsRequest::setIncludeShadowTrails(bool includeShadowTrails)
|
||||
setParameter("IncludeShadowTrails", includeShadowTrails ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrailsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTrailsRequest::getNameList()const
|
||||
{
|
||||
return nameList_;
|
||||
|
||||
@@ -39,48 +39,54 @@ void DescribeTrailsResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrailListNode = value["TrailList"]["TrailListItem"];
|
||||
for (auto valueTrailListTrailListItem : allTrailListNode)
|
||||
auto allTrailListNode = value["TrailList"]["Trail"];
|
||||
for (auto valueTrailListTrail : allTrailListNode)
|
||||
{
|
||||
TrailListItem trailListObject;
|
||||
if(!valueTrailListTrailListItem["Name"].isNull())
|
||||
trailListObject.name = valueTrailListTrailListItem["Name"].asString();
|
||||
if(!valueTrailListTrailListItem["HomeRegion"].isNull())
|
||||
trailListObject.homeRegion = valueTrailListTrailListItem["HomeRegion"].asString();
|
||||
if(!valueTrailListTrailListItem["RoleName"].isNull())
|
||||
trailListObject.roleName = valueTrailListTrailListItem["RoleName"].asString();
|
||||
if(!valueTrailListTrailListItem["OssBucketName"].isNull())
|
||||
trailListObject.ossBucketName = valueTrailListTrailListItem["OssBucketName"].asString();
|
||||
if(!valueTrailListTrailListItem["OssKeyPrefix"].isNull())
|
||||
trailListObject.ossKeyPrefix = valueTrailListTrailListItem["OssKeyPrefix"].asString();
|
||||
if(!valueTrailListTrailListItem["EventRW"].isNull())
|
||||
trailListObject.eventRW = valueTrailListTrailListItem["EventRW"].asString();
|
||||
if(!valueTrailListTrailListItem["SlsWriteRoleArn"].isNull())
|
||||
trailListObject.slsWriteRoleArn = valueTrailListTrailListItem["SlsWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrailListItem["SlsProjectArn"].isNull())
|
||||
trailListObject.slsProjectArn = valueTrailListTrailListItem["SlsProjectArn"].asString();
|
||||
if(!valueTrailListTrailListItem["Status"].isNull())
|
||||
trailListObject.status = valueTrailListTrailListItem["Status"].asString();
|
||||
if(!valueTrailListTrailListItem["TrailRegion"].isNull())
|
||||
trailListObject.trailRegion = valueTrailListTrailListItem["TrailRegion"].asString();
|
||||
if(!valueTrailListTrailListItem["CreateTime"].isNull())
|
||||
trailListObject.createTime = valueTrailListTrailListItem["CreateTime"].asString();
|
||||
if(!valueTrailListTrailListItem["UpdateTime"].isNull())
|
||||
trailListObject.updateTime = valueTrailListTrailListItem["UpdateTime"].asString();
|
||||
if(!valueTrailListTrailListItem["StartLoggingTime"].isNull())
|
||||
trailListObject.startLoggingTime = valueTrailListTrailListItem["StartLoggingTime"].asString();
|
||||
if(!valueTrailListTrailListItem["StopLoggingTime"].isNull())
|
||||
trailListObject.stopLoggingTime = valueTrailListTrailListItem["StopLoggingTime"].asString();
|
||||
if(!valueTrailListTrailListItem["MnsTopicArn"].isNull())
|
||||
trailListObject.mnsTopicArn = valueTrailListTrailListItem["MnsTopicArn"].asString();
|
||||
if(!valueTrailListTrailListItem["IsOrganizationTrail"].isNull())
|
||||
trailListObject.isOrganizationTrail = valueTrailListTrailListItem["IsOrganizationTrail"].asString() == "true";
|
||||
Trail trailListObject;
|
||||
if(!valueTrailListTrail["Status"].isNull())
|
||||
trailListObject.status = valueTrailListTrail["Status"].asString();
|
||||
if(!valueTrailListTrail["HomeRegion"].isNull())
|
||||
trailListObject.homeRegion = valueTrailListTrail["HomeRegion"].asString();
|
||||
if(!valueTrailListTrail["StartLoggingTime"].isNull())
|
||||
trailListObject.startLoggingTime = valueTrailListTrail["StartLoggingTime"].asString();
|
||||
if(!valueTrailListTrail["CreateTime"].isNull())
|
||||
trailListObject.createTime = valueTrailListTrail["CreateTime"].asString();
|
||||
if(!valueTrailListTrail["StopLoggingTime"].isNull())
|
||||
trailListObject.stopLoggingTime = valueTrailListTrail["StopLoggingTime"].asString();
|
||||
if(!valueTrailListTrail["OrganizationId"].isNull())
|
||||
trailListObject.organizationId = valueTrailListTrail["OrganizationId"].asString();
|
||||
if(!valueTrailListTrail["SlsWriteRoleArn"].isNull())
|
||||
trailListObject.slsWriteRoleArn = valueTrailListTrail["SlsWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrail["OssBucketLocation"].isNull())
|
||||
trailListObject.ossBucketLocation = valueTrailListTrail["OssBucketLocation"].asString();
|
||||
if(!valueTrailListTrail["TrailRegion"].isNull())
|
||||
trailListObject.trailRegion = valueTrailListTrail["TrailRegion"].asString();
|
||||
if(!valueTrailListTrail["Name"].isNull())
|
||||
trailListObject.name = valueTrailListTrail["Name"].asString();
|
||||
if(!valueTrailListTrail["IsOrganizationTrail"].isNull())
|
||||
trailListObject.isOrganizationTrail = valueTrailListTrail["IsOrganizationTrail"].asString() == "true";
|
||||
if(!valueTrailListTrail["SlsProjectArn"].isNull())
|
||||
trailListObject.slsProjectArn = valueTrailListTrail["SlsProjectArn"].asString();
|
||||
if(!valueTrailListTrail["EventRW"].isNull())
|
||||
trailListObject.eventRW = valueTrailListTrail["EventRW"].asString();
|
||||
if(!valueTrailListTrail["OssKeyPrefix"].isNull())
|
||||
trailListObject.ossKeyPrefix = valueTrailListTrail["OssKeyPrefix"].asString();
|
||||
if(!valueTrailListTrail["UpdateTime"].isNull())
|
||||
trailListObject.updateTime = valueTrailListTrail["UpdateTime"].asString();
|
||||
if(!valueTrailListTrail["Region"].isNull())
|
||||
trailListObject.region = valueTrailListTrail["Region"].asString();
|
||||
if(!valueTrailListTrail["OssBucketName"].isNull())
|
||||
trailListObject.ossBucketName = valueTrailListTrail["OssBucketName"].asString();
|
||||
if(!valueTrailListTrail["OssWriteRoleArn"].isNull())
|
||||
trailListObject.ossWriteRoleArn = valueTrailListTrail["OssWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrail["IsShadowTrail"].isNull())
|
||||
trailListObject.isShadowTrail = std::stol(valueTrailListTrail["IsShadowTrail"].asString());
|
||||
trailList_.push_back(trailListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeTrailsResult::TrailListItem> DescribeTrailsResult::getTrailList()const
|
||||
std::vector<DescribeTrailsResult::Trail> DescribeTrailsResult::getTrailList()const
|
||||
{
|
||||
return trailList_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::GetTrailStatusRequest;
|
||||
|
||||
GetTrailStatusRequest::GetTrailStatusRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "GetTrailStatus")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "GetTrailStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,17 +27,6 @@ GetTrailStatusRequest::GetTrailStatusRequest() :
|
||||
GetTrailStatusRequest::~GetTrailStatusRequest()
|
||||
{}
|
||||
|
||||
std::string GetTrailStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetTrailStatusRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -39,24 +39,47 @@ void GetTrailStatusResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IsLogging"].isNull())
|
||||
isLogging_ = value["IsLogging"].asString() == "true";
|
||||
if(!value["LatestDeliveryError"].isNull())
|
||||
latestDeliveryError_ = value["LatestDeliveryError"].asString();
|
||||
if(!value["LatestDeliveryTime"].isNull())
|
||||
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
|
||||
if(!value["LatestDeliveryLogServiceTime"].isNull())
|
||||
latestDeliveryLogServiceTime_ = value["LatestDeliveryLogServiceTime"].asString();
|
||||
if(!value["LatestDeliveryLogServiceError"].isNull())
|
||||
latestDeliveryLogServiceError_ = value["LatestDeliveryLogServiceError"].asString();
|
||||
if(!value["StartLoggingTime"].isNull())
|
||||
startLoggingTime_ = value["StartLoggingTime"].asString();
|
||||
if(!value["OssBucketStatus"].isNull())
|
||||
ossBucketStatus_ = value["OssBucketStatus"].asString() == "true";
|
||||
if(!value["LatestDeliveryError"].isNull())
|
||||
latestDeliveryError_ = value["LatestDeliveryError"].asString();
|
||||
if(!value["StopLoggingTime"].isNull())
|
||||
stopLoggingTime_ = value["StopLoggingTime"].asString();
|
||||
if(!value["SlsLogStoreStatus"].isNull())
|
||||
slsLogStoreStatus_ = value["SlsLogStoreStatus"].asString() == "true";
|
||||
if(!value["LatestDeliveryTime"].isNull())
|
||||
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
|
||||
if(!value["IsLogging"].isNull())
|
||||
isLogging_ = value["IsLogging"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryLogServiceTime()const
|
||||
{
|
||||
return latestDeliveryLogServiceTime_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryLogServiceError()const
|
||||
{
|
||||
return latestDeliveryLogServiceError_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getStartLoggingTime()const
|
||||
{
|
||||
return startLoggingTime_;
|
||||
}
|
||||
|
||||
bool GetTrailStatusResult::getOssBucketStatus()const
|
||||
{
|
||||
return ossBucketStatus_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryError()const
|
||||
{
|
||||
return latestDeliveryError_;
|
||||
@@ -67,9 +90,9 @@ std::string GetTrailStatusResult::getStopLoggingTime()const
|
||||
return stopLoggingTime_;
|
||||
}
|
||||
|
||||
bool GetTrailStatusResult::getIsLogging()const
|
||||
bool GetTrailStatusResult::getSlsLogStoreStatus()const
|
||||
{
|
||||
return isLogging_;
|
||||
return slsLogStoreStatus_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryTime()const
|
||||
@@ -77,3 +100,8 @@ std::string GetTrailStatusResult::getLatestDeliveryTime()const
|
||||
return latestDeliveryTime_;
|
||||
}
|
||||
|
||||
bool GetTrailStatusResult::getIsLogging()const
|
||||
{
|
||||
return isLogging_;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
|
||||
|
||||
LookupEventsRequest::LookupEventsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "LookupEvents")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "LookupEvents")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,15 +27,15 @@ LookupEventsRequest::LookupEventsRequest() :
|
||||
LookupEventsRequest::~LookupEventsRequest()
|
||||
{}
|
||||
|
||||
std::string LookupEventsRequest::getRequest()const
|
||||
std::string LookupEventsRequest::getEndTime()const
|
||||
{
|
||||
return request_;
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setRequest(const std::string& request)
|
||||
void LookupEventsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
request_ = request;
|
||||
setParameter("Request", request);
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getStartTime()const
|
||||
@@ -49,28 +49,6 @@ void LookupEventsRequest::setStartTime(const std::string& startTime)
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventName()const
|
||||
{
|
||||
return eventName_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventName(const std::string& eventName)
|
||||
{
|
||||
eventName_ = eventName;
|
||||
setParameter("EventName", eventName);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
@@ -82,70 +60,20 @@ void LookupEventsRequest::setNextToken(const std::string& nextToken)
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getServiceName()const
|
||||
std::vector<LookupEventsRequest::LookupAttribute> LookupEventsRequest::getLookupAttribute()const
|
||||
{
|
||||
return serviceName_;
|
||||
return lookupAttribute_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setServiceName(const std::string& serviceName)
|
||||
void LookupEventsRequest::setLookupAttribute(const std::vector<LookupAttribute>& lookupAttribute)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEvent(const std::string& event)
|
||||
{
|
||||
event_ = event;
|
||||
setParameter("Event", event);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventAccessKeyId()const
|
||||
{
|
||||
return eventAccessKeyId_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventAccessKeyId(const std::string& eventAccessKeyId)
|
||||
{
|
||||
eventAccessKeyId_ = eventAccessKeyId;
|
||||
setParameter("EventAccessKeyId", eventAccessKeyId);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventRW(const std::string& eventRW)
|
||||
{
|
||||
eventRW_ = eventRW;
|
||||
setParameter("EventRW", eventRW);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
lookupAttribute_ = lookupAttribute;
|
||||
for(int dep1 = 0; dep1!= lookupAttribute.size(); dep1++) {
|
||||
auto lookupAttributeObj = lookupAttribute.at(dep1);
|
||||
std::string lookupAttributeObjStr = "LookupAttribute." + std::to_string(dep1 + 1);
|
||||
setParameter(lookupAttributeObjStr + ".Value", lookupAttributeObj.value);
|
||||
setParameter(lookupAttributeObjStr + ".Key", lookupAttributeObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getMaxResults()const
|
||||
@@ -159,36 +87,14 @@ void LookupEventsRequest::setMaxResults(const std::string& maxResults)
|
||||
setParameter("MaxResults", maxResults);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventType()const
|
||||
std::string LookupEventsRequest::getDirection()const
|
||||
{
|
||||
return eventType_;
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventType(const std::string& eventType)
|
||||
void LookupEventsRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
eventType_ = eventType;
|
||||
setParameter("EventType", eventType);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getResourceName()const
|
||||
{
|
||||
return resourceName_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setResourceName(const std::string& resourceName)
|
||||
{
|
||||
resourceName_ = resourceName;
|
||||
setParameter("ResourceName", resourceName);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getUser()const
|
||||
{
|
||||
return user_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setUser(const std::string& user)
|
||||
{
|
||||
user_ = user;
|
||||
setParameter("User", user);
|
||||
direction_ = direction;
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,25 +42,25 @@ void LookupEventsResult::parse(const std::string &payload)
|
||||
auto allEvents = value["Events"]["Events"];
|
||||
for (const auto &item : allEvents)
|
||||
events_.push_back(item.asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string LookupEventsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::string LookupEventsResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string LookupEventsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<std::string> LookupEventsResult::getEvents()const
|
||||
{
|
||||
return events_;
|
||||
|
||||
@@ -19,25 +19,14 @@
|
||||
using AlibabaCloud::Actiontrail::Model::StartLoggingRequest;
|
||||
|
||||
StartLoggingRequest::StartLoggingRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "StartLogging")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "StartLogging")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartLoggingRequest::~StartLoggingRequest()
|
||||
{}
|
||||
|
||||
std::string StartLoggingRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StartLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartLoggingRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -39,20 +39,6 @@ void StartLoggingResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Param"].isNull())
|
||||
param_ = value["Param"].asString();
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string StartLoggingResult::getParam()const
|
||||
{
|
||||
return param_;
|
||||
}
|
||||
|
||||
std::string StartLoggingResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::StopLoggingRequest;
|
||||
|
||||
StopLoggingRequest::StopLoggingRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "StopLogging")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "StopLogging")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
@@ -27,17 +27,6 @@ StopLoggingRequest::StopLoggingRequest() :
|
||||
StopLoggingRequest::~StopLoggingRequest()
|
||||
{}
|
||||
|
||||
std::string StopLoggingRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StopLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StopLoggingRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Actiontrail::Model::UpdateTrailRequest;
|
||||
|
||||
UpdateTrailRequest::UpdateTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "UpdateTrail")
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "UpdateTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -38,17 +38,6 @@ void UpdateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
|
||||
setParameter("SlsProjectArn", slsProjectArn);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
@@ -71,26 +60,15 @@ void UpdateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
|
||||
setParameter("OssKeyPrefix", ossKeyPrefix);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getMnsTopicArn()const
|
||||
std::string UpdateTrailRequest::getOssWriteRoleArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
|
||||
void UpdateTrailRequest::setOssWriteRoleArn(const std::string& ossWriteRoleArn)
|
||||
{
|
||||
mnsTopicArn_ = mnsTopicArn;
|
||||
setParameter("MnsTopicArn", mnsTopicArn);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setRoleName(const std::string& roleName)
|
||||
{
|
||||
roleName_ = roleName;
|
||||
setParameter("RoleName", roleName);
|
||||
ossWriteRoleArn_ = ossWriteRoleArn;
|
||||
setParameter("OssWriteRoleArn", ossWriteRoleArn);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getEventRW()const
|
||||
|
||||
@@ -39,26 +39,24 @@ void UpdateTrailResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
if(!value["OssBucketName"].isNull())
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["OssKeyPrefix"].isNull())
|
||||
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
|
||||
if(!value["RoleName"].isNull())
|
||||
roleName_ = value["RoleName"].asString();
|
||||
if(!value["SlsProjectArn"].isNull())
|
||||
slsProjectArn_ = value["SlsProjectArn"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["EventRW"].isNull())
|
||||
eventRW_ = value["EventRW"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
if(!value["OssKeyPrefix"].isNull())
|
||||
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
|
||||
if(!value["OssBucketName"].isNull())
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["OssWriteRoleArn"].isNull())
|
||||
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
|
||||
if(!value["TrailRegion"].isNull())
|
||||
trailRegion_ = value["TrailRegion"].asString();
|
||||
if(!value["MnsTopicArn"].isNull())
|
||||
mnsTopicArn_ = value["MnsTopicArn"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -67,16 +65,6 @@ std::string UpdateTrailResult::getSlsProjectArn()const
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getMnsTopicArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
@@ -102,6 +90,11 @@ std::string UpdateTrailResult::getSlsWriteRoleArn()const
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getOssWriteRoleArn()const
|
||||
{
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
|
||||
@@ -29,18 +29,34 @@ set(address-purification_public_header_model
|
||||
include/alibabacloud/address-purification/model/CorrectAddressResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractAddressResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractExpressRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractExpressResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractNameRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractNameResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractPhoneRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractPhoneResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressBlockMappingRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressBlockMappingResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressDivisionCodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressEvaluateRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressEvaluateResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressGeocodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressGeocodeResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSearchRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSearchResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSimilarityRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSimilarityResult.h
|
||||
include/alibabacloud/address-purification/model/GetInputSearchRequest.h
|
||||
include/alibabacloud/address-purification/model/GetInputSearchResult.h
|
||||
include/alibabacloud/address-purification/model/GetZipcodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetZipcodeResult.h
|
||||
include/alibabacloud/address-purification/model/PredictPOIRequest.h
|
||||
include/alibabacloud/address-purification/model/PredictPOIResult.h
|
||||
include/alibabacloud/address-purification/model/StructureAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/StructureAddressResult.h
|
||||
include/alibabacloud/address-purification/model/TransferCoordRequest.h
|
||||
include/alibabacloud/address-purification/model/TransferCoordResult.h
|
||||
include/alibabacloud/address-purification/model/UpdateProjectRequest.h
|
||||
include/alibabacloud/address-purification/model/UpdateProjectResult.h )
|
||||
|
||||
@@ -54,18 +70,34 @@ set(address-purification_src
|
||||
src/model/CorrectAddressResult.cc
|
||||
src/model/ExtractAddressRequest.cc
|
||||
src/model/ExtractAddressResult.cc
|
||||
src/model/ExtractExpressRequest.cc
|
||||
src/model/ExtractExpressResult.cc
|
||||
src/model/ExtractNameRequest.cc
|
||||
src/model/ExtractNameResult.cc
|
||||
src/model/ExtractPhoneRequest.cc
|
||||
src/model/ExtractPhoneResult.cc
|
||||
src/model/GetAddressBlockMappingRequest.cc
|
||||
src/model/GetAddressBlockMappingResult.cc
|
||||
src/model/GetAddressDivisionCodeRequest.cc
|
||||
src/model/GetAddressDivisionCodeResult.cc
|
||||
src/model/GetAddressEvaluateRequest.cc
|
||||
src/model/GetAddressEvaluateResult.cc
|
||||
src/model/GetAddressGeocodeRequest.cc
|
||||
src/model/GetAddressGeocodeResult.cc
|
||||
src/model/GetAddressSearchRequest.cc
|
||||
src/model/GetAddressSearchResult.cc
|
||||
src/model/GetAddressSimilarityRequest.cc
|
||||
src/model/GetAddressSimilarityResult.cc
|
||||
src/model/GetInputSearchRequest.cc
|
||||
src/model/GetInputSearchResult.cc
|
||||
src/model/GetZipcodeRequest.cc
|
||||
src/model/GetZipcodeResult.cc
|
||||
src/model/PredictPOIRequest.cc
|
||||
src/model/PredictPOIResult.cc
|
||||
src/model/StructureAddressRequest.cc
|
||||
src/model/StructureAddressResult.cc
|
||||
src/model/TransferCoordRequest.cc
|
||||
src/model/TransferCoordResult.cc
|
||||
src/model/UpdateProjectRequest.cc
|
||||
src/model/UpdateProjectResult.cc )
|
||||
|
||||
|
||||
@@ -30,18 +30,34 @@
|
||||
#include "model/CorrectAddressResult.h"
|
||||
#include "model/ExtractAddressRequest.h"
|
||||
#include "model/ExtractAddressResult.h"
|
||||
#include "model/ExtractExpressRequest.h"
|
||||
#include "model/ExtractExpressResult.h"
|
||||
#include "model/ExtractNameRequest.h"
|
||||
#include "model/ExtractNameResult.h"
|
||||
#include "model/ExtractPhoneRequest.h"
|
||||
#include "model/ExtractPhoneResult.h"
|
||||
#include "model/GetAddressBlockMappingRequest.h"
|
||||
#include "model/GetAddressBlockMappingResult.h"
|
||||
#include "model/GetAddressDivisionCodeRequest.h"
|
||||
#include "model/GetAddressDivisionCodeResult.h"
|
||||
#include "model/GetAddressEvaluateRequest.h"
|
||||
#include "model/GetAddressEvaluateResult.h"
|
||||
#include "model/GetAddressGeocodeRequest.h"
|
||||
#include "model/GetAddressGeocodeResult.h"
|
||||
#include "model/GetAddressSearchRequest.h"
|
||||
#include "model/GetAddressSearchResult.h"
|
||||
#include "model/GetAddressSimilarityRequest.h"
|
||||
#include "model/GetAddressSimilarityResult.h"
|
||||
#include "model/GetInputSearchRequest.h"
|
||||
#include "model/GetInputSearchResult.h"
|
||||
#include "model/GetZipcodeRequest.h"
|
||||
#include "model/GetZipcodeResult.h"
|
||||
#include "model/PredictPOIRequest.h"
|
||||
#include "model/PredictPOIResult.h"
|
||||
#include "model/StructureAddressRequest.h"
|
||||
#include "model/StructureAddressResult.h"
|
||||
#include "model/TransferCoordRequest.h"
|
||||
#include "model/TransferCoordResult.h"
|
||||
#include "model/UpdateProjectRequest.h"
|
||||
#include "model/UpdateProjectResult.h"
|
||||
|
||||
@@ -65,24 +81,48 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ExtractAddressResult> ExtractAddressOutcome;
|
||||
typedef std::future<ExtractAddressOutcome> ExtractAddressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractAddressRequest&, const ExtractAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExtractExpressResult> ExtractExpressOutcome;
|
||||
typedef std::future<ExtractExpressOutcome> ExtractExpressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractExpressRequest&, const ExtractExpressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractExpressAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExtractNameResult> ExtractNameOutcome;
|
||||
typedef std::future<ExtractNameOutcome> ExtractNameOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractNameRequest&, const ExtractNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExtractPhoneResult> ExtractPhoneOutcome;
|
||||
typedef std::future<ExtractPhoneOutcome> ExtractPhoneOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractPhoneRequest&, const ExtractPhoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractPhoneAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressBlockMappingResult> GetAddressBlockMappingOutcome;
|
||||
typedef std::future<GetAddressBlockMappingOutcome> GetAddressBlockMappingOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressBlockMappingRequest&, const GetAddressBlockMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressBlockMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressDivisionCodeResult> GetAddressDivisionCodeOutcome;
|
||||
typedef std::future<GetAddressDivisionCodeOutcome> GetAddressDivisionCodeOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressDivisionCodeRequest&, const GetAddressDivisionCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressDivisionCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressEvaluateResult> GetAddressEvaluateOutcome;
|
||||
typedef std::future<GetAddressEvaluateOutcome> GetAddressEvaluateOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressEvaluateRequest&, const GetAddressEvaluateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressEvaluateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressGeocodeResult> GetAddressGeocodeOutcome;
|
||||
typedef std::future<GetAddressGeocodeOutcome> GetAddressGeocodeOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressGeocodeRequest&, const GetAddressGeocodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressGeocodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressSearchResult> GetAddressSearchOutcome;
|
||||
typedef std::future<GetAddressSearchOutcome> GetAddressSearchOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressSearchRequest&, const GetAddressSearchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressSearchAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressSimilarityResult> GetAddressSimilarityOutcome;
|
||||
typedef std::future<GetAddressSimilarityOutcome> GetAddressSimilarityOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressSimilarityRequest&, const GetAddressSimilarityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressSimilarityAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInputSearchResult> GetInputSearchOutcome;
|
||||
typedef std::future<GetInputSearchOutcome> GetInputSearchOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetInputSearchRequest&, const GetInputSearchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInputSearchAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetZipcodeResult> GetZipcodeOutcome;
|
||||
typedef std::future<GetZipcodeOutcome> GetZipcodeOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetZipcodeRequest&, const GetZipcodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetZipcodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::PredictPOIResult> PredictPOIOutcome;
|
||||
typedef std::future<PredictPOIOutcome> PredictPOIOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::PredictPOIRequest&, const PredictPOIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictPOIAsyncHandler;
|
||||
typedef Outcome<Error, Model::StructureAddressResult> StructureAddressOutcome;
|
||||
typedef std::future<StructureAddressOutcome> StructureAddressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::StructureAddressRequest&, const StructureAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StructureAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferCoordResult> TransferCoordOutcome;
|
||||
typedef std::future<TransferCoordOutcome> TransferCoordOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::TransferCoordRequest&, const TransferCoordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferCoordAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||
@@ -103,24 +143,48 @@ namespace AlibabaCloud
|
||||
ExtractAddressOutcome extractAddress(const Model::ExtractAddressRequest &request)const;
|
||||
void extractAddressAsync(const Model::ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractAddressOutcomeCallable extractAddressCallable(const Model::ExtractAddressRequest& request) const;
|
||||
ExtractExpressOutcome extractExpress(const Model::ExtractExpressRequest &request)const;
|
||||
void extractExpressAsync(const Model::ExtractExpressRequest& request, const ExtractExpressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractExpressOutcomeCallable extractExpressCallable(const Model::ExtractExpressRequest& request) const;
|
||||
ExtractNameOutcome extractName(const Model::ExtractNameRequest &request)const;
|
||||
void extractNameAsync(const Model::ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractNameOutcomeCallable extractNameCallable(const Model::ExtractNameRequest& request) const;
|
||||
ExtractPhoneOutcome extractPhone(const Model::ExtractPhoneRequest &request)const;
|
||||
void extractPhoneAsync(const Model::ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractPhoneOutcomeCallable extractPhoneCallable(const Model::ExtractPhoneRequest& request) const;
|
||||
GetAddressBlockMappingOutcome getAddressBlockMapping(const Model::GetAddressBlockMappingRequest &request)const;
|
||||
void getAddressBlockMappingAsync(const Model::GetAddressBlockMappingRequest& request, const GetAddressBlockMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressBlockMappingOutcomeCallable getAddressBlockMappingCallable(const Model::GetAddressBlockMappingRequest& request) const;
|
||||
GetAddressDivisionCodeOutcome getAddressDivisionCode(const Model::GetAddressDivisionCodeRequest &request)const;
|
||||
void getAddressDivisionCodeAsync(const Model::GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressDivisionCodeOutcomeCallable getAddressDivisionCodeCallable(const Model::GetAddressDivisionCodeRequest& request) const;
|
||||
GetAddressEvaluateOutcome getAddressEvaluate(const Model::GetAddressEvaluateRequest &request)const;
|
||||
void getAddressEvaluateAsync(const Model::GetAddressEvaluateRequest& request, const GetAddressEvaluateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressEvaluateOutcomeCallable getAddressEvaluateCallable(const Model::GetAddressEvaluateRequest& request) const;
|
||||
GetAddressGeocodeOutcome getAddressGeocode(const Model::GetAddressGeocodeRequest &request)const;
|
||||
void getAddressGeocodeAsync(const Model::GetAddressGeocodeRequest& request, const GetAddressGeocodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressGeocodeOutcomeCallable getAddressGeocodeCallable(const Model::GetAddressGeocodeRequest& request) const;
|
||||
GetAddressSearchOutcome getAddressSearch(const Model::GetAddressSearchRequest &request)const;
|
||||
void getAddressSearchAsync(const Model::GetAddressSearchRequest& request, const GetAddressSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressSearchOutcomeCallable getAddressSearchCallable(const Model::GetAddressSearchRequest& request) const;
|
||||
GetAddressSimilarityOutcome getAddressSimilarity(const Model::GetAddressSimilarityRequest &request)const;
|
||||
void getAddressSimilarityAsync(const Model::GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressSimilarityOutcomeCallable getAddressSimilarityCallable(const Model::GetAddressSimilarityRequest& request) const;
|
||||
GetInputSearchOutcome getInputSearch(const Model::GetInputSearchRequest &request)const;
|
||||
void getInputSearchAsync(const Model::GetInputSearchRequest& request, const GetInputSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInputSearchOutcomeCallable getInputSearchCallable(const Model::GetInputSearchRequest& request) const;
|
||||
GetZipcodeOutcome getZipcode(const Model::GetZipcodeRequest &request)const;
|
||||
void getZipcodeAsync(const Model::GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetZipcodeOutcomeCallable getZipcodeCallable(const Model::GetZipcodeRequest& request) const;
|
||||
PredictPOIOutcome predictPOI(const Model::PredictPOIRequest &request)const;
|
||||
void predictPOIAsync(const Model::PredictPOIRequest& request, const PredictPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PredictPOIOutcomeCallable predictPOICallable(const Model::PredictPOIRequest& request) const;
|
||||
StructureAddressOutcome structureAddress(const Model::StructureAddressRequest &request)const;
|
||||
void structureAddressAsync(const Model::StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StructureAddressOutcomeCallable structureAddressCallable(const Model::StructureAddressRequest& request) const;
|
||||
TransferCoordOutcome transferCoord(const Model::TransferCoordRequest &request)const;
|
||||
void transferCoordAsync(const Model::TransferCoordRequest& request, const TransferCoordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferCoordOutcomeCallable transferCoordCallable(const Model::TransferCoordRequest& request) const;
|
||||
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
||||
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractExpressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExtractExpressRequest();
|
||||
~ExtractExpressRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractExpressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExtractExpressResult();
|
||||
explicit ExtractExpressResult(const std::string &payload);
|
||||
~ExtractExpressResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressBlockMappingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressBlockMappingRequest();
|
||||
~GetAddressBlockMappingRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressBlockMappingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressBlockMappingResult();
|
||||
explicit GetAddressBlockMappingResult(const std::string &payload);
|
||||
~GetAddressBlockMappingResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressEvaluateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressEvaluateRequest();
|
||||
~GetAddressEvaluateRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressEvaluateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressEvaluateResult();
|
||||
explicit GetAddressEvaluateResult(const std::string &payload);
|
||||
~GetAddressEvaluateResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATERESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressGeocodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressGeocodeRequest();
|
||||
~GetAddressGeocodeRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressGeocodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressGeocodeResult();
|
||||
explicit GetAddressGeocodeResult(const std::string &payload);
|
||||
~GetAddressGeocodeResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODERESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSearchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressSearchRequest();
|
||||
~GetAddressSearchRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSearchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressSearchResult();
|
||||
explicit GetAddressSearchResult(const std::string &payload);
|
||||
~GetAddressSearchResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetInputSearchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInputSearchRequest();
|
||||
~GetInputSearchRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetInputSearchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInputSearchResult();
|
||||
explicit GetInputSearchResult(const std::string &payload);
|
||||
~GetInputSearchResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT PredictPOIRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PredictPOIRequest();
|
||||
~PredictPOIRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT PredictPOIResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PredictPOIResult();
|
||||
explicit PredictPOIResult(const std::string &payload);
|
||||
~PredictPOIResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT TransferCoordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TransferCoordRequest();
|
||||
~TransferCoordRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getSrcCoord()const;
|
||||
void setSrcCoord(const std::string& srcCoord);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string srcCoord_;
|
||||
std::string defaultCity_;
|
||||
std::string text_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT TransferCoordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TransferCoordResult();
|
||||
explicit TransferCoordResult(const std::string &payload);
|
||||
~TransferCoordResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDRESULT_H_
|
||||
@@ -195,6 +195,42 @@ Address_purificationClient::ExtractAddressOutcomeCallable Address_purificationCl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractExpressOutcome Address_purificationClient::extractExpress(const ExtractExpressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExtractExpressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExtractExpressOutcome(ExtractExpressResult(outcome.result()));
|
||||
else
|
||||
return ExtractExpressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::extractExpressAsync(const ExtractExpressRequest& request, const ExtractExpressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, extractExpress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractExpressOutcomeCallable Address_purificationClient::extractExpressCallable(const ExtractExpressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ExtractExpressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->extractExpress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractNameOutcome Address_purificationClient::extractName(const ExtractNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +303,42 @@ Address_purificationClient::ExtractPhoneOutcomeCallable Address_purificationClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressBlockMappingOutcome Address_purificationClient::getAddressBlockMapping(const GetAddressBlockMappingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressBlockMappingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressBlockMappingOutcome(GetAddressBlockMappingResult(outcome.result()));
|
||||
else
|
||||
return GetAddressBlockMappingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressBlockMappingAsync(const GetAddressBlockMappingRequest& request, const GetAddressBlockMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressBlockMapping(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressBlockMappingOutcomeCallable Address_purificationClient::getAddressBlockMappingCallable(const GetAddressBlockMappingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressBlockMappingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressBlockMapping(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressDivisionCodeOutcome Address_purificationClient::getAddressDivisionCode(const GetAddressDivisionCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +375,114 @@ Address_purificationClient::GetAddressDivisionCodeOutcomeCallable Address_purifi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressEvaluateOutcome Address_purificationClient::getAddressEvaluate(const GetAddressEvaluateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressEvaluateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressEvaluateOutcome(GetAddressEvaluateResult(outcome.result()));
|
||||
else
|
||||
return GetAddressEvaluateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressEvaluateAsync(const GetAddressEvaluateRequest& request, const GetAddressEvaluateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressEvaluate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressEvaluateOutcomeCallable Address_purificationClient::getAddressEvaluateCallable(const GetAddressEvaluateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressEvaluateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressEvaluate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressGeocodeOutcome Address_purificationClient::getAddressGeocode(const GetAddressGeocodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressGeocodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressGeocodeOutcome(GetAddressGeocodeResult(outcome.result()));
|
||||
else
|
||||
return GetAddressGeocodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressGeocodeAsync(const GetAddressGeocodeRequest& request, const GetAddressGeocodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressGeocode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressGeocodeOutcomeCallable Address_purificationClient::getAddressGeocodeCallable(const GetAddressGeocodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressGeocodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressGeocode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSearchOutcome Address_purificationClient::getAddressSearch(const GetAddressSearchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressSearchOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressSearchOutcome(GetAddressSearchResult(outcome.result()));
|
||||
else
|
||||
return GetAddressSearchOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressSearchAsync(const GetAddressSearchRequest& request, const GetAddressSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressSearch(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSearchOutcomeCallable Address_purificationClient::getAddressSearchCallable(const GetAddressSearchRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressSearchOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressSearch(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSimilarityOutcome Address_purificationClient::getAddressSimilarity(const GetAddressSimilarityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +519,42 @@ Address_purificationClient::GetAddressSimilarityOutcomeCallable Address_purifica
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetInputSearchOutcome Address_purificationClient::getInputSearch(const GetInputSearchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetInputSearchOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetInputSearchOutcome(GetInputSearchResult(outcome.result()));
|
||||
else
|
||||
return GetInputSearchOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getInputSearchAsync(const GetInputSearchRequest& request, const GetInputSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getInputSearch(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetInputSearchOutcomeCallable Address_purificationClient::getInputSearchCallable(const GetInputSearchRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetInputSearchOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getInputSearch(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetZipcodeOutcome Address_purificationClient::getZipcode(const GetZipcodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +591,42 @@ Address_purificationClient::GetZipcodeOutcomeCallable Address_purificationClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::PredictPOIOutcome Address_purificationClient::predictPOI(const PredictPOIRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return PredictPOIOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return PredictPOIOutcome(PredictPOIResult(outcome.result()));
|
||||
else
|
||||
return PredictPOIOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::predictPOIAsync(const PredictPOIRequest& request, const PredictPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, predictPOI(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::PredictPOIOutcomeCallable Address_purificationClient::predictPOICallable(const PredictPOIRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<PredictPOIOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->predictPOI(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::StructureAddressOutcome Address_purificationClient::structureAddress(const StructureAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +663,42 @@ Address_purificationClient::StructureAddressOutcomeCallable Address_purification
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::TransferCoordOutcome Address_purificationClient::transferCoord(const TransferCoordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TransferCoordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TransferCoordOutcome(TransferCoordResult(outcome.result()));
|
||||
else
|
||||
return TransferCoordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::transferCoordAsync(const TransferCoordRequest& request, const TransferCoordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, transferCoord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::TransferCoordOutcomeCallable Address_purificationClient::transferCoordCallable(const TransferCoordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TransferCoordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->transferCoord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::UpdateProjectOutcome Address_purificationClient::updateProject(const UpdateProjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
95
address-purification/src/model/ExtractExpressRequest.cc
Normal file
95
address-purification/src/model/ExtractExpressRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/ExtractExpressRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::ExtractExpressRequest;
|
||||
|
||||
ExtractExpressRequest::ExtractExpressRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "ExtractExpress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExtractExpressRequest::~ExtractExpressRequest()
|
||||
{}
|
||||
|
||||
std::string ExtractExpressRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/ExtractExpressResult.cc
Normal file
51
address-purification/src/model/ExtractExpressResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/ExtractExpressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
ExtractExpressResult::ExtractExpressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExtractExpressResult::ExtractExpressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExtractExpressResult::~ExtractExpressResult()
|
||||
{}
|
||||
|
||||
void ExtractExpressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ExtractExpressResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressBlockMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressBlockMappingRequest;
|
||||
|
||||
GetAddressBlockMappingRequest::GetAddressBlockMappingRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressBlockMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressBlockMappingRequest::~GetAddressBlockMappingRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressBlockMappingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressBlockMappingResult::GetAddressBlockMappingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressBlockMappingResult::GetAddressBlockMappingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressBlockMappingResult::~GetAddressBlockMappingResult()
|
||||
{}
|
||||
|
||||
void GetAddressBlockMappingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetAddressEvaluateRequest.cc
Normal file
95
address-purification/src/model/GetAddressEvaluateRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressEvaluateRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressEvaluateRequest;
|
||||
|
||||
GetAddressEvaluateRequest::GetAddressEvaluateRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressEvaluate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressEvaluateRequest::~GetAddressEvaluateRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetAddressEvaluateResult.cc
Normal file
51
address-purification/src/model/GetAddressEvaluateResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressEvaluateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressEvaluateResult::GetAddressEvaluateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressEvaluateResult::GetAddressEvaluateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressEvaluateResult::~GetAddressEvaluateResult()
|
||||
{}
|
||||
|
||||
void GetAddressEvaluateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetAddressGeocodeRequest.cc
Normal file
95
address-purification/src/model/GetAddressGeocodeRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressGeocodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressGeocodeRequest;
|
||||
|
||||
GetAddressGeocodeRequest::GetAddressGeocodeRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressGeocode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressGeocodeRequest::~GetAddressGeocodeRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetAddressGeocodeResult.cc
Normal file
51
address-purification/src/model/GetAddressGeocodeResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressGeocodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressGeocodeResult::GetAddressGeocodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressGeocodeResult::GetAddressGeocodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressGeocodeResult::~GetAddressGeocodeResult()
|
||||
{}
|
||||
|
||||
void GetAddressGeocodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetAddressSearchRequest.cc
Normal file
95
address-purification/src/model/GetAddressSearchRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressSearchRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressSearchRequest;
|
||||
|
||||
GetAddressSearchRequest::GetAddressSearchRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressSearch")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressSearchRequest::~GetAddressSearchRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressSearchRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetAddressSearchResult.cc
Normal file
51
address-purification/src/model/GetAddressSearchResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetAddressSearchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressSearchResult::GetAddressSearchResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressSearchResult::GetAddressSearchResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressSearchResult::~GetAddressSearchResult()
|
||||
{}
|
||||
|
||||
void GetAddressSearchResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAddressSearchResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetInputSearchRequest.cc
Normal file
95
address-purification/src/model/GetInputSearchRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetInputSearchRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetInputSearchRequest;
|
||||
|
||||
GetInputSearchRequest::GetInputSearchRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetInputSearch")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetInputSearchRequest::~GetInputSearchRequest()
|
||||
{}
|
||||
|
||||
std::string GetInputSearchRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetInputSearchResult.cc
Normal file
51
address-purification/src/model/GetInputSearchResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/GetInputSearchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetInputSearchResult::GetInputSearchResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetInputSearchResult::GetInputSearchResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetInputSearchResult::~GetInputSearchResult()
|
||||
{}
|
||||
|
||||
void GetInputSearchResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetInputSearchResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/PredictPOIRequest.cc
Normal file
95
address-purification/src/model/PredictPOIRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/address-purification/model/PredictPOIRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::PredictPOIRequest;
|
||||
|
||||
PredictPOIRequest::PredictPOIRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "PredictPOI")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PredictPOIRequest::~PredictPOIRequest()
|
||||
{}
|
||||
|
||||
std::string PredictPOIRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/PredictPOIResult.cc
Normal file
51
address-purification/src/model/PredictPOIResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/PredictPOIResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
PredictPOIResult::PredictPOIResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PredictPOIResult::PredictPOIResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PredictPOIResult::~PredictPOIResult()
|
||||
{}
|
||||
|
||||
void PredictPOIResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string PredictPOIResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
106
address-purification/src/model/TransferCoordRequest.cc
Normal file
106
address-purification/src/model/TransferCoordRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/address-purification/model/TransferCoordRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::TransferCoordRequest;
|
||||
|
||||
TransferCoordRequest::TransferCoordRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "TransferCoord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TransferCoordRequest::~TransferCoordRequest()
|
||||
{}
|
||||
|
||||
std::string TransferCoordRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getSrcCoord()const
|
||||
{
|
||||
return srcCoord_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setSrcCoord(const std::string& srcCoord)
|
||||
{
|
||||
srcCoord_ = srcCoord;
|
||||
setBodyParameter("SrcCoord", srcCoord);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/TransferCoordResult.cc
Normal file
51
address-purification/src/model/TransferCoordResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/address-purification/model/TransferCoordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
TransferCoordResult::TransferCoordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TransferCoordResult::TransferCoordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TransferCoordResult::~TransferCoordResult()
|
||||
{}
|
||||
|
||||
void TransferCoordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TransferCoordResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceListRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceListResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||
@@ -81,10 +83,14 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetScreenVerificationCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetScreenVerificationCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetWebSocketTokenRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetWebSocketTokenResult.h
|
||||
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/InviteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
||||
@@ -115,6 +121,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMeetingMemberActionRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMeetingMemberActionResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||
@@ -123,6 +131,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandResult.h
|
||||
include/alibabacloud/aliyuncvc/model/SendScreenStartRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/SendScreenStartResult.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||
@@ -186,6 +196,8 @@ set(aliyuncvc_src
|
||||
src/model/GetDeviceActiveCodeResult.cc
|
||||
src/model/GetDeviceInfoRequest.cc
|
||||
src/model/GetDeviceInfoResult.cc
|
||||
src/model/GetDeviceListRequest.cc
|
||||
src/model/GetDeviceListResult.cc
|
||||
src/model/GetDeviceTokenRequest.cc
|
||||
src/model/GetDeviceTokenResult.cc
|
||||
src/model/GetMeetingRequest.cc
|
||||
@@ -196,10 +208,14 @@ set(aliyuncvc_src
|
||||
src/model/GetMeetingMemberResult.cc
|
||||
src/model/GetMembersRequest.cc
|
||||
src/model/GetMembersResult.cc
|
||||
src/model/GetScreenVerificationCodeRequest.cc
|
||||
src/model/GetScreenVerificationCodeResult.cc
|
||||
src/model/GetStatisticRequest.cc
|
||||
src/model/GetStatisticResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/GetWebSocketTokenRequest.cc
|
||||
src/model/GetWebSocketTokenResult.cc
|
||||
src/model/InviteUserRequest.cc
|
||||
src/model/InviteUserResult.cc
|
||||
src/model/JoinDeviceMeetingRequest.cc
|
||||
@@ -230,6 +246,8 @@ set(aliyuncvc_src
|
||||
src/model/ModifyMeetingPasswordResult.cc
|
||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||
src/model/QueryMeetingMemberActionRequest.cc
|
||||
src/model/QueryMeetingMemberActionResult.cc
|
||||
src/model/RefreshDeviceScreenCodeRequest.cc
|
||||
src/model/RefreshDeviceScreenCodeResult.cc
|
||||
src/model/RegisterDeviceRequest.cc
|
||||
@@ -238,6 +256,8 @@ set(aliyuncvc_src
|
||||
src/model/RegisterUemDeviceResult.cc
|
||||
src/model/SendMeetingCommandRequest.cc
|
||||
src/model/SendMeetingCommandResult.cc
|
||||
src/model/SendScreenStartRequest.cc
|
||||
src/model/SendScreenStartResult.cc
|
||||
src/model/StartLiveRequest.cc
|
||||
src/model/StartLiveResult.cc
|
||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||
|
||||
@@ -72,6 +72,8 @@
|
||||
#include "model/GetDeviceActiveCodeResult.h"
|
||||
#include "model/GetDeviceInfoRequest.h"
|
||||
#include "model/GetDeviceInfoResult.h"
|
||||
#include "model/GetDeviceListRequest.h"
|
||||
#include "model/GetDeviceListResult.h"
|
||||
#include "model/GetDeviceTokenRequest.h"
|
||||
#include "model/GetDeviceTokenResult.h"
|
||||
#include "model/GetMeetingRequest.h"
|
||||
@@ -82,10 +84,14 @@
|
||||
#include "model/GetMeetingMemberResult.h"
|
||||
#include "model/GetMembersRequest.h"
|
||||
#include "model/GetMembersResult.h"
|
||||
#include "model/GetScreenVerificationCodeRequest.h"
|
||||
#include "model/GetScreenVerificationCodeResult.h"
|
||||
#include "model/GetStatisticRequest.h"
|
||||
#include "model/GetStatisticResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/GetWebSocketTokenRequest.h"
|
||||
#include "model/GetWebSocketTokenResult.h"
|
||||
#include "model/InviteUserRequest.h"
|
||||
#include "model/InviteUserResult.h"
|
||||
#include "model/JoinDeviceMeetingRequest.h"
|
||||
@@ -116,6 +122,8 @@
|
||||
#include "model/ModifyMeetingPasswordResult.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||
#include "model/QueryMeetingMemberActionRequest.h"
|
||||
#include "model/QueryMeetingMemberActionResult.h"
|
||||
#include "model/RefreshDeviceScreenCodeRequest.h"
|
||||
#include "model/RefreshDeviceScreenCodeResult.h"
|
||||
#include "model/RegisterDeviceRequest.h"
|
||||
@@ -124,6 +132,8 @@
|
||||
#include "model/RegisterUemDeviceResult.h"
|
||||
#include "model/SendMeetingCommandRequest.h"
|
||||
#include "model/SendMeetingCommandResult.h"
|
||||
#include "model/SendScreenStartRequest.h"
|
||||
#include "model/SendScreenStartResult.h"
|
||||
#include "model/StartLiveRequest.h"
|
||||
#include "model/StartLiveResult.h"
|
||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||
@@ -218,6 +228,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
|
||||
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceListResult> GetDeviceListOutcome;
|
||||
typedef std::future<GetDeviceListOutcome> GetDeviceListOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceListRequest&, const GetDeviceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
||||
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
||||
@@ -233,12 +246,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
||||
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetScreenVerificationCodeResult> GetScreenVerificationCodeOutcome;
|
||||
typedef std::future<GetScreenVerificationCodeOutcome> GetScreenVerificationCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetScreenVerificationCodeRequest&, const GetScreenVerificationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetScreenVerificationCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
|
||||
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWebSocketTokenResult> GetWebSocketTokenOutcome;
|
||||
typedef std::future<GetWebSocketTokenOutcome> GetWebSocketTokenOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetWebSocketTokenRequest&, const GetWebSocketTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWebSocketTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::InviteUserResult> InviteUserOutcome;
|
||||
typedef std::future<InviteUserOutcome> InviteUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::InviteUserRequest&, const InviteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InviteUserAsyncHandler;
|
||||
@@ -284,6 +303,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
||||
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMeetingMemberActionResult> QueryMeetingMemberActionOutcome;
|
||||
typedef std::future<QueryMeetingMemberActionOutcome> QueryMeetingMemberActionOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingMemberActionRequest&, const QueryMeetingMemberActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingMemberActionAsyncHandler;
|
||||
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
|
||||
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
|
||||
@@ -296,6 +318,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SendMeetingCommandResult> SendMeetingCommandOutcome;
|
||||
typedef std::future<SendMeetingCommandOutcome> SendMeetingCommandOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::SendMeetingCommandRequest&, const SendMeetingCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMeetingCommandAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendScreenStartResult> SendScreenStartOutcome;
|
||||
typedef std::future<SendScreenStartOutcome> SendScreenStartOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::SendScreenStartRequest&, const SendScreenStartOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendScreenStartAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
|
||||
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
|
||||
@@ -391,6 +416,9 @@ namespace AlibabaCloud
|
||||
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
|
||||
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
|
||||
GetDeviceListOutcome getDeviceList(const Model::GetDeviceListRequest &request)const;
|
||||
void getDeviceListAsync(const Model::GetDeviceListRequest& request, const GetDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceListOutcomeCallable getDeviceListCallable(const Model::GetDeviceListRequest& request) const;
|
||||
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
||||
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
||||
@@ -406,12 +434,18 @@ namespace AlibabaCloud
|
||||
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
||||
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
||||
GetScreenVerificationCodeOutcome getScreenVerificationCode(const Model::GetScreenVerificationCodeRequest &request)const;
|
||||
void getScreenVerificationCodeAsync(const Model::GetScreenVerificationCodeRequest& request, const GetScreenVerificationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetScreenVerificationCodeOutcomeCallable getScreenVerificationCodeCallable(const Model::GetScreenVerificationCodeRequest& request) const;
|
||||
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
|
||||
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
GetWebSocketTokenOutcome getWebSocketToken(const Model::GetWebSocketTokenRequest &request)const;
|
||||
void getWebSocketTokenAsync(const Model::GetWebSocketTokenRequest& request, const GetWebSocketTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWebSocketTokenOutcomeCallable getWebSocketTokenCallable(const Model::GetWebSocketTokenRequest& request) const;
|
||||
InviteUserOutcome inviteUser(const Model::InviteUserRequest &request)const;
|
||||
void inviteUserAsync(const Model::InviteUserRequest& request, const InviteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InviteUserOutcomeCallable inviteUserCallable(const Model::InviteUserRequest& request) const;
|
||||
@@ -457,6 +491,9 @@ namespace AlibabaCloud
|
||||
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
||||
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
||||
QueryMeetingMemberActionOutcome queryMeetingMemberAction(const Model::QueryMeetingMemberActionRequest &request)const;
|
||||
void queryMeetingMemberActionAsync(const Model::QueryMeetingMemberActionRequest& request, const QueryMeetingMemberActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMeetingMemberActionOutcomeCallable queryMeetingMemberActionCallable(const Model::QueryMeetingMemberActionRequest& request) const;
|
||||
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
|
||||
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
|
||||
@@ -469,6 +506,9 @@ namespace AlibabaCloud
|
||||
SendMeetingCommandOutcome sendMeetingCommand(const Model::SendMeetingCommandRequest &request)const;
|
||||
void sendMeetingCommandAsync(const Model::SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendMeetingCommandOutcomeCallable sendMeetingCommandCallable(const Model::SendMeetingCommandRequest& request) const;
|
||||
SendScreenStartOutcome sendScreenStart(const Model::SendScreenStartRequest &request)const;
|
||||
void sendScreenStartAsync(const Model::SendScreenStartRequest& request, const SendScreenStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendScreenStartOutcomeCallable sendScreenStartCallable(const Model::SendScreenStartRequest& request) const;
|
||||
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
|
||||
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;
|
||||
|
||||
@@ -37,9 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getSn()const;
|
||||
void setSn(const std::string& sn);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
std::string groupId_;
|
||||
std::string sn_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
int status;
|
||||
std::string castScreenCode;
|
||||
std::string iP;
|
||||
std::string port;
|
||||
std::string sn;
|
||||
std::string ssid;
|
||||
std::string activationCode;
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDeviceListRequest();
|
||||
~GetDeviceListRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
int status;
|
||||
std::string castScreenCode;
|
||||
std::string iP;
|
||||
std::string port;
|
||||
std::string sN;
|
||||
std::string activationCode;
|
||||
std::string mac;
|
||||
};
|
||||
|
||||
|
||||
GetDeviceListResult();
|
||||
explicit GetDeviceListResult(const std::string &payload);
|
||||
~GetDeviceListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<DataItem> data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||
@@ -48,8 +48,8 @@ namespace AlibabaCloud
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
long validTime;
|
||||
std::string password;
|
||||
long validTime;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetScreenVerificationCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetScreenVerificationCodeRequest();
|
||||
~GetScreenVerificationCodeRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetScreenVerificationCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetScreenVerificationCodeResult();
|
||||
explicit GetScreenVerificationCodeResult(const std::string &payload);
|
||||
~GetScreenVerificationCodeResult();
|
||||
std::string getMessage()const;
|
||||
std::string getScreenVerificationCode()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string screenVerificationCode_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetWebSocketTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetWebSocketTokenRequest();
|
||||
~GetWebSocketTokenRequest();
|
||||
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getOldToken()const;
|
||||
void setOldToken(const std::string& oldToken);
|
||||
|
||||
private:
|
||||
std::string sessionId_;
|
||||
std::string oldToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetWebSocketTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string token;
|
||||
std::string authWsUrl;
|
||||
std::string wsOuterReConnTime;
|
||||
};
|
||||
|
||||
|
||||
GetWebSocketTokenResult();
|
||||
explicit GetWebSocketTokenResult(const std::string &payload);
|
||||
~GetWebSocketTokenResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string createTime;
|
||||
std::string manufacturer;
|
||||
std::string pictureUrl;
|
||||
std::string startUpPictureUrl;
|
||||
std::string sN;
|
||||
std::string conferenceName;
|
||||
std::string activationCode;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string screenCode;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string ssId;
|
||||
std::string mac;
|
||||
};
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string castScreenCode;
|
||||
std::string createTime;
|
||||
std::string pictureUrl;
|
||||
std::string startUpPictureUrl;
|
||||
std::string sN;
|
||||
std::string conferenceName;
|
||||
std::string activationCode;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingMemberActionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMeetingMemberActionRequest();
|
||||
~QueryMeetingMemberActionRequest();
|
||||
|
||||
std::string getMeetingUnitKey()const;
|
||||
void setMeetingUnitKey(const std::string& meetingUnitKey);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getMemberUUID()const;
|
||||
void setMemberUUID(const std::string& memberUUID);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUnitKey_;
|
||||
long endTime_;
|
||||
std::string memberUUID_;
|
||||
long startTime_;
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingMemberActionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ErrorCodeListItem
|
||||
{
|
||||
long errorCodeCount;
|
||||
long time;
|
||||
};
|
||||
|
||||
|
||||
QueryMeetingMemberActionResult();
|
||||
explicit QueryMeetingMemberActionResult(const std::string &payload);
|
||||
~QueryMeetingMemberActionResult();
|
||||
std::string getMessage()const;
|
||||
int getMeetingStatus()const;
|
||||
int getVideoStatus()const;
|
||||
int getAudioStatus()const;
|
||||
long getErrorCodeCount()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<ErrorCodeListItem> getErrorCodeList()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int meetingStatus_;
|
||||
int videoStatus_;
|
||||
int audioStatus_;
|
||||
long errorCodeCount_;
|
||||
int errorCode_;
|
||||
std::vector<ErrorCodeListItem> errorCodeList_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT SendScreenStartRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendScreenStartRequest();
|
||||
~SendScreenStartRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
std::string sessionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT SendScreenStartResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct AuthWsChannelConfig
|
||||
{
|
||||
std::string token;
|
||||
std::string authWsUrl;
|
||||
int wsOuterReConnTime;
|
||||
};
|
||||
struct ShareConfig
|
||||
{
|
||||
int shareConfigMaxFrameRate;
|
||||
int shareConfigMinFrameRate;
|
||||
int maxScreenShareBitrate;
|
||||
int maxMultiScreenShareBitrate;
|
||||
};
|
||||
struct SignallingServerConfig
|
||||
{
|
||||
std::string sendMessageUrl;
|
||||
std::string shareScreenMeetingRobUrl;
|
||||
std::string getMessageUrl;
|
||||
std::string getReceiverInfoUrl;
|
||||
std::string clientHeartBeatUrl;
|
||||
};
|
||||
struct IceServersItem
|
||||
{
|
||||
std::string credential;
|
||||
std::string userName;
|
||||
std::string url;
|
||||
};
|
||||
ShareConfig shareConfig;
|
||||
std::string receiverInfo;
|
||||
AuthWsChannelConfig authWsChannelConfig;
|
||||
std::string sessionId;
|
||||
std::vector<IceServersItem> iceServers;
|
||||
SignallingServerConfig signallingServerConfig;
|
||||
};
|
||||
|
||||
|
||||
SendScreenStartResult();
|
||||
explicit SendScreenStartResult(const std::string &payload);
|
||||
~SendScreenStartResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||
@@ -951,6 +951,42 @@ AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceListOutcome AliyuncvcClient::getDeviceList(const GetDeviceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDeviceListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDeviceListOutcome(GetDeviceListResult(outcome.result()));
|
||||
else
|
||||
return GetDeviceListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getDeviceListAsync(const GetDeviceListRequest& request, const GetDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDeviceList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceListOutcomeCallable AliyuncvcClient::getDeviceListCallable(const GetDeviceListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDeviceListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDeviceList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1131,6 +1167,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetScreenVerificationCodeOutcome AliyuncvcClient::getScreenVerificationCode(const GetScreenVerificationCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetScreenVerificationCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetScreenVerificationCodeOutcome(GetScreenVerificationCodeResult(outcome.result()));
|
||||
else
|
||||
return GetScreenVerificationCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getScreenVerificationCodeAsync(const GetScreenVerificationCodeRequest& request, const GetScreenVerificationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getScreenVerificationCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetScreenVerificationCodeOutcomeCallable AliyuncvcClient::getScreenVerificationCodeCallable(const GetScreenVerificationCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetScreenVerificationCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getScreenVerificationCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1275,42 @@ AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const G
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetWebSocketTokenOutcome AliyuncvcClient::getWebSocketToken(const GetWebSocketTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetWebSocketTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetWebSocketTokenOutcome(GetWebSocketTokenResult(outcome.result()));
|
||||
else
|
||||
return GetWebSocketTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getWebSocketTokenAsync(const GetWebSocketTokenRequest& request, const GetWebSocketTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getWebSocketToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetWebSocketTokenOutcomeCallable AliyuncvcClient::getWebSocketTokenCallable(const GetWebSocketTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetWebSocketTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getWebSocketToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::InviteUserOutcome AliyuncvcClient::inviteUser(const InviteUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1743,6 +1851,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingMemberActionOutcome AliyuncvcClient::queryMeetingMemberAction(const QueryMeetingMemberActionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMeetingMemberActionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMeetingMemberActionOutcome(QueryMeetingMemberActionResult(outcome.result()));
|
||||
else
|
||||
return QueryMeetingMemberActionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryMeetingMemberActionAsync(const QueryMeetingMemberActionRequest& request, const QueryMeetingMemberActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMeetingMemberAction(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingMemberActionOutcomeCallable AliyuncvcClient::queryMeetingMemberActionCallable(const QueryMeetingMemberActionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMeetingMemberActionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMeetingMemberAction(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1887,6 +2031,42 @@ AliyuncvcClient::SendMeetingCommandOutcomeCallable AliyuncvcClient::sendMeetingC
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendScreenStartOutcome AliyuncvcClient::sendScreenStart(const SendScreenStartRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendScreenStartOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendScreenStartOutcome(SendScreenStartResult(outcome.result()));
|
||||
else
|
||||
return SendScreenStartOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::sendScreenStartAsync(const SendScreenStartRequest& request, const SendScreenStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendScreenStart(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendScreenStartOutcomeCallable AliyuncvcClient::sendScreenStartCallable(const SendScreenStartRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendScreenStartOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendScreenStart(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -35,6 +35,28 @@ std::string GetDeviceInfoRequest::getCastScreenCode()const
|
||||
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
setParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
std::string GetDeviceInfoRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void GetDeviceInfoRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string GetDeviceInfoRequest::getSn()const
|
||||
{
|
||||
return sn_;
|
||||
}
|
||||
|
||||
void GetDeviceInfoRequest::setSn(const std::string& sn)
|
||||
{
|
||||
sn_ = sn;
|
||||
setParameter("Sn", sn);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,24 +40,26 @@ void GetDeviceInfoResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto deviceNode = value["Device"];
|
||||
if(!deviceNode["ActivationCode"].isNull())
|
||||
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||
if(!deviceNode["CastScreenCode"].isNull())
|
||||
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||
if(!deviceNode["Sn"].isNull())
|
||||
device_.sn = deviceNode["Sn"].asString();
|
||||
if(!deviceNode["Status"].isNull())
|
||||
device_.status = std::stoi(deviceNode["Status"].asString());
|
||||
if(!deviceNode["CastScreenCode"].isNull())
|
||||
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||
if(!deviceNode["IP"].isNull())
|
||||
device_.iP = deviceNode["IP"].asString();
|
||||
if(!deviceNode["Mac"].isNull())
|
||||
device_.mac = deviceNode["Mac"].asString();
|
||||
if(!deviceNode["Port"].isNull())
|
||||
device_.port = deviceNode["Port"].asString();
|
||||
if(!deviceNode["Sn"].isNull())
|
||||
device_.sn = deviceNode["Sn"].asString();
|
||||
if(!deviceNode["Ssid"].isNull())
|
||||
device_.ssid = deviceNode["Ssid"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!deviceNode["ActivationCode"].isNull())
|
||||
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||
if(!deviceNode["Mac"].isNull())
|
||||
device_.mac = deviceNode["Mac"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
|
||||
51
aliyuncvc/src/model/GetDeviceListRequest.cc
Normal file
51
aliyuncvc/src/model/GetDeviceListRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/aliyuncvc/model/GetDeviceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetDeviceListRequest;
|
||||
|
||||
GetDeviceListRequest::GetDeviceListRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDeviceListRequest::~GetDeviceListRequest()
|
||||
{}
|
||||
|
||||
std::string GetDeviceListRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void GetDeviceListRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
std::string GetDeviceListRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void GetDeviceListRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
90
aliyuncvc/src/model/GetDeviceListResult.cc
Normal file
90
aliyuncvc/src/model/GetDeviceListResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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/aliyuncvc/model/GetDeviceListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetDeviceListResult::GetDeviceListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDeviceListResult::GetDeviceListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDeviceListResult::~GetDeviceListResult()
|
||||
{}
|
||||
|
||||
void GetDeviceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["DataItem"];
|
||||
for (auto valueDataDataItem : allDataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valueDataDataItem["Status"].isNull())
|
||||
dataObject.status = std::stoi(valueDataDataItem["Status"].asString());
|
||||
if(!valueDataDataItem["CastScreenCode"].isNull())
|
||||
dataObject.castScreenCode = valueDataDataItem["CastScreenCode"].asString();
|
||||
if(!valueDataDataItem["IP"].isNull())
|
||||
dataObject.iP = valueDataDataItem["IP"].asString();
|
||||
if(!valueDataDataItem["Port"].isNull())
|
||||
dataObject.port = valueDataDataItem["Port"].asString();
|
||||
if(!valueDataDataItem["SN"].isNull())
|
||||
dataObject.sN = valueDataDataItem["SN"].asString();
|
||||
if(!valueDataDataItem["ActivationCode"].isNull())
|
||||
dataObject.activationCode = valueDataDataItem["ActivationCode"].asString();
|
||||
if(!valueDataDataItem["Mac"].isNull())
|
||||
dataObject.mac = valueDataDataItem["Mac"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetDeviceListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetDeviceListResult::DataItem> GetDeviceListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetDeviceListResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetDeviceListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -40,40 +40,40 @@ void GetMeetingResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto meetingInfoNode = value["MeetingInfo"];
|
||||
if(!meetingInfoNode["MeetingName"].isNull())
|
||||
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
|
||||
if(!meetingInfoNode["ValidTime"].isNull())
|
||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
if(!meetingInfoNode["CreateTime"].isNull())
|
||||
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
|
||||
if(!meetingInfoNode["UserId"].isNull())
|
||||
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
|
||||
if(!meetingInfoNode["MeetingUUID"].isNull())
|
||||
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
|
||||
if(!meetingInfoNode["Password"].isNull())
|
||||
meetingInfo_.password = meetingInfoNode["Password"].asString();
|
||||
if(!meetingInfoNode["MeetingUUID"].isNull())
|
||||
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
|
||||
if(!meetingInfoNode["ValidTime"].isNull())
|
||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||
if(!meetingInfoNode["CreateTime"].isNull())
|
||||
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
|
||||
if(!meetingInfoNode["MeetingName"].isNull())
|
||||
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
|
||||
if(!meetingInfoNode["UserId"].isNull())
|
||||
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
|
||||
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
|
||||
{
|
||||
MeetingInfo::MemberListItem memberListItemObject;
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
|
||||
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
|
||||
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
|
||||
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
|
||||
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
|
||||
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
|
||||
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
|
||||
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
|
||||
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
|
||||
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
|
||||
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
|
||||
meetingInfo_.memberList.push_back(memberListItemObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
|
||||
40
aliyuncvc/src/model/GetScreenVerificationCodeRequest.cc
Normal file
40
aliyuncvc/src/model/GetScreenVerificationCodeRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetScreenVerificationCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetScreenVerificationCodeRequest;
|
||||
|
||||
GetScreenVerificationCodeRequest::GetScreenVerificationCodeRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetScreenVerificationCode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetScreenVerificationCodeRequest::~GetScreenVerificationCodeRequest()
|
||||
{}
|
||||
|
||||
std::string GetScreenVerificationCodeRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void GetScreenVerificationCodeRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
72
aliyuncvc/src/model/GetScreenVerificationCodeResult.cc
Normal file
72
aliyuncvc/src/model/GetScreenVerificationCodeResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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/aliyuncvc/model/GetScreenVerificationCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetScreenVerificationCodeResult::GetScreenVerificationCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetScreenVerificationCodeResult::GetScreenVerificationCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetScreenVerificationCodeResult::~GetScreenVerificationCodeResult()
|
||||
{}
|
||||
|
||||
void GetScreenVerificationCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ScreenVerificationCode"].isNull())
|
||||
screenVerificationCode_ = value["ScreenVerificationCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetScreenVerificationCodeResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetScreenVerificationCodeResult::getScreenVerificationCode()const
|
||||
{
|
||||
return screenVerificationCode_;
|
||||
}
|
||||
|
||||
int GetScreenVerificationCodeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetScreenVerificationCodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/GetWebSocketTokenRequest.cc
Normal file
51
aliyuncvc/src/model/GetWebSocketTokenRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/aliyuncvc/model/GetWebSocketTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetWebSocketTokenRequest;
|
||||
|
||||
GetWebSocketTokenRequest::GetWebSocketTokenRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetWebSocketToken")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWebSocketTokenRequest::~GetWebSocketTokenRequest()
|
||||
{}
|
||||
|
||||
std::string GetWebSocketTokenRequest::getSessionId()const
|
||||
{
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void GetWebSocketTokenRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
std::string GetWebSocketTokenRequest::getOldToken()const
|
||||
{
|
||||
return oldToken_;
|
||||
}
|
||||
|
||||
void GetWebSocketTokenRequest::setOldToken(const std::string& oldToken)
|
||||
{
|
||||
oldToken_ = oldToken;
|
||||
setParameter("OldToken", oldToken);
|
||||
}
|
||||
|
||||
77
aliyuncvc/src/model/GetWebSocketTokenResult.cc
Normal file
77
aliyuncvc/src/model/GetWebSocketTokenResult.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* 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/aliyuncvc/model/GetWebSocketTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetWebSocketTokenResult::GetWebSocketTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWebSocketTokenResult::GetWebSocketTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWebSocketTokenResult::~GetWebSocketTokenResult()
|
||||
{}
|
||||
|
||||
void GetWebSocketTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["AuthWsUrl"].isNull())
|
||||
data_.authWsUrl = dataNode["AuthWsUrl"].asString();
|
||||
if(!dataNode["Token"].isNull())
|
||||
data_.token = dataNode["Token"].asString();
|
||||
if(!dataNode["WsOuterReConnTime"].isNull())
|
||||
data_.wsOuterReConnTime = dataNode["WsOuterReConnTime"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetWebSocketTokenResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetWebSocketTokenResult::Data GetWebSocketTokenResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetWebSocketTokenResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool GetWebSocketTokenResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@ void ListConferenceDevicesResult::parse(const std::string &payload)
|
||||
dataObject.status = conferencesDatasNodeConferencesdata["Status"].asString();
|
||||
if(!conferencesDatasNodeConferencesdata["CastScreenCode"].isNull())
|
||||
dataObject.castScreenCode = conferencesDatasNodeConferencesdata["CastScreenCode"].asString();
|
||||
if(!conferencesDatasNodeConferencesdata["StartUpPictureUrl"].isNull())
|
||||
dataObject.startUpPictureUrl = conferencesDatasNodeConferencesdata["StartUpPictureUrl"].asString();
|
||||
conferencesDatas_.conferences.push_back(dataObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
@@ -51,6 +51,8 @@ void ListDeviceIpResult::parse(const std::string &payload)
|
||||
devicesObject.mac = valueDevicesDevicesItem["Mac"].asString();
|
||||
if(!valueDevicesDevicesItem["SsId"].isNull())
|
||||
devicesObject.ssId = valueDevicesDevicesItem["SsId"].asString();
|
||||
if(!valueDevicesDevicesItem["Port"].isNull())
|
||||
devicesObject.port = valueDevicesDevicesItem["Port"].asString();
|
||||
devices_.push_back(devicesObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
@@ -66,6 +66,8 @@ void ListDevicesResult::parse(const std::string &payload)
|
||||
deviceObject.status = dataNodeDevicesDevice["Status"].asString();
|
||||
if(!dataNodeDevicesDevice["CastScreenCode"].isNull())
|
||||
deviceObject.castScreenCode = dataNodeDevicesDevice["CastScreenCode"].asString();
|
||||
if(!dataNodeDevicesDevice["StartUpPictureUrl"].isNull())
|
||||
deviceObject.startUpPictureUrl = dataNodeDevicesDevice["StartUpPictureUrl"].asString();
|
||||
data_.devices.push_back(deviceObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user