{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Location.Types.PricingPlan
import qualified Amazonka.Prelude as Prelude

-- | Contains the geofence collection details.
--
-- /See:/ 'newListGeofenceCollectionsResponseEntry' smart constructor.
data ListGeofenceCollectionsResponseEntry = ListGeofenceCollectionsResponseEntry'
  { -- | The specified data provider for the geofence collection.
    ListGeofenceCollectionsResponseEntry -> Maybe Text
pricingPlanDataSource :: Prelude.Maybe Prelude.Text,
    -- | The name of the geofence collection.
    ListGeofenceCollectionsResponseEntry -> Text
collectionName :: Prelude.Text,
    -- | The timestamp for when the geofence collection was created in
    -- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
    -- format: @YYYY-MM-DDThh:mm:ss.sssZ@
    ListGeofenceCollectionsResponseEntry -> POSIX
createTime :: Core.POSIX,
    -- | The description for the geofence collection
    ListGeofenceCollectionsResponseEntry -> Text
description :: Prelude.Text,
    -- | The pricing plan for the specified geofence collection.
    --
    -- For additional details and restrictions on each pricing plan option, see
    -- the
    -- <https://aws.amazon.com/location/pricing/ Amazon Location Service pricing page>.
    ListGeofenceCollectionsResponseEntry -> PricingPlan
pricingPlan :: PricingPlan,
    -- | Specifies a timestamp for when the resource was last updated in
    -- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
    -- format: @YYYY-MM-DDThh:mm:ss.sssZ@
    ListGeofenceCollectionsResponseEntry -> POSIX
updateTime :: Core.POSIX
  }
  deriving (ListGeofenceCollectionsResponseEntry
-> ListGeofenceCollectionsResponseEntry -> Bool
(ListGeofenceCollectionsResponseEntry
 -> ListGeofenceCollectionsResponseEntry -> Bool)
-> (ListGeofenceCollectionsResponseEntry
    -> ListGeofenceCollectionsResponseEntry -> Bool)
-> Eq ListGeofenceCollectionsResponseEntry
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListGeofenceCollectionsResponseEntry
-> ListGeofenceCollectionsResponseEntry -> Bool
$c/= :: ListGeofenceCollectionsResponseEntry
-> ListGeofenceCollectionsResponseEntry -> Bool
== :: ListGeofenceCollectionsResponseEntry
-> ListGeofenceCollectionsResponseEntry -> Bool
$c== :: ListGeofenceCollectionsResponseEntry
-> ListGeofenceCollectionsResponseEntry -> Bool
Prelude.Eq, ReadPrec [ListGeofenceCollectionsResponseEntry]
ReadPrec ListGeofenceCollectionsResponseEntry
Int -> ReadS ListGeofenceCollectionsResponseEntry
ReadS [ListGeofenceCollectionsResponseEntry]
(Int -> ReadS ListGeofenceCollectionsResponseEntry)
-> ReadS [ListGeofenceCollectionsResponseEntry]
-> ReadPrec ListGeofenceCollectionsResponseEntry
-> ReadPrec [ListGeofenceCollectionsResponseEntry]
-> Read ListGeofenceCollectionsResponseEntry
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListGeofenceCollectionsResponseEntry]
$creadListPrec :: ReadPrec [ListGeofenceCollectionsResponseEntry]
readPrec :: ReadPrec ListGeofenceCollectionsResponseEntry
$creadPrec :: ReadPrec ListGeofenceCollectionsResponseEntry
readList :: ReadS [ListGeofenceCollectionsResponseEntry]
$creadList :: ReadS [ListGeofenceCollectionsResponseEntry]
readsPrec :: Int -> ReadS ListGeofenceCollectionsResponseEntry
$creadsPrec :: Int -> ReadS ListGeofenceCollectionsResponseEntry
Prelude.Read, Int -> ListGeofenceCollectionsResponseEntry -> ShowS
[ListGeofenceCollectionsResponseEntry] -> ShowS
ListGeofenceCollectionsResponseEntry -> String
(Int -> ListGeofenceCollectionsResponseEntry -> ShowS)
-> (ListGeofenceCollectionsResponseEntry -> String)
-> ([ListGeofenceCollectionsResponseEntry] -> ShowS)
-> Show ListGeofenceCollectionsResponseEntry
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListGeofenceCollectionsResponseEntry] -> ShowS
$cshowList :: [ListGeofenceCollectionsResponseEntry] -> ShowS
show :: ListGeofenceCollectionsResponseEntry -> String
$cshow :: ListGeofenceCollectionsResponseEntry -> String
showsPrec :: Int -> ListGeofenceCollectionsResponseEntry -> ShowS
$cshowsPrec :: Int -> ListGeofenceCollectionsResponseEntry -> ShowS
Prelude.Show, (forall x.
 ListGeofenceCollectionsResponseEntry
 -> Rep ListGeofenceCollectionsResponseEntry x)
