Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 |
111
CHANGELOG
111
CHANGELOG
@@ -1,3 +1,114 @@
|
||||
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.
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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())
|
||||
|
||||
84
aliyuncvc/src/model/QueryMeetingMemberActionRequest.cc
Normal file
84
aliyuncvc/src/model/QueryMeetingMemberActionRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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/QueryMeetingMemberActionRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingMemberActionRequest;
|
||||
|
||||
QueryMeetingMemberActionRequest::QueryMeetingMemberActionRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "QueryMeetingMemberAction")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryMeetingMemberActionRequest::~QueryMeetingMemberActionRequest()
|
||||
{}
|
||||
|
||||
std::string QueryMeetingMemberActionRequest::getMeetingUnitKey()const
|
||||
{
|
||||
return meetingUnitKey_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setMeetingUnitKey(const std::string& meetingUnitKey)
|
||||
{
|
||||
meetingUnitKey_ = meetingUnitKey;
|
||||
setBodyParameter("MeetingUnitKey", meetingUnitKey);
|
||||
}
|
||||
|
||||
long QueryMeetingMemberActionRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string QueryMeetingMemberActionRequest::getMemberUUID()const
|
||||
{
|
||||
return memberUUID_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setBodyParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
long QueryMeetingMemberActionRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string QueryMeetingMemberActionRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void QueryMeetingMemberActionRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
108
aliyuncvc/src/model/QueryMeetingMemberActionResult.cc
Normal file
108
aliyuncvc/src/model/QueryMeetingMemberActionResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* 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/QueryMeetingMemberActionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryMeetingMemberActionResult::QueryMeetingMemberActionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMeetingMemberActionResult::QueryMeetingMemberActionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMeetingMemberActionResult::~QueryMeetingMemberActionResult()
|
||||
{}
|
||||
|
||||
void QueryMeetingMemberActionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allErrorCodeListNode = value["ErrorCodeList"]["ErrorCodeListItem"];
|
||||
for (auto valueErrorCodeListErrorCodeListItem : allErrorCodeListNode)
|
||||
{
|
||||
ErrorCodeListItem errorCodeListObject;
|
||||
if(!valueErrorCodeListErrorCodeListItem["ErrorCodeCount"].isNull())
|
||||
errorCodeListObject.errorCodeCount = std::stol(valueErrorCodeListErrorCodeListItem["ErrorCodeCount"].asString());
|
||||
if(!valueErrorCodeListErrorCodeListItem["Time"].isNull())
|
||||
errorCodeListObject.time = std::stol(valueErrorCodeListErrorCodeListItem["Time"].asString());
|
||||
errorCodeList_.push_back(errorCodeListObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["MeetingStatus"].isNull())
|
||||
meetingStatus_ = std::stoi(value["MeetingStatus"].asString());
|
||||
if(!value["VideoStatus"].isNull())
|
||||
videoStatus_ = std::stoi(value["VideoStatus"].asString());
|
||||
if(!value["AudioStatus"].isNull())
|
||||
audioStatus_ = std::stoi(value["AudioStatus"].asString());
|
||||
if(!value["ErrorCodeCount"].isNull())
|
||||
errorCodeCount_ = std::stol(value["ErrorCodeCount"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string QueryMeetingMemberActionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getMeetingStatus()const
|
||||
{
|
||||
return meetingStatus_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getVideoStatus()const
|
||||
{
|
||||
return videoStatus_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getAudioStatus()const
|
||||
{
|
||||
return audioStatus_;
|
||||
}
|
||||
|
||||
long QueryMeetingMemberActionResult::getErrorCodeCount()const
|
||||
{
|
||||
return errorCodeCount_;
|
||||
}
|
||||
|
||||
int QueryMeetingMemberActionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::vector<QueryMeetingMemberActionResult::ErrorCodeListItem> QueryMeetingMemberActionResult::getErrorCodeList()const
|
||||
{
|
||||
return errorCodeList_;
|
||||
}
|
||||
|
||||
bool QueryMeetingMemberActionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/SendScreenStartRequest.cc
Normal file
51
aliyuncvc/src/model/SendScreenStartRequest.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/SendScreenStartRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::SendScreenStartRequest;
|
||||
|
||||
SendScreenStartRequest::SendScreenStartRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "SendScreenStart")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendScreenStartRequest::~SendScreenStartRequest()
|
||||
{}
|
||||
|
||||
std::string SendScreenStartRequest::getCastScreenCode()const
|
||||
{
|
||||
return castScreenCode_;
|
||||
}
|
||||
|
||||
void SendScreenStartRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||
{
|
||||
castScreenCode_ = castScreenCode;
|
||||
setBodyParameter("CastScreenCode", castScreenCode);
|
||||
}
|
||||
|
||||
std::string SendScreenStartRequest::getSessionId()const
|
||||
{
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void SendScreenStartRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setBodyParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
114
aliyuncvc/src/model/SendScreenStartResult.cc
Normal file
114
aliyuncvc/src/model/SendScreenStartResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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/SendScreenStartResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
SendScreenStartResult::SendScreenStartResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendScreenStartResult::SendScreenStartResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendScreenStartResult::~SendScreenStartResult()
|
||||
{}
|
||||
|
||||
void SendScreenStartResult::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["ReceiverInfo"].isNull())
|
||||
data_.receiverInfo = dataNode["ReceiverInfo"].asString();
|
||||
if(!dataNode["SessionId"].isNull())
|
||||
data_.sessionId = dataNode["SessionId"].asString();
|
||||
auto allIceServersNode = dataNode["IceServers"]["IceServersItem"];
|
||||
for (auto dataNodeIceServersIceServersItem : allIceServersNode)
|
||||
{
|
||||
Data::IceServersItem iceServersItemObject;
|
||||
if(!dataNodeIceServersIceServersItem["Credential"].isNull())
|
||||
iceServersItemObject.credential = dataNodeIceServersIceServersItem["Credential"].asString();
|
||||
if(!dataNodeIceServersIceServersItem["Url"].isNull())
|
||||
iceServersItemObject.url = dataNodeIceServersIceServersItem["Url"].asString();
|
||||
if(!dataNodeIceServersIceServersItem["UserName"].isNull())
|
||||
iceServersItemObject.userName = dataNodeIceServersIceServersItem["UserName"].asString();
|
||||
data_.iceServers.push_back(iceServersItemObject);
|
||||
}
|
||||
auto authWsChannelConfigNode = dataNode["AuthWsChannelConfig"];
|
||||
if(!authWsChannelConfigNode["AuthWsUrl"].isNull())
|
||||
data_.authWsChannelConfig.authWsUrl = authWsChannelConfigNode["AuthWsUrl"].asString();
|
||||
if(!authWsChannelConfigNode["Token"].isNull())
|
||||
data_.authWsChannelConfig.token = authWsChannelConfigNode["Token"].asString();
|
||||
if(!authWsChannelConfigNode["WsOuterReConnTime"].isNull())
|
||||
data_.authWsChannelConfig.wsOuterReConnTime = std::stoi(authWsChannelConfigNode["WsOuterReConnTime"].asString());
|
||||
auto shareConfigNode = dataNode["ShareConfig"];
|
||||
if(!shareConfigNode["MaxMultiScreenShareBitrate"].isNull())
|
||||
data_.shareConfig.maxMultiScreenShareBitrate = std::stoi(shareConfigNode["MaxMultiScreenShareBitrate"].asString());
|
||||
if(!shareConfigNode["MaxScreenShareBitrate"].isNull())
|
||||
data_.shareConfig.maxScreenShareBitrate = std::stoi(shareConfigNode["MaxScreenShareBitrate"].asString());
|
||||
if(!shareConfigNode["ShareConfigMaxFrameRate"].isNull())
|
||||
data_.shareConfig.shareConfigMaxFrameRate = std::stoi(shareConfigNode["ShareConfigMaxFrameRate"].asString());
|
||||
if(!shareConfigNode["ShareConfigMinFrameRate"].isNull())
|
||||
data_.shareConfig.shareConfigMinFrameRate = std::stoi(shareConfigNode["ShareConfigMinFrameRate"].asString());
|
||||
auto signallingServerConfigNode = dataNode["SignallingServerConfig"];
|
||||
if(!signallingServerConfigNode["ClientHeartBeatUrl"].isNull())
|
||||
data_.signallingServerConfig.clientHeartBeatUrl = signallingServerConfigNode["ClientHeartBeatUrl"].asString();
|
||||
if(!signallingServerConfigNode["GetMessageUrl"].isNull())
|
||||
data_.signallingServerConfig.getMessageUrl = signallingServerConfigNode["GetMessageUrl"].asString();
|
||||
if(!signallingServerConfigNode["GetReceiverInfoUrl"].isNull())
|
||||
data_.signallingServerConfig.getReceiverInfoUrl = signallingServerConfigNode["GetReceiverInfoUrl"].asString();
|
||||
if(!signallingServerConfigNode["SendMessageUrl"].isNull())
|
||||
data_.signallingServerConfig.sendMessageUrl = signallingServerConfigNode["SendMessageUrl"].asString();
|
||||
if(!signallingServerConfigNode["ShareScreenMeetingRobUrl"].isNull())
|
||||
data_.signallingServerConfig.shareScreenMeetingRobUrl = signallingServerConfigNode["ShareScreenMeetingRobUrl"].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";
|
||||
|
||||
}
|
||||
|
||||
std::string SendScreenStartResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
SendScreenStartResult::Data SendScreenStartResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int SendScreenStartResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool SendScreenStartResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -89,8 +89,12 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageRequest.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageResult.h
|
||||
include/alibabacloud/arms/model/GetArmsConsoleUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetArmsConsoleUrlResult.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
|
||||
include/alibabacloud/arms/model/GetExploreUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetExploreUrlResult.h
|
||||
include/alibabacloud/arms/model/GetIntegrationTokenRequest.h
|
||||
include/alibabacloud/arms/model/GetIntegrationTokenResult.h
|
||||
include/alibabacloud/arms/model/GetMultipleTraceRequest.h
|
||||
@@ -268,8 +272,12 @@ set(arms_src
|
||||
src/model/GetAgentDownloadUrlResult.cc
|
||||
src/model/GetAppApiByPageRequest.cc
|
||||
src/model/GetAppApiByPageResult.cc
|
||||
src/model/GetArmsConsoleUrlRequest.cc
|
||||
src/model/GetArmsConsoleUrlResult.cc
|
||||
src/model/GetConsistencySnapshotRequest.cc
|
||||
src/model/GetConsistencySnapshotResult.cc
|
||||
src/model/GetExploreUrlRequest.cc
|
||||
src/model/GetExploreUrlResult.cc
|
||||
src/model/GetIntegrationTokenRequest.cc
|
||||
src/model/GetIntegrationTokenResult.cc
|
||||
src/model/GetMultipleTraceRequest.cc
|
||||
|
||||
@@ -90,8 +90,12 @@
|
||||
#include "model/GetAgentDownloadUrlResult.h"
|
||||
#include "model/GetAppApiByPageRequest.h"
|
||||
#include "model/GetAppApiByPageResult.h"
|
||||
#include "model/GetArmsConsoleUrlRequest.h"
|
||||
#include "model/GetArmsConsoleUrlResult.h"
|
||||
#include "model/GetConsistencySnapshotRequest.h"
|
||||
#include "model/GetConsistencySnapshotResult.h"
|
||||
#include "model/GetExploreUrlRequest.h"
|
||||
#include "model/GetExploreUrlResult.h"
|
||||
#include "model/GetIntegrationTokenRequest.h"
|
||||
#include "model/GetIntegrationTokenResult.h"
|
||||
#include "model/GetMultipleTraceRequest.h"
|
||||
@@ -309,9 +313,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
|
||||
typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetArmsConsoleUrlResult> GetArmsConsoleUrlOutcome;
|
||||
typedef std::future<GetArmsConsoleUrlOutcome> GetArmsConsoleUrlOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetArmsConsoleUrlRequest&, const GetArmsConsoleUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetArmsConsoleUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConsistencySnapshotResult> GetConsistencySnapshotOutcome;
|
||||
typedef std::future<GetConsistencySnapshotOutcome> GetConsistencySnapshotOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetConsistencySnapshotRequest&, const GetConsistencySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsistencySnapshotAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetExploreUrlResult> GetExploreUrlOutcome;
|
||||
typedef std::future<GetExploreUrlOutcome> GetExploreUrlOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetExploreUrlRequest&, const GetExploreUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExploreUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetIntegrationTokenResult> GetIntegrationTokenOutcome;
|
||||
typedef std::future<GetIntegrationTokenOutcome> GetIntegrationTokenOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetIntegrationTokenRequest&, const GetIntegrationTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetIntegrationTokenAsyncHandler;
|
||||
@@ -578,9 +588,15 @@ namespace AlibabaCloud
|
||||
GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
|
||||
void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
|
||||
GetArmsConsoleUrlOutcome getArmsConsoleUrl(const Model::GetArmsConsoleUrlRequest &request)const;
|
||||
void getArmsConsoleUrlAsync(const Model::GetArmsConsoleUrlRequest& request, const GetArmsConsoleUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetArmsConsoleUrlOutcomeCallable getArmsConsoleUrlCallable(const Model::GetArmsConsoleUrlRequest& request) const;
|
||||
GetConsistencySnapshotOutcome getConsistencySnapshot(const Model::GetConsistencySnapshotRequest &request)const;
|
||||
void getConsistencySnapshotAsync(const Model::GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConsistencySnapshotOutcomeCallable getConsistencySnapshotCallable(const Model::GetConsistencySnapshotRequest& request) const;
|
||||
GetExploreUrlOutcome getExploreUrl(const Model::GetExploreUrlRequest &request)const;
|
||||
void getExploreUrlAsync(const Model::GetExploreUrlRequest& request, const GetExploreUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetExploreUrlOutcomeCallable getExploreUrlCallable(const Model::GetExploreUrlRequest& request) const;
|
||||
GetIntegrationTokenOutcome getIntegrationToken(const Model::GetIntegrationTokenRequest &request)const;
|
||||
void getIntegrationTokenAsync(const Model::GetIntegrationTokenRequest& request, const GetIntegrationTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetIntegrationTokenOutcomeCallable getIntegrationTokenCallable(const Model::GetIntegrationTokenRequest& request) const;
|
||||
|
||||
@@ -54,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> groupingFields;
|
||||
long groupWaitTime;
|
||||
long groupId;
|
||||
long repeatInterval;
|
||||
};
|
||||
struct NotifyRule
|
||||
{
|
||||
@@ -66,7 +67,9 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> notifyChannels;
|
||||
std::vector<NotifyRule::NotifyObject> notifyObjects;
|
||||
};
|
||||
bool isRecover;
|
||||
std::vector<GroupRule> groupRules;
|
||||
std::string dispatchType;
|
||||
std::string state;
|
||||
long ruleId;
|
||||
LabelMatchExpressionGrid labelMatchExpressionGrid;
|
||||
|
||||
@@ -14,38 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT PreviewSqlRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetArmsConsoleUrlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PreviewSqlRequest();
|
||||
~PreviewSqlRequest();
|
||||
GetArmsConsoleUrlRequest();
|
||||
~GetArmsConsoleUrlRequest();
|
||||
|
||||
std::string getEtlCalculator()const;
|
||||
void setEtlCalculator(const std::string& etlCalculator);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string etlCalculator_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_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_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetArmsConsoleUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetArmsConsoleUrlResult();
|
||||
explicit GetArmsConsoleUrlResult(const std::string &payload);
|
||||
~GetArmsConsoleUrlResult();
|
||||
std::string getArmsConsoleUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string armsConsoleUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
|
||||
57
arms/include/alibabacloud/arms/model/GetExploreUrlRequest.h
Normal file
57
arms/include/alibabacloud/arms/model/GetExploreUrlRequest.h
Normal file
@@ -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_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetExploreUrlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetExploreUrlRequest();
|
||||
~GetExploreUrlRequest();
|
||||
|
||||
std::string getExpression()const;
|
||||
void setExpression(const std::string& expression);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string expression_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RSIMGANALYS_MODEL_ACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_RSIMGANALYS_MODEL_ACCESSTOKENRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rsimganalys/RsimganalysExport.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rsimganalys
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RSIMGANALYS_EXPORT AccessTokenResult : public ServiceResult
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetExploreUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AccessTokenResult();
|
||||
explicit AccessTokenResult(const std::string &payload);
|
||||
~AccessTokenResult();
|
||||
GetExploreUrlResult();
|
||||
explicit GetExploreUrlResult(const std::string &payload);
|
||||
~GetExploreUrlResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RSIMGANALYS_MODEL_ACCESSTOKENRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
|
||||
@@ -39,10 +39,16 @@ namespace AlibabaCloud
|
||||
void setTraceID(const std::string& traceID);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
|
||||
private:
|
||||
std::string traceID_;
|
||||
std::string regionId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string time;
|
||||
std::string exporter;
|
||||
std::string url;
|
||||
std::string httpUrl;
|
||||
std::string name;
|
||||
std::string uid;
|
||||
std::string type;
|
||||
@@ -46,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::string kind;
|
||||
std::string id;
|
||||
std::string dashboardType;
|
||||
std::string httpsUrl;
|
||||
std::vector<std::string> tags;
|
||||
bool isArmsExporter;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RetcodeApp
|
||||
{
|
||||
std::string retcodeAppType;
|
||||
long appId;
|
||||
std::string pid;
|
||||
std::string appName;
|
||||
|
||||
@@ -79,6 +79,7 @@ namespace AlibabaCloud
|
||||
long noticeEndTime;
|
||||
};
|
||||
std::string status;
|
||||
bool hostByAlertManager;
|
||||
MetricParam metricParam;
|
||||
int alertVersion;
|
||||
long taskId;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct RetcodeApp
|
||||
{
|
||||
std::string retcodeAppType;
|
||||
std::string type;
|
||||
long appId;
|
||||
std::string userId;
|
||||
|
||||
@@ -1275,6 +1275,42 @@ ARMSClient::GetAppApiByPageOutcomeCallable ARMSClient::getAppApiByPageCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetArmsConsoleUrlOutcome ARMSClient::getArmsConsoleUrl(const GetArmsConsoleUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetArmsConsoleUrlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetArmsConsoleUrlOutcome(GetArmsConsoleUrlResult(outcome.result()));
|
||||
else
|
||||
return GetArmsConsoleUrlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getArmsConsoleUrlAsync(const GetArmsConsoleUrlRequest& request, const GetArmsConsoleUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getArmsConsoleUrl(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetArmsConsoleUrlOutcomeCallable ARMSClient::getArmsConsoleUrlCallable(const GetArmsConsoleUrlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetArmsConsoleUrlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getArmsConsoleUrl(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1347,42 @@ ARMSClient::GetConsistencySnapshotOutcomeCallable ARMSClient::getConsistencySnap
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetExploreUrlOutcome ARMSClient::getExploreUrl(const GetExploreUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetExploreUrlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetExploreUrlOutcome(GetExploreUrlResult(outcome.result()));
|
||||
else
|
||||
return GetExploreUrlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getExploreUrlAsync(const GetExploreUrlRequest& request, const GetExploreUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getExploreUrl(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetExploreUrlOutcomeCallable ARMSClient::getExploreUrlCallable(const GetExploreUrlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetExploreUrlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getExploreUrl(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetIntegrationTokenOutcome ARMSClient::getIntegrationToken(const GetIntegrationTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -46,6 +46,10 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
|
||||
dispatchRule_.name = dispatchRuleNode["Name"].asString();
|
||||
if(!dispatchRuleNode["State"].isNull())
|
||||
dispatchRule_.state = dispatchRuleNode["State"].asString();
|
||||
if(!dispatchRuleNode["DispatchType"].isNull())
|
||||
dispatchRule_.dispatchType = dispatchRuleNode["DispatchType"].asString();
|
||||
if(!dispatchRuleNode["IsRecover"].isNull())
|
||||
dispatchRule_.isRecover = dispatchRuleNode["IsRecover"].asString() == "true";
|
||||
auto allGroupRulesNode = dispatchRuleNode["GroupRules"]["GroupRule"];
|
||||
for (auto dispatchRuleNodeGroupRulesGroupRule : allGroupRulesNode)
|
||||
{
|
||||
@@ -56,6 +60,8 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
|
||||
groupRuleObject.groupWaitTime = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupWaitTime"].asString());
|
||||
if(!dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].isNull())
|
||||
groupRuleObject.groupInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].asString());
|
||||
if(!dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].isNull())
|
||||
groupRuleObject.repeatInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].asString());
|
||||
auto allGroupingFields = value["GroupingFields"]["GroupingField"];
|
||||
for (auto value : allGroupingFields)
|
||||
groupRuleObject.groupingFields.push_back(value.asString());
|
||||
|
||||
40
arms/src/model/GetArmsConsoleUrlRequest.cc
Normal file
40
arms/src/model/GetArmsConsoleUrlRequest.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/arms/model/GetArmsConsoleUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetArmsConsoleUrlRequest;
|
||||
|
||||
GetArmsConsoleUrlRequest::GetArmsConsoleUrlRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "GetArmsConsoleUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetArmsConsoleUrlRequest::~GetArmsConsoleUrlRequest()
|
||||
{}
|
||||
|
||||
std::string GetArmsConsoleUrlRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetArmsConsoleUrlRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
51
arms/src/model/GetArmsConsoleUrlResult.cc
Normal file
51
arms/src/model/GetArmsConsoleUrlResult.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/arms/model/GetArmsConsoleUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetArmsConsoleUrlResult::GetArmsConsoleUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetArmsConsoleUrlResult::GetArmsConsoleUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetArmsConsoleUrlResult::~GetArmsConsoleUrlResult()
|
||||
{}
|
||||
|
||||
void GetArmsConsoleUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ArmsConsoleUrl"].isNull())
|
||||
armsConsoleUrl_ = value["ArmsConsoleUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetArmsConsoleUrlResult::getArmsConsoleUrl()const
|
||||
{
|
||||
return armsConsoleUrl_;
|
||||
}
|
||||
|
||||
73
arms/src/model/GetExploreUrlRequest.cc
Normal file
73
arms/src/model/GetExploreUrlRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/arms/model/GetExploreUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetExploreUrlRequest;
|
||||
|
||||
GetExploreUrlRequest::GetExploreUrlRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "GetExploreUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetExploreUrlRequest::~GetExploreUrlRequest()
|
||||
{}
|
||||
|
||||
std::string GetExploreUrlRequest::getExpression()const
|
||||
{
|
||||
return expression_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setExpression(const std::string& expression)
|
||||
{
|
||||
expression_ = expression;
|
||||
setParameter("Expression", expression);
|
||||
}
|
||||
|
||||
std::string GetExploreUrlRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetExploreUrlRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string GetExploreUrlRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetExploreUrlRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rsimganalys/model/AccessTokenResult.h>
|
||||
#include <alibabacloud/arms/model/GetExploreUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rsimganalys;
|
||||
using namespace AlibabaCloud::Rsimganalys::Model;
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
AccessTokenResult::AccessTokenResult() :
|
||||
GetExploreUrlResult::GetExploreUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AccessTokenResult::AccessTokenResult(const std::string &payload) :
|
||||
GetExploreUrlResult::GetExploreUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AccessTokenResult::~AccessTokenResult()
|
||||
GetExploreUrlResult::~GetExploreUrlResult()
|
||||
{}
|
||||
|
||||
void AccessTokenResult::parse(const std::string &payload)
|
||||
void GetExploreUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -44,7 +44,7 @@ void AccessTokenResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string AccessTokenResult::getData()const
|
||||
std::string GetExploreUrlResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
@@ -49,3 +49,25 @@ void GetTraceRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetTraceRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long GetTraceRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,10 @@ void ListDashboardsResult::parse(const std::string &payload)
|
||||
dashboardVosObject.kind = valueDashboardVosDashboardVosItem["Kind"].asString();
|
||||
if(!valueDashboardVosDashboardVosItem["NeedUpdate"].isNull())
|
||||
dashboardVosObject.needUpdate = valueDashboardVosDashboardVosItem["NeedUpdate"].asString() == "true";
|
||||
if(!valueDashboardVosDashboardVosItem["HttpUrl"].isNull())
|
||||
dashboardVosObject.httpUrl = valueDashboardVosDashboardVosItem["HttpUrl"].asString();
|
||||
if(!valueDashboardVosDashboardVosItem["HttpsUrl"].isNull())
|
||||
dashboardVosObject.httpsUrl = valueDashboardVosDashboardVosItem["HttpsUrl"].asString();
|
||||
auto allTags = value["Tags"]["Tags"];
|
||||
for (auto value : allTags)
|
||||
dashboardVosObject.tags.push_back(value.asString());
|
||||
|
||||
@@ -49,6 +49,8 @@ void ListRetcodeAppsResult::parse(const std::string &payload)
|
||||
retcodeAppsObject.pid = valueRetcodeAppsRetcodeApp["Pid"].asString();
|
||||
if(!valueRetcodeAppsRetcodeApp["AppName"].isNull())
|
||||
retcodeAppsObject.appName = valueRetcodeAppsRetcodeApp["AppName"].asString();
|
||||
if(!valueRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
|
||||
retcodeAppsObject.retcodeAppType = valueRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
|
||||
retcodeApps_.push_back(retcodeAppsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,8 @@ void SearchAlertRulesResult::parse(const std::string &payload)
|
||||
alertRuleEntityObject.title = pageBeanNodeAlertRulesAlertRuleEntity["Title"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].isNull())
|
||||
alertRuleEntityObject.contactGroupIds = pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].isNull())
|
||||
alertRuleEntityObject.hostByAlertManager = pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].asString() == "true";
|
||||
auto alarmContextNode = value["AlarmContext"];
|
||||
if(!alarmContextNode["AlarmContentTemplate"].isNull())
|
||||
alertRuleEntityObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();
|
||||
|
||||
@@ -66,6 +66,8 @@ void SearchRetcodeAppByPageResult::parse(const std::string &payload)
|
||||
retcodeAppObject.createTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["CreateTime"].asString());
|
||||
if(!pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].isNull())
|
||||
retcodeAppObject.updateTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].asString());
|
||||
if(!pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
|
||||
retcodeAppObject.retcodeAppType = pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
|
||||
pageBean_.retcodeApps.push_back(retcodeAppObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ set(bssopenapi_public_header
|
||||
include/alibabacloud/bssopenapi/BssOpenApiExport.h )
|
||||
|
||||
set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/AddAccountRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/AddAccountRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/AllocateCostUnitResourceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/AllocateCostUnitResourceResult.h
|
||||
include/alibabacloud/bssopenapi/model/ApplyInvoiceRequest.h
|
||||
@@ -29,6 +31,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/CancelOrderResult.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountResult.h
|
||||
include/alibabacloud/bssopenapi/model/ConfirmRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ConfirmRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/ConvertChargeTypeRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ConvertChargeTypeResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h
|
||||
@@ -47,8 +51,16 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/DescribeInstanceBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageTotalRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageTotalResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageTotalRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageTotalResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationRequest.h
|
||||
@@ -65,6 +77,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/GetResourcePackagePriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyAccountRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyAccountRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyCostUnitRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyCostUnitResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h
|
||||
@@ -93,6 +107,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryCostUnitResourceResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryDPUtilizationDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryDPUtilizationDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryFinancialAccountInfoRequest.h
|
||||
@@ -139,12 +155,16 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QuerySplitItemBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserOmsDataRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserOmsDataResult.h
|
||||
include/alibabacloud/bssopenapi/model/RelieveAccountRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RelieveAccountRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageResult.h
|
||||
include/alibabacloud/bssopenapi/model/SaveUserCreditRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SaveUserCreditResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetAllExpirationDayRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetAllExpirationDayResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetCreditLabelActionRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetCreditLabelActionResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetRenewalRequest.h
|
||||
@@ -168,6 +188,8 @@ set(bssopenapi_public_header_model
|
||||
|
||||
set(bssopenapi_src
|
||||
src/BssOpenApiClient.cc
|
||||
src/model/AddAccountRelationRequest.cc
|
||||
src/model/AddAccountRelationResult.cc
|
||||
src/model/AllocateCostUnitResourceRequest.cc
|
||||
src/model/AllocateCostUnitResourceResult.cc
|
||||
src/model/ApplyInvoiceRequest.cc
|
||||
@@ -176,6 +198,8 @@ set(bssopenapi_src
|
||||
src/model/CancelOrderResult.cc
|
||||
src/model/ChangeResellerConsumeAmountRequest.cc
|
||||
src/model/ChangeResellerConsumeAmountResult.cc
|
||||
src/model/ConfirmRelationRequest.cc
|
||||
src/model/ConfirmRelationResult.cc
|
||||
src/model/ConvertChargeTypeRequest.cc
|
||||
src/model/ConvertChargeTypeResult.cc
|
||||
src/model/CreateAgAccountRequest.cc
|
||||
@@ -194,8 +218,16 @@ set(bssopenapi_src
|
||||
src/model/DescribeInstanceBillResult.cc
|
||||
src/model/DescribePricingModuleRequest.cc
|
||||
src/model/DescribePricingModuleResult.cc
|
||||
src/model/DescribeResourceCoverageDetailRequest.cc
|
||||
src/model/DescribeResourceCoverageDetailResult.cc
|
||||
src/model/DescribeResourceCoverageTotalRequest.cc
|
||||
src/model/DescribeResourceCoverageTotalResult.cc
|
||||
src/model/DescribeResourcePackageProductRequest.cc
|
||||
src/model/DescribeResourcePackageProductResult.cc
|
||||
src/model/DescribeResourceUsageDetailRequest.cc
|
||||
src/model/DescribeResourceUsageDetailResult.cc
|
||||
src/model/DescribeResourceUsageTotalRequest.cc
|
||||
src/model/DescribeResourceUsageTotalResult.cc
|
||||
src/model/DescribeSplitItemBillRequest.cc
|
||||
src/model/DescribeSplitItemBillResult.cc
|
||||
src/model/EnableBillGenerationRequest.cc
|
||||
@@ -212,6 +244,8 @@ set(bssopenapi_src
|
||||
src/model/GetResourcePackagePriceResult.cc
|
||||
src/model/GetSubscriptionPriceRequest.cc
|
||||
src/model/GetSubscriptionPriceResult.cc
|
||||
src/model/ModifyAccountRelationRequest.cc
|
||||
src/model/ModifyAccountRelationResult.cc
|
||||
src/model/ModifyCostUnitRequest.cc
|
||||
src/model/ModifyCostUnitResult.cc
|
||||
src/model/ModifyInstanceRequest.cc
|
||||
@@ -240,6 +274,8 @@ set(bssopenapi_src
|
||||
src/model/QueryCostUnitResourceResult.cc
|
||||
src/model/QueryCustomerAddressListRequest.cc
|
||||
src/model/QueryCustomerAddressListResult.cc
|
||||
src/model/QueryDPUtilizationDetailRequest.cc
|
||||
src/model/QueryDPUtilizationDetailResult.cc
|
||||
src/model/QueryEvaluateListRequest.cc
|
||||
src/model/QueryEvaluateListResult.cc
|
||||
src/model/QueryFinancialAccountInfoRequest.cc
|
||||
@@ -286,12 +322,16 @@ set(bssopenapi_src
|
||||
src/model/QuerySplitItemBillResult.cc
|
||||
src/model/QueryUserOmsDataRequest.cc
|
||||
src/model/QueryUserOmsDataResult.cc
|
||||
src/model/RelieveAccountRelationRequest.cc
|
||||
src/model/RelieveAccountRelationResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/RenewResourcePackageRequest.cc
|
||||
src/model/RenewResourcePackageResult.cc
|
||||
src/model/SaveUserCreditRequest.cc
|
||||
src/model/SaveUserCreditResult.cc
|
||||
src/model/SetAllExpirationDayRequest.cc
|
||||
src/model/SetAllExpirationDayResult.cc
|
||||
src/model/SetCreditLabelActionRequest.cc
|
||||
src/model/SetCreditLabelActionResult.cc
|
||||
src/model/SetRenewalRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "BssOpenApiExport.h"
|
||||
#include "model/AddAccountRelationRequest.h"
|
||||
#include "model/AddAccountRelationResult.h"
|
||||
#include "model/AllocateCostUnitResourceRequest.h"
|
||||
#include "model/AllocateCostUnitResourceResult.h"
|
||||
#include "model/ApplyInvoiceRequest.h"
|
||||
@@ -30,6 +32,8 @@
|
||||
#include "model/CancelOrderResult.h"
|
||||
#include "model/ChangeResellerConsumeAmountRequest.h"
|
||||
#include "model/ChangeResellerConsumeAmountResult.h"
|
||||
#include "model/ConfirmRelationRequest.h"
|
||||
#include "model/ConfirmRelationResult.h"
|
||||
#include "model/ConvertChargeTypeRequest.h"
|
||||
#include "model/ConvertChargeTypeResult.h"
|
||||
#include "model/CreateAgAccountRequest.h"
|
||||
@@ -48,8 +52,16 @@
|
||||
#include "model/DescribeInstanceBillResult.h"
|
||||
#include "model/DescribePricingModuleRequest.h"
|
||||
#include "model/DescribePricingModuleResult.h"
|
||||
#include "model/DescribeResourceCoverageDetailRequest.h"
|
||||
#include "model/DescribeResourceCoverageDetailResult.h"
|
||||
#include "model/DescribeResourceCoverageTotalRequest.h"
|
||||
#include "model/DescribeResourceCoverageTotalResult.h"
|
||||
#include "model/DescribeResourcePackageProductRequest.h"
|
||||
#include "model/DescribeResourcePackageProductResult.h"
|
||||
#include "model/DescribeResourceUsageDetailRequest.h"
|
||||
#include "model/DescribeResourceUsageDetailResult.h"
|
||||
#include "model/DescribeResourceUsageTotalRequest.h"
|
||||
#include "model/DescribeResourceUsageTotalResult.h"
|
||||
#include "model/DescribeSplitItemBillRequest.h"
|
||||
#include "model/DescribeSplitItemBillResult.h"
|
||||
#include "model/EnableBillGenerationRequest.h"
|
||||
@@ -66,6 +78,8 @@
|
||||
#include "model/GetResourcePackagePriceResult.h"
|
||||
#include "model/GetSubscriptionPriceRequest.h"
|
||||
#include "model/GetSubscriptionPriceResult.h"
|
||||
#include "model/ModifyAccountRelationRequest.h"
|
||||
#include "model/ModifyAccountRelationResult.h"
|
||||
#include "model/ModifyCostUnitRequest.h"
|
||||
#include "model/ModifyCostUnitResult.h"
|
||||
#include "model/ModifyInstanceRequest.h"
|
||||
@@ -94,6 +108,8 @@
|
||||
#include "model/QueryCostUnitResourceResult.h"
|
||||
#include "model/QueryCustomerAddressListRequest.h"
|
||||
#include "model/QueryCustomerAddressListResult.h"
|
||||
#include "model/QueryDPUtilizationDetailRequest.h"
|
||||
#include "model/QueryDPUtilizationDetailResult.h"
|
||||
#include "model/QueryEvaluateListRequest.h"
|
||||
#include "model/QueryEvaluateListResult.h"
|
||||
#include "model/QueryFinancialAccountInfoRequest.h"
|
||||
@@ -140,12 +156,16 @@
|
||||
#include "model/QuerySplitItemBillResult.h"
|
||||
#include "model/QueryUserOmsDataRequest.h"
|
||||
#include "model/QueryUserOmsDataResult.h"
|
||||
#include "model/RelieveAccountRelationRequest.h"
|
||||
#include "model/RelieveAccountRelationResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/RenewResourcePackageRequest.h"
|
||||
#include "model/RenewResourcePackageResult.h"
|
||||
#include "model/SaveUserCreditRequest.h"
|
||||
#include "model/SaveUserCreditResult.h"
|
||||
#include "model/SetAllExpirationDayRequest.h"
|
||||
#include "model/SetAllExpirationDayResult.h"
|
||||
#include "model/SetCreditLabelActionRequest.h"
|
||||
#include "model/SetCreditLabelActionResult.h"
|
||||
#include "model/SetRenewalRequest.h"
|
||||
@@ -175,6 +195,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT BssOpenApiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddAccountRelationResult> AddAccountRelationOutcome;
|
||||
typedef std::future<AddAccountRelationOutcome> AddAccountRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::AddAccountRelationRequest&, const AddAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAccountRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::AllocateCostUnitResourceResult> AllocateCostUnitResourceOutcome;
|
||||
typedef std::future<AllocateCostUnitResourceOutcome> AllocateCostUnitResourceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::AllocateCostUnitResourceRequest&, const AllocateCostUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateCostUnitResourceAsyncHandler;
|
||||
@@ -187,6 +210,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ChangeResellerConsumeAmountResult> ChangeResellerConsumeAmountOutcome;
|
||||
typedef std::future<ChangeResellerConsumeAmountOutcome> ChangeResellerConsumeAmountOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ChangeResellerConsumeAmountRequest&, const ChangeResellerConsumeAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResellerConsumeAmountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfirmRelationResult> ConfirmRelationOutcome;
|
||||
typedef std::future<ConfirmRelationOutcome> ConfirmRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ConfirmRelationRequest&, const ConfirmRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConvertChargeTypeResult> ConvertChargeTypeOutcome;
|
||||
typedef std::future<ConvertChargeTypeOutcome> ConvertChargeTypeOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ConvertChargeTypeRequest&, const ConvertChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertChargeTypeAsyncHandler;
|
||||
@@ -214,9 +240,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribePricingModuleResult> DescribePricingModuleOutcome;
|
||||
typedef std::future<DescribePricingModuleOutcome> DescribePricingModuleOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribePricingModuleRequest&, const DescribePricingModuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePricingModuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceCoverageDetailResult> DescribeResourceCoverageDetailOutcome;
|
||||
typedef std::future<DescribeResourceCoverageDetailOutcome> DescribeResourceCoverageDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceCoverageDetailRequest&, const DescribeResourceCoverageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceCoverageDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceCoverageTotalResult> DescribeResourceCoverageTotalOutcome;
|
||||
typedef std::future<DescribeResourceCoverageTotalOutcome> DescribeResourceCoverageTotalOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceCoverageTotalRequest&, const DescribeResourceCoverageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceCoverageTotalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourcePackageProductResult> DescribeResourcePackageProductOutcome;
|
||||
typedef std::future<DescribeResourcePackageProductOutcome> DescribeResourcePackageProductOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourcePackageProductRequest&, const DescribeResourcePackageProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourcePackageProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceUsageDetailResult> DescribeResourceUsageDetailOutcome;
|
||||
typedef std::future<DescribeResourceUsageDetailOutcome> DescribeResourceUsageDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceUsageDetailRequest&, const DescribeResourceUsageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceUsageDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceUsageTotalResult> DescribeResourceUsageTotalOutcome;
|
||||
typedef std::future<DescribeResourceUsageTotalOutcome> DescribeResourceUsageTotalOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceUsageTotalRequest&, const DescribeResourceUsageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceUsageTotalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSplitItemBillResult> DescribeSplitItemBillOutcome;
|
||||
typedef std::future<DescribeSplitItemBillOutcome> DescribeSplitItemBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSplitItemBillRequest&, const DescribeSplitItemBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSplitItemBillAsyncHandler;
|
||||
@@ -241,6 +279,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetSubscriptionPriceResult> GetSubscriptionPriceOutcome;
|
||||
typedef std::future<GetSubscriptionPriceOutcome> GetSubscriptionPriceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetSubscriptionPriceRequest&, const GetSubscriptionPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubscriptionPriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAccountRelationResult> ModifyAccountRelationOutcome;
|
||||
typedef std::future<ModifyAccountRelationOutcome> ModifyAccountRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyAccountRelationRequest&, const ModifyAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyCostUnitResult> ModifyCostUnitOutcome;
|
||||
typedef std::future<ModifyCostUnitOutcome> ModifyCostUnitOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyCostUnitRequest&, const ModifyCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCostUnitAsyncHandler;
|
||||
@@ -283,6 +324,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryCustomerAddressListResult> QueryCustomerAddressListOutcome;
|
||||
typedef std::future<QueryCustomerAddressListOutcome> QueryCustomerAddressListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCustomerAddressListRequest&, const QueryCustomerAddressListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerAddressListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDPUtilizationDetailResult> QueryDPUtilizationDetailOutcome;
|
||||
typedef std::future<QueryDPUtilizationDetailOutcome> QueryDPUtilizationDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryDPUtilizationDetailRequest&, const QueryDPUtilizationDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDPUtilizationDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryEvaluateListResult> QueryEvaluateListOutcome;
|
||||
typedef std::future<QueryEvaluateListOutcome> QueryEvaluateListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEvaluateListRequest&, const QueryEvaluateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEvaluateListAsyncHandler;
|
||||
@@ -352,6 +396,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryUserOmsDataResult> QueryUserOmsDataOutcome;
|
||||
typedef std::future<QueryUserOmsDataOutcome> QueryUserOmsDataOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserOmsDataRequest&, const QueryUserOmsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserOmsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::RelieveAccountRelationResult> RelieveAccountRelationOutcome;
|
||||
typedef std::future<RelieveAccountRelationOutcome> RelieveAccountRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RelieveAccountRelationRequest&, const RelieveAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RelieveAccountRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
@@ -361,6 +408,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SaveUserCreditResult> SaveUserCreditOutcome;
|
||||
typedef std::future<SaveUserCreditOutcome> SaveUserCreditOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SaveUserCreditRequest&, const SaveUserCreditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveUserCreditAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetAllExpirationDayResult> SetAllExpirationDayOutcome;
|
||||
typedef std::future<SetAllExpirationDayOutcome> SetAllExpirationDayOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetAllExpirationDayRequest&, const SetAllExpirationDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAllExpirationDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetCreditLabelActionResult> SetCreditLabelActionOutcome;
|
||||
typedef std::future<SetCreditLabelActionOutcome> SetCreditLabelActionOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetCreditLabelActionRequest&, const SetCreditLabelActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCreditLabelActionAsyncHandler;
|
||||
@@ -396,6 +446,9 @@ namespace AlibabaCloud
|
||||
BssOpenApiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
BssOpenApiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~BssOpenApiClient();
|
||||
AddAccountRelationOutcome addAccountRelation(const Model::AddAccountRelationRequest &request)const;
|
||||
void addAccountRelationAsync(const Model::AddAccountRelationRequest& request, const AddAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddAccountRelationOutcomeCallable addAccountRelationCallable(const Model::AddAccountRelationRequest& request) const;
|
||||
AllocateCostUnitResourceOutcome allocateCostUnitResource(const Model::AllocateCostUnitResourceRequest &request)const;
|
||||
void allocateCostUnitResourceAsync(const Model::AllocateCostUnitResourceRequest& request, const AllocateCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateCostUnitResourceOutcomeCallable allocateCostUnitResourceCallable(const Model::AllocateCostUnitResourceRequest& request) const;
|
||||
@@ -408,6 +461,9 @@ namespace AlibabaCloud
|
||||
ChangeResellerConsumeAmountOutcome changeResellerConsumeAmount(const Model::ChangeResellerConsumeAmountRequest &request)const;
|
||||
void changeResellerConsumeAmountAsync(const Model::ChangeResellerConsumeAmountRequest& request, const ChangeResellerConsumeAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResellerConsumeAmountOutcomeCallable changeResellerConsumeAmountCallable(const Model::ChangeResellerConsumeAmountRequest& request) const;
|
||||
ConfirmRelationOutcome confirmRelation(const Model::ConfirmRelationRequest &request)const;
|
||||
void confirmRelationAsync(const Model::ConfirmRelationRequest& request, const ConfirmRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfirmRelationOutcomeCallable confirmRelationCallable(const Model::ConfirmRelationRequest& request) const;
|
||||
ConvertChargeTypeOutcome convertChargeType(const Model::ConvertChargeTypeRequest &request)const;
|
||||
void convertChargeTypeAsync(const Model::ConvertChargeTypeRequest& request, const ConvertChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConvertChargeTypeOutcomeCallable convertChargeTypeCallable(const Model::ConvertChargeTypeRequest& request) const;
|
||||
@@ -435,9 +491,21 @@ namespace AlibabaCloud
|
||||
DescribePricingModuleOutcome describePricingModule(const Model::DescribePricingModuleRequest &request)const;
|
||||
void describePricingModuleAsync(const Model::DescribePricingModuleRequest& request, const DescribePricingModuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePricingModuleOutcomeCallable describePricingModuleCallable(const Model::DescribePricingModuleRequest& request) const;
|
||||
DescribeResourceCoverageDetailOutcome describeResourceCoverageDetail(const Model::DescribeResourceCoverageDetailRequest &request)const;
|
||||
void describeResourceCoverageDetailAsync(const Model::DescribeResourceCoverageDetailRequest& request, const DescribeResourceCoverageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceCoverageDetailOutcomeCallable describeResourceCoverageDetailCallable(const Model::DescribeResourceCoverageDetailRequest& request) const;
|
||||
DescribeResourceCoverageTotalOutcome describeResourceCoverageTotal(const Model::DescribeResourceCoverageTotalRequest &request)const;
|
||||
void describeResourceCoverageTotalAsync(const Model::DescribeResourceCoverageTotalRequest& request, const DescribeResourceCoverageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceCoverageTotalOutcomeCallable describeResourceCoverageTotalCallable(const Model::DescribeResourceCoverageTotalRequest& request) const;
|
||||
DescribeResourcePackageProductOutcome describeResourcePackageProduct(const Model::DescribeResourcePackageProductRequest &request)const;
|
||||
void describeResourcePackageProductAsync(const Model::DescribeResourcePackageProductRequest& request, const DescribeResourcePackageProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourcePackageProductOutcomeCallable describeResourcePackageProductCallable(const Model::DescribeResourcePackageProductRequest& request) const;
|
||||
DescribeResourceUsageDetailOutcome describeResourceUsageDetail(const Model::DescribeResourceUsageDetailRequest &request)const;
|
||||
void describeResourceUsageDetailAsync(const Model::DescribeResourceUsageDetailRequest& request, const DescribeResourceUsageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceUsageDetailOutcomeCallable describeResourceUsageDetailCallable(const Model::DescribeResourceUsageDetailRequest& request) const;
|
||||
DescribeResourceUsageTotalOutcome describeResourceUsageTotal(const Model::DescribeResourceUsageTotalRequest &request)const;
|
||||
void describeResourceUsageTotalAsync(const Model::DescribeResourceUsageTotalRequest& request, const DescribeResourceUsageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceUsageTotalOutcomeCallable describeResourceUsageTotalCallable(const Model::DescribeResourceUsageTotalRequest& request) const;
|
||||
DescribeSplitItemBillOutcome describeSplitItemBill(const Model::DescribeSplitItemBillRequest &request)const;
|
||||
void describeSplitItemBillAsync(const Model::DescribeSplitItemBillRequest& request, const DescribeSplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSplitItemBillOutcomeCallable describeSplitItemBillCallable(const Model::DescribeSplitItemBillRequest& request) const;
|
||||
@@ -462,6 +530,9 @@ namespace AlibabaCloud
|
||||
GetSubscriptionPriceOutcome getSubscriptionPrice(const Model::GetSubscriptionPriceRequest &request)const;
|
||||
void getSubscriptionPriceAsync(const Model::GetSubscriptionPriceRequest& request, const GetSubscriptionPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSubscriptionPriceOutcomeCallable getSubscriptionPriceCallable(const Model::GetSubscriptionPriceRequest& request) const;
|
||||
ModifyAccountRelationOutcome modifyAccountRelation(const Model::ModifyAccountRelationRequest &request)const;
|
||||
void modifyAccountRelationAsync(const Model::ModifyAccountRelationRequest& request, const ModifyAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountRelationOutcomeCallable modifyAccountRelationCallable(const Model::ModifyAccountRelationRequest& request) const;
|
||||
ModifyCostUnitOutcome modifyCostUnit(const Model::ModifyCostUnitRequest &request)const;
|
||||
void modifyCostUnitAsync(const Model::ModifyCostUnitRequest& request, const ModifyCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCostUnitOutcomeCallable modifyCostUnitCallable(const Model::ModifyCostUnitRequest& request) const;
|
||||
@@ -504,6 +575,9 @@ namespace AlibabaCloud
|
||||
QueryCustomerAddressListOutcome queryCustomerAddressList(const Model::QueryCustomerAddressListRequest &request)const;
|
||||
void queryCustomerAddressListAsync(const Model::QueryCustomerAddressListRequest& request, const QueryCustomerAddressListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomerAddressListOutcomeCallable queryCustomerAddressListCallable(const Model::QueryCustomerAddressListRequest& request) const;
|
||||
QueryDPUtilizationDetailOutcome queryDPUtilizationDetail(const Model::QueryDPUtilizationDetailRequest &request)const;
|
||||
void queryDPUtilizationDetailAsync(const Model::QueryDPUtilizationDetailRequest& request, const QueryDPUtilizationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDPUtilizationDetailOutcomeCallable queryDPUtilizationDetailCallable(const Model::QueryDPUtilizationDetailRequest& request) const;
|
||||
QueryEvaluateListOutcome queryEvaluateList(const Model::QueryEvaluateListRequest &request)const;
|
||||
void queryEvaluateListAsync(const Model::QueryEvaluateListRequest& request, const QueryEvaluateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryEvaluateListOutcomeCallable queryEvaluateListCallable(const Model::QueryEvaluateListRequest& request) const;
|
||||
@@ -573,6 +647,9 @@ namespace AlibabaCloud
|
||||
QueryUserOmsDataOutcome queryUserOmsData(const Model::QueryUserOmsDataRequest &request)const;
|
||||
void queryUserOmsDataAsync(const Model::QueryUserOmsDataRequest& request, const QueryUserOmsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserOmsDataOutcomeCallable queryUserOmsDataCallable(const Model::QueryUserOmsDataRequest& request) const;
|
||||
RelieveAccountRelationOutcome relieveAccountRelation(const Model::RelieveAccountRelationRequest &request)const;
|
||||
void relieveAccountRelationAsync(const Model::RelieveAccountRelationRequest& request, const RelieveAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RelieveAccountRelationOutcomeCallable relieveAccountRelationCallable(const Model::RelieveAccountRelationRequest& request) const;
|
||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||
@@ -582,6 +659,9 @@ namespace AlibabaCloud
|
||||
SaveUserCreditOutcome saveUserCredit(const Model::SaveUserCreditRequest &request)const;
|
||||
void saveUserCreditAsync(const Model::SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveUserCreditOutcomeCallable saveUserCreditCallable(const Model::SaveUserCreditRequest& request) const;
|
||||
SetAllExpirationDayOutcome setAllExpirationDay(const Model::SetAllExpirationDayRequest &request)const;
|
||||
void setAllExpirationDayAsync(const Model::SetAllExpirationDayRequest& request, const SetAllExpirationDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetAllExpirationDayOutcomeCallable setAllExpirationDayCallable(const Model::SetAllExpirationDayRequest& request) const;
|
||||
SetCreditLabelActionOutcome setCreditLabelAction(const Model::SetCreditLabelActionRequest &request)const;
|
||||
void setCreditLabelActionAsync(const Model::SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetCreditLabelActionOutcomeCallable setCreditLabelActionCallable(const Model::SetCreditLabelActionRequest& request) const;
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddAccountRelationRequest();
|
||||
~AddAccountRelationRequest();
|
||||
|
||||
std::string getChildNick()const;
|
||||
void setChildNick(const std::string& childNick);
|
||||
std::string getRelationType()const;
|
||||
void setRelationType(const std::string& relationType);
|
||||
long getParentUserId()const;
|
||||
void setParentUserId(long parentUserId);
|
||||
long getChildUserId()const;
|
||||
void setChildUserId(long childUserId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::vector<std::string> getPermissionCodes()const;
|
||||
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
|
||||
std::vector<std::string> getRoleCodes()const;
|
||||
void setRoleCodes(const std::vector<std::string>& roleCodes);
|
||||
|
||||
private:
|
||||
std::string childNick_;
|
||||
std::string relationType_;
|
||||
long parentUserId_;
|
||||
long childUserId_;
|
||||
std::string requestId_;
|
||||
std::vector<std::string> permissionCodes_;
|
||||
std::vector<std::string> roleCodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string hostId;
|
||||
};
|
||||
|
||||
|
||||
AddAccountRelationResult();
|
||||
explicit AddAccountRelationResult(const std::string &payload);
|
||||
~AddAccountRelationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONRESULT_H_
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setCustomerId(long customerId);
|
||||
std::vector<long> getSelectedIds()const;
|
||||
void setSelectedIds(const std::vector<long>& selectedIds);
|
||||
std::string getUserRemark()const;
|
||||
void setUserRemark(const std::string& userRemark);
|
||||
|
||||
private:
|
||||
int invoicingType_;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
bool invoiceByAmount_;
|
||||
long customerId_;
|
||||
std::vector<long> selectedIds_;
|
||||
std::string userRemark_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfirmRelationRequest();
|
||||
~ConfirmRelationRequest();
|
||||
|
||||
std::string getRelationType()const;
|
||||
void setRelationType(const std::string& relationType);
|
||||
long getParentUserId()const;
|
||||
void setParentUserId(long parentUserId);
|
||||
std::string getConfirmCode()const;
|
||||
void setConfirmCode(const std::string& confirmCode);
|
||||
long getChildUserId()const;
|
||||
void setChildUserId(long childUserId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::vector<std::string> getPermissionCodes()const;
|
||||
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
|
||||
|
||||
private:
|
||||
std::string relationType_;
|
||||
long parentUserId_;
|
||||
std::string confirmCode_;
|
||||
long childUserId_;
|
||||
std::string requestId_;
|
||||
std::vector<std::string> permissionCodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_BSSOPENAPI_MODEL_CONFIRMRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string hostId;
|
||||
};
|
||||
|
||||
|
||||
ConfirmRelationResult();
|
||||
explicit ConfirmRelationResult(const std::string &payload);
|
||||
~ConfirmRelationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONRESULT_H_
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
std::string billAccountID;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
@@ -62,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string zone;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string billingItem;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
@@ -74,6 +76,7 @@ namespace AlibabaCloud
|
||||
float pretaxAmount;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string billAccountName;
|
||||
std::string tag;
|
||||
};
|
||||
std::string billingCycle;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user