/*
 * 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/push/model/PushRequest.h>

using AlibabaCloud::Push::Model::PushRequest;

PushRequest::PushRequest() :
	RpcServiceRequest("push", "2016-08-01", "Push")
{}

PushRequest::~PushRequest()
{}

int PushRequest::getAndroidNotificationBarType()const
{
	return androidNotificationBarType_;
}

void PushRequest::setAndroidNotificationBarType(int androidNotificationBarType)
{
	androidNotificationBarType_ = androidNotificationBarType;
	setParameter("AndroidNotificationBarType", std::to_string(androidNotificationBarType));
}

int PushRequest::getSmsSendPolicy()const
{
	return smsSendPolicy_;
}

void PushRequest::setSmsSendPolicy(int smsSendPolicy)
{
	smsSendPolicy_ = smsSendPolicy;
	setParameter("SmsSendPolicy", std::to_string(smsSendPolicy));
}

std::string PushRequest::getAndroidExtParameters()const
{
	return androidExtParameters_;
}

void PushRequest::setAndroidExtParameters(const std::string& androidExtParameters)
{
	androidExtParameters_ = androidExtParameters;
	setParameter("AndroidExtParameters", androidExtParameters);
}

int PushRequest::getIOSBadge()const
{
	return iOSBadge_;
}

void PushRequest::setIOSBadge(int iOSBadge)
{
	iOSBadge_ = iOSBadge;
	setParameter("IOSBadge", std::to_string(iOSBadge));
}

bool PushRequest::getIOSBadgeAutoIncrement()const
{
	return iOSBadgeAutoIncrement_;
}

void PushRequest::setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement)
{
	iOSBadgeAutoIncrement_ = iOSBadgeAutoIncrement;
	setParameter("IOSBadgeAutoIncrement", std::to_string(iOSBadgeAutoIncrement));
}

std::string PushRequest::getAndroidOpenType()const
{
	return androidOpenType_;
}

void PushRequest::setAndroidOpenType(const std::string& androidOpenType)
{
	androidOpenType_ = androidOpenType;
	setParameter("AndroidOpenType", androidOpenType);
}

std::string PushRequest::getTitle()const
{
	return title_;
}

void PushRequest::setTitle(const std::string& title)
{
	title_ = title;
	setParameter("Title", title);
}

std::string PushRequest::getBody()const
{
	return body_;
}

void PushRequest::setBody(const std::string& body)
{
	body_ = body;
	setParameter("Body", body);
}

std::string PushRequest::getDeviceType()const
{
	return deviceType_;
}

void PushRequest::setDeviceType(const std::string& deviceType)
{
	deviceType_ = deviceType;
	setParameter("DeviceType", deviceType);
}

std::string PushRequest::getPushTime()const
{
	return pushTime_;
}

void PushRequest::setPushTime(const std::string& pushTime)
{
	pushTime_ = pushTime;
	setParameter("PushTime", pushTime);
}

std::string PushRequest::getAccessKeyId()const
{
	return accessKeyId_;
}

void PushRequest::setAccessKeyId(const std::string& accessKeyId)
{
	accessKeyId_ = accessKeyId;
	setParameter("AccessKeyId", accessKeyId);
}

int PushRequest::getSmsDelaySecs()const
{
	return smsDelaySecs_;
}

void PushRequest::setSmsDelaySecs(int smsDelaySecs)
{
	smsDelaySecs_ = smsDelaySecs;
	setParameter("SmsDelaySecs", std::to_string(smsDelaySecs));
}

int PushRequest::getSendSpeed()const
{
	return sendSpeed_;
}

void PushRequest::setSendSpeed(int sendSpeed)
{
	sendSpeed_ = sendSpeed;
	setParameter("SendSpeed", std::to_string(sendSpeed));
}

std::string PushRequest::getAndroidPopupActivity()const
{
	return androidPopupActivity_;
}

void PushRequest::setAndroidPopupActivity(const std::string& androidPopupActivity)
{
	androidPopupActivity_ = androidPopupActivity;
	setParameter("AndroidPopupActivity", androidPopupActivity);
}

std::string PushRequest::getIOSRemindBody()const
{
	return iOSRemindBody_;
}

void PushRequest::setIOSRemindBody(const std::string& iOSRemindBody)
{
	iOSRemindBody_ = iOSRemindBody;
	setParameter("IOSRemindBody", iOSRemindBody);
}

std::string PushRequest::getIOSExtParameters()const
{
	return iOSExtParameters_;
}

void PushRequest::setIOSExtParameters(const std::string& iOSExtParameters)
{
	iOSExtParameters_ = iOSExtParameters;
	setParameter("IOSExtParameters", iOSExtParameters);
}

std::string PushRequest::getAndroidNotifyType()const
{
	return androidNotifyType_;
}

void PushRequest::setAndroidNotifyType(const std::string& androidNotifyType)
{
	androidNotifyType_ = androidNotifyType;
	setParameter("AndroidNotifyType", androidNotifyType);
}

std::string PushRequest::getAndroidPopupTitle()const
{
	return androidPopupTitle_;
}

void PushRequest::setAndroidPopupTitle(const std::string& androidPopupTitle)
{
	androidPopupTitle_ = androidPopupTitle;
	setParameter("AndroidPopupTitle", androidPopupTitle);
}

std::string PushRequest::getIOSMusic()const
{
	return iOSMusic_;
}

void PushRequest::setIOSMusic(const std::string& iOSMusic)
{
	iOSMusic_ = iOSMusic;
	setParameter("IOSMusic", iOSMusic);
}

std::string PushRequest::getIOSApnsEnv()const
{
	return iOSApnsEnv_;
}

void PushRequest::setIOSApnsEnv(const std::string& iOSApnsEnv)
{
	iOSApnsEnv_ = iOSApnsEnv;
	setParameter("IOSApnsEnv", iOSApnsEnv);
}

bool PushRequest::getIOSMutableContent()const
{
	return iOSMutableContent_;
}

void PushRequest::setIOSMutableContent(bool iOSMutableContent)
{
	iOSMutableContent_ = iOSMutableContent;
	setParameter("IOSMutableContent", std::to_string(iOSMutableContent));
}

int PushRequest::getAndroidNotificationBarPriority()const
{
	return androidNotificationBarPriority_;
}

void PushRequest::setAndroidNotificationBarPriority(int androidNotificationBarPriority)
{
	androidNotificationBarPriority_ = androidNotificationBarPriority;
	setParameter("AndroidNotificationBarPriority", std::to_string(androidNotificationBarPriority));
}

std::string PushRequest::getExpireTime()const
{
	return expireTime_;
}

void PushRequest::setExpireTime(const std::string& expireTime)
{
	expireTime_ = expireTime;
	setParameter("ExpireTime", expireTime);
}

std::string PushRequest::getSmsTemplateName()const
{
	return smsTemplateName_;
}

void PushRequest::setSmsTemplateName(const std::string& smsTemplateName)
{
	smsTemplateName_ = smsTemplateName;
	setParameter("SmsTemplateName", smsTemplateName);
}

std::string PushRequest::getAndroidPopupBody()const
{
	return androidPopupBody_;
}

void PushRequest::setAndroidPopupBody(const std::string& androidPopupBody)
{
	androidPopupBody_ = androidPopupBody;
	setParameter("AndroidPopupBody", androidPopupBody);
}

std::string PushRequest::getIOSNotificationCategory()const
{
	return iOSNotificationCategory_;
}

void PushRequest::setIOSNotificationCategory(const std::string& iOSNotificationCategory)
{
	iOSNotificationCategory_ = iOSNotificationCategory;
	setParameter("IOSNotificationCategory", iOSNotificationCategory);
}

bool PushRequest::getStoreOffline()const
{
	return storeOffline_;
}

void PushRequest::setStoreOffline(bool storeOffline)
{
	storeOffline_ = storeOffline;
	setParameter("StoreOffline", std::to_string(storeOffline));
}

bool PushRequest::getIOSSilentNotification()const
{
	return iOSSilentNotification_;
}

void PushRequest::setIOSSilentNotification(bool iOSSilentNotification)
{
	iOSSilentNotification_ = iOSSilentNotification;
	setParameter("IOSSilentNotification", std::to_string(iOSSilentNotification));
}

std::string PushRequest::getSmsParams()const
{
	return smsParams_;
}

void PushRequest::setSmsParams(const std::string& smsParams)
{
	smsParams_ = smsParams;
	setParameter("SmsParams", smsParams);
}

std::string PushRequest::getJobKey()const
{
	return jobKey_;
}

void PushRequest::setJobKey(const std::string& jobKey)
{
	jobKey_ = jobKey;
	setParameter("JobKey", jobKey);
}

std::string PushRequest::getTarget()const
{
	return target_;
}

void PushRequest::setTarget(const std::string& target)
{
	target_ = target;
	setParameter("Target", target);
}

std::string PushRequest::getAndroidOpenUrl()const
{
	return androidOpenUrl_;
}

void PushRequest::setAndroidOpenUrl(const std::string& androidOpenUrl)
{
	androidOpenUrl_ = androidOpenUrl;
	setParameter("AndroidOpenUrl", androidOpenUrl);
}

std::string PushRequest::getAndroidNotificationChannel()const
{
	return androidNotificationChannel_;
}

void PushRequest::setAndroidNotificationChannel(const std::string& androidNotificationChannel)
{
	androidNotificationChannel_ = androidNotificationChannel;
	setParameter("AndroidNotificationChannel", androidNotificationChannel);
}

bool PushRequest::getAndroidRemind()const
{
	return androidRemind_;
}

void PushRequest::setAndroidRemind(bool androidRemind)
{
	androidRemind_ = androidRemind;
	setParameter("AndroidRemind", std::to_string(androidRemind));
}

std::string PushRequest::getAndroidActivity()const
{
	return androidActivity_;
}

void PushRequest::setAndroidActivity(const std::string& androidActivity)
{
	androidActivity_ = androidActivity;
	setParameter("AndroidActivity", androidActivity);
}

std::string PushRequest::getAndroidXiaoMiNotifyBody()const
{
	return androidXiaoMiNotifyBody_;
}

void PushRequest::setAndroidXiaoMiNotifyBody(const std::string& androidXiaoMiNotifyBody)
{
	androidXiaoMiNotifyBody_ = androidXiaoMiNotifyBody;
	setParameter("AndroidXiaoMiNotifyBody", androidXiaoMiNotifyBody);
}

std::string PushRequest::getIOSSubtitle()const
{
	return iOSSubtitle_;
}

void PushRequest::setIOSSubtitle(const std::string& iOSSubtitle)
{
	iOSSubtitle_ = iOSSubtitle;
	setParameter("IOSSubtitle", iOSSubtitle);
}

std::string PushRequest::getSmsSignName()const
{
	return smsSignName_;
}

void PushRequest::setSmsSignName(const std::string& smsSignName)
{
	smsSignName_ = smsSignName;
	setParameter("SmsSignName", smsSignName);
}

bool PushRequest::getIOSRemind()const
{
	return iOSRemind_;
}

void PushRequest::setIOSRemind(bool iOSRemind)
{
	iOSRemind_ = iOSRemind;
	setParameter("IOSRemind", std::to_string(iOSRemind));
}

long PushRequest::getAppKey()const
{
	return appKey_;
}

void PushRequest::setAppKey(long appKey)
{
	appKey_ = appKey;
	setParameter("AppKey", std::to_string(appKey));
}

std::string PushRequest::getTargetValue()const
{
	return targetValue_;
}

void PushRequest::setTargetValue(const std::string& targetValue)
{
	targetValue_ = targetValue;
	setParameter("TargetValue", targetValue);
}

std::string PushRequest::getAndroidMusic()const
{
	return androidMusic_;
}

void PushRequest::setAndroidMusic(const std::string& androidMusic)
{
	androidMusic_ = androidMusic;
	setParameter("AndroidMusic", androidMusic);
}

std::string PushRequest::getAndroidXiaoMiActivity()const
{
	return androidXiaoMiActivity_;
}

void PushRequest::setAndroidXiaoMiActivity(const std::string& androidXiaoMiActivity)
{
	androidXiaoMiActivity_ = androidXiaoMiActivity;
	setParameter("AndroidXiaoMiActivity", androidXiaoMiActivity);
}

std::string PushRequest::getAndroidXiaoMiNotifyTitle()const
{
	return androidXiaoMiNotifyTitle_;
}

void PushRequest::setAndroidXiaoMiNotifyTitle(const std::string& androidXiaoMiNotifyTitle)
{
	androidXiaoMiNotifyTitle_ = androidXiaoMiNotifyTitle;
	setParameter("AndroidXiaoMiNotifyTitle", androidXiaoMiNotifyTitle);
}

std::string PushRequest::getPushType()const
{
	return pushType_;
}

void PushRequest::setPushType(const std::string& pushType)
{
	pushType_ = pushType;
	setParameter("PushType", pushType);
}