-> (forall x.
    Rep ListGeofenceCollectionsResponseEntry x
    -> ListGeofenceCollectionsResponseEntry)
-> Generic ListGeofenceCollectionsResponseEntry
forall x.
Rep ListGeofenceCollectionsResponseEntry x
-> ListGeofenceCollectionsResponseEntry
forall x.
ListGeofenceCollectionsResponseEntry
-> Rep ListGeofenceCollectionsResponseEntry x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListGeofenceCollectionsResponseEntry x
-> ListGeofenceCollectionsResponseEntry
$cfrom :: forall x.
ListGeofenceCollectionsResponseEntry
-> Rep ListGeofenceCollectionsResponseEntry x
Prelude.Generic)

-- |
-- Create a value of 'ListGeofenceCollectionsResponseEntry' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'pricingPlanDataSource', 'listGeofenceCollectionsResponseEntry_pricingPlanDataSource' - The specified data provider for the geofence collection.
--
-- 'collectionName', 'listGeofenceCollectionsResponseEntry_collectionName' - The name of the geofence collection.
--
-- 'createTime', 'listGeofenceCollectionsResponseEntry_createTime' - The timestamp for when the geofence collection was created in
-- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
-- format: @YYYY-MM-DDThh:mm:ss.sssZ@
--
-- 'description', 'listGeofenceCollectionsResponseEntry_description' - The description for the geofence collection
--
-- 'pricingPlan', 'listGeofenceCollectionsResponseEntry_pricingPlan' - The pricing plan for the specified geofence collection.
--
-- For additional details and restrictions on each pricing plan option, see
-- the
-- <https://aws.amazon.com/location/pricing/ Amazon Location Service pricing page>.
--
-- 'updateTime', 'listGeofenceCollectionsResponseEntry_updateTime' - Specifies a timestamp for when the resource was last updated in
-- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
-- format: @YYYY-MM-DDThh:mm:ss.sssZ@
newListGeofenceCollectionsResponseEntry ::
  -- | 'collectionName'
  Prelude.Text ->
  -- | 'createTime'
  Prelude.UTCTime ->
  -- | 'description'
  Prelude.Text ->
  -- | 'pricingPlan'
  PricingPlan ->
  -- | 'updateTime'
  Prelude.UTCTime ->
  ListGeofenceCollectionsResponseEntry
newListGeofenceCollectionsResponseEntry :: Text
-> UTCTime
-> Text
-> PricingPlan
-> UTCTime
-> ListGeofenceCollectionsResponseEntry
newListGeofenceCollectionsResponseEntry
  Text
pCollectionName_
  UTCTime
pCreateTime_
  Text
pDescription_
  PricingPlan
pPricingPlan_
  UTCTime
pUpdateTime_ =
    ListGeofenceCollectionsResponseEntry' :: Maybe Text
-> Text
-> POSIX
-> Text
-> PricingPlan
-> POSIX
-> ListGeofenceCollectionsResponseEntry
ListGeofenceCollectionsResponseEntry'
      { $sel:pricingPlanDataSource:ListGeofenceCollectionsResponseEntry' :: Maybe Text
pricingPlanDataSource =
          Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:collectionName:ListGeofenceCollectionsResponseEntry' :: Text
collectionName = Text
pCollectionName_,
        $sel:createTime:ListGeofenceCollectionsResponseEntry' :: POSIX
createTime =
          Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
 -> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreateTime_,
        $sel:description:ListGeofenceCollectionsResponseEntry' :: Text
description = Text
pDescription_,
        $sel:pricingPlan:ListGeofenceCollectionsResponseEntry' :: PricingPlan
pricingPlan = PricingPlan
pPricingPlan_,
        $sel:updateTime:ListGeofenceCollectionsResponseEntry' :: POSIX
updateTime =
          Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
 -> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pUpdateTime_
      }

-- | The specified data provider for the geofence collection.
listGeofenceCollectionsResponseEntry_pricingPlanDataSource :: Lens.Lens' ListGeofenceCollectionsResponseEntry (Prelude.Maybe Prelude.Text)
listGeofenceCollectionsResponseEntry_pricingPlanDataSource :: (Maybe Text -> f (Maybe Text))
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
listGeofenceCollectionsResponseEntry_pricingPlanDataSource = (ListGeofenceCollectionsResponseEntry -> Maybe Text)
-> (ListGeofenceCollectionsResponseEntry
    -> Maybe Text -> ListGeofenceCollectionsResponseEntry)
-> Lens
     ListGeofenceCollectionsResponseEntry
     ListGeofenceCollectionsResponseEntry
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeofenceCollectionsResponseEntry' {Maybe Text
pricingPlanDataSource :: Maybe Text
$sel:pricingPlanDataSource:ListGeofenceCollectionsResponseEntry' :: ListGeofenceCollectionsResponseEntry -> Maybe Text
pricingPlanDataSource} -> Maybe Text
pricingPlanDataSource) (\s :: ListGeofenceCollectionsResponseEntry
s@ListGeofenceCollectionsResponseEntry' {} Maybe Text
a -> ListGeofenceCollectionsResponseEntry
s {$sel:pricingPlanDataSource:ListGeofenceCollectionsResponseEntry' :: Maybe Text
pricingPlanDataSource = Maybe Text
a} :: ListGeofenceCollectionsResponseEntry)

-- | The name of the geofence collection.
listGeofenceCollectionsResponseEntry_collectionName :: Lens.Lens' ListGeofenceCollectionsResponseEntry Prelude.Text
listGeofenceCollectionsResponseEntry_collectionName :: (Text -> f Text)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
listGeofenceCollectionsResponseEntry_collectionName = (ListGeofenceCollectionsResponseEntry -> Text)
-> (ListGeofenceCollectionsResponseEntry
    -> Text -> ListGeofenceCollectionsResponseEntry)
-> Lens
     ListGeofenceCollectionsResponseEntry
     ListGeofenceCollectionsResponseEntry
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeofenceCollectionsResponseEntry' {Text
collectionName :: Text
$sel:collectionName:ListGeofenceCollectionsResponseEntry' :: ListGeofenceCollectionsResponseEntry -> Text
collectionName} -> Text
collectionName) (\s :: ListGeofenceCollectionsResponseEntry
s@ListGeofenceCollectionsResponseEntry' {} Text
a -> ListGeofenceCollectionsResponseEntry
s {$sel:collectionName:ListGeofenceCollectionsResponseEntry' :: Text
collectionName = Text
a} :: ListGeofenceCollectionsResponseEntry)

-- | The timestamp for when the geofence collection was created in
-- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
-- format: @YYYY-MM-DDThh:mm:ss.sssZ@
listGeofenceCollectionsResponseEntry_createTime :: Lens.Lens' ListGeofenceCollectionsResponseEntry Prelude.UTCTime
listGeofenceCollectionsResponseEntry_createTime :: (UTCTime -> f UTCTime)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
listGeofenceCollectionsResponseEntry_createTime = (ListGeofenceCollectionsResponseEntry -> POSIX)
-> (ListGeofenceCollectionsResponseEntry
    -> POSIX -> ListGeofenceCollectionsResponseEntry)
-> Lens
     ListGeofenceCollectionsResponseEntry
     ListGeofenceCollectionsResponseEntry
     POSIX
     POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeofenceCollectionsResponseEntry' {POSIX
createTime :: POSIX
$sel:createTime:ListGeofenceCollectionsResponseEntry' :: ListGeofenceCollectionsResponseEntry -> POSIX
createTime} -> POSIX
createTime) (\s :: ListGeofenceCollectionsResponseEntry
s@ListGeofenceCollectionsResponseEntry' {} POSIX
a -> ListGeofenceCollectionsResponseEntry
s {$sel:createTime:ListGeofenceCollectionsResponseEntry' :: POSIX
createTime = POSIX
a} :: ListGeofenceCollectionsResponseEntry) ((POSIX -> f POSIX)
 -> ListGeofenceCollectionsResponseEntry
 -> f ListGeofenceCollectionsResponseEntry)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time

-- | The description for the geofence collection
listGeofenceCollectionsResponseEntry_description :: Lens.Lens' ListGeofenceCollectionsResponseEntry Prelude.Text
listGeofenceCollectionsResponseEntry_description :: (Text -> f Text)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
listGeofenceCollectionsResponseEntry_description = (ListGeofenceCollectionsResponseEntry -> Text)
-> (ListGeofenceCollectionsResponseEntry
    -> Text -> ListGeofenceCollectionsResponseEntry)
-> Lens
     ListGeofenceCollectionsResponseEntry
     ListGeofenceCollectionsResponseEntry
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeofenceCollectionsResponseEntry' {Text
description :: Text
$sel:description:ListGeofenceCollectionsResponseEntry' :: ListGeofenceCollectionsResponseEntry -> Text
description} -> Text
description) (\s :: ListGeofenceCollectionsResponseEntry
s@ListGeofenceCollectionsResponseEntry' {} Text
a -> ListGeofenceCollectionsResponseEntry
s {$sel:description:ListGeofenceCollectionsResponseEntry' :: Text
description = Text
a} :: ListGeofenceCollectionsResponseEntry)

-- | The pricing plan for the specified geofence collection.
--
-- For additional details and restrictions on each pricing plan option, see
-- the
-- <https://aws.amazon.com/location/pricing/ Amazon Location Service pricing page>.
listGeofenceCollectionsResponseEntry_pricingPlan :: Lens.Lens' ListGeofenceCollectionsResponseEntry PricingPlan
listGeofenceCollectionsResponseEntry_pricingPlan :: (PricingPlan -> f PricingPlan)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
listGeofenceCollectionsResponseEntry_pricingPlan = (ListGeofenceCollectionsResponseEntry -> PricingPlan)
-> (ListGeofenceCollectionsResponseEntry
    -> PricingPlan -> ListGeofenceCollectionsResponseEntry)
-> Lens
     ListGeofenceCollectionsResponseEntry
     ListGeofenceCollectionsResponseEntry
     PricingPlan
     PricingPlan
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeofenceCollectionsResponseEntry' {PricingPlan
pricingPlan :: PricingPlan
$sel:pricingPlan:ListGeofenceCollectionsResponseEntry' :: ListGeofenceCollectionsResponseEntry -> PricingPlan
pricingPlan} -> PricingPlan
pricingPlan) (\s :: ListGeofenceCollectionsResponseEntry
s@ListGeofenceCollectionsResponseEntry' {} PricingPlan
a -> ListGeofenceCollectionsResponseEntry
s {$sel:pricingPlan:ListGeofenceCollectionsResponseEntry' :: PricingPlan
pricingPlan = PricingPlan
a} :: ListGeofenceCollectionsResponseEntry)

-- | Specifies a timestamp for when the resource was last updated in
-- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
-- format: @YYYY-MM-DDThh:mm:ss.sssZ@
listGeofenceCollectionsResponseEntry_updateTime :: Lens.Lens' ListGeofenceCollectionsResponseEntry Prelude.UTCTime
listGeofenceCollectionsResponseEntry_updateTime :: (UTCTime -> f UTCTime)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
listGeofenceCollectionsResponseEntry_updateTime = (ListGeofenceCollectionsResponseEntry -> POSIX)
-> (ListGeofenceCollectionsResponseEntry
    -> POSIX -> ListGeofenceCollectionsResponseEntry)
-> Lens
     ListGeofenceCollectionsResponseEntry
     ListGeofenceCollectionsResponseEntry
     POSIX
     POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeofenceCollectionsResponseEntry' {POSIX
updateTime :: POSIX
$sel:updateTime:ListGeofenceCollectionsResponseEntry' :: ListGeofenceCollectionsResponseEntry -> POSIX
updateTime} -> POSIX
updateTime) (\s :: ListGeofenceCollectionsResponseEntry
s@ListGeofenceCollectionsResponseEntry' {} POSIX
a -> ListGeofenceCollectionsResponseEntry
s {$sel:updateTime:ListGeofenceCollectionsResponseEntry' :: POSIX
updateTime = POSIX
a} :: ListGeofenceCollectionsResponseEntry) ((POSIX -> f POSIX)
 -> ListGeofenceCollectionsResponseEntry
 -> f ListGeofenceCollectionsResponseEntry)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ListGeofenceCollectionsResponseEntry
-> f ListGeofenceCollectionsResponseEntry
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time

instance
  Core.FromJSON
    ListGeofenceCollectionsResponseEntry
  where
  parseJSON :: Value -> Parser ListGeofenceCollectionsResponseEntry
parseJSON =
    String
-> (Object -> Parser ListGeofenceCollectionsResponseEntry)
-> Value
-> Parser ListGeofenceCollectionsResponseEntry
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"ListGeofenceCollectionsResponseEntry"
      ( \Object
x ->
          Maybe Text
-> Text
-> POSIX
-> Text
-> PricingPlan
-> POSIX
-> ListGeofenceCollectionsResponseEntry
ListGeofenceCollectionsResponseEntry'
            (Maybe Text
 -> Text
 -> POSIX
 -> Text
 -> PricingPlan
 -> POSIX
 -> ListGeofenceCollectionsResponseEntry)
-> Parser (Maybe Text)
-> Parser
     (Text
      -> POSIX
      -> Text
      -> PricingPlan
      -> POSIX
      -> ListGeofenceCollectionsResponseEntry)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PricingPlanDataSource")
            Parser
  (Text
   -> POSIX
   -> Text
   -> PricingPlan
   -> POSIX
   -> ListGeofenceCollectionsResponseEntry)
-> Parser Text
-> Parser
     (POSIX
      -> Text
      -> PricingPlan
      -> POSIX
      -> ListGeofenceCollectionsResponseEntry)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"CollectionName")
            Parser
  (POSIX
   -> Text
   -> PricingPlan
   -> POSIX
   -> ListGeofenceCollectionsResponseEntry)
-> Parser POSIX
-> Parser
     (Text
      -> PricingPlan -> POSIX -> ListGeofenceCollectionsResponseEntry)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"CreateTime")
            Parser
  (Text
   -> PricingPlan -> POSIX -> ListGeofenceCollectionsResponseEntry)
-> Parser Text
-> Parser
     (PricingPlan -> POSIX -> ListGeofenceCollectionsResponseEntry)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"Description")
            Parser
  (PricingPlan -> POSIX -> ListGeofenceCollectionsResponseEntry)
-> Parser PricingPlan
-> Parser (POSIX -> ListGeofenceCollectionsResponseEntry)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser PricingPlan
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"PricingPlan")
            Parser (POSIX -> ListGeofenceCollectionsResponseEntry)
-> Parser POSIX -> Parser ListGeofenceCollectionsResponseEntry
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"UpdateTime")
      )

instance
  Prelude.Hashable
    ListGeofenceCollectionsResponseEntry

instance
  Prelude.NFData
    ListGeofenceCollectionsResponseEntry