/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file 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.
*/
/*
* Do not modify this file. This file is generated from the pinpoint-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Pinpoint.Model
{
///
/// Specifies the settings and content for the default message and any default messages
/// that you tailored for specific channels.
///
public partial class DirectMessageConfiguration
{
private ADMMessage _admMessage;
private APNSMessage _apnsMessage;
private BaiduMessage _baiduMessage;
private DefaultMessage _defaultMessage;
private DefaultPushNotificationMessage _defaultPushNotificationMessage;
private EmailMessage _emailMessage;
private GCMMessage _gcmMessage;
private SMSMessage _smsMessage;
private VoiceMessage _voiceMessage;
///
/// Gets and sets the property ADMMessage.
///
/// The default push notification message for the ADM (Amazon Device Messaging) channel.
/// This message overrides the default push notification message (DefaultPushNotificationMessage).
///
///
public ADMMessage ADMMessage
{
get { return this._admMessage; }
set { this._admMessage = value; }
}
// Check to see if ADMMessage property is set
internal bool IsSetADMMessage()
{
return this._admMessage != null;
}
///
/// Gets and sets the property APNSMessage.
///
/// The default push notification message for the APNs (Apple Push Notification service)
/// channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
///
///
public APNSMessage APNSMessage
{
get { return this._apnsMessage; }
set { this._apnsMessage = value; }
}
// Check to see if APNSMessage property is set
internal bool IsSetAPNSMessage()
{
return this._apnsMessage != null;
}
///
/// Gets and sets the property BaiduMessage.
///
/// The default push notification message for the Baidu (Baidu Cloud Push) channel. This
/// message overrides the default push notification message (DefaultPushNotificationMessage).
///
///
public BaiduMessage BaiduMessage
{
get { return this._baiduMessage; }
set { this._baiduMessage = value; }
}
// Check to see if BaiduMessage property is set
internal bool IsSetBaiduMessage()
{
return this._baiduMessage != null;
}
///
/// Gets and sets the property DefaultMessage.
///
/// The default message for all channels.
///
///
public DefaultMessage DefaultMessage
{
get { return this._defaultMessage; }
set { this._defaultMessage = value; }
}
// Check to see if DefaultMessage property is set
internal bool IsSetDefaultMessage()
{
return this._defaultMessage != null;
}
///
/// Gets and sets the property DefaultPushNotificationMessage.
///
/// The default push notification message for all push notification channels.
///
///
public DefaultPushNotificationMessage DefaultPushNotificationMessage
{
get { return this._defaultPushNotificationMessage; }
set { this._defaultPushNotificationMessage = value; }
}
// Check to see if DefaultPushNotificationMessage property is set
internal bool IsSetDefaultPushNotificationMessage()
{
return this._defaultPushNotificationMessage != null;
}
///
/// Gets and sets the property EmailMessage.
///
/// The default message for the email channel. This message overrides the default message
/// (DefaultMessage).
///
///
public EmailMessage EmailMessage
{
get { return this._emailMessage; }
set { this._emailMessage = value; }
}
// Check to see if EmailMessage property is set
internal bool IsSetEmailMessage()
{
return this._emailMessage != null;
}
///
/// Gets and sets the property GCMMessage.
///
/// The default push notification message for the GCM channel, which is used to send notifications
/// through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM),
/// service. This message overrides the default push notification message (DefaultPushNotificationMessage).
///
///
public GCMMessage GCMMessage
{
get { return this._gcmMessage; }
set { this._gcmMessage = value; }
}
// Check to see if GCMMessage property is set
internal bool IsSetGCMMessage()
{
return this._gcmMessage != null;
}
///
/// Gets and sets the property SMSMessage.
///
/// The default message for the SMS channel. This message overrides the default message
/// (DefaultMessage).
///
///
public SMSMessage SMSMessage
{
get { return this._smsMessage; }
set { this._smsMessage = value; }
}
// Check to see if SMSMessage property is set
internal bool IsSetSMSMessage()
{
return this._smsMessage != null;
}
///
/// Gets and sets the property VoiceMessage.
///
/// The default message for the voice channel. This message overrides the default message
/// (DefaultMessage).
///
///
public VoiceMessage VoiceMessage
{
get { return this._voiceMessage; }
set { this._voiceMessage = value; }
}
// Check to see if VoiceMessage property is set
internal bool IsSetVoiceMessage()
{
return this._voiceMessage != null;
}
}
}