Compare commits

..

3 Commits

Author SHA1 Message Date
sdk-team
52c309ecd7 GetPlayInfo Add EncryptMode. 2024-10-11 03:08:35 +00:00
sdk-team
d00f8d0fb2 Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis. 2024-10-10 09:55:45 +00:00
sdk-team
4393e6e44f Support Android badge. 2024-10-10 02:00:52 +00:00
51 changed files with 2716 additions and 550 deletions

View File

@@ -1 +1 @@
1.36.1995
1.36.1998

View File

@@ -30,13 +30,10 @@ class ALIBABACLOUD_PUSH_EXPORT CheckCertificateRequest : public RpcServiceReques
public:
CheckCertificateRequest();
~CheckCertificateRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const;
void setAppKey(long appKey);
private:
std::string accessKeyId_;
long appKey_;
};
} // namespace Model

View File

@@ -36,6 +36,8 @@ public:
int sendSpeed;
std::string androidNotificationHuaweiChannel;
std::string androidPopupActivity;
int harmonyNotifyId;
std::string harmonyRenderStyle;
std::string iOSRemindBody;
bool trim;
std::string androidMessageVivoCategory;
@@ -49,51 +51,71 @@ public:
std::string expireTime;
std::string androidImageUrl;
int androidHonorTargetUserType;
std::string harmonyRemindBody;
std::string androidNotificationVivoChannel;
std::string androidVivoReceiptId;
std::string iOSNotificationCategory;
std::string androidNotificationXiaomiChannel;
std::string harmonyAction;
bool storeOffline;
double iOSRelevanceScore;
int androidVivoPushMode;
std::string androidInboxBody;
std::string jobKey;
std::string harmonyReceiptId;
std::string androidOpenUrl;
int androidBadgeSetNum;
std::string androidXiaoMiNotifyBody;
std::string iOSSubtitle;
std::string androidXiaomiBigPictureUrl;
std::string harmonyCategory;
bool iOSRemind;
std::string iOSNotificationThreadId;
int androidHuaweiTargetUserType;
bool harmonyRemind;
std::string androidMusic;
bool harmonyExtensionPush;
std::string iOSNotificationCollapseId;
std::string androidMessageHuaweiUrgency;
std::string pushType;
std::string iOSInterruptionLevel;
std::string harmonyExtensionExtraData;
std::string androidExtParameters;
std::string harmonyImageUrl;
int iOSBadge;
std::string androidBigBody;
bool iOSBadgeAutoIncrement;
std::string androidOpenType;
std::string harmonyRemindTitle;
std::string title;
std::string androidBadgeClass;
int harmonyBadgeAddNum;
bool harmonyTestMessage;
std::string androidRenderStyle;
std::string iOSExtParameters;
int androidBadgeAddNum;
std::string androidHuaweiReceiptId;
std::string androidNotificationHonorChannel;
std::string androidXiaomiImageUrl;
int androidTargetUserType;
std::string harmonyUri;
std::string androidPopupBody;
std::string harmonyExtParameters;
std::string androidBigPictureUrl;
bool iOSSilentNotification;
std::string androidNotificationGroup;
std::string sendChannels;
std::string harmonyActionType;
std::string target;
std::string harmonyNotificationSlotType;
std::string androidBigTitle;
std::string androidNotificationChannel;
bool androidRemind;
std::string harmonyInboxContent;
std::string androidActivity;
int androidNotificationNotifyId;
std::string targetValue;
int harmonyBadgeSetNum;
std::string androidXiaoMiNotifyTitle;
std::string androidXiaoMiActivity;
};

View File

@@ -30,16 +30,16 @@ class ALIBABACLOUD_PUSH_EXPORT PushMessageToAndroidRequest : public RpcServiceRe
public:
PushMessageToAndroidRequest();
~PushMessageToAndroidRequest();
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
std::string getTitle() const;
void setTitle(const std::string &title);
std::string getBody() const;
void setBody(const std::string &body);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getTarget() const;
void setTarget(const std::string &target);
long getAppKey() const;
@@ -48,11 +48,11 @@ public:
void setTargetValue(const std::string &targetValue);
private:
bool storeOffline_;
std::string title_;
std::string body_;
std::string jobKey_;
std::string accessKeyId_;
bool storeOffline_;
std::string jobKey_;
std::string target_;
long appKey_;
std::string targetValue_;

View File

@@ -30,16 +30,16 @@ class ALIBABACLOUD_PUSH_EXPORT PushMessageToiOSRequest : public RpcServiceReques
public:
PushMessageToiOSRequest();
~PushMessageToiOSRequest();
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
std::string getTitle() const;
void setTitle(const std::string &title);
std::string getBody() const;
void setBody(const std::string &body);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getTarget() const;
void setTarget(const std::string &target);
long getAppKey() const;
@@ -48,11 +48,11 @@ public:
void setTargetValue(const std::string &targetValue);
private:
bool storeOffline_;
std::string title_;
std::string body_;
std::string jobKey_;
std::string accessKeyId_;
bool storeOffline_;
std::string jobKey_;
std::string target_;
long appKey_;
std::string targetValue_;

View File

@@ -30,18 +30,18 @@ class ALIBABACLOUD_PUSH_EXPORT PushNoticeToAndroidRequest : public RpcServiceReq
public:
PushNoticeToAndroidRequest();
~PushNoticeToAndroidRequest();
std::string getExtParameters() const;
void setExtParameters(const std::string &extParameters);
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
std::string getTitle() const;
void setTitle(const std::string &title);
std::string getBody() const;
void setBody(const std::string &body);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getExtParameters() const;
void setExtParameters(const std::string &extParameters);
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getTarget() const;
void setTarget(const std::string &target);
long getAppKey() const;
@@ -50,12 +50,12 @@ public:
void setTargetValue(const std::string &targetValue);
private:
std::string extParameters_;
bool storeOffline_;
std::string title_;
std::string body_;
std::string jobKey_;
std::string accessKeyId_;
std::string extParameters_;
bool storeOffline_;
std::string jobKey_;
std::string target_;
long appKey_;
std::string targetValue_;

View File

@@ -30,18 +30,18 @@ class ALIBABACLOUD_PUSH_EXPORT PushNoticeToiOSRequest : public RpcServiceRequest
public:
PushNoticeToiOSRequest();
~PushNoticeToiOSRequest();
std::string getExtParameters() const;
void setExtParameters(const std::string &extParameters);
std::string getApnsEnv() const;
void setApnsEnv(const std::string &apnsEnv);
std::string getTitle() const;
void setTitle(const std::string &title);
std::string getBody() const;
void setBody(const std::string &body);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getExtParameters() const;
void setExtParameters(const std::string &extParameters);
std::string getApnsEnv() const;
void setApnsEnv(const std::string &apnsEnv);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getTarget() const;
void setTarget(const std::string &target);
long getAppKey() const;
@@ -50,12 +50,12 @@ public:
void setTargetValue(const std::string &targetValue);
private:
std::string extParameters_;
std::string apnsEnv_;
std::string title_;
std::string body_;
std::string jobKey_;
std::string accessKeyId_;
std::string extParameters_;
std::string apnsEnv_;
std::string jobKey_;
std::string target_;
long appKey_;
std::string targetValue_;

View File

@@ -32,132 +32,76 @@ public:
~PushRequest();
int getAndroidNotificationBarType() const;
void setAndroidNotificationBarType(int androidNotificationBarType);
int getSmsSendPolicy() const;
void setSmsSendPolicy(int smsSendPolicy);
std::string getBody() const;
void setBody(const std::string &body);
std::string getDeviceType() const;
void setDeviceType(const std::string &deviceType);
std::string getPushTime() const;
void setPushTime(const std::string &pushTime);
int getSendSpeed() const;
void setSendSpeed(int sendSpeed);
std::string getAndroidNotificationHuaweiChannel() const;
void setAndroidNotificationHuaweiChannel(const std::string &androidNotificationHuaweiChannel);
std::string getAndroidPopupActivity() const;
void setAndroidPopupActivity(const std::string &androidPopupActivity);
std::string getIOSRemindBody() const;
void setIOSRemindBody(const std::string &iOSRemindBody);
bool getTrim() const;
void setTrim(bool trim);
std::string getAndroidMessageVivoCategory() const;
void setAndroidMessageVivoCategory(const std::string &androidMessageVivoCategory);
std::string getAndroidNotifyType() const;
void setAndroidNotifyType(const std::string &androidNotifyType);
std::string getAndroidPopupTitle() const;
void setAndroidPopupTitle(const std::string &androidPopupTitle);
std::string getAndroidMessageHuaweiCategory() const;
void setAndroidMessageHuaweiCategory(const std::string &androidMessageHuaweiCategory);
std::string getIOSMusic() const;
void setIOSMusic(const std::string &iOSMusic);
std::string getIOSApnsEnv() const;
void setIOSApnsEnv(const std::string &iOSApnsEnv);
bool getIOSMutableContent() const;
void setIOSMutableContent(bool iOSMutableContent);
int getAndroidNotificationBarPriority() const;
void setAndroidNotificationBarPriority(int androidNotificationBarPriority);
std::string getExpireTime() const;
void setExpireTime(const std::string &expireTime);
std::string getAndroidImageUrl() const;
void setAndroidImageUrl(const std::string &androidImageUrl);
int getAndroidHonorTargetUserType() const;
void setAndroidHonorTargetUserType(int androidHonorTargetUserType);
std::string getAndroidNotificationVivoChannel() const;
void setAndroidNotificationVivoChannel(const std::string &androidNotificationVivoChannel);
std::string getAndroidVivoReceiptId() const;
void setAndroidVivoReceiptId(const std::string &androidVivoReceiptId);
std::string getIOSNotificationCategory() const;
void setIOSNotificationCategory(const std::string &iOSNotificationCategory);
std::string getAndroidNotificationXiaomiChannel() const;
void setAndroidNotificationXiaomiChannel(const std::string &androidNotificationXiaomiChannel);
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
double getIOSRelevanceScore() const;
void setIOSRelevanceScore(double iOSRelevanceScore);
std::string getSmsParams() const;
void setSmsParams(const std::string &smsParams);
int getAndroidVivoPushMode() const;
void setAndroidVivoPushMode(int androidVivoPushMode);
std::string getAndroidInboxBody() const;
void setAndroidInboxBody(const std::string &androidInboxBody);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getAndroidOpenUrl() const;
void setAndroidOpenUrl(const std::string &androidOpenUrl);
std::string getAndroidXiaoMiNotifyBody() const;
void setAndroidXiaoMiNotifyBody(const std::string &androidXiaoMiNotifyBody);
std::string getIOSSubtitle() const;
void setIOSSubtitle(const std::string &iOSSubtitle);
std::string getAndroidXiaomiBigPictureUrl() const;
void setAndroidXiaomiBigPictureUrl(const std::string &androidXiaomiBigPictureUrl);
std::string getHarmonyCategory() const;
void setHarmonyCategory(const std::string &harmonyCategory);
bool getIOSRemind() const;
void setIOSRemind(bool iOSRemind);
std::string getIOSNotificationThreadId() const;
void setIOSNotificationThreadId(const std::string &iOSNotificationThreadId);
int getAndroidHuaweiTargetUserType() const;
void setAndroidHuaweiTargetUserType(int androidHuaweiTargetUserType);
std::string getAndroidMusic() const;
void setAndroidMusic(const std::string &androidMusic);
std::string getIOSNotificationCollapseId() const;
void setIOSNotificationCollapseId(const std::string &iOSNotificationCollapseId);
std::string getAndroidMessageHuaweiUrgency() const;
void setAndroidMessageHuaweiUrgency(const std::string &androidMessageHuaweiUrgency);
std::string getPushType() const;
void setPushType(const std::string &pushType);
std::string getIOSInterruptionLevel() const;
void setIOSInterruptionLevel(const std::string &iOSInterruptionLevel);
std::string getAndroidExtParameters() const;
void setAndroidExtParameters(const std::string &androidExtParameters);
int getIOSBadge() const;
void setIOSBadge(int iOSBadge);
std::string getAndroidBigBody() const;
void setAndroidBigBody(const std::string &androidBigBody);
bool getIOSBadgeAutoIncrement() const;
void setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement);
std::string getAndroidOpenType() const;
void setAndroidOpenType(const std::string &androidOpenType);
std::string getTitle() const;
void setTitle(const std::string &title);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getHarmonyRemindTitle() const;
void setHarmonyRemindTitle(const std::string &harmonyRemindTitle);
std::string getAndroidBadgeClass() const;
void setAndroidBadgeClass(const std::string &androidBadgeClass);
int getSmsDelaySecs() const;
void setSmsDelaySecs(int smsDelaySecs);
int getAndroidRenderStyle() const;
void setAndroidRenderStyle(int androidRenderStyle);
std::string getIOSExtParameters() const;
void setIOSExtParameters(const std::string &iOSExtParameters);
std::string getAndroidHuaweiReceiptId() const;
void setAndroidHuaweiReceiptId(const std::string &androidHuaweiReceiptId);
std::string getAndroidNotificationHonorChannel() const;
void setAndroidNotificationHonorChannel(const std::string &androidNotificationHonorChannel);
std::string getAndroidXiaomiImageUrl() const;
void setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl);
int getAndroidTargetUserType() const;
void setAndroidTargetUserType(int androidTargetUserType);
std::string getSmsTemplateName() const;
void setSmsTemplateName(const std::string &smsTemplateName);
std::string getAndroidPopupBody() const;
void setAndroidPopupBody(const std::string &androidPopupBody);
std::string getHarmonyUri() const;
void setHarmonyUri(const std::string &harmonyUri);
std::string getHarmonyExtParameters() const;
void setHarmonyExtParameters(const std::string &harmonyExtParameters);
std::string getAndroidBigPictureUrl() const;
void setAndroidBigPictureUrl(const std::string &androidBigPictureUrl);
bool getIOSSilentNotification() const;
void setIOSSilentNotification(bool iOSSilentNotification);
std::string getAndroidNotificationGroup() const;
void setAndroidNotificationGroup(const std::string &androidNotificationGroup);
std::string getSendChannels() const;
void setSendChannels(const std::string &sendChannels);
std::string getTarget() const;
void setTarget(const std::string &target);
std::string getHarmonyNotificationSlotType() const;
void setHarmonyNotificationSlotType(const std::string &harmonyNotificationSlotType);
std::string getAndroidBigTitle() const;
void setAndroidBigTitle(const std::string &androidBigTitle);
std::string getAndroidNotificationChannel() const;
@@ -174,76 +118,148 @@ public:
void setAppKey(long appKey);
std::string getTargetValue() const;
void setTargetValue(const std::string &targetValue);
int getHarmonyBadgeSetNum() const;
void setHarmonyBadgeSetNum(int harmonyBadgeSetNum);
std::string getAndroidXiaoMiNotifyTitle() const;
void setAndroidXiaoMiNotifyTitle(const std::string &androidXiaoMiNotifyTitle);
int getSmsSendPolicy() const;
void setSmsSendPolicy(int smsSendPolicy);
std::string getBody() const;
void setBody(const std::string &body);
std::string getAndroidNotificationHuaweiChannel() const;
void setAndroidNotificationHuaweiChannel(const std::string &androidNotificationHuaweiChannel);
std::string getAndroidPopupActivity() const;
void setAndroidPopupActivity(const std::string &androidPopupActivity);
int getHarmonyNotifyId() const;
void setHarmonyNotifyId(int harmonyNotifyId);
std::string getHarmonyRenderStyle() const;
void setHarmonyRenderStyle(const std::string &harmonyRenderStyle);
std::string getAndroidMessageVivoCategory() const;
void setAndroidMessageVivoCategory(const std::string &androidMessageVivoCategory);
std::string getAndroidNotifyType() const;
void setAndroidNotifyType(const std::string &androidNotifyType);
std::string getAndroidMessageHuaweiCategory() const;
void setAndroidMessageHuaweiCategory(const std::string &androidMessageHuaweiCategory);
std::string getIOSMusic() const;
void setIOSMusic(const std::string &iOSMusic);
bool getIOSMutableContent() const;
void setIOSMutableContent(bool iOSMutableContent);
int getAndroidHonorTargetUserType() const;
void setAndroidHonorTargetUserType(int androidHonorTargetUserType);
std::string getHarmonyRemindBody() const;
void setHarmonyRemindBody(const std::string &harmonyRemindBody);
std::string getAndroidNotificationVivoChannel() const;
void setAndroidNotificationVivoChannel(const std::string &androidNotificationVivoChannel);
std::string getAndroidNotificationXiaomiChannel() const;
void setAndroidNotificationXiaomiChannel(const std::string &androidNotificationXiaomiChannel);
std::string getHarmonyAction() const;
void setHarmonyAction(const std::string &harmonyAction);
bool getStoreOffline() const;
void setStoreOffline(bool storeOffline);
double getIOSRelevanceScore() const;
void setIOSRelevanceScore(double iOSRelevanceScore);
std::string getSmsParams() const;
void setSmsParams(const std::string &smsParams);
int getAndroidVivoPushMode() const;
void setAndroidVivoPushMode(int androidVivoPushMode);
std::string getAndroidInboxBody() const;
void setAndroidInboxBody(const std::string &androidInboxBody);
std::string getJobKey() const;
void setJobKey(const std::string &jobKey);
std::string getHarmonyReceiptId() const;
void setHarmonyReceiptId(const std::string &harmonyReceiptId);
std::string getAndroidOpenUrl() const;
void setAndroidOpenUrl(const std::string &androidOpenUrl);
int getAndroidBadgeSetNum() const;
void setAndroidBadgeSetNum(int androidBadgeSetNum);
std::string getAndroidXiaoMiNotifyBody() const;
void setAndroidXiaoMiNotifyBody(const std::string &androidXiaoMiNotifyBody);
std::string getIOSSubtitle() const;
void setIOSSubtitle(const std::string &iOSSubtitle);
bool getHarmonyRemind() const;
void setHarmonyRemind(bool harmonyRemind);
std::string getAndroidMusic() const;
void setAndroidMusic(const std::string &androidMusic);
bool getHarmonyExtensionPush() const;
void setHarmonyExtensionPush(bool harmonyExtensionPush);
std::string getIOSNotificationCollapseId() const;
void setIOSNotificationCollapseId(const std::string &iOSNotificationCollapseId);
std::string getPushType() const;
void setPushType(const std::string &pushType);
std::string getHarmonyExtensionExtraData() const;
void setHarmonyExtensionExtraData(const std::string &harmonyExtensionExtraData);
std::string getHarmonyImageUrl() const;
void setHarmonyImageUrl(const std::string &harmonyImageUrl);
std::string getAndroidBigBody() const;
void setAndroidBigBody(const std::string &androidBigBody);
std::string getTitle() const;
void setTitle(const std::string &title);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
int getHarmonyBadgeAddNum() const;
void setHarmonyBadgeAddNum(int harmonyBadgeAddNum);
bool getHarmonyTestMessage() const;
void setHarmonyTestMessage(bool harmonyTestMessage);
int getAndroidBadgeAddNum() const;
void setAndroidBadgeAddNum(int androidBadgeAddNum);
std::string getAndroidHuaweiReceiptId() const;
void setAndroidHuaweiReceiptId(const std::string &androidHuaweiReceiptId);
std::string getAndroidNotificationHonorChannel() const;
void setAndroidNotificationHonorChannel(const std::string &androidNotificationHonorChannel);
int getAndroidTargetUserType() const;
void setAndroidTargetUserType(int androidTargetUserType);
std::string getAndroidPopupBody() const;
void setAndroidPopupBody(const std::string &androidPopupBody);
std::string getAndroidNotificationGroup() const;
void setAndroidNotificationGroup(const std::string &androidNotificationGroup);
std::string getSendChannels() const;
void setSendChannels(const std::string &sendChannels);
std::string getHarmonyActionType() const;
void setHarmonyActionType(const std::string &harmonyActionType);
std::string getTarget() const;
void setTarget(const std::string &target);
std::string getHarmonyInboxContent() const;
void setHarmonyInboxContent(const std::string &harmonyInboxContent);
std::string getAndroidXiaoMiActivity() const;
void setAndroidXiaoMiActivity(const std::string &androidXiaoMiActivity);
private:
int androidNotificationBarType_;
int smsSendPolicy_;
std::string body_;
std::string deviceType_;
std::string pushTime_;
int sendSpeed_;
std::string androidNotificationHuaweiChannel_;
std::string androidPopupActivity_;
std::string iOSRemindBody_;
bool trim_;
std::string androidMessageVivoCategory_;
std::string androidNotifyType_;
std::string androidPopupTitle_;
std::string androidMessageHuaweiCategory_;
std::string iOSMusic_;
std::string iOSApnsEnv_;
bool iOSMutableContent_;
int androidNotificationBarPriority_;
std::string expireTime_;
std::string androidImageUrl_;
int androidHonorTargetUserType_;
std::string androidNotificationVivoChannel_;
std::string androidVivoReceiptId_;
std::string iOSNotificationCategory_;
std::string androidNotificationXiaomiChannel_;
bool storeOffline_;
double iOSRelevanceScore_;
std::string smsParams_;
int androidVivoPushMode_;
std::string androidInboxBody_;
std::string jobKey_;
std::string androidOpenUrl_;
std::string androidXiaoMiNotifyBody_;
std::string iOSSubtitle_;
std::string androidXiaomiBigPictureUrl_;
std::string harmonyCategory_;
bool iOSRemind_;
std::string iOSNotificationThreadId_;
int androidHuaweiTargetUserType_;
std::string androidMusic_;
std::string iOSNotificationCollapseId_;
std::string androidMessageHuaweiUrgency_;
std::string pushType_;
std::string iOSInterruptionLevel_;
std::string androidExtParameters_;
int iOSBadge_;
std::string androidBigBody_;
bool iOSBadgeAutoIncrement_;
std::string androidOpenType_;
std::string title_;
std::string accessKeyId_;
std::string harmonyRemindTitle_;
std::string androidBadgeClass_;
int smsDelaySecs_;
int androidRenderStyle_;
std::string iOSExtParameters_;
std::string androidHuaweiReceiptId_;
std::string androidNotificationHonorChannel_;
std::string androidXiaomiImageUrl_;
int androidTargetUserType_;
std::string smsTemplateName_;
std::string androidPopupBody_;
std::string harmonyUri_;
std::string harmonyExtParameters_;
std::string androidBigPictureUrl_;
bool iOSSilentNotification_;
std::string androidNotificationGroup_;
std::string sendChannels_;
std::string target_;
std::string harmonyNotificationSlotType_;
std::string androidBigTitle_;
std::string androidNotificationChannel_;
bool androidRemind_;
@@ -252,7 +268,57 @@ private:
int androidNotificationNotifyId_;
long appKey_;
std::string targetValue_;
int harmonyBadgeSetNum_;
std::string androidXiaoMiNotifyTitle_;
int smsSendPolicy_;
std::string body_;
std::string androidNotificationHuaweiChannel_;
std::string androidPopupActivity_;
int harmonyNotifyId_;
std::string harmonyRenderStyle_;
std::string androidMessageVivoCategory_;
std::string androidNotifyType_;
std::string androidMessageHuaweiCategory_;
std::string iOSMusic_;
bool iOSMutableContent_;
int androidHonorTargetUserType_;
std::string harmonyRemindBody_;
std::string androidNotificationVivoChannel_;
std::string androidNotificationXiaomiChannel_;
std::string harmonyAction_;
bool storeOffline_;
double iOSRelevanceScore_;
std::string smsParams_;
int androidVivoPushMode_;
std::string androidInboxBody_;
std::string jobKey_;
std::string harmonyReceiptId_;
std::string androidOpenUrl_;
int androidBadgeSetNum_;
std::string androidXiaoMiNotifyBody_;
std::string iOSSubtitle_;
bool harmonyRemind_;
std::string androidMusic_;
bool harmonyExtensionPush_;
std::string iOSNotificationCollapseId_;
std::string pushType_;
std::string harmonyExtensionExtraData_;
std::string harmonyImageUrl_;
std::string androidBigBody_;
std::string title_;
std::string accessKeyId_;
int harmonyBadgeAddNum_;
bool harmonyTestMessage_;
int androidBadgeAddNum_;
std::string androidHuaweiReceiptId_;
std::string androidNotificationHonorChannel_;
int androidTargetUserType_;
std::string androidPopupBody_;
std::string androidNotificationGroup_;
std::string sendChannels_;
std::string harmonyActionType_;
std::string target_;
std::string harmonyInboxContent_;
std::string androidXiaoMiActivity_;
};
} // namespace Model

View File

@@ -34,8 +34,6 @@ public:
void setStartTime(const std::string &startTime);
std::string getSource() const;
void setSource(const std::string &source);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getPageSize() const;
@@ -56,7 +54,6 @@ public:
private:
std::string startTime_;
std::string source_;
std::string accessKeyId_;
std::string nextToken_;
int pageSize_;
std::string keyword_;

View File

@@ -25,15 +25,6 @@ CheckCertificateRequest::CheckCertificateRequest()
CheckCertificateRequest::~CheckCertificateRequest() {}
std::string CheckCertificateRequest::getAccessKeyId() const {
return accessKeyId_;
}
void CheckCertificateRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long CheckCertificateRequest::getAppKey() const {
return appKey_;
}

View File

@@ -50,6 +50,8 @@ void MassPushRequest::setPushTask(const std::vector<MassPushRequest::PushTask> &
setBodyParameter(pushTaskObjStr + ".SendSpeed", std::to_string(pushTaskObj.sendSpeed));
setBodyParameter(pushTaskObjStr + ".AndroidNotificationHuaweiChannel", pushTaskObj.androidNotificationHuaweiChannel);
setBodyParameter(pushTaskObjStr + ".AndroidPopupActivity", pushTaskObj.androidPopupActivity);
setBodyParameter(pushTaskObjStr + ".HarmonyNotifyId", std::to_string(pushTaskObj.harmonyNotifyId));
setBodyParameter(pushTaskObjStr + ".HarmonyRenderStyle", pushTaskObj.harmonyRenderStyle);
setBodyParameter(pushTaskObjStr + ".iOSRemindBody", pushTaskObj.iOSRemindBody);
setBodyParameter(pushTaskObjStr + ".Trim", pushTaskObj.trim ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".AndroidMessageVivoCategory", pushTaskObj.androidMessageVivoCategory);
@@ -63,51 +65,71 @@ void MassPushRequest::setPushTask(const std::vector<MassPushRequest::PushTask> &
setBodyParameter(pushTaskObjStr + ".ExpireTime", pushTaskObj.expireTime);
setBodyParameter(pushTaskObjStr + ".AndroidImageUrl", pushTaskObj.androidImageUrl);
setBodyParameter(pushTaskObjStr + ".AndroidHonorTargetUserType", std::to_string(pushTaskObj.androidHonorTargetUserType));
setBodyParameter(pushTaskObjStr + ".HarmonyRemindBody", pushTaskObj.harmonyRemindBody);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationVivoChannel", pushTaskObj.androidNotificationVivoChannel);
setBodyParameter(pushTaskObjStr + ".AndroidVivoReceiptId", pushTaskObj.androidVivoReceiptId);
setBodyParameter(pushTaskObjStr + ".iOSNotificationCategory", pushTaskObj.iOSNotificationCategory);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationXiaomiChannel", pushTaskObj.androidNotificationXiaomiChannel);
setBodyParameter(pushTaskObjStr + ".HarmonyAction", pushTaskObj.harmonyAction);
setBodyParameter(pushTaskObjStr + ".StoreOffline", pushTaskObj.storeOffline ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".iOSRelevanceScore", std::to_string(pushTaskObj.iOSRelevanceScore));
setBodyParameter(pushTaskObjStr + ".AndroidVivoPushMode", std::to_string(pushTaskObj.androidVivoPushMode));
setBodyParameter(pushTaskObjStr + ".AndroidInboxBody", pushTaskObj.androidInboxBody);
setBodyParameter(pushTaskObjStr + ".JobKey", pushTaskObj.jobKey);
setBodyParameter(pushTaskObjStr + ".HarmonyReceiptId", pushTaskObj.harmonyReceiptId);
setBodyParameter(pushTaskObjStr + ".AndroidOpenUrl", pushTaskObj.androidOpenUrl);
setBodyParameter(pushTaskObjStr + ".AndroidBadgeSetNum", std::to_string(pushTaskObj.androidBadgeSetNum));
setBodyParameter(pushTaskObjStr + ".AndroidXiaoMiNotifyBody", pushTaskObj.androidXiaoMiNotifyBody);
setBodyParameter(pushTaskObjStr + ".iOSSubtitle", pushTaskObj.iOSSubtitle);
setBodyParameter(pushTaskObjStr + ".AndroidXiaomiBigPictureUrl", pushTaskObj.androidXiaomiBigPictureUrl);
setBodyParameter(pushTaskObjStr + ".HarmonyCategory", pushTaskObj.harmonyCategory);
setBodyParameter(pushTaskObjStr + ".iOSRemind", pushTaskObj.iOSRemind ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".iOSNotificationThreadId", pushTaskObj.iOSNotificationThreadId);
setBodyParameter(pushTaskObjStr + ".AndroidHuaweiTargetUserType", std::to_string(pushTaskObj.androidHuaweiTargetUserType));
setBodyParameter(pushTaskObjStr + ".HarmonyRemind", pushTaskObj.harmonyRemind ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".AndroidMusic", pushTaskObj.androidMusic);
setBodyParameter(pushTaskObjStr + ".HarmonyExtensionPush", pushTaskObj.harmonyExtensionPush ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".iOSNotificationCollapseId", pushTaskObj.iOSNotificationCollapseId);
setBodyParameter(pushTaskObjStr + ".AndroidMessageHuaweiUrgency", pushTaskObj.androidMessageHuaweiUrgency);
setBodyParameter(pushTaskObjStr + ".PushType", pushTaskObj.pushType);
setBodyParameter(pushTaskObjStr + ".iOSInterruptionLevel", pushTaskObj.iOSInterruptionLevel);
setBodyParameter(pushTaskObjStr + ".HarmonyExtensionExtraData", pushTaskObj.harmonyExtensionExtraData);
setBodyParameter(pushTaskObjStr + ".AndroidExtParameters", pushTaskObj.androidExtParameters);
setBodyParameter(pushTaskObjStr + ".HarmonyImageUrl", pushTaskObj.harmonyImageUrl);
setBodyParameter(pushTaskObjStr + ".iOSBadge", std::to_string(pushTaskObj.iOSBadge));
setBodyParameter(pushTaskObjStr + ".AndroidBigBody", pushTaskObj.androidBigBody);
setBodyParameter(pushTaskObjStr + ".iOSBadgeAutoIncrement", pushTaskObj.iOSBadgeAutoIncrement ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".AndroidOpenType", pushTaskObj.androidOpenType);
setBodyParameter(pushTaskObjStr + ".HarmonyRemindTitle", pushTaskObj.harmonyRemindTitle);
setBodyParameter(pushTaskObjStr + ".Title", pushTaskObj.title);
setBodyParameter(pushTaskObjStr + ".AndroidBadgeClass", pushTaskObj.androidBadgeClass);
setBodyParameter(pushTaskObjStr + ".HarmonyBadgeAddNum", std::to_string(pushTaskObj.harmonyBadgeAddNum));
setBodyParameter(pushTaskObjStr + ".HarmonyTestMessage", pushTaskObj.harmonyTestMessage ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".AndroidRenderStyle", pushTaskObj.androidRenderStyle);
setBodyParameter(pushTaskObjStr + ".iOSExtParameters", pushTaskObj.iOSExtParameters);
setBodyParameter(pushTaskObjStr + ".AndroidBadgeAddNum", std::to_string(pushTaskObj.androidBadgeAddNum));
setBodyParameter(pushTaskObjStr + ".AndroidHuaweiReceiptId", pushTaskObj.androidHuaweiReceiptId);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationHonorChannel", pushTaskObj.androidNotificationHonorChannel);
setBodyParameter(pushTaskObjStr + ".AndroidXiaomiImageUrl", pushTaskObj.androidXiaomiImageUrl);
setBodyParameter(pushTaskObjStr + ".AndroidTargetUserType", std::to_string(pushTaskObj.androidTargetUserType));
setBodyParameter(pushTaskObjStr + ".HarmonyUri", pushTaskObj.harmonyUri);
setBodyParameter(pushTaskObjStr + ".AndroidPopupBody", pushTaskObj.androidPopupBody);
setBodyParameter(pushTaskObjStr + ".HarmonyExtParameters", pushTaskObj.harmonyExtParameters);
setBodyParameter(pushTaskObjStr + ".AndroidBigPictureUrl", pushTaskObj.androidBigPictureUrl);
setBodyParameter(pushTaskObjStr + ".iOSSilentNotification", pushTaskObj.iOSSilentNotification ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".AndroidNotificationGroup", pushTaskObj.androidNotificationGroup);
setBodyParameter(pushTaskObjStr + ".SendChannels", pushTaskObj.sendChannels);
setBodyParameter(pushTaskObjStr + ".HarmonyActionType", pushTaskObj.harmonyActionType);
setBodyParameter(pushTaskObjStr + ".Target", pushTaskObj.target);
setBodyParameter(pushTaskObjStr + ".HarmonyNotificationSlotType", pushTaskObj.harmonyNotificationSlotType);
setBodyParameter(pushTaskObjStr + ".AndroidBigTitle", pushTaskObj.androidBigTitle);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationChannel", pushTaskObj.androidNotificationChannel);
setBodyParameter(pushTaskObjStr + ".AndroidRemind", pushTaskObj.androidRemind ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".HarmonyInboxContent", pushTaskObj.harmonyInboxContent);
setBodyParameter(pushTaskObjStr + ".AndroidActivity", pushTaskObj.androidActivity);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationNotifyId", std::to_string(pushTaskObj.androidNotificationNotifyId));
setBodyParameter(pushTaskObjStr + ".TargetValue", pushTaskObj.targetValue);
setBodyParameter(pushTaskObjStr + ".HarmonyBadgeSetNum", std::to_string(pushTaskObj.harmonyBadgeSetNum));
setBodyParameter(pushTaskObjStr + ".AndroidXiaoMiNotifyTitle", pushTaskObj.androidXiaoMiNotifyTitle);
setBodyParameter(pushTaskObjStr + ".AndroidXiaoMiActivity", pushTaskObj.androidXiaoMiActivity);
}

View File

@@ -25,15 +25,6 @@ PushMessageToAndroidRequest::PushMessageToAndroidRequest()
PushMessageToAndroidRequest::~PushMessageToAndroidRequest() {}
bool PushMessageToAndroidRequest::getStoreOffline() const {
return storeOffline_;
}
void PushMessageToAndroidRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
std::string PushMessageToAndroidRequest::getTitle() const {
return title_;
}
@@ -52,15 +43,6 @@ void PushMessageToAndroidRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body);
}
std::string PushMessageToAndroidRequest::getJobKey() const {
return jobKey_;
}
void PushMessageToAndroidRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushMessageToAndroidRequest::getAccessKeyId() const {
return accessKeyId_;
}
@@ -70,6 +52,24 @@ void PushMessageToAndroidRequest::setAccessKeyId(const std::string &accessKeyId)
setParameter(std::string("AccessKeyId"), accessKeyId);
}
bool PushMessageToAndroidRequest::getStoreOffline() const {
return storeOffline_;
}
void PushMessageToAndroidRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
std::string PushMessageToAndroidRequest::getJobKey() const {
return jobKey_;
}
void PushMessageToAndroidRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushMessageToAndroidRequest::getTarget() const {
return target_;
}

View File

@@ -25,15 +25,6 @@ PushMessageToiOSRequest::PushMessageToiOSRequest()
PushMessageToiOSRequest::~PushMessageToiOSRequest() {}
bool PushMessageToiOSRequest::getStoreOffline() const {
return storeOffline_;
}
void PushMessageToiOSRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
std::string PushMessageToiOSRequest::getTitle() const {
return title_;
}
@@ -52,15 +43,6 @@ void PushMessageToiOSRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body);
}
std::string PushMessageToiOSRequest::getJobKey() const {
return jobKey_;
}
void PushMessageToiOSRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushMessageToiOSRequest::getAccessKeyId() const {
return accessKeyId_;
}
@@ -70,6 +52,24 @@ void PushMessageToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
setParameter(std::string("AccessKeyId"), accessKeyId);
}
bool PushMessageToiOSRequest::getStoreOffline() const {
return storeOffline_;
}
void PushMessageToiOSRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
std::string PushMessageToiOSRequest::getJobKey() const {
return jobKey_;
}
void PushMessageToiOSRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushMessageToiOSRequest::getTarget() const {
return target_;
}

View File

@@ -25,24 +25,6 @@ PushNoticeToAndroidRequest::PushNoticeToAndroidRequest()
PushNoticeToAndroidRequest::~PushNoticeToAndroidRequest() {}
std::string PushNoticeToAndroidRequest::getExtParameters() const {
return extParameters_;
}
void PushNoticeToAndroidRequest::setExtParameters(const std::string &extParameters) {
extParameters_ = extParameters;
setParameter(std::string("ExtParameters"), extParameters);
}
bool PushNoticeToAndroidRequest::getStoreOffline() const {
return storeOffline_;
}
void PushNoticeToAndroidRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
std::string PushNoticeToAndroidRequest::getTitle() const {
return title_;
}
@@ -61,15 +43,6 @@ void PushNoticeToAndroidRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body);
}
std::string PushNoticeToAndroidRequest::getJobKey() const {
return jobKey_;
}
void PushNoticeToAndroidRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushNoticeToAndroidRequest::getAccessKeyId() const {
return accessKeyId_;
}
@@ -79,6 +52,33 @@ void PushNoticeToAndroidRequest::setAccessKeyId(const std::string &accessKeyId)
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string PushNoticeToAndroidRequest::getExtParameters() const {
return extParameters_;
}
void PushNoticeToAndroidRequest::setExtParameters(const std::string &extParameters) {
extParameters_ = extParameters;
setParameter(std::string("ExtParameters"), extParameters);
}
bool PushNoticeToAndroidRequest::getStoreOffline() const {
return storeOffline_;
}
void PushNoticeToAndroidRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
std::string PushNoticeToAndroidRequest::getJobKey() const {
return jobKey_;
}
void PushNoticeToAndroidRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushNoticeToAndroidRequest::getTarget() const {
return target_;
}

View File

@@ -25,24 +25,6 @@ PushNoticeToiOSRequest::PushNoticeToiOSRequest()
PushNoticeToiOSRequest::~PushNoticeToiOSRequest() {}
std::string PushNoticeToiOSRequest::getExtParameters() const {
return extParameters_;
}
void PushNoticeToiOSRequest::setExtParameters(const std::string &extParameters) {
extParameters_ = extParameters;
setParameter(std::string("ExtParameters"), extParameters);
}
std::string PushNoticeToiOSRequest::getApnsEnv() const {
return apnsEnv_;
}
void PushNoticeToiOSRequest::setApnsEnv(const std::string &apnsEnv) {
apnsEnv_ = apnsEnv;
setParameter(std::string("ApnsEnv"), apnsEnv);
}
std::string PushNoticeToiOSRequest::getTitle() const {
return title_;
}
@@ -61,15 +43,6 @@ void PushNoticeToiOSRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body);
}
std::string PushNoticeToiOSRequest::getJobKey() const {
return jobKey_;
}
void PushNoticeToiOSRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushNoticeToiOSRequest::getAccessKeyId() const {
return accessKeyId_;
}
@@ -79,6 +52,33 @@ void PushNoticeToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string PushNoticeToiOSRequest::getExtParameters() const {
return extParameters_;
}
void PushNoticeToiOSRequest::setExtParameters(const std::string &extParameters) {
extParameters_ = extParameters;
setParameter(std::string("ExtParameters"), extParameters);
}
std::string PushNoticeToiOSRequest::getApnsEnv() const {
return apnsEnv_;
}
void PushNoticeToiOSRequest::setApnsEnv(const std::string &apnsEnv) {
apnsEnv_ = apnsEnv;
setParameter(std::string("ApnsEnv"), apnsEnv);
}
std::string PushNoticeToiOSRequest::getJobKey() const {
return jobKey_;
}
void PushNoticeToiOSRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushNoticeToiOSRequest::getTarget() const {
return target_;
}

View File

@@ -34,24 +34,6 @@ void PushRequest::setAndroidNotificationBarType(int androidNotificationBarType)
setParameter(std::string("AndroidNotificationBarType"), std::to_string(androidNotificationBarType));
}
int PushRequest::getSmsSendPolicy() const {
return smsSendPolicy_;
}
void PushRequest::setSmsSendPolicy(int smsSendPolicy) {
smsSendPolicy_ = smsSendPolicy;
setParameter(std::string("SmsSendPolicy"), std::to_string(smsSendPolicy));
}
std::string PushRequest::getBody() const {
return body_;
}
void PushRequest::setBody(const std::string &body) {
body_ = body;
setParameter(std::string("Body"), body);
}
std::string PushRequest::getDeviceType() const {
return deviceType_;
}
@@ -79,24 +61,6 @@ void PushRequest::setSendSpeed(int sendSpeed) {
setParameter(std::string("SendSpeed"), std::to_string(sendSpeed));
}
std::string PushRequest::getAndroidNotificationHuaweiChannel() const {
return androidNotificationHuaweiChannel_;
}
void PushRequest::setAndroidNotificationHuaweiChannel(const std::string &androidNotificationHuaweiChannel) {
androidNotificationHuaweiChannel_ = androidNotificationHuaweiChannel;
setParameter(std::string("AndroidNotificationHuaweiChannel"), androidNotificationHuaweiChannel);
}
std::string PushRequest::getAndroidPopupActivity() const {
return androidPopupActivity_;
}
void PushRequest::setAndroidPopupActivity(const std::string &androidPopupActivity) {
androidPopupActivity_ = androidPopupActivity;
setParameter(std::string("AndroidPopupActivity"), androidPopupActivity);
}
std::string PushRequest::getIOSRemindBody() const {
return iOSRemindBody_;
}
@@ -115,24 +79,6 @@ void PushRequest::setTrim(bool trim) {
setParameter(std::string("Trim"), trim ? "true" : "false");
}
std::string PushRequest::getAndroidMessageVivoCategory() const {
return androidMessageVivoCategory_;
}
void PushRequest::setAndroidMessageVivoCategory(const std::string &androidMessageVivoCategory) {
androidMessageVivoCategory_ = androidMessageVivoCategory;
setParameter(std::string("AndroidMessageVivoCategory"), androidMessageVivoCategory);
}
std::string PushRequest::getAndroidNotifyType() const {
return androidNotifyType_;
}
void PushRequest::setAndroidNotifyType(const std::string &androidNotifyType) {
androidNotifyType_ = androidNotifyType;
setParameter(std::string("AndroidNotifyType"), androidNotifyType);
}
std::string PushRequest::getAndroidPopupTitle() const {
return androidPopupTitle_;
}
@@ -142,24 +88,6 @@ void PushRequest::setAndroidPopupTitle(const std::string &androidPopupTitle) {
setParameter(std::string("AndroidPopupTitle"), androidPopupTitle);
}
std::string PushRequest::getAndroidMessageHuaweiCategory() const {
return androidMessageHuaweiCategory_;
}
void PushRequest::setAndroidMessageHuaweiCategory(const std::string &androidMessageHuaweiCategory) {
androidMessageHuaweiCategory_ = androidMessageHuaweiCategory;
setParameter(std::string("AndroidMessageHuaweiCategory"), androidMessageHuaweiCategory);
}
std::string PushRequest::getIOSMusic() const {
return iOSMusic_;
}
void PushRequest::setIOSMusic(const std::string &iOSMusic) {
iOSMusic_ = iOSMusic;
setParameter(std::string("iOSMusic"), iOSMusic);
}
std::string PushRequest::getIOSApnsEnv() const {
return iOSApnsEnv_;
}
@@ -169,15 +97,6 @@ void PushRequest::setIOSApnsEnv(const std::string &iOSApnsEnv) {
setParameter(std::string("iOSApnsEnv"), iOSApnsEnv);
}
bool PushRequest::getIOSMutableContent() const {
return iOSMutableContent_;
}
void PushRequest::setIOSMutableContent(bool iOSMutableContent) {
iOSMutableContent_ = iOSMutableContent;
setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false");
}
int PushRequest::getAndroidNotificationBarPriority() const {
return androidNotificationBarPriority_;
}
@@ -205,24 +124,6 @@ void PushRequest::setAndroidImageUrl(const std::string &androidImageUrl) {
setParameter(std::string("AndroidImageUrl"), androidImageUrl);
}
int PushRequest::getAndroidHonorTargetUserType() const {
return androidHonorTargetUserType_;
}
void PushRequest::setAndroidHonorTargetUserType(int androidHonorTargetUserType) {
androidHonorTargetUserType_ = androidHonorTargetUserType;
setParameter(std::string("AndroidHonorTargetUserType"), std::to_string(androidHonorTargetUserType));
}
std::string PushRequest::getAndroidNotificationVivoChannel() const {
return androidNotificationVivoChannel_;
}
void PushRequest::setAndroidNotificationVivoChannel(const std::string &androidNotificationVivoChannel) {
androidNotificationVivoChannel_ = androidNotificationVivoChannel;
setParameter(std::string("AndroidNotificationVivoChannel"), androidNotificationVivoChannel);
}
std::string PushRequest::getAndroidVivoReceiptId() const {
return androidVivoReceiptId_;
}
@@ -241,96 +142,6 @@ void PushRequest::setIOSNotificationCategory(const std::string &iOSNotificationC
setParameter(std::string("iOSNotificationCategory"), iOSNotificationCategory);
}
std::string PushRequest::getAndroidNotificationXiaomiChannel() const {
return androidNotificationXiaomiChannel_;
}
void PushRequest::setAndroidNotificationXiaomiChannel(const std::string &androidNotificationXiaomiChannel) {
androidNotificationXiaomiChannel_ = androidNotificationXiaomiChannel;
setParameter(std::string("AndroidNotificationXiaomiChannel"), androidNotificationXiaomiChannel);
}
bool PushRequest::getStoreOffline() const {
return storeOffline_;
}
void PushRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
double PushRequest::getIOSRelevanceScore() const {
return iOSRelevanceScore_;
}
void PushRequest::setIOSRelevanceScore(double iOSRelevanceScore) {
iOSRelevanceScore_ = iOSRelevanceScore;
setParameter(std::string("iOSRelevanceScore"), std::to_string(iOSRelevanceScore));
}
std::string PushRequest::getSmsParams() const {
return smsParams_;
}
void PushRequest::setSmsParams(const std::string &smsParams) {
smsParams_ = smsParams;
setParameter(std::string("SmsParams"), smsParams);
}
int PushRequest::getAndroidVivoPushMode() const {
return androidVivoPushMode_;
}
void PushRequest::setAndroidVivoPushMode(int androidVivoPushMode) {
androidVivoPushMode_ = androidVivoPushMode;
setParameter(std::string("AndroidVivoPushMode"), std::to_string(androidVivoPushMode));
}
std::string PushRequest::getAndroidInboxBody() const {
return androidInboxBody_;
}
void PushRequest::setAndroidInboxBody(const std::string &androidInboxBody) {
androidInboxBody_ = androidInboxBody;
setParameter(std::string("AndroidInboxBody"), androidInboxBody);
}
std::string PushRequest::getJobKey() const {
return jobKey_;
}
void PushRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushRequest::getAndroidOpenUrl() const {
return androidOpenUrl_;
}
void PushRequest::setAndroidOpenUrl(const std::string &androidOpenUrl) {
androidOpenUrl_ = androidOpenUrl;
setParameter(std::string("AndroidOpenUrl"), androidOpenUrl);
}
std::string PushRequest::getAndroidXiaoMiNotifyBody() const {
return androidXiaoMiNotifyBody_;
}
void PushRequest::setAndroidXiaoMiNotifyBody(const std::string &androidXiaoMiNotifyBody) {
androidXiaoMiNotifyBody_ = androidXiaoMiNotifyBody;
setParameter(std::string("AndroidXiaoMiNotifyBody"), androidXiaoMiNotifyBody);
}
std::string PushRequest::getIOSSubtitle() const {
return iOSSubtitle_;
}
void PushRequest::setIOSSubtitle(const std::string &iOSSubtitle) {
iOSSubtitle_ = iOSSubtitle;
setParameter(std::string("iOSSubtitle"), iOSSubtitle);
}
std::string PushRequest::getAndroidXiaomiBigPictureUrl() const {
return androidXiaomiBigPictureUrl_;
}
@@ -340,6 +151,15 @@ void PushRequest::setAndroidXiaomiBigPictureUrl(const std::string &androidXiaomi
setParameter(std::string("AndroidXiaomiBigPictureUrl"), androidXiaomiBigPictureUrl);
}
std::string PushRequest::getHarmonyCategory() const {
return harmonyCategory_;
}
void PushRequest::setHarmonyCategory(const std::string &harmonyCategory) {
harmonyCategory_ = harmonyCategory;
setParameter(std::string("HarmonyCategory"), harmonyCategory);
}
bool PushRequest::getIOSRemind() const {
return iOSRemind_;
}
@@ -367,24 +187,6 @@ void PushRequest::setAndroidHuaweiTargetUserType(int androidHuaweiTargetUserType
setParameter(std::string("AndroidHuaweiTargetUserType"), std::to_string(androidHuaweiTargetUserType));
}
std::string PushRequest::getAndroidMusic() const {
return androidMusic_;
}
void PushRequest::setAndroidMusic(const std::string &androidMusic) {
androidMusic_ = androidMusic;
setParameter(std::string("AndroidMusic"), androidMusic);
}
std::string PushRequest::getIOSNotificationCollapseId() const {
return iOSNotificationCollapseId_;
}
void PushRequest::setIOSNotificationCollapseId(const std::string &iOSNotificationCollapseId) {
iOSNotificationCollapseId_ = iOSNotificationCollapseId;
setParameter(std::string("iOSNotificationCollapseId"), iOSNotificationCollapseId);
}
std::string PushRequest::getAndroidMessageHuaweiUrgency() const {
return androidMessageHuaweiUrgency_;
}
@@ -394,15 +196,6 @@ void PushRequest::setAndroidMessageHuaweiUrgency(const std::string &androidMessa
setParameter(std::string("AndroidMessageHuaweiUrgency"), androidMessageHuaweiUrgency);
}
std::string PushRequest::getPushType() const {
return pushType_;
}
void PushRequest::setPushType(const std::string &pushType) {
pushType_ = pushType;
setParameter(std::string("PushType"), pushType);
}
std::string PushRequest::getIOSInterruptionLevel() const {
return iOSInterruptionLevel_;
}
@@ -430,15 +223,6 @@ void PushRequest::setIOSBadge(int iOSBadge) {
setParameter(std::string("iOSBadge"), std::to_string(iOSBadge));
}
std::string PushRequest::getAndroidBigBody() const {
return androidBigBody_;
}
void PushRequest::setAndroidBigBody(const std::string &androidBigBody) {
androidBigBody_ = androidBigBody;
setParameter(std::string("AndroidBigBody"), androidBigBody);
}
bool PushRequest::getIOSBadgeAutoIncrement() const {
return iOSBadgeAutoIncrement_;
}
@@ -457,22 +241,22 @@ void PushRequest::setAndroidOpenType(const std::string &androidOpenType) {
setParameter(std::string("AndroidOpenType"), androidOpenType);
}
std::string PushRequest::getTitle() const {
return title_;
std::string PushRequest::getHarmonyRemindTitle() const {
return harmonyRemindTitle_;
}
void PushRequest::setTitle(const std::string &title) {
title_ = title;
setParameter(std::string("Title"), title);
void PushRequest::setHarmonyRemindTitle(const std::string &harmonyRemindTitle) {
harmonyRemindTitle_ = harmonyRemindTitle;
setParameter(std::string("HarmonyRemindTitle"), harmonyRemindTitle);
}
std::string PushRequest::getAccessKeyId() const {
return accessKeyId_;
std::string PushRequest::getAndroidBadgeClass() const {
return androidBadgeClass_;
}
void PushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
void PushRequest::setAndroidBadgeClass(const std::string &androidBadgeClass) {
androidBadgeClass_ = androidBadgeClass;
setParameter(std::string("AndroidBadgeClass"), androidBadgeClass);
}
int PushRequest::getSmsDelaySecs() const {
@@ -502,24 +286,6 @@ void PushRequest::setIOSExtParameters(const std::string &iOSExtParameters) {
setParameter(std::string("iOSExtParameters"), iOSExtParameters);
}
std::string PushRequest::getAndroidHuaweiReceiptId() const {
return androidHuaweiReceiptId_;
}
void PushRequest::setAndroidHuaweiReceiptId(const std::string &androidHuaweiReceiptId) {
androidHuaweiReceiptId_ = androidHuaweiReceiptId;
setParameter(std::string("AndroidHuaweiReceiptId"), androidHuaweiReceiptId);
}
std::string PushRequest::getAndroidNotificationHonorChannel() const {
return androidNotificationHonorChannel_;
}
void PushRequest::setAndroidNotificationHonorChannel(const std::string &androidNotificationHonorChannel) {
androidNotificationHonorChannel_ = androidNotificationHonorChannel;
setParameter(std::string("AndroidNotificationHonorChannel"), androidNotificationHonorChannel);
}
std::string PushRequest::getAndroidXiaomiImageUrl() const {
return androidXiaomiImageUrl_;
}
@@ -529,15 +295,6 @@ void PushRequest::setAndroidXiaomiImageUrl(const std::string &androidXiaomiImage
setParameter(std::string("AndroidXiaomiImageUrl"), androidXiaomiImageUrl);
}
int PushRequest::getAndroidTargetUserType() const {
return androidTargetUserType_;
}
void PushRequest::setAndroidTargetUserType(int androidTargetUserType) {
androidTargetUserType_ = androidTargetUserType;
setParameter(std::string("AndroidTargetUserType"), std::to_string(androidTargetUserType));
}
std::string PushRequest::getSmsTemplateName() const {
return smsTemplateName_;
}
@@ -547,13 +304,22 @@ void PushRequest::setSmsTemplateName(const std::string &smsTemplateName) {
setParameter(std::string("SmsTemplateName"), smsTemplateName);
}
std::string PushRequest::getAndroidPopupBody() const {
return androidPopupBody_;
std::string PushRequest::getHarmonyUri() const {
return harmonyUri_;
}
void PushRequest::setAndroidPopupBody(const std::string &androidPopupBody) {
androidPopupBody_ = androidPopupBody;
setParameter(std::string("AndroidPopupBody"), androidPopupBody);
void PushRequest::setHarmonyUri(const std::string &harmonyUri) {
harmonyUri_ = harmonyUri;
setParameter(std::string("HarmonyUri"), harmonyUri);
}
std::string PushRequest::getHarmonyExtParameters() const {
return harmonyExtParameters_;
}
void PushRequest::setHarmonyExtParameters(const std::string &harmonyExtParameters) {
harmonyExtParameters_ = harmonyExtParameters;
setParameter(std::string("HarmonyExtParameters"), harmonyExtParameters);
}
std::string PushRequest::getAndroidBigPictureUrl() const {
@@ -574,31 +340,13 @@ void PushRequest::setIOSSilentNotification(bool iOSSilentNotification) {
setParameter(std::string("iOSSilentNotification"), iOSSilentNotification ? "true" : "false");
}
std::string PushRequest::getAndroidNotificationGroup() const {
return androidNotificationGroup_;
std::string PushRequest::getHarmonyNotificationSlotType() const {
return harmonyNotificationSlotType_;
}
void PushRequest::setAndroidNotificationGroup(const std::string &androidNotificationGroup) {
androidNotificationGroup_ = androidNotificationGroup;
setParameter(std::string("AndroidNotificationGroup"), androidNotificationGroup);
}
std::string PushRequest::getSendChannels() const {
return sendChannels_;
}
void PushRequest::setSendChannels(const std::string &sendChannels) {
sendChannels_ = sendChannels;
setParameter(std::string("SendChannels"), sendChannels);
}
std::string PushRequest::getTarget() const {
return target_;
}
void PushRequest::setTarget(const std::string &target) {
target_ = target;
setParameter(std::string("Target"), target);
void PushRequest::setHarmonyNotificationSlotType(const std::string &harmonyNotificationSlotType) {
harmonyNotificationSlotType_ = harmonyNotificationSlotType;
setParameter(std::string("HarmonyNotificationSlotType"), harmonyNotificationSlotType);
}
std::string PushRequest::getAndroidBigTitle() const {
@@ -673,6 +421,15 @@ void PushRequest::setTargetValue(const std::string &targetValue) {
setParameter(std::string("TargetValue"), targetValue);
}
int PushRequest::getHarmonyBadgeSetNum() const {
return harmonyBadgeSetNum_;
}
void PushRequest::setHarmonyBadgeSetNum(int harmonyBadgeSetNum) {
harmonyBadgeSetNum_ = harmonyBadgeSetNum;
setParameter(std::string("HarmonyBadgeSetNum"), std::to_string(harmonyBadgeSetNum));
}
std::string PushRequest::getAndroidXiaoMiNotifyTitle() const {
return androidXiaoMiNotifyTitle_;
}
@@ -682,6 +439,447 @@ void PushRequest::setAndroidXiaoMiNotifyTitle(const std::string &androidXiaoMiNo
setParameter(std::string("AndroidXiaoMiNotifyTitle"), androidXiaoMiNotifyTitle);
}
int PushRequest::getSmsSendPolicy() const {
return smsSendPolicy_;
}
void PushRequest::setSmsSendPolicy(int smsSendPolicy) {
smsSendPolicy_ = smsSendPolicy;
setParameter(std::string("SmsSendPolicy"), std::to_string(smsSendPolicy));
}
std::string PushRequest::getBody() const {
return body_;
}
void PushRequest::setBody(const std::string &body) {
body_ = body;
setParameter(std::string("Body"), body);
}
std::string PushRequest::getAndroidNotificationHuaweiChannel() const {
return androidNotificationHuaweiChannel_;
}
void PushRequest::setAndroidNotificationHuaweiChannel(const std::string &androidNotificationHuaweiChannel) {
androidNotificationHuaweiChannel_ = androidNotificationHuaweiChannel;
setParameter(std::string("AndroidNotificationHuaweiChannel"), androidNotificationHuaweiChannel);
}
std::string PushRequest::getAndroidPopupActivity() const {
return androidPopupActivity_;
}
void PushRequest::setAndroidPopupActivity(const std::string &androidPopupActivity) {
androidPopupActivity_ = androidPopupActivity;
setParameter(std::string("AndroidPopupActivity"), androidPopupActivity);
}
int PushRequest::getHarmonyNotifyId() const {
return harmonyNotifyId_;
}
void PushRequest::setHarmonyNotifyId(int harmonyNotifyId) {
harmonyNotifyId_ = harmonyNotifyId;
setParameter(std::string("HarmonyNotifyId"), std::to_string(harmonyNotifyId));
}
std::string PushRequest::getHarmonyRenderStyle() const {
return harmonyRenderStyle_;
}
void PushRequest::setHarmonyRenderStyle(const std::string &harmonyRenderStyle) {
harmonyRenderStyle_ = harmonyRenderStyle;
setParameter(std::string("HarmonyRenderStyle"), harmonyRenderStyle);
}
std::string PushRequest::getAndroidMessageVivoCategory() const {
return androidMessageVivoCategory_;
}
void PushRequest::setAndroidMessageVivoCategory(const std::string &androidMessageVivoCategory) {
androidMessageVivoCategory_ = androidMessageVivoCategory;
setParameter(std::string("AndroidMessageVivoCategory"), androidMessageVivoCategory);
}
std::string PushRequest::getAndroidNotifyType() const {
return androidNotifyType_;
}
void PushRequest::setAndroidNotifyType(const std::string &androidNotifyType) {
androidNotifyType_ = androidNotifyType;
setParameter(std::string("AndroidNotifyType"), androidNotifyType);
}
std::string PushRequest::getAndroidMessageHuaweiCategory() const {
return androidMessageHuaweiCategory_;
}
void PushRequest::setAndroidMessageHuaweiCategory(const std::string &androidMessageHuaweiCategory) {
androidMessageHuaweiCategory_ = androidMessageHuaweiCategory;
setParameter(std::string("AndroidMessageHuaweiCategory"), androidMessageHuaweiCategory);
}
std::string PushRequest::getIOSMusic() const {
return iOSMusic_;
}
void PushRequest::setIOSMusic(const std::string &iOSMusic) {
iOSMusic_ = iOSMusic;
setParameter(std::string("iOSMusic"), iOSMusic);
}
bool PushRequest::getIOSMutableContent() const {
return iOSMutableContent_;
}
void PushRequest::setIOSMutableContent(bool iOSMutableContent) {
iOSMutableContent_ = iOSMutableContent;
setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false");
}
int PushRequest::getAndroidHonorTargetUserType() const {
return androidHonorTargetUserType_;
}
void PushRequest::setAndroidHonorTargetUserType(int androidHonorTargetUserType) {
androidHonorTargetUserType_ = androidHonorTargetUserType;
setParameter(std::string("AndroidHonorTargetUserType"), std::to_string(androidHonorTargetUserType));
}
std::string PushRequest::getHarmonyRemindBody() const {
return harmonyRemindBody_;
}
void PushRequest::setHarmonyRemindBody(const std::string &harmonyRemindBody) {
harmonyRemindBody_ = harmonyRemindBody;
setParameter(std::string("HarmonyRemindBody"), harmonyRemindBody);
}
std::string PushRequest::getAndroidNotificationVivoChannel() const {
return androidNotificationVivoChannel_;
}
void PushRequest::setAndroidNotificationVivoChannel(const std::string &androidNotificationVivoChannel) {
androidNotificationVivoChannel_ = androidNotificationVivoChannel;
setParameter(std::string("AndroidNotificationVivoChannel"), androidNotificationVivoChannel);
}
std::string PushRequest::getAndroidNotificationXiaomiChannel() const {
return androidNotificationXiaomiChannel_;
}
void PushRequest::setAndroidNotificationXiaomiChannel(const std::string &androidNotificationXiaomiChannel) {
androidNotificationXiaomiChannel_ = androidNotificationXiaomiChannel;
setParameter(std::string("AndroidNotificationXiaomiChannel"), androidNotificationXiaomiChannel);
}
std::string PushRequest::getHarmonyAction() const {
return harmonyAction_;
}
void PushRequest::setHarmonyAction(const std::string &harmonyAction) {
harmonyAction_ = harmonyAction;
setParameter(std::string("HarmonyAction"), harmonyAction);
}
bool PushRequest::getStoreOffline() const {
return storeOffline_;
}
void PushRequest::setStoreOffline(bool storeOffline) {
storeOffline_ = storeOffline;
setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
}
double PushRequest::getIOSRelevanceScore() const {
return iOSRelevanceScore_;
}
void PushRequest::setIOSRelevanceScore(double iOSRelevanceScore) {
iOSRelevanceScore_ = iOSRelevanceScore;
setParameter(std::string("iOSRelevanceScore"), std::to_string(iOSRelevanceScore));
}
std::string PushRequest::getSmsParams() const {
return smsParams_;
}
void PushRequest::setSmsParams(const std::string &smsParams) {
smsParams_ = smsParams;
setParameter(std::string("SmsParams"), smsParams);
}
int PushRequest::getAndroidVivoPushMode() const {
return androidVivoPushMode_;
}
void PushRequest::setAndroidVivoPushMode(int androidVivoPushMode) {
androidVivoPushMode_ = androidVivoPushMode;
setParameter(std::string("AndroidVivoPushMode"), std::to_string(androidVivoPushMode));
}
std::string PushRequest::getAndroidInboxBody() const {
return androidInboxBody_;
}
void PushRequest::setAndroidInboxBody(const std::string &androidInboxBody) {
androidInboxBody_ = androidInboxBody;
setParameter(std::string("AndroidInboxBody"), androidInboxBody);
}
std::string PushRequest::getJobKey() const {
return jobKey_;
}
void PushRequest::setJobKey(const std::string &jobKey) {
jobKey_ = jobKey;
setParameter(std::string("JobKey"), jobKey);
}
std::string PushRequest::getHarmonyReceiptId() const {
return harmonyReceiptId_;
}
void PushRequest::setHarmonyReceiptId(const std::string &harmonyReceiptId) {
harmonyReceiptId_ = harmonyReceiptId;
setParameter(std::string("HarmonyReceiptId"), harmonyReceiptId);
}
std::string PushRequest::getAndroidOpenUrl() const {
return androidOpenUrl_;
}
void PushRequest::setAndroidOpenUrl(const std::string &androidOpenUrl) {
androidOpenUrl_ = androidOpenUrl;
setParameter(std::string("AndroidOpenUrl"), androidOpenUrl);
}
int PushRequest::getAndroidBadgeSetNum() const {
return androidBadgeSetNum_;
}
void PushRequest::setAndroidBadgeSetNum(int androidBadgeSetNum) {
androidBadgeSetNum_ = androidBadgeSetNum;
setParameter(std::string("AndroidBadgeSetNum"), std::to_string(androidBadgeSetNum));
}
std::string PushRequest::getAndroidXiaoMiNotifyBody() const {
return androidXiaoMiNotifyBody_;
}
void PushRequest::setAndroidXiaoMiNotifyBody(const std::string &androidXiaoMiNotifyBody) {
androidXiaoMiNotifyBody_ = androidXiaoMiNotifyBody;
setParameter(std::string("AndroidXiaoMiNotifyBody"), androidXiaoMiNotifyBody);
}
std::string PushRequest::getIOSSubtitle() const {
return iOSSubtitle_;
}
void PushRequest::setIOSSubtitle(const std::string &iOSSubtitle) {
iOSSubtitle_ = iOSSubtitle;
setParameter(std::string("iOSSubtitle"), iOSSubtitle);
}
bool PushRequest::getHarmonyRemind() const {
return harmonyRemind_;
}
void PushRequest::setHarmonyRemind(bool harmonyRemind) {
harmonyRemind_ = harmonyRemind;
setParameter(std::string("HarmonyRemind"), harmonyRemind ? "true" : "false");
}
std::string PushRequest::getAndroidMusic() const {
return androidMusic_;
}
void PushRequest::setAndroidMusic(const std::string &androidMusic) {
androidMusic_ = androidMusic;
setParameter(std::string("AndroidMusic"), androidMusic);
}
bool PushRequest::getHarmonyExtensionPush() const {
return harmonyExtensionPush_;
}
void PushRequest::setHarmonyExtensionPush(bool harmonyExtensionPush) {
harmonyExtensionPush_ = harmonyExtensionPush;
setParameter(std::string("HarmonyExtensionPush"), harmonyExtensionPush ? "true" : "false");
}
std::string PushRequest::getIOSNotificationCollapseId() const {
return iOSNotificationCollapseId_;
}
void PushRequest::setIOSNotificationCollapseId(const std::string &iOSNotificationCollapseId) {
iOSNotificationCollapseId_ = iOSNotificationCollapseId;
setParameter(std::string("iOSNotificationCollapseId"), iOSNotificationCollapseId);
}
std::string PushRequest::getPushType() const {
return pushType_;
}
void PushRequest::setPushType(const std::string &pushType) {
pushType_ = pushType;
setParameter(std::string("PushType"), pushType);
}
std::string PushRequest::getHarmonyExtensionExtraData() const {
return harmonyExtensionExtraData_;
}
void PushRequest::setHarmonyExtensionExtraData(const std::string &harmonyExtensionExtraData) {
harmonyExtensionExtraData_ = harmonyExtensionExtraData;
setParameter(std::string("HarmonyExtensionExtraData"), harmonyExtensionExtraData);
}
std::string PushRequest::getHarmonyImageUrl() const {
return harmonyImageUrl_;
}
void PushRequest::setHarmonyImageUrl(const std::string &harmonyImageUrl) {
harmonyImageUrl_ = harmonyImageUrl;
setParameter(std::string("HarmonyImageUrl"), harmonyImageUrl);
}
std::string PushRequest::getAndroidBigBody() const {
return androidBigBody_;
}
void PushRequest::setAndroidBigBody(const std::string &androidBigBody) {
androidBigBody_ = androidBigBody;
setParameter(std::string("AndroidBigBody"), androidBigBody);
}
std::string PushRequest::getTitle() const {
return title_;
}
void PushRequest::setTitle(const std::string &title) {
title_ = title;
setParameter(std::string("Title"), title);
}
std::string PushRequest::getAccessKeyId() const {
return accessKeyId_;
}
void PushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
int PushRequest::getHarmonyBadgeAddNum() const {
return harmonyBadgeAddNum_;
}
void PushRequest::setHarmonyBadgeAddNum(int harmonyBadgeAddNum) {
harmonyBadgeAddNum_ = harmonyBadgeAddNum;
setParameter(std::string("HarmonyBadgeAddNum"), std::to_string(harmonyBadgeAddNum));
}
bool PushRequest::getHarmonyTestMessage() const {
return harmonyTestMessage_;
}
void PushRequest::setHarmonyTestMessage(bool harmonyTestMessage) {
harmonyTestMessage_ = harmonyTestMessage;
setParameter(std::string("HarmonyTestMessage"), harmonyTestMessage ? "true" : "false");
}
int PushRequest::getAndroidBadgeAddNum() const {
return androidBadgeAddNum_;
}
void PushRequest::setAndroidBadgeAddNum(int androidBadgeAddNum) {
androidBadgeAddNum_ = androidBadgeAddNum;
setParameter(std::string("AndroidBadgeAddNum"), std::to_string(androidBadgeAddNum));
}
std::string PushRequest::getAndroidHuaweiReceiptId() const {
return androidHuaweiReceiptId_;
}
void PushRequest::setAndroidHuaweiReceiptId(const std::string &androidHuaweiReceiptId) {
androidHuaweiReceiptId_ = androidHuaweiReceiptId;
setParameter(std::string("AndroidHuaweiReceiptId"), androidHuaweiReceiptId);
}
std::string PushRequest::getAndroidNotificationHonorChannel() const {
return androidNotificationHonorChannel_;
}
void PushRequest::setAndroidNotificationHonorChannel(const std::string &androidNotificationHonorChannel) {
androidNotificationHonorChannel_ = androidNotificationHonorChannel;
setParameter(std::string("AndroidNotificationHonorChannel"), androidNotificationHonorChannel);
}
int PushRequest::getAndroidTargetUserType() const {
return androidTargetUserType_;
}
void PushRequest::setAndroidTargetUserType(int androidTargetUserType) {
androidTargetUserType_ = androidTargetUserType;
setParameter(std::string("AndroidTargetUserType"), std::to_string(androidTargetUserType));
}
std::string PushRequest::getAndroidPopupBody() const {
return androidPopupBody_;
}
void PushRequest::setAndroidPopupBody(const std::string &androidPopupBody) {
androidPopupBody_ = androidPopupBody;
setParameter(std::string("AndroidPopupBody"), androidPopupBody);
}
std::string PushRequest::getAndroidNotificationGroup() const {
return androidNotificationGroup_;
}
void PushRequest::setAndroidNotificationGroup(const std::string &androidNotificationGroup) {
androidNotificationGroup_ = androidNotificationGroup;
setParameter(std::string("AndroidNotificationGroup"), androidNotificationGroup);
}
std::string PushRequest::getSendChannels() const {
return sendChannels_;
}
void PushRequest::setSendChannels(const std::string &sendChannels) {
sendChannels_ = sendChannels;
setParameter(std::string("SendChannels"), sendChannels);
}
std::string PushRequest::getHarmonyActionType() const {
return harmonyActionType_;
}
void PushRequest::setHarmonyActionType(const std::string &harmonyActionType) {
harmonyActionType_ = harmonyActionType;
setParameter(std::string("HarmonyActionType"), harmonyActionType);
}
std::string PushRequest::getTarget() const {
return target_;
}
void PushRequest::setTarget(const std::string &target) {
target_ = target;
setParameter(std::string("Target"), target);
}
std::string PushRequest::getHarmonyInboxContent() const {
return harmonyInboxContent_;
}
void PushRequest::setHarmonyInboxContent(const std::string &harmonyInboxContent) {
harmonyInboxContent_ = harmonyInboxContent;
setParameter(std::string("HarmonyInboxContent"), harmonyInboxContent);
}
std::string PushRequest::getAndroidXiaoMiActivity() const {
return androidXiaoMiActivity_;
}

View File

@@ -43,15 +43,6 @@ void QueryPushRecordsRequest::setSource(const std::string &source) {
setParameter(std::string("Source"), source);
}
std::string QueryPushRecordsRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryPushRecordsRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string QueryPushRecordsRequest::getNextToken() const {
return nextToken_;
}

View File

@@ -85,8 +85,12 @@ set(quickbi-public_public_header_model
include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersResult.h
include/alibabacloud/quickbi-public/model/DeleteUserTagMetaRequest.h
include/alibabacloud/quickbi-public/model/DeleteUserTagMetaResult.h
include/alibabacloud/quickbi-public/model/GetMailTaskStatusRequest.h
include/alibabacloud/quickbi-public/model/GetMailTaskStatusResult.h
include/alibabacloud/quickbi-public/model/GetUserGroupInfoRequest.h
include/alibabacloud/quickbi-public/model/GetUserGroupInfoResult.h
include/alibabacloud/quickbi-public/model/GetWorksEmbedListRequest.h
include/alibabacloud/quickbi-public/model/GetWorksEmbedListResult.h
include/alibabacloud/quickbi-public/model/ListApiDatasourceRequest.h
include/alibabacloud/quickbi-public/model/ListApiDatasourceResult.h
include/alibabacloud/quickbi-public/model/ListByUserGroupIdRequest.h
@@ -117,6 +121,8 @@ set(quickbi-public_public_header_model
include/alibabacloud/quickbi-public/model/ListWorkspaceRoleUsersResult.h
include/alibabacloud/quickbi-public/model/ListWorkspaceRolesRequest.h
include/alibabacloud/quickbi-public/model/ListWorkspaceRolesResult.h
include/alibabacloud/quickbi-public/model/ManualRunMailTaskRequest.h
include/alibabacloud/quickbi-public/model/ManualRunMailTaskResult.h
include/alibabacloud/quickbi-public/model/ModifyApiDatasourceParametersRequest.h
include/alibabacloud/quickbi-public/model/ModifyApiDatasourceParametersResult.h
include/alibabacloud/quickbi-public/model/ModifyCopilotEmbedConfigRequest.h
@@ -292,8 +298,12 @@ set(quickbi-public_src
src/model/DeleteUserGroupMembersResult.cc
src/model/DeleteUserTagMetaRequest.cc
src/model/DeleteUserTagMetaResult.cc
src/model/GetMailTaskStatusRequest.cc
src/model/GetMailTaskStatusResult.cc
src/model/GetUserGroupInfoRequest.cc
src/model/GetUserGroupInfoResult.cc
src/model/GetWorksEmbedListRequest.cc
src/model/GetWorksEmbedListResult.cc
src/model/ListApiDatasourceRequest.cc
src/model/ListApiDatasourceResult.cc
src/model/ListByUserGroupIdRequest.cc
@@ -324,6 +334,8 @@ set(quickbi-public_src
src/model/ListWorkspaceRoleUsersResult.cc
src/model/ListWorkspaceRolesRequest.cc
src/model/ListWorkspaceRolesResult.cc
src/model/ManualRunMailTaskRequest.cc
src/model/ManualRunMailTaskResult.cc
src/model/ModifyApiDatasourceParametersRequest.cc
src/model/ModifyApiDatasourceParametersResult.cc
src/model/ModifyCopilotEmbedConfigRequest.cc

View File

@@ -86,8 +86,12 @@
#include "model/DeleteUserGroupMembersResult.h"
#include "model/DeleteUserTagMetaRequest.h"
#include "model/DeleteUserTagMetaResult.h"
#include "model/GetMailTaskStatusRequest.h"
#include "model/GetMailTaskStatusResult.h"
#include "model/GetUserGroupInfoRequest.h"
#include "model/GetUserGroupInfoResult.h"
#include "model/GetWorksEmbedListRequest.h"
#include "model/GetWorksEmbedListResult.h"
#include "model/ListApiDatasourceRequest.h"
#include "model/ListApiDatasourceResult.h"
#include "model/ListByUserGroupIdRequest.h"
@@ -118,6 +122,8 @@
#include "model/ListWorkspaceRoleUsersResult.h"
#include "model/ListWorkspaceRolesRequest.h"
#include "model/ListWorkspaceRolesResult.h"
#include "model/ManualRunMailTaskRequest.h"
#include "model/ManualRunMailTaskResult.h"
#include "model/ModifyApiDatasourceParametersRequest.h"
#include "model/ModifyApiDatasourceParametersResult.h"
#include "model/ModifyCopilotEmbedConfigRequest.h"
@@ -331,9 +337,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteUserTagMetaResult> DeleteUserTagMetaOutcome;
typedef std::future<DeleteUserTagMetaOutcome> DeleteUserTagMetaOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::DeleteUserTagMetaRequest&, const DeleteUserTagMetaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserTagMetaAsyncHandler;
typedef Outcome<Error, Model::GetMailTaskStatusResult> GetMailTaskStatusOutcome;
typedef std::future<GetMailTaskStatusOutcome> GetMailTaskStatusOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::GetMailTaskStatusRequest&, const GetMailTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMailTaskStatusAsyncHandler;
typedef Outcome<Error, Model::GetUserGroupInfoResult> GetUserGroupInfoOutcome;
typedef std::future<GetUserGroupInfoOutcome> GetUserGroupInfoOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::GetUserGroupInfoRequest&, const GetUserGroupInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserGroupInfoAsyncHandler;
typedef Outcome<Error, Model::GetWorksEmbedListResult> GetWorksEmbedListOutcome;
typedef std::future<GetWorksEmbedListOutcome> GetWorksEmbedListOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::GetWorksEmbedListRequest&, const GetWorksEmbedListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWorksEmbedListAsyncHandler;
typedef Outcome<Error, Model::ListApiDatasourceResult> ListApiDatasourceOutcome;
typedef std::future<ListApiDatasourceOutcome> ListApiDatasourceOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::ListApiDatasourceRequest&, const ListApiDatasourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApiDatasourceAsyncHandler;
@@ -379,6 +391,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListWorkspaceRolesResult> ListWorkspaceRolesOutcome;
typedef std::future<ListWorkspaceRolesOutcome> ListWorkspaceRolesOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::ListWorkspaceRolesRequest&, const ListWorkspaceRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListWorkspaceRolesAsyncHandler;
typedef Outcome<Error, Model::ManualRunMailTaskResult> ManualRunMailTaskOutcome;
typedef std::future<ManualRunMailTaskOutcome> ManualRunMailTaskOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::ManualRunMailTaskRequest&, const ManualRunMailTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ManualRunMailTaskAsyncHandler;
typedef Outcome<Error, Model::ModifyApiDatasourceParametersResult> ModifyApiDatasourceParametersOutcome;
typedef std::future<ModifyApiDatasourceParametersOutcome> ModifyApiDatasourceParametersOutcomeCallable;
typedef std::function<void(const Quickbi_publicClient*, const Model::ModifyApiDatasourceParametersRequest&, const ModifyApiDatasourceParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyApiDatasourceParametersAsyncHandler;
@@ -642,9 +657,15 @@ namespace AlibabaCloud
DeleteUserTagMetaOutcome deleteUserTagMeta(const Model::DeleteUserTagMetaRequest &request)const;
void deleteUserTagMetaAsync(const Model::DeleteUserTagMetaRequest& request, const DeleteUserTagMetaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUserTagMetaOutcomeCallable deleteUserTagMetaCallable(const Model::DeleteUserTagMetaRequest& request) const;
GetMailTaskStatusOutcome getMailTaskStatus(const Model::GetMailTaskStatusRequest &request)const;
void getMailTaskStatusAsync(const Model::GetMailTaskStatusRequest& request, const GetMailTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMailTaskStatusOutcomeCallable getMailTaskStatusCallable(const Model::GetMailTaskStatusRequest& request) const;
GetUserGroupInfoOutcome getUserGroupInfo(const Model::GetUserGroupInfoRequest &request)const;
void getUserGroupInfoAsync(const Model::GetUserGroupInfoRequest& request, const GetUserGroupInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserGroupInfoOutcomeCallable getUserGroupInfoCallable(const Model::GetUserGroupInfoRequest& request) const;
GetWorksEmbedListOutcome getWorksEmbedList(const Model::GetWorksEmbedListRequest &request)const;
void getWorksEmbedListAsync(const Model::GetWorksEmbedListRequest& request, const GetWorksEmbedListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetWorksEmbedListOutcomeCallable getWorksEmbedListCallable(const Model::GetWorksEmbedListRequest& request) const;
ListApiDatasourceOutcome listApiDatasource(const Model::ListApiDatasourceRequest &request)const;
void listApiDatasourceAsync(const Model::ListApiDatasourceRequest& request, const ListApiDatasourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListApiDatasourceOutcomeCallable listApiDatasourceCallable(const Model::ListApiDatasourceRequest& request) const;
@@ -690,6 +711,9 @@ namespace AlibabaCloud
ListWorkspaceRolesOutcome listWorkspaceRoles(const Model::ListWorkspaceRolesRequest &request)const;
void listWorkspaceRolesAsync(const Model::ListWorkspaceRolesRequest& request, const ListWorkspaceRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListWorkspaceRolesOutcomeCallable listWorkspaceRolesCallable(const Model::ListWorkspaceRolesRequest& request) const;
ManualRunMailTaskOutcome manualRunMailTask(const Model::ManualRunMailTaskRequest &request)const;
void manualRunMailTaskAsync(const Model::ManualRunMailTaskRequest& request, const ManualRunMailTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ManualRunMailTaskOutcomeCallable manualRunMailTaskCallable(const Model::ManualRunMailTaskRequest& request) const;
ModifyApiDatasourceParametersOutcome modifyApiDatasourceParameters(const Model::ModifyApiDatasourceParametersRequest &request)const;
void modifyApiDatasourceParametersAsync(const Model::ModifyApiDatasourceParametersRequest& request, const ModifyApiDatasourceParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyApiDatasourceParametersOutcomeCallable modifyApiDatasourceParametersCallable(const Model::ModifyApiDatasourceParametersRequest& request) const;

View 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.
*/
#ifndef ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETMAILTASKSTATUSREQUEST_H_
#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETMAILTASKSTATUSREQUEST_H_
#include <alibabacloud/quickbi-public/Quickbi_publicExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Quickbi_public {
namespace Model {
class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT GetMailTaskStatusRequest : public RpcServiceRequest {
public:
GetMailTaskStatusRequest();
~GetMailTaskStatusRequest();
std::string getAccessPoint() const;
void setAccessPoint(const std::string &accessPoint);
std::string getSignType() const;
void setSignType(const std::string &signType);
std::string getMailId() const;
void setMailId(const std::string &mailId);
long getTaskId() const;
void setTaskId(long taskId);
private:
std::string accessPoint_;
std::string signType_;
std::string mailId_;
long taskId_;
};
} // namespace Model
} // namespace Quickbi_public
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETMAILTASKSTATUSREQUEST_H_

View File

@@ -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_QUICKBI_PUBLIC_MODEL_GETMAILTASKSTATUSRESULT_H_
#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETMAILTASKSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/quickbi-public/Quickbi_publicExport.h>
namespace AlibabaCloud
{
namespace Quickbi_public
{
namespace Model
{
class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT GetMailTaskStatusResult : public ServiceResult
{
public:
struct DATA
{
std::string status;
long taskId;
std::string execTime;
std::string mailId;
};
GetMailTaskStatusResult();
explicit GetMailTaskStatusResult(const std::string &payload);
~GetMailTaskStatusResult();
bool getSuccess()const;
std::vector<DATA> getResult()const;
protected:
void parse(const std::string &payload);
private:
bool success_;
std::vector<DATA> result_;
};
}
}
}
#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETMAILTASKSTATUSRESULT_H_

View File

@@ -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_QUICKBI_PUBLIC_MODEL_GETWORKSEMBEDLISTREQUEST_H_
#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETWORKSEMBEDLISTREQUEST_H_
#include <alibabacloud/quickbi-public/Quickbi_publicExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Quickbi_public {
namespace Model {
class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT GetWorksEmbedListRequest : public RpcServiceRequest {
public:
GetWorksEmbedListRequest();
~GetWorksEmbedListRequest();
std::string getWsId() const;
void setWsId(const std::string &wsId);
std::string getAccessPoint() const;
void setAccessPoint(const std::string &accessPoint);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getKeyword() const;
void setKeyword(const std::string &keyword);
std::string getWorksType() const;
void setWorksType(const std::string &worksType);
std::string getSignType() const;
void setSignType(const std::string &signType);
int getPageNo() const;
void setPageNo(int pageNo);
private:
std::string wsId_;
std::string accessPoint_;
int pageSize_;
std::string keyword_;
std::string worksType_;
std::string signType_;
int pageNo_;
};
} // namespace Model
} // namespace Quickbi_public
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETWORKSEMBEDLISTREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_QUICKBI_PUBLIC_MODEL_GETWORKSEMBEDLISTRESULT_H_
#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETWORKSEMBEDLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/quickbi-public/Quickbi_publicExport.h>
namespace AlibabaCloud
{
namespace Quickbi_public
{
namespace Model
{
class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT GetWorksEmbedListResult : public ServiceResult
{
public:
struct Result
{
struct DataItem
{
std::string embedTime;
std::string worksType;
std::string worksName;
std::string workspaceId;
std::string worksId;
};
long totalNum;
long pageSize;
std::vector<DataItem> data;
long pageNo;
long totalPages;
};
GetWorksEmbedListResult();
explicit GetWorksEmbedListResult(const std::string &payload);
~GetWorksEmbedListResult();
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETWORKSEMBEDLISTRESULT_H_

View File

@@ -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_QUICKBI_PUBLIC_MODEL_MANUALRUNMAILTASKREQUEST_H_
#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_MANUALRUNMAILTASKREQUEST_H_
#include <alibabacloud/quickbi-public/Quickbi_publicExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Quickbi_public {
namespace Model {
class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ManualRunMailTaskRequest : public RpcServiceRequest {
public:
ManualRunMailTaskRequest();
~ManualRunMailTaskRequest();
std::string getAccessPoint() const;
void setAccessPoint(const std::string &accessPoint);
std::string getSignType() const;
void setSignType(const std::string &signType);
std::string getMailId() const;
void setMailId(const std::string &mailId);
private:
std::string accessPoint_;
std::string signType_;
std::string mailId_;
};
} // namespace Model
} // namespace Quickbi_public
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_MANUALRUNMAILTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_QUICKBI_PUBLIC_MODEL_MANUALRUNMAILTASKRESULT_H_
#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_MANUALRUNMAILTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/quickbi-public/Quickbi_publicExport.h>
namespace AlibabaCloud
{
namespace Quickbi_public
{
namespace Model
{
class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ManualRunMailTaskResult : public ServiceResult
{
public:
ManualRunMailTaskResult();
explicit ManualRunMailTaskResult(const std::string &payload);
~ManualRunMailTaskResult();
bool getSuccess()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool success_;
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_MANUALRUNMAILTASKRESULT_H_

View File

@@ -1203,6 +1203,42 @@ Quickbi_publicClient::DeleteUserTagMetaOutcomeCallable Quickbi_publicClient::del
return task->get_future();
}
Quickbi_publicClient::GetMailTaskStatusOutcome Quickbi_publicClient::getMailTaskStatus(const GetMailTaskStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMailTaskStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMailTaskStatusOutcome(GetMailTaskStatusResult(outcome.result()));
else
return GetMailTaskStatusOutcome(outcome.error());
}
void Quickbi_publicClient::getMailTaskStatusAsync(const GetMailTaskStatusRequest& request, const GetMailTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMailTaskStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
Quickbi_publicClient::GetMailTaskStatusOutcomeCallable Quickbi_publicClient::getMailTaskStatusCallable(const GetMailTaskStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMailTaskStatusOutcome()>>(
[this, request]()
{
return this->getMailTaskStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Quickbi_publicClient::GetUserGroupInfoOutcome Quickbi_publicClient::getUserGroupInfo(const GetUserGroupInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1275,42 @@ Quickbi_publicClient::GetUserGroupInfoOutcomeCallable Quickbi_publicClient::getU
return task->get_future();
}
Quickbi_publicClient::GetWorksEmbedListOutcome Quickbi_publicClient::getWorksEmbedList(const GetWorksEmbedListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetWorksEmbedListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetWorksEmbedListOutcome(GetWorksEmbedListResult(outcome.result()));
else
return GetWorksEmbedListOutcome(outcome.error());
}
void Quickbi_publicClient::getWorksEmbedListAsync(const GetWorksEmbedListRequest& request, const GetWorksEmbedListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getWorksEmbedList(request), context);
};
asyncExecute(new Runnable(fn));
}
Quickbi_publicClient::GetWorksEmbedListOutcomeCallable Quickbi_publicClient::getWorksEmbedListCallable(const GetWorksEmbedListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetWorksEmbedListOutcome()>>(
[this, request]()
{
return this->getWorksEmbedList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Quickbi_publicClient::ListApiDatasourceOutcome Quickbi_publicClient::listApiDatasource(const ListApiDatasourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1779,6 +1851,42 @@ Quickbi_publicClient::ListWorkspaceRolesOutcomeCallable Quickbi_publicClient::li
return task->get_future();
}
Quickbi_publicClient::ManualRunMailTaskOutcome Quickbi_publicClient::manualRunMailTask(const ManualRunMailTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ManualRunMailTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ManualRunMailTaskOutcome(ManualRunMailTaskResult(outcome.result()));
else
return ManualRunMailTaskOutcome(outcome.error());
}
void Quickbi_publicClient::manualRunMailTaskAsync(const ManualRunMailTaskRequest& request, const ManualRunMailTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, manualRunMailTask(request), context);
};
asyncExecute(new Runnable(fn));
}
Quickbi_publicClient::ManualRunMailTaskOutcomeCallable Quickbi_publicClient::manualRunMailTaskCallable(const ManualRunMailTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ManualRunMailTaskOutcome()>>(
[this, request]()
{
return this->manualRunMailTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Quickbi_publicClient::ModifyApiDatasourceParametersOutcome Quickbi_publicClient::modifyApiDatasourceParameters(const ModifyApiDatasourceParametersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -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.
*/
#include <alibabacloud/quickbi-public/model/GetMailTaskStatusRequest.h>
using AlibabaCloud::Quickbi_public::Model::GetMailTaskStatusRequest;
GetMailTaskStatusRequest::GetMailTaskStatusRequest()
: RpcServiceRequest("quickbi-public", "2022-01-01", "GetMailTaskStatus") {
setMethod(HttpRequest::Method::Post);
}
GetMailTaskStatusRequest::~GetMailTaskStatusRequest() {}
std::string GetMailTaskStatusRequest::getAccessPoint() const {
return accessPoint_;
}
void GetMailTaskStatusRequest::setAccessPoint(const std::string &accessPoint) {
accessPoint_ = accessPoint;
setParameter(std::string("AccessPoint"), accessPoint);
}
std::string GetMailTaskStatusRequest::getSignType() const {
return signType_;
}
void GetMailTaskStatusRequest::setSignType(const std::string &signType) {
signType_ = signType;
setParameter(std::string("SignType"), signType);
}
std::string GetMailTaskStatusRequest::getMailId() const {
return mailId_;
}
void GetMailTaskStatusRequest::setMailId(const std::string &mailId) {
mailId_ = mailId;
setParameter(std::string("MailId"), mailId);
}
long GetMailTaskStatusRequest::getTaskId() const {
return taskId_;
}
void GetMailTaskStatusRequest::setTaskId(long taskId) {
taskId_ = taskId;
setParameter(std::string("TaskId"), std::to_string(taskId));
}

View File

@@ -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.
*/
#include <alibabacloud/quickbi-public/model/GetMailTaskStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Quickbi_public;
using namespace AlibabaCloud::Quickbi_public::Model;
GetMailTaskStatusResult::GetMailTaskStatusResult() :
ServiceResult()
{}
GetMailTaskStatusResult::GetMailTaskStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMailTaskStatusResult::~GetMailTaskStatusResult()
{}
void GetMailTaskStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allResultNode = value["Result"]["DATA"];
for (auto valueResultDATA : allResultNode)
{
DATA resultObject;
if(!valueResultDATA["execTime"].isNull())
resultObject.execTime = valueResultDATA["execTime"].asString();
if(!valueResultDATA["mailId"].isNull())
resultObject.mailId = valueResultDATA["mailId"].asString();
if(!valueResultDATA["status"].isNull())
resultObject.status = valueResultDATA["status"].asString();
if(!valueResultDATA["taskId"].isNull())
resultObject.taskId = std::stol(valueResultDATA["taskId"].asString());
result_.push_back(resultObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
bool GetMailTaskStatusResult::getSuccess()const
{
return success_;
}
std::vector<GetMailTaskStatusResult::DATA> GetMailTaskStatusResult::getResult()const
{
return result_;
}

View 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/quickbi-public/model/GetWorksEmbedListRequest.h>
using AlibabaCloud::Quickbi_public::Model::GetWorksEmbedListRequest;
GetWorksEmbedListRequest::GetWorksEmbedListRequest()
: RpcServiceRequest("quickbi-public", "2022-01-01", "GetWorksEmbedList") {
setMethod(HttpRequest::Method::Post);
}
GetWorksEmbedListRequest::~GetWorksEmbedListRequest() {}
std::string GetWorksEmbedListRequest::getWsId() const {
return wsId_;
}
void GetWorksEmbedListRequest::setWsId(const std::string &wsId) {
wsId_ = wsId;
setParameter(std::string("WsId"), wsId);
}
std::string GetWorksEmbedListRequest::getAccessPoint() const {
return accessPoint_;
}
void GetWorksEmbedListRequest::setAccessPoint(const std::string &accessPoint) {
accessPoint_ = accessPoint;
setParameter(std::string("AccessPoint"), accessPoint);
}
int GetWorksEmbedListRequest::getPageSize() const {
return pageSize_;
}
void GetWorksEmbedListRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string GetWorksEmbedListRequest::getKeyword() const {
return keyword_;
}
void GetWorksEmbedListRequest::setKeyword(const std::string &keyword) {
keyword_ = keyword;
setParameter(std::string("Keyword"), keyword);
}
std::string GetWorksEmbedListRequest::getWorksType() const {
return worksType_;
}
void GetWorksEmbedListRequest::setWorksType(const std::string &worksType) {
worksType_ = worksType;
setParameter(std::string("WorksType"), worksType);
}
std::string GetWorksEmbedListRequest::getSignType() const {
return signType_;
}
void GetWorksEmbedListRequest::setSignType(const std::string &signType) {
signType_ = signType;
setParameter(std::string("SignType"), signType);
}
int GetWorksEmbedListRequest::getPageNo() const {
return pageNo_;
}
void GetWorksEmbedListRequest::setPageNo(int pageNo) {
pageNo_ = pageNo;
setParameter(std::string("PageNo"), std::to_string(pageNo));
}

View File

@@ -0,0 +1,81 @@
/*
* 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/quickbi-public/model/GetWorksEmbedListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Quickbi_public;
using namespace AlibabaCloud::Quickbi_public::Model;
GetWorksEmbedListResult::GetWorksEmbedListResult() :
ServiceResult()
{}
GetWorksEmbedListResult::GetWorksEmbedListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetWorksEmbedListResult::~GetWorksEmbedListResult()
{}
void GetWorksEmbedListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["PageNo"].isNull())
result_.pageNo = std::stol(resultNode["PageNo"].asString());
if(!resultNode["PageSize"].isNull())
result_.pageSize = std::stol(resultNode["PageSize"].asString());
if(!resultNode["TotalNum"].isNull())
result_.totalNum = std::stol(resultNode["TotalNum"].asString());
if(!resultNode["TotalPages"].isNull())
result_.totalPages = std::stol(resultNode["TotalPages"].asString());
auto allDataNode = resultNode["Data"]["DataItem"];
for (auto resultNodeDataDataItem : allDataNode)
{
Result::DataItem dataItemObject;
if(!resultNodeDataDataItem["EmbedTime"].isNull())
dataItemObject.embedTime = resultNodeDataDataItem["EmbedTime"].asString();
if(!resultNodeDataDataItem["WorksId"].isNull())
dataItemObject.worksId = resultNodeDataDataItem["WorksId"].asString();
if(!resultNodeDataDataItem["WorksName"].isNull())
dataItemObject.worksName = resultNodeDataDataItem["WorksName"].asString();
if(!resultNodeDataDataItem["WorksType"].isNull())
dataItemObject.worksType = resultNodeDataDataItem["WorksType"].asString();
if(!resultNodeDataDataItem["WorkspaceId"].isNull())
dataItemObject.workspaceId = resultNodeDataDataItem["WorkspaceId"].asString();
result_.data.push_back(dataItemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
bool GetWorksEmbedListResult::getSuccess()const
{
return success_;
}
GetWorksEmbedListResult::Result GetWorksEmbedListResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,54 @@
/*
* 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/quickbi-public/model/ManualRunMailTaskRequest.h>
using AlibabaCloud::Quickbi_public::Model::ManualRunMailTaskRequest;
ManualRunMailTaskRequest::ManualRunMailTaskRequest()
: RpcServiceRequest("quickbi-public", "2022-01-01", "ManualRunMailTask") {
setMethod(HttpRequest::Method::Post);
}
ManualRunMailTaskRequest::~ManualRunMailTaskRequest() {}
std::string ManualRunMailTaskRequest::getAccessPoint() const {
return accessPoint_;
}
void ManualRunMailTaskRequest::setAccessPoint(const std::string &accessPoint) {
accessPoint_ = accessPoint;
setParameter(std::string("AccessPoint"), accessPoint);
}
std::string ManualRunMailTaskRequest::getSignType() const {
return signType_;
}
void ManualRunMailTaskRequest::setSignType(const std::string &signType) {
signType_ = signType;
setParameter(std::string("SignType"), signType);
}
std::string ManualRunMailTaskRequest::getMailId() const {
return mailId_;
}
void ManualRunMailTaskRequest::setMailId(const std::string &mailId) {
mailId_ = mailId;
setParameter(std::string("MailId"), mailId);
}

View File

@@ -0,0 +1,58 @@
/*
* 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/quickbi-public/model/ManualRunMailTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Quickbi_public;
using namespace AlibabaCloud::Quickbi_public::Model;
ManualRunMailTaskResult::ManualRunMailTaskResult() :
ServiceResult()
{}
ManualRunMailTaskResult::ManualRunMailTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ManualRunMailTaskResult::~ManualRunMailTaskResult()
{}
void ManualRunMailTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
bool ManualRunMailTaskResult::getSuccess()const
{
return success_;
}
bool ManualRunMailTaskResult::getResult()const
{
return result_;
}

View File

@@ -49,6 +49,8 @@ set(vod_public_header_model
include/alibabacloud/vod/model/BatchStopVodDomainResult.h
include/alibabacloud/vod/model/CancelUrlUploadJobsRequest.h
include/alibabacloud/vod/model/CancelUrlUploadJobsResult.h
include/alibabacloud/vod/model/ChangeResourceGroupRequest.h
include/alibabacloud/vod/model/ChangeResourceGroupResult.h
include/alibabacloud/vod/model/CreateAppInfoRequest.h
include/alibabacloud/vod/model/CreateAppInfoResult.h
include/alibabacloud/vod/model/CreateAuditRequest.h
@@ -161,6 +163,8 @@ set(vod_public_header_model
include/alibabacloud/vod/model/DescribeVodRefreshQuotaResult.h
include/alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h
include/alibabacloud/vod/model/DescribeVodRefreshTasksResult.h
include/alibabacloud/vod/model/DescribeVodSSLCertificateListRequest.h
include/alibabacloud/vod/model/DescribeVodSSLCertificateListResult.h
include/alibabacloud/vod/model/DescribeVodStorageDataRequest.h
include/alibabacloud/vod/model/DescribeVodStorageDataResult.h
include/alibabacloud/vod/model/DescribeVodTieringStorageDataRequest.h
@@ -309,6 +313,8 @@ set(vod_public_header_model
include/alibabacloud/vod/model/SetMessageCallbackResult.h
include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h
include/alibabacloud/vod/model/SetVodDomainCertificateResult.h
include/alibabacloud/vod/model/SetVodDomainSSLCertificateRequest.h
include/alibabacloud/vod/model/SetVodDomainSSLCertificateResult.h
include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h
include/alibabacloud/vod/model/SubmitAIImageAuditJobResult.h
include/alibabacloud/vod/model/SubmitAIImageJobRequest.h
@@ -394,6 +400,8 @@ set(vod_src
src/model/BatchStopVodDomainResult.cc
src/model/CancelUrlUploadJobsRequest.cc
src/model/CancelUrlUploadJobsResult.cc
src/model/ChangeResourceGroupRequest.cc
src/model/ChangeResourceGroupResult.cc
src/model/CreateAppInfoRequest.cc
src/model/CreateAppInfoResult.cc
src/model/CreateAuditRequest.cc
@@ -506,6 +514,8 @@ set(vod_src
src/model/DescribeVodRefreshQuotaResult.cc
src/model/DescribeVodRefreshTasksRequest.cc
src/model/DescribeVodRefreshTasksResult.cc
src/model/DescribeVodSSLCertificateListRequest.cc
src/model/DescribeVodSSLCertificateListResult.cc
src/model/DescribeVodStorageDataRequest.cc
src/model/DescribeVodStorageDataResult.cc
src/model/DescribeVodTieringStorageDataRequest.cc
@@ -654,6 +664,8 @@ set(vod_src
src/model/SetMessageCallbackResult.cc
src/model/SetVodDomainCertificateRequest.cc
src/model/SetVodDomainCertificateResult.cc
src/model/SetVodDomainSSLCertificateRequest.cc
src/model/SetVodDomainSSLCertificateResult.cc
src/model/SubmitAIImageAuditJobRequest.cc
src/model/SubmitAIImageAuditJobResult.cc
src/model/SubmitAIImageJobRequest.cc

View File

@@ -50,6 +50,8 @@
#include "model/BatchStopVodDomainResult.h"
#include "model/CancelUrlUploadJobsRequest.h"
#include "model/CancelUrlUploadJobsResult.h"
#include "model/ChangeResourceGroupRequest.h"
#include "model/ChangeResourceGroupResult.h"
#include "model/CreateAppInfoRequest.h"
#include "model/CreateAppInfoResult.h"
#include "model/CreateAuditRequest.h"
@@ -162,6 +164,8 @@
#include "model/DescribeVodRefreshQuotaResult.h"
#include "model/DescribeVodRefreshTasksRequest.h"
#include "model/DescribeVodRefreshTasksResult.h"
#include "model/DescribeVodSSLCertificateListRequest.h"
#include "model/DescribeVodSSLCertificateListResult.h"
#include "model/DescribeVodStorageDataRequest.h"
#include "model/DescribeVodStorageDataResult.h"
#include "model/DescribeVodTieringStorageDataRequest.h"
@@ -310,6 +314,8 @@
#include "model/SetMessageCallbackResult.h"
#include "model/SetVodDomainCertificateRequest.h"
#include "model/SetVodDomainCertificateResult.h"
#include "model/SetVodDomainSSLCertificateRequest.h"
#include "model/SetVodDomainSSLCertificateResult.h"
#include "model/SubmitAIImageAuditJobRequest.h"
#include "model/SubmitAIImageAuditJobResult.h"
#include "model/SubmitAIImageJobRequest.h"
@@ -415,6 +421,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelUrlUploadJobsResult> CancelUrlUploadJobsOutcome;
typedef std::future<CancelUrlUploadJobsOutcome> CancelUrlUploadJobsOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::CancelUrlUploadJobsRequest&, const CancelUrlUploadJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelUrlUploadJobsAsyncHandler;
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
typedef Outcome<Error, Model::CreateAppInfoResult> CreateAppInfoOutcome;
typedef std::future<CreateAppInfoOutcome> CreateAppInfoOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::CreateAppInfoRequest&, const CreateAppInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppInfoAsyncHandler;
@@ -583,6 +592,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeVodRefreshTasksResult> DescribeVodRefreshTasksOutcome;
typedef std::future<DescribeVodRefreshTasksOutcome> DescribeVodRefreshTasksOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodRefreshTasksRequest&, const DescribeVodRefreshTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodRefreshTasksAsyncHandler;
typedef Outcome<Error, Model::DescribeVodSSLCertificateListResult> DescribeVodSSLCertificateListOutcome;
typedef std::future<DescribeVodSSLCertificateListOutcome> DescribeVodSSLCertificateListOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodSSLCertificateListRequest&, const DescribeVodSSLCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodSSLCertificateListAsyncHandler;
typedef Outcome<Error, Model::DescribeVodStorageDataResult> DescribeVodStorageDataOutcome;
typedef std::future<DescribeVodStorageDataOutcome> DescribeVodStorageDataOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodStorageDataRequest&, const DescribeVodStorageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodStorageDataAsyncHandler;
@@ -805,6 +817,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetVodDomainCertificateResult> SetVodDomainCertificateOutcome;
typedef std::future<SetVodDomainCertificateOutcome> SetVodDomainCertificateOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SetVodDomainCertificateRequest&, const SetVodDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVodDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::SetVodDomainSSLCertificateResult> SetVodDomainSSLCertificateOutcome;
typedef std::future<SetVodDomainSSLCertificateOutcome> SetVodDomainSSLCertificateOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SetVodDomainSSLCertificateRequest&, const SetVodDomainSSLCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVodDomainSSLCertificateAsyncHandler;
typedef Outcome<Error, Model::SubmitAIImageAuditJobResult> SubmitAIImageAuditJobOutcome;
typedef std::future<SubmitAIImageAuditJobOutcome> SubmitAIImageAuditJobOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SubmitAIImageAuditJobRequest&, const SubmitAIImageAuditJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIImageAuditJobAsyncHandler;
@@ -933,6 +948,9 @@ namespace AlibabaCloud
CancelUrlUploadJobsOutcome cancelUrlUploadJobs(const Model::CancelUrlUploadJobsRequest &request)const;
void cancelUrlUploadJobsAsync(const Model::CancelUrlUploadJobsRequest& request, const CancelUrlUploadJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelUrlUploadJobsOutcomeCallable cancelUrlUploadJobsCallable(const Model::CancelUrlUploadJobsRequest& request) const;
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
CreateAppInfoOutcome createAppInfo(const Model::CreateAppInfoRequest &request)const;
void createAppInfoAsync(const Model::CreateAppInfoRequest& request, const CreateAppInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppInfoOutcomeCallable createAppInfoCallable(const Model::CreateAppInfoRequest& request) const;
@@ -1101,6 +1119,9 @@ namespace AlibabaCloud
DescribeVodRefreshTasksOutcome describeVodRefreshTasks(const Model::DescribeVodRefreshTasksRequest &request)const;
void describeVodRefreshTasksAsync(const Model::DescribeVodRefreshTasksRequest& request, const DescribeVodRefreshTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodRefreshTasksOutcomeCallable describeVodRefreshTasksCallable(const Model::DescribeVodRefreshTasksRequest& request) const;
DescribeVodSSLCertificateListOutcome describeVodSSLCertificateList(const Model::DescribeVodSSLCertificateListRequest &request)const;
void describeVodSSLCertificateListAsync(const Model::DescribeVodSSLCertificateListRequest& request, const DescribeVodSSLCertificateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodSSLCertificateListOutcomeCallable describeVodSSLCertificateListCallable(const Model::DescribeVodSSLCertificateListRequest& request) const;
DescribeVodStorageDataOutcome describeVodStorageData(const Model::DescribeVodStorageDataRequest &request)const;
void describeVodStorageDataAsync(const Model::DescribeVodStorageDataRequest& request, const DescribeVodStorageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodStorageDataOutcomeCallable describeVodStorageDataCallable(const Model::DescribeVodStorageDataRequest& request) const;
@@ -1323,6 +1344,9 @@ namespace AlibabaCloud
SetVodDomainCertificateOutcome setVodDomainCertificate(const Model::SetVodDomainCertificateRequest &request)const;
void setVodDomainCertificateAsync(const Model::SetVodDomainCertificateRequest& request, const SetVodDomainCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetVodDomainCertificateOutcomeCallable setVodDomainCertificateCallable(const Model::SetVodDomainCertificateRequest& request) const;
SetVodDomainSSLCertificateOutcome setVodDomainSSLCertificate(const Model::SetVodDomainSSLCertificateRequest &request)const;
void setVodDomainSSLCertificateAsync(const Model::SetVodDomainSSLCertificateRequest& request, const SetVodDomainSSLCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetVodDomainSSLCertificateOutcomeCallable setVodDomainSSLCertificateCallable(const Model::SetVodDomainSSLCertificateRequest& request) const;
SubmitAIImageAuditJobOutcome submitAIImageAuditJob(const Model::SubmitAIImageAuditJobRequest &request)const;
void submitAIImageAuditJobAsync(const Model::SubmitAIImageAuditJobRequest& request, const SubmitAIImageAuditJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitAIImageAuditJobOutcomeCallable submitAIImageAuditJobCallable(const Model::SubmitAIImageAuditJobRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* 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_VOD_MODEL_CHANGERESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_CHANGERESOURCEGROUPREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
public:
ChangeResourceGroupRequest();
~ChangeResourceGroupRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getResourceRegionId() const;
void setResourceRegionId(const std::string &resourceRegionId);
std::string getResourceId() const;
void setResourceId(const std::string &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getService() const;
void setService(const std::string &service);
private:
std::string resourceGroupId_;
std::string resourceRegionId_;
std::string resourceId_;
std::string resourceType_;
std::string service_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_CHANGERESOURCEGROUPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_VOD_MODEL_CHANGERESOURCEGROUPRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_CHANGERESOURCEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT ChangeResourceGroupResult : public ServiceResult
{
public:
ChangeResourceGroupResult();
explicit ChangeResourceGroupResult(const std::string &payload);
~ChangeResourceGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_CHANGERESOURCEGROUPRESULT_H_

View File

@@ -35,14 +35,20 @@ namespace AlibabaCloud
struct CertInfo
{
std::string status;
std::string certLife;
std::string domainName;
std::string certId;
std::string certRegion;
std::string certType;
std::string certStartTime;
std::string serverCertificateStatus;
std::string serverCertificate;
std::string certUpdateTime;
std::string certLife;
std::string certDomainName;
std::string certOrg;
std::string certType;
std::string certExpireTime;
std::string domainCnameStatus;
std::string certName;
std::string serverCertificateStatus;
};

View File

@@ -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_VOD_MODEL_DESCRIBEVODSSLCERTIFICATELISTREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSSLCERTIFICATELISTREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT DescribeVodSSLCertificateListRequest : public RpcServiceRequest {
public:
DescribeVodSSLCertificateListRequest();
~DescribeVodSSLCertificateListRequest();
long getPageNumber() const;
void setPageNumber(long pageNumber);
std::string getSecurityToken() const;
void setSecurityToken(const std::string &securityToken);
long getPageSize() const;
void setPageSize(long pageSize);
std::string getMatchType() const;
void setMatchType(const std::string &matchType);
std::string getAlgorithm() const;
void setAlgorithm(const std::string &algorithm);
std::string getDomainName() const;
void setDomainName(const std::string &domainName);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getSearchKeyword() const;
void setSearchKeyword(const std::string &searchKeyword);
private:
long pageNumber_;
std::string securityToken_;
long pageSize_;
std::string matchType_;
std::string algorithm_;
std::string domainName_;
long ownerId_;
std::string searchKeyword_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSSLCERTIFICATELISTREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_VOD_MODEL_DESCRIBEVODSSLCERTIFICATELISTRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSSLCERTIFICATELISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DescribeVodSSLCertificateListResult : public ServiceResult
{
public:
struct CertificateListModel
{
struct Cert
{
std::string fingerprint;
std::string issuer;
long certId;
std::string certRegion;
std::string certName;
long lastTime;
std::string common;
};
std::vector<Cert> certList;
long pageSize;
long pageNumber;
int count;
};
DescribeVodSSLCertificateListResult();
explicit DescribeVodSSLCertificateListResult(const std::string &payload);
~DescribeVodSSLCertificateListResult();
CertificateListModel getCertificateListModel()const;
protected:
void parse(const std::string &payload);
private:
CertificateListModel certificateListModel_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSSLCERTIFICATELISTRESULT_H_

View File

@@ -76,6 +76,7 @@ namespace AlibabaCloud
std::string duration;
std::string bitrate;
long encrypt;
std::string encryptMode;
int jobType;
std::string encryptType;
std::string playURL;

View 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.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_SETVODDOMAINSSLCERTIFICATEREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_SETVODDOMAINSSLCERTIFICATEREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT SetVodDomainSSLCertificateRequest : public RpcServiceRequest {
public:
SetVodDomainSSLCertificateRequest();
~SetVodDomainSSLCertificateRequest();
std::string getSSLProtocol() const;
void setSSLProtocol(const std::string &sSLProtocol);
long getCertId() const;
void setCertId(long certId);
std::string getSecurityToken() const;
void setSecurityToken(const std::string &securityToken);
std::string getCertType() const;
void setCertType(const std::string &certType);
std::string getSSLPri() const;
void setSSLPri(const std::string &sSLPri);
std::string getCertRegion() const;
void setCertRegion(const std::string &certRegion);
std::string getCertName() const;
void setCertName(const std::string &certName);
std::string getDomainName() const;
void setDomainName(const std::string &domainName);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getEnv() const;
void setEnv(const std::string &env);
std::string getSSLPub() const;
void setSSLPub(const std::string &sSLPub);
private:
std::string sSLProtocol_;
long certId_;
std::string securityToken_;
std::string certType_;
std::string sSLPri_;
std::string certRegion_;
std::string certName_;
std::string domainName_;
long ownerId_;
std::string env_;
std::string sSLPub_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_SETVODDOMAINSSLCERTIFICATEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_VOD_MODEL_SETVODDOMAINSSLCERTIFICATERESULT_H_
#define ALIBABACLOUD_VOD_MODEL_SETVODDOMAINSSLCERTIFICATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT SetVodDomainSSLCertificateResult : public ServiceResult
{
public:
SetVodDomainSSLCertificateResult();
explicit SetVodDomainSSLCertificateResult(const std::string &payload);
~SetVodDomainSSLCertificateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_SETVODDOMAINSSLCERTIFICATERESULT_H_

View File

@@ -555,6 +555,42 @@ VodClient::CancelUrlUploadJobsOutcomeCallable VodClient::cancelUrlUploadJobsCall
return task->get_future();
}
VodClient::ChangeResourceGroupOutcome VodClient::changeResourceGroup(const ChangeResourceGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ChangeResourceGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ChangeResourceGroupOutcome(ChangeResourceGroupResult(outcome.result()));
else
return ChangeResourceGroupOutcome(outcome.error());
}
void VodClient::changeResourceGroupAsync(const ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, changeResourceGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::ChangeResourceGroupOutcomeCallable VodClient::changeResourceGroupCallable(const ChangeResourceGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ChangeResourceGroupOutcome()>>(
[this, request]()
{
return this->changeResourceGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::CreateAppInfoOutcome VodClient::createAppInfo(const CreateAppInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2571,6 +2607,42 @@ VodClient::DescribeVodRefreshTasksOutcomeCallable VodClient::describeVodRefreshT
return task->get_future();
}
VodClient::DescribeVodSSLCertificateListOutcome VodClient::describeVodSSLCertificateList(const DescribeVodSSLCertificateListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVodSSLCertificateListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVodSSLCertificateListOutcome(DescribeVodSSLCertificateListResult(outcome.result()));
else
return DescribeVodSSLCertificateListOutcome(outcome.error());
}
void VodClient::describeVodSSLCertificateListAsync(const DescribeVodSSLCertificateListRequest& request, const DescribeVodSSLCertificateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVodSSLCertificateList(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::DescribeVodSSLCertificateListOutcomeCallable VodClient::describeVodSSLCertificateListCallable(const DescribeVodSSLCertificateListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVodSSLCertificateListOutcome()>>(
[this, request]()
{
return this->describeVodSSLCertificateList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::DescribeVodStorageDataOutcome VodClient::describeVodStorageData(const DescribeVodStorageDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5235,6 +5307,42 @@ VodClient::SetVodDomainCertificateOutcomeCallable VodClient::setVodDomainCertifi
return task->get_future();
}
VodClient::SetVodDomainSSLCertificateOutcome VodClient::setVodDomainSSLCertificate(const SetVodDomainSSLCertificateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetVodDomainSSLCertificateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetVodDomainSSLCertificateOutcome(SetVodDomainSSLCertificateResult(outcome.result()));
else
return SetVodDomainSSLCertificateOutcome(outcome.error());
}
void VodClient::setVodDomainSSLCertificateAsync(const SetVodDomainSSLCertificateRequest& request, const SetVodDomainSSLCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setVodDomainSSLCertificate(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::SetVodDomainSSLCertificateOutcomeCallable VodClient::setVodDomainSSLCertificateCallable(const SetVodDomainSSLCertificateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetVodDomainSSLCertificateOutcome()>>(
[this, request]()
{
return this->setVodDomainSSLCertificate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::SubmitAIImageAuditJobOutcome VodClient::submitAIImageAuditJob(const SubmitAIImageAuditJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View 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/vod/model/ChangeResourceGroupRequest.h>
using AlibabaCloud::Vod::Model::ChangeResourceGroupRequest;
ChangeResourceGroupRequest::ChangeResourceGroupRequest()
: RpcServiceRequest("vod", "2017-03-21", "ChangeResourceGroup") {
setMethod(HttpRequest::Method::Post);
}
ChangeResourceGroupRequest::~ChangeResourceGroupRequest() {}
std::string ChangeResourceGroupRequest::getResourceGroupId() const {
return resourceGroupId_;
}
void ChangeResourceGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
std::string ChangeResourceGroupRequest::getResourceRegionId() const {
return resourceRegionId_;
}
void ChangeResourceGroupRequest::setResourceRegionId(const std::string &resourceRegionId) {
resourceRegionId_ = resourceRegionId;
setParameter(std::string("ResourceRegionId"), resourceRegionId);
}
std::string ChangeResourceGroupRequest::getResourceId() const {
return resourceId_;
}
void ChangeResourceGroupRequest::setResourceId(const std::string &resourceId) {
resourceId_ = resourceId;
setParameter(std::string("ResourceId"), resourceId);
}
std::string ChangeResourceGroupRequest::getResourceType() const {
return resourceType_;
}
void ChangeResourceGroupRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::string ChangeResourceGroupRequest::getService() const {
return service_;
}
void ChangeResourceGroupRequest::setService(const std::string &service) {
service_ = service;
setParameter(std::string("Service"), service);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/vod/model/ChangeResourceGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
ChangeResourceGroupResult::ChangeResourceGroupResult() :
ServiceResult()
{}
ChangeResourceGroupResult::ChangeResourceGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ChangeResourceGroupResult::~ChangeResourceGroupResult()
{}
void ChangeResourceGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -43,24 +43,36 @@ void DescribeVodDomainCertificateInfoResult::parse(const std::string &payload)
for (auto valueCertInfosCertInfo : allCertInfosNode)
{
CertInfo certInfosObject;
if(!valueCertInfosCertInfo["Status"].isNull())
certInfosObject.status = valueCertInfosCertInfo["Status"].asString();
if(!valueCertInfosCertInfo["CertLife"].isNull())
certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString();
if(!valueCertInfosCertInfo["CertExpireTime"].isNull())
certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString();
if(!valueCertInfosCertInfo["CertType"].isNull())
certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString();
if(!valueCertInfosCertInfo["ServerCertificateStatus"].isNull())
certInfosObject.serverCertificateStatus = valueCertInfosCertInfo["ServerCertificateStatus"].asString();
if(!valueCertInfosCertInfo["CertLife"].isNull())
certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString();
if(!valueCertInfosCertInfo["Status"].isNull())
certInfosObject.status = valueCertInfosCertInfo["Status"].asString();
if(!valueCertInfosCertInfo["CertUpdateTime"].isNull())
certInfosObject.certUpdateTime = valueCertInfosCertInfo["CertUpdateTime"].asString();
if(!valueCertInfosCertInfo["CertDomainName"].isNull())
certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString();
if(!valueCertInfosCertInfo["CertName"].isNull())
certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString();
if(!valueCertInfosCertInfo["ServerCertificateStatus"].isNull())
certInfosObject.serverCertificateStatus = valueCertInfosCertInfo["ServerCertificateStatus"].asString();
if(!valueCertInfosCertInfo["CertOrg"].isNull())
certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString();
if(!valueCertInfosCertInfo["DomainName"].isNull())
certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString();
if(!valueCertInfosCertInfo["CertStartTime"].isNull())
certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString();
if(!valueCertInfosCertInfo["CertType"].isNull())
certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString();
if(!valueCertInfosCertInfo["CertName"].isNull())
certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString();
if(!valueCertInfosCertInfo["DomainCnameStatus"].isNull())
certInfosObject.domainCnameStatus = valueCertInfosCertInfo["DomainCnameStatus"].asString();
if(!valueCertInfosCertInfo["ServerCertificate"].isNull())
certInfosObject.serverCertificate = valueCertInfosCertInfo["ServerCertificate"].asString();
if(!valueCertInfosCertInfo["CertId"].isNull())
certInfosObject.certId = valueCertInfosCertInfo["CertId"].asString();
if(!valueCertInfosCertInfo["CertRegion"].isNull())
certInfosObject.certRegion = valueCertInfosCertInfo["CertRegion"].asString();
certInfos_.push_back(certInfosObject);
}

View File

@@ -0,0 +1,99 @@
/*
* 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/vod/model/DescribeVodSSLCertificateListRequest.h>
using AlibabaCloud::Vod::Model::DescribeVodSSLCertificateListRequest;
DescribeVodSSLCertificateListRequest::DescribeVodSSLCertificateListRequest()
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodSSLCertificateList") {
setMethod(HttpRequest::Method::Post);
}
DescribeVodSSLCertificateListRequest::~DescribeVodSSLCertificateListRequest() {}
long DescribeVodSSLCertificateListRequest::getPageNumber() const {
return pageNumber_;
}
void DescribeVodSSLCertificateListRequest::setPageNumber(long pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
std::string DescribeVodSSLCertificateListRequest::getSecurityToken() const {
return securityToken_;
}
void DescribeVodSSLCertificateListRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
long DescribeVodSSLCertificateListRequest::getPageSize() const {
return pageSize_;
}
void DescribeVodSSLCertificateListRequest::setPageSize(long pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string DescribeVodSSLCertificateListRequest::getMatchType() const {
return matchType_;
}
void DescribeVodSSLCertificateListRequest::setMatchType(const std::string &matchType) {
matchType_ = matchType;
setParameter(std::string("MatchType"), matchType);
}
std::string DescribeVodSSLCertificateListRequest::getAlgorithm() const {
return algorithm_;
}
void DescribeVodSSLCertificateListRequest::setAlgorithm(const std::string &algorithm) {
algorithm_ = algorithm;
setParameter(std::string("Algorithm"), algorithm);
}
std::string DescribeVodSSLCertificateListRequest::getDomainName() const {
return domainName_;
}
void DescribeVodSSLCertificateListRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
long DescribeVodSSLCertificateListRequest::getOwnerId() const {
return ownerId_;
}
void DescribeVodSSLCertificateListRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string DescribeVodSSLCertificateListRequest::getSearchKeyword() const {
return searchKeyword_;
}
void DescribeVodSSLCertificateListRequest::setSearchKeyword(const std::string &searchKeyword) {
searchKeyword_ = searchKeyword;
setParameter(std::string("SearchKeyword"), searchKeyword);
}

View File

@@ -0,0 +1,76 @@
/*
* 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/vod/model/DescribeVodSSLCertificateListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
DescribeVodSSLCertificateListResult::DescribeVodSSLCertificateListResult() :
ServiceResult()
{}
DescribeVodSSLCertificateListResult::DescribeVodSSLCertificateListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeVodSSLCertificateListResult::~DescribeVodSSLCertificateListResult()
{}
void DescribeVodSSLCertificateListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto certificateListModelNode = value["CertificateListModel"];
if(!certificateListModelNode["Count"].isNull())
certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString());
if(!certificateListModelNode["PageNumber"].isNull())
certificateListModel_.pageNumber = std::stol(certificateListModelNode["PageNumber"].asString());
if(!certificateListModelNode["PageSize"].isNull())
certificateListModel_.pageSize = std::stol(certificateListModelNode["PageSize"].asString());
auto allCertListNode = certificateListModelNode["CertList"]["Cert"];
for (auto certificateListModelNodeCertListCert : allCertListNode)
{
CertificateListModel::Cert certObject;
if(!certificateListModelNodeCertListCert["LastTime"].isNull())
certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].asString());
if(!certificateListModelNodeCertListCert["Fingerprint"].isNull())
certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString();
if(!certificateListModelNodeCertListCert["CertName"].isNull())
certObject.certName = certificateListModelNodeCertListCert["CertName"].asString();
if(!certificateListModelNodeCertListCert["Issuer"].isNull())
certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString();
if(!certificateListModelNodeCertListCert["CertId"].isNull())
certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString());
if(!certificateListModelNodeCertListCert["Common"].isNull())
certObject.common = certificateListModelNodeCertListCert["Common"].asString();
if(!certificateListModelNodeCertListCert["CertRegion"].isNull())
certObject.certRegion = certificateListModelNodeCertListCert["CertRegion"].asString();
certificateListModel_.certList.push_back(certObject);
}
}
DescribeVodSSLCertificateListResult::CertificateListModel DescribeVodSSLCertificateListResult::getCertificateListModel()const
{
return certificateListModel_;
}

View File

@@ -69,6 +69,8 @@ void GetPlayInfoResult::parse(const std::string &payload)
playInfoListObject.rand = valuePlayInfoListPlayInfo["Rand"].asString();
if(!valuePlayInfoListPlayInfo["EncryptType"].isNull())
playInfoListObject.encryptType = valuePlayInfoListPlayInfo["EncryptType"].asString();
if(!valuePlayInfoListPlayInfo["EncryptMode"].isNull())
playInfoListObject.encryptMode = valuePlayInfoListPlayInfo["EncryptMode"].asString();
if(!valuePlayInfoListPlayInfo["PreprocessStatus"].isNull())
playInfoListObject.preprocessStatus = valuePlayInfoListPlayInfo["PreprocessStatus"].asString();
if(!valuePlayInfoListPlayInfo["StreamType"].isNull())

View File

@@ -0,0 +1,126 @@
/*
* 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/vod/model/SetVodDomainSSLCertificateRequest.h>
using AlibabaCloud::Vod::Model::SetVodDomainSSLCertificateRequest;
SetVodDomainSSLCertificateRequest::SetVodDomainSSLCertificateRequest()
: RpcServiceRequest("vod", "2017-03-21", "SetVodDomainSSLCertificate") {
setMethod(HttpRequest::Method::Post);
}
SetVodDomainSSLCertificateRequest::~SetVodDomainSSLCertificateRequest() {}
std::string SetVodDomainSSLCertificateRequest::getSSLProtocol() const {
return sSLProtocol_;
}
void SetVodDomainSSLCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) {
sSLProtocol_ = sSLProtocol;
setParameter(std::string("SSLProtocol"), sSLProtocol);
}
long SetVodDomainSSLCertificateRequest::getCertId() const {
return certId_;
}
void SetVodDomainSSLCertificateRequest::setCertId(long certId) {
certId_ = certId;
setParameter(std::string("CertId"), std::to_string(certId));
}
std::string SetVodDomainSSLCertificateRequest::getSecurityToken() const {
return securityToken_;
}
void SetVodDomainSSLCertificateRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
std::string SetVodDomainSSLCertificateRequest::getCertType() const {
return certType_;
}
void SetVodDomainSSLCertificateRequest::setCertType(const std::string &certType) {
certType_ = certType;
setParameter(std::string("CertType"), certType);
}
std::string SetVodDomainSSLCertificateRequest::getSSLPri() const {
return sSLPri_;
}
void SetVodDomainSSLCertificateRequest::setSSLPri(const std::string &sSLPri) {
sSLPri_ = sSLPri;
setParameter(std::string("SSLPri"), sSLPri);
}
std::string SetVodDomainSSLCertificateRequest::getCertRegion() const {
return certRegion_;
}
void SetVodDomainSSLCertificateRequest::setCertRegion(const std::string &certRegion) {
certRegion_ = certRegion;
setParameter(std::string("CertRegion"), certRegion);
}
std::string SetVodDomainSSLCertificateRequest::getCertName() const {
return certName_;
}
void SetVodDomainSSLCertificateRequest::setCertName(const std::string &certName) {
certName_ = certName;
setParameter(std::string("CertName"), certName);
}
std::string SetVodDomainSSLCertificateRequest::getDomainName() const {
return domainName_;
}
void SetVodDomainSSLCertificateRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
long SetVodDomainSSLCertificateRequest::getOwnerId() const {
return ownerId_;
}
void SetVodDomainSSLCertificateRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string SetVodDomainSSLCertificateRequest::getEnv() const {
return env_;
}
void SetVodDomainSSLCertificateRequest::setEnv(const std::string &env) {
env_ = env;
setParameter(std::string("Env"), env);
}
std::string SetVodDomainSSLCertificateRequest::getSSLPub() const {
return sSLPub_;
}
void SetVodDomainSSLCertificateRequest::setSSLPub(const std::string &sSLPub) {
sSLPub_ = sSLPub;
setParameter(std::string("SSLPub"), sSLPub);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/vod/model/SetVodDomainSSLCertificateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
SetVodDomainSSLCertificateResult::SetVodDomainSSLCertificateResult() :
ServiceResult()
{}
SetVodDomainSSLCertificateResult::SetVodDomainSSLCertificateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetVodDomainSSLCertificateResult::~SetVodDomainSSLCertificateResult()
{}
void SetVodDomainSSLCertificateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}