module Stratosphere.Pinpoint.PushTemplate.AndroidPushNotificationTemplateProperty (
        AndroidPushNotificationTemplateProperty(..),
        mkAndroidPushNotificationTemplateProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AndroidPushNotificationTemplateProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html>
    AndroidPushNotificationTemplateProperty {AndroidPushNotificationTemplateProperty -> ()
haddock_workaround_ :: (),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-action>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
action :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-body>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-imageiconurl>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-imageurl>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-smallimageiconurl>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-sound>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-title>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: (Prelude.Maybe (Value Prelude.Text)),
                                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-url>
                                             AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty -> Bool
(AndroidPushNotificationTemplateProperty
 -> AndroidPushNotificationTemplateProperty -> Bool)
-> (AndroidPushNotificationTemplateProperty
    -> AndroidPushNotificationTemplateProperty -> Bool)
-> Eq AndroidPushNotificationTemplateProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty -> Bool
== :: AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty -> Bool
$c/= :: AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty -> Bool
/= :: AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty -> Bool
Prelude.Eq, Int -> AndroidPushNotificationTemplateProperty -> ShowS
[AndroidPushNotificationTemplateProperty] -> ShowS
AndroidPushNotificationTemplateProperty -> String
(Int -> AndroidPushNotificationTemplateProperty -> ShowS)
-> (AndroidPushNotificationTemplateProperty -> String)
-> ([AndroidPushNotificationTemplateProperty] -> ShowS)
-> Show AndroidPushNotificationTemplateProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AndroidPushNotificationTemplateProperty -> ShowS
showsPrec :: Int -> AndroidPushNotificationTemplateProperty -> ShowS
$cshow :: AndroidPushNotificationTemplateProperty -> String
show :: AndroidPushNotificationTemplateProperty -> String
$cshowList :: [AndroidPushNotificationTemplateProperty] -> ShowS
showList :: [AndroidPushNotificationTemplateProperty] -> ShowS
Prelude.Show)
mkAndroidPushNotificationTemplateProperty ::
  AndroidPushNotificationTemplateProperty
mkAndroidPushNotificationTemplateProperty :: AndroidPushNotificationTemplateProperty
mkAndroidPushNotificationTemplateProperty
  = AndroidPushNotificationTemplateProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), action :: Maybe (Value Text)
action = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       body :: Maybe (Value Text)
body = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, imageIconUrl :: Maybe (Value Text)
imageIconUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       imageUrl :: Maybe (Value Text)
imageUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, smallImageIconUrl :: Maybe (Value Text)
smallImageIconUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sound :: Maybe (Value Text)
sound = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, title :: Maybe (Value Text)
title = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       url :: Maybe (Value Text)
url = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AndroidPushNotificationTemplateProperty where
  toResourceProperties :: AndroidPushNotificationTemplateProperty -> ResourceProperties
toResourceProperties AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Action" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
action,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Body" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
body,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ImageIconUrl" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
imageIconUrl,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ImageUrl" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
imageUrl,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SmallImageIconUrl" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
smallImageIconUrl,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Sound" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sound,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Title" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
title,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Url" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
url])}
instance JSON.ToJSON AndroidPushNotificationTemplateProperty where
  toJSON :: AndroidPushNotificationTemplateProperty -> Value
toJSON AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Action" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
action,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Body" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
body,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ImageIconUrl" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
imageIconUrl,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ImageUrl" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
imageUrl,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SmallImageIconUrl" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
smallImageIconUrl,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Sound" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sound,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Title" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
title,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Url" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
url]))
instance Property "Action" AndroidPushNotificationTemplateProperty where
  type PropertyType "Action" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Action" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "Action" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {action :: Maybe (Value Text)
action = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Action" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Body" AndroidPushNotificationTemplateProperty where
  type PropertyType "Body" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Body" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "Body" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {body :: Maybe (Value Text)
body = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Body" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "ImageIconUrl" AndroidPushNotificationTemplateProperty where
  type PropertyType "ImageIconUrl" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "ImageIconUrl" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "ImageIconUrl" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {imageIconUrl :: Maybe (Value Text)
imageIconUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ImageIconUrl" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "ImageUrl" AndroidPushNotificationTemplateProperty where
  type PropertyType "ImageUrl" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "ImageUrl" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "ImageUrl" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {imageUrl :: Maybe (Value Text)
imageUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ImageUrl" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "SmallImageIconUrl" AndroidPushNotificationTemplateProperty where
  type PropertyType "SmallImageIconUrl" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType
  "SmallImageIconUrl" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType
  "SmallImageIconUrl" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {smallImageIconUrl :: Maybe (Value Text)
smallImageIconUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SmallImageIconUrl" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Sound" AndroidPushNotificationTemplateProperty where
  type PropertyType "Sound" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Sound" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "Sound" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {sound :: Maybe (Value Text)
sound = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Sound" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Title" AndroidPushNotificationTemplateProperty where
  type PropertyType "Title" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Title" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "Title" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {title :: Maybe (Value Text)
title = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Title" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Url" AndroidPushNotificationTemplateProperty where
  type PropertyType "Url" AndroidPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Url" AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
-> AndroidPushNotificationTemplateProperty
set PropertyType "Url" AndroidPushNotificationTemplateProperty
newValue AndroidPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: AndroidPushNotificationTemplateProperty -> ()
action :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
body :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
imageUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
smallImageIconUrl :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
title :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
url :: AndroidPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = AndroidPushNotificationTemplateProperty
        {url :: Maybe (Value Text)
url = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Url" AndroidPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
imageIconUrl :: Maybe (Value Text)
imageUrl :: Maybe (Value Text)
smallImageIconUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
..}