module Stratosphere.Pinpoint.PushTemplate.APNSPushNotificationTemplateProperty (
        APNSPushNotificationTemplateProperty(..),
        mkAPNSPushNotificationTemplateProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data APNSPushNotificationTemplateProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html>
    APNSPushNotificationTemplateProperty {APNSPushNotificationTemplateProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-action>
                                          APNSPushNotificationTemplateProperty -> Maybe (Value Text)
action :: (Prelude.Maybe (Value Prelude.Text)),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-body>
                                          APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: (Prelude.Maybe (Value Prelude.Text)),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-mediaurl>
                                          APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: (Prelude.Maybe (Value Prelude.Text)),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-sound>
                                          APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: (Prelude.Maybe (Value Prelude.Text)),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-title>
                                          APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: (Prelude.Maybe (Value Prelude.Text)),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-url>
                                          APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty -> Bool
(APNSPushNotificationTemplateProperty
 -> APNSPushNotificationTemplateProperty -> Bool)
-> (APNSPushNotificationTemplateProperty
    -> APNSPushNotificationTemplateProperty -> Bool)
-> Eq APNSPushNotificationTemplateProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty -> Bool
== :: APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty -> Bool
$c/= :: APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty -> Bool
/= :: APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty -> Bool
Prelude.Eq, Int -> APNSPushNotificationTemplateProperty -> ShowS
[APNSPushNotificationTemplateProperty] -> ShowS
APNSPushNotificationTemplateProperty -> String
(Int -> APNSPushNotificationTemplateProperty -> ShowS)
-> (APNSPushNotificationTemplateProperty -> String)
-> ([APNSPushNotificationTemplateProperty] -> ShowS)
-> Show APNSPushNotificationTemplateProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> APNSPushNotificationTemplateProperty -> ShowS
showsPrec :: Int -> APNSPushNotificationTemplateProperty -> ShowS
$cshow :: APNSPushNotificationTemplateProperty -> String
show :: APNSPushNotificationTemplateProperty -> String
$cshowList :: [APNSPushNotificationTemplateProperty] -> ShowS
showList :: [APNSPushNotificationTemplateProperty] -> ShowS
Prelude.Show)
mkAPNSPushNotificationTemplateProperty ::
  APNSPushNotificationTemplateProperty
mkAPNSPushNotificationTemplateProperty :: APNSPushNotificationTemplateProperty
mkAPNSPushNotificationTemplateProperty
  = APNSPushNotificationTemplateProperty
      {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, mediaUrl :: Maybe (Value Text)
mediaUrl = 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 APNSPushNotificationTemplateProperty where
  toResourceProperties :: APNSPushNotificationTemplateProperty -> ResourceProperties
toResourceProperties APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate",
         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
"MediaUrl" (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)
mediaUrl,
                            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 APNSPushNotificationTemplateProperty where
  toJSON :: APNSPushNotificationTemplateProperty -> Value
toJSON APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: 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
"MediaUrl" (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)
mediaUrl,
               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" APNSPushNotificationTemplateProperty where
  type PropertyType "Action" APNSPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Action" APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
set PropertyType "Action" APNSPushNotificationTemplateProperty
newValue APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = APNSPushNotificationTemplateProperty
        {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" APNSPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Body" APNSPushNotificationTemplateProperty where
  type PropertyType "Body" APNSPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Body" APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
set PropertyType "Body" APNSPushNotificationTemplateProperty
newValue APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = APNSPushNotificationTemplateProperty
        {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" APNSPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "MediaUrl" APNSPushNotificationTemplateProperty where
  type PropertyType "MediaUrl" APNSPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "MediaUrl" APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
set PropertyType "MediaUrl" APNSPushNotificationTemplateProperty
newValue APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = APNSPushNotificationTemplateProperty
        {mediaUrl :: Maybe (Value Text)
mediaUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MediaUrl" APNSPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: 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)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Sound" APNSPushNotificationTemplateProperty where
  type PropertyType "Sound" APNSPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Sound" APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
set PropertyType "Sound" APNSPushNotificationTemplateProperty
newValue APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = APNSPushNotificationTemplateProperty
        {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" APNSPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Title" APNSPushNotificationTemplateProperty where
  type PropertyType "Title" APNSPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Title" APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
set PropertyType "Title" APNSPushNotificationTemplateProperty
newValue APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = APNSPushNotificationTemplateProperty
        {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" APNSPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Url" APNSPushNotificationTemplateProperty where
  type PropertyType "Url" APNSPushNotificationTemplateProperty = Value Prelude.Text
  set :: PropertyType "Url" APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
-> APNSPushNotificationTemplateProperty
set PropertyType "Url" APNSPushNotificationTemplateProperty
newValue APNSPushNotificationTemplateProperty {Maybe (Value Text)
()
haddock_workaround_ :: APNSPushNotificationTemplateProperty -> ()
action :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
body :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
mediaUrl :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
sound :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
title :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
url :: APNSPushNotificationTemplateProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = APNSPushNotificationTemplateProperty
        {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" APNSPushNotificationTemplateProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
haddock_workaround_ :: ()
action :: Maybe (Value Text)
body :: Maybe (Value Text)
mediaUrl :: Maybe (Value Text)
sound :: Maybe (Value Text)
title :: Maybe (Value Text)
..}