{-# 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.ListRouteCalculatorsResponseEntry
-- 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.ListRouteCalculatorsResponseEntry where

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

-- | A route calculator resource listed in your AWS account.
--
-- /See:/ 'newListRouteCalculatorsResponseEntry' smart constructor.
data ListRouteCalculatorsResponseEntry = ListRouteCalculatorsResponseEntry'
  { -- | The name of the route calculator resource.
    ListRouteCalculatorsResponseEntry -> Text
calculatorName :: Prelude.Text,
    -- | The timestamp when the route calculator resource was created in
    -- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
    -- format: @YYYY-MM-DDThh:mm:ss.sssZ@.
    --
    -- -   For example, @2020–07-2T12:15:20.000Z+01:00@
    ListRouteCalculatorsResponseEntry -> POSIX
createTime :: Core.POSIX,
    -- | The data provider of traffic and road network data. Indicates one of the
    -- available providers:
    --
    -- -   @Esri@
    --
    -- -   @Here@
    --
    -- For more information about data providers, see
    -- <https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html Amazon Location Service data providers>.
    ListRouteCalculatorsResponseEntry -> Text
dataSource :: Prelude.Text,
    -- | The optional description of the route calculator resource.
    ListRouteCalculatorsResponseEntry -> Text
description :: Prelude.Text,
    -- | The pricing plan for the specified route calculator resource.
    --
    -- For additional details and restrictions on each pricing plan option, see
    -- <https://aws.amazon.com/location/pricing/ Amazon Location Service pricing>.
    ListRouteCalculatorsResponseEntry -> PricingPlan
pricingPlan :: PricingPlan,
    -- | The timestamp when the route calculator 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@.
    --
    -- -   For example, @2020–07-2T12:15:20.000Z+01:00@
    ListRouteCalculatorsResponseEntry -> POSIX
updateTime :: Core.POSIX
  }
  deriving (ListRouteCalculatorsResponseEntry
-> ListRouteCalculatorsResponseEntry -> Bool
(ListRouteCalculatorsResponseEntry
 -> ListRouteCalculatorsResponseEntry -> Bool)
-> (ListRouteCalculatorsResponseEntry
    -> ListRouteCalculatorsResponseEntry -> Bool)
-> Eq ListRouteCalculatorsResponseEntry
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRouteCalculatorsResponseEntry
-> ListRouteCalculatorsResponseEntry -> Bool
$c/= :: ListRouteCalculatorsResponseEntry
-> ListRouteCalculatorsResponseEntry -> Bool
== :: ListRouteCalculatorsResponseEntry
-> ListRouteCalculatorsResponseEntry -> Bool
$c== :: ListRouteCalculatorsResponseEntry
-> ListRouteCalculatorsResponseEntry -> Bool
Prelude.Eq, ReadPrec [ListRouteCalculatorsResponseEntry]
ReadPrec ListRouteCalculatorsResponseEntry
Int -> ReadS ListRouteCalculatorsResponseEntry
ReadS [ListRouteCalculatorsResponseEntry]
(Int -> ReadS ListRouteCalculatorsResponseEntry)
-> ReadS [ListRouteCalculatorsResponseEntry]
-> ReadPrec ListRouteCalculatorsResponseEntry
-> ReadPrec [ListRouteCalculatorsResponseEntry]
-> Read ListRouteCalculatorsResponseEntry
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRouteCalculatorsResponseEntry]
$creadListPrec :: ReadPrec [ListRouteCalculatorsResponseEntry]
readPrec :: ReadPrec ListRouteCalculatorsResponseEntry
$creadPrec :: ReadPrec ListRouteCalculatorsResponseEntry
readList :: ReadS [ListRouteCalculatorsResponseEntry]
$creadList :: ReadS [ListRouteCalculatorsResponseEntry]
readsPrec :: Int -> ReadS ListRouteCalculatorsResponseEntry
$creadsPrec :: Int -> ReadS ListRouteCalculatorsResponseEntry
Prelude.Read, Int -> ListRouteCalculatorsResponseEntry -> ShowS
[ListRouteCalculatorsResponseEntry] -> ShowS
ListRouteCalculatorsResponseEntry -> String
(Int -> ListRouteCalculatorsResponseEntry -> ShowS)
-> (ListRouteCalculatorsResponseEntry -> String)
-> ([ListRouteCalculatorsResponseEntry] -> ShowS)
-> Show ListRouteCalculatorsResponseEntry
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRouteCalculatorsResponseEntry] -> ShowS
$cshowList :: [ListRouteCalculatorsResponseEntry] -> ShowS
show :: ListRouteCalculatorsResponseEntry -> String
$cshow :: ListRouteCalculatorsResponseEntry -> String
showsPrec :: Int -> ListRouteCalculatorsResponseEntry -> ShowS
$cshowsPrec :: Int -> ListRouteCalculatorsResponseEntry -> ShowS
Prelude.Show, (forall x.
 ListRouteCalculatorsResponseEntry
 -> Rep ListRouteCalculatorsResponseEntry x)
-> (forall x.
    Rep ListRouteCalculatorsResponseEntry x
    -> ListRouteCalculatorsResponseEntry)
-> Generic ListRouteCalculatorsResponseEntry
forall x.
Rep ListRouteCalculatorsResponseEntry x
-> ListRouteCalculatorsResponseEntry
forall x.
ListRouteCalculatorsResponseEntry
-> Rep ListRouteCalculatorsResponseEntry x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRouteCalculatorsResponseEntry x
-> ListRouteCalculatorsResponseEntry
$cfrom :: forall x.
ListRouteCalculatorsResponseEntry
-> Rep ListRouteCalculatorsResponseEntry x
Prelude.Generic)

-- |
-- Create a value of 'ListRouteCalculatorsResponseEntry' 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:
--
-- 'calculatorName', 'listRouteCalculatorsResponseEntry_calculatorName' - The name of the route calculator resource.
--
-- 'createTime', 'listRouteCalculatorsResponseEntry_createTime' - The timestamp when the route calculator resource was created in
-- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
-- format: @YYYY-MM-DDThh:mm:ss.sssZ@.
--
-- -   For example, @2020–07-2T12:15:20.000Z+01:00@
--
-- 'dataSource', 'listRouteCalculatorsResponseEntry_dataSource' - The data provider of traffic and road network data. Indicates one of the
-- available providers:
--
-- -   @Esri@
--
-- -   @Here@
--
-- For more information about data providers, see
-- <https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html Amazon Location Service data providers>.
--
-- 'description', 'listRouteCalculatorsResponseEntry_description' - The optional description of the route calculator resource.
--
-- 'pricingPlan', 'listRouteCalculatorsResponseEntry_pricingPlan' - The pricing plan for the specified route calculator resource.
--
-- For additional details and restrictions on each pricing plan option, see
-- <https://aws.amazon.com/location/pricing/ Amazon Location Service pricing>.
--
-- 'updateTime', 'listRouteCalculatorsResponseEntry_updateTime' - The timestamp when the route calculator 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@.
--
-- -   For example, @2020–07-2T12:15:20.000Z+01:00@
newListRouteCalculatorsResponseEntry ::
  -- | 'calculatorName'
  Prelude.Text ->
  -- | 'createTime'
  Prelude.UTCTime ->
  -- | 'dataSource'
  Prelude.Text ->
  -- | 'description'
  Prelude.Text ->
  -- | 'pricingPlan'
  PricingPlan ->
  -- | 'updateTime'
  Prelude.UTCTime ->
  ListRouteCalculatorsResponseEntry
newListRouteCalculatorsResponseEntry :: Text
-> UTCTime
-> Text
-> Text
-> PricingPlan
-> UTCTime
-> ListRouteCalculatorsResponseEntry
newListRouteCalculatorsResponseEntry
  Text
pCalculatorName_
  UTCTime
pCreateTime_
  Text
pDataSource_
  Text
pDescription_
  PricingPlan
pPricingPlan_
  UTCTime
pUpdateTime_ =
    ListRouteCalculatorsResponseEntry' :: Text
-> POSIX
-> Text
-> Text
-> PricingPlan
-> POSIX
-> ListRouteCalculatorsResponseEntry
ListRouteCalculatorsResponseEntry'
      { $sel:calculatorName:ListRouteCalculatorsResponseEntry' :: Text
calculatorName =
          Text
pCalculatorName_,
        $sel:createTime:ListRouteCalculatorsResponseEntry' :: 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:dataSource:ListRouteCalculatorsResponseEntry' :: Text
dataSource = Text
pDataSource_,
        $sel:description:ListRouteCalculatorsResponseEntry' :: Text
description = Text
pDescription_,
        $sel:pricingPlan:ListRouteCalculatorsResponseEntry' :: PricingPlan
pricingPlan = PricingPlan
pPricingPlan_,
        $sel:updateTime:ListRouteCalculatorsResponseEntry' :: 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 name of the route calculator resource.
listRouteCalculatorsResponseEntry_calculatorName :: Lens.Lens' ListRouteCalculatorsResponseEntry Prelude.Text
listRouteCalculatorsResponseEntry_calculatorName :: (Text -> f Text)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
listRouteCalculatorsResponseEntry_calculatorName = (ListRouteCalculatorsResponseEntry -> Text)
-> (ListRouteCalculatorsResponseEntry
    -> Text -> ListRouteCalculatorsResponseEntry)
-> Lens
     ListRouteCalculatorsResponseEntry
     ListRouteCalculatorsResponseEntry
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRouteCalculatorsResponseEntry' {Text
calculatorName :: Text
$sel:calculatorName:ListRouteCalculatorsResponseEntry' :: ListRouteCalculatorsResponseEntry -> Text
calculatorName} -> Text
calculatorName) (\s :: ListRouteCalculatorsResponseEntry
s@ListRouteCalculatorsResponseEntry' {} Text
a -> ListRouteCalculatorsResponseEntry
s {$sel:calculatorName:ListRouteCalculatorsResponseEntry' :: Text
calculatorName = Text
a} :: ListRouteCalculatorsResponseEntry)

-- | The timestamp when the route calculator resource was created in
-- <https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601>
-- format: @YYYY-MM-DDThh:mm:ss.sssZ@.
--
-- -   For example, @2020–07-2T12:15:20.000Z+01:00@
listRouteCalculatorsResponseEntry_createTime :: Lens.Lens' ListRouteCalculatorsResponseEntry Prelude.UTCTime
listRouteCalculatorsResponseEntry_createTime :: (UTCTime -> f UTCTime)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
listRouteCalculatorsResponseEntry_createTime = (ListRouteCalculatorsResponseEntry -> POSIX)
-> (ListRouteCalculatorsResponseEntry
    -> POSIX -> ListRouteCalculatorsResponseEntry)
-> Lens
     ListRouteCalculatorsResponseEntry
     ListRouteCalculatorsResponseEntry
     POSIX
     POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRouteCalculatorsResponseEntry' {POSIX
createTime :: POSIX
$sel:createTime:ListRouteCalculatorsResponseEntry' :: ListRouteCalculatorsResponseEntry -> POSIX
createTime} -> POSIX
createTime) (\s :: ListRouteCalculatorsResponseEntry
s@ListRouteCalculatorsResponseEntry' {} POSIX
a -> ListRouteCalculatorsResponseEntry
s {$sel:createTime:ListRouteCalculatorsResponseEntry' :: POSIX
createTime = POSIX
a} :: ListRouteCalculatorsResponseEntry) ((POSIX -> f POSIX)
 -> ListRouteCalculatorsResponseEntry
 -> f ListRouteCalculatorsResponseEntry)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
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 data provider of traffic and road network data. Indicates one of the
-- available providers:
--
-- -   @Esri@
--
-- -   @Here@
--
-- For more information about data providers, see
-- <https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html Amazon Location Service data providers>.
listRouteCalculatorsResponseEntry_dataSource :: Lens.Lens' ListRouteCalculatorsResponseEntry Prelude.Text
listRouteCalculatorsResponseEntry_dataSource :: (Text -> f Text)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
listRouteCalculatorsResponseEntry_dataSource = (ListRouteCalculatorsResponseEntry -> Text)
-> (ListRouteCalculatorsResponseEntry
    -> Text -> ListRouteCalculatorsResponseEntry)
-> Lens
     ListRouteCalculatorsResponseEntry
     ListRouteCalculatorsResponseEntry
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRouteCalculatorsResponseEntry' {Text
dataSource :: Text
$sel:dataSource:ListRouteCalculatorsResponseEntry' :: ListRouteCalculatorsResponseEntry -> Text
dataSource} -> Text
dataSource) (\s :: ListRouteCalculatorsResponseEntry
s@ListRouteCalculatorsResponseEntry' {} Text
a -> ListRouteCalculatorsResponseEntry
s {$sel:dataSource:ListRouteCalculatorsResponseEntry' :: Text
dataSource = Text
a} :: ListRouteCalculatorsResponseEntry)

-- | The optional description of the route calculator resource.
listRouteCalculatorsResponseEntry_description :: Lens.Lens' ListRouteCalculatorsResponseEntry Prelude.Text
listRouteCalculatorsResponseEntry_description :: (Text -> f Text)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
listRouteCalculatorsResponseEntry_description = (ListRouteCalculatorsResponseEntry -> Text)
-> (ListRouteCalculatorsResponseEntry
    -> Text -> ListRouteCalculatorsResponseEntry)
-> Lens
     ListRouteCalculatorsResponseEntry
     ListRouteCalculatorsResponseEntry
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRouteCalculatorsResponseEntry' {Text
description :: Text
$sel:description:ListRouteCalculatorsResponseEntry' :: ListRouteCalculatorsResponseEntry -> Text
description} -> Text
description) (\s :: ListRouteCalculatorsResponseEntry
s@ListRouteCalculatorsResponseEntry' {} Text
a -> ListRouteCalculatorsResponseEntry
s {$sel:description:ListRouteCalculatorsResponseEntry' :: Text
description = Text
a} :: ListRouteCalculatorsResponseEntry)

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

-- | The timestamp when the route calculator 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@.
--
-- -   For example, @2020–07-2T12:15:20.000Z+01:00@
listRouteCalculatorsResponseEntry_updateTime :: Lens.Lens' ListRouteCalculatorsResponseEntry Prelude.UTCTime
listRouteCalculatorsResponseEntry_updateTime :: (UTCTime -> f UTCTime)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
listRouteCalculatorsResponseEntry_updateTime = (ListRouteCalculatorsResponseEntry -> POSIX)
-> (ListRouteCalculatorsResponseEntry
    -> POSIX -> ListRouteCalculatorsResponseEntry)
-> Lens
     ListRouteCalculatorsResponseEntry
     ListRouteCalculatorsResponseEntry
     POSIX
     POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRouteCalculatorsResponseEntry' {POSIX
updateTime :: POSIX
$sel:updateTime:ListRouteCalculatorsResponseEntry' :: ListRouteCalculatorsResponseEntry -> POSIX
updateTime} -> POSIX
updateTime) (\s :: ListRouteCalculatorsResponseEntry
s@ListRouteCalculatorsResponseEntry' {} POSIX
a -> ListRouteCalculatorsResponseEntry
s {$sel:updateTime:ListRouteCalculatorsResponseEntry' :: POSIX
updateTime = POSIX
a} :: ListRouteCalculatorsResponseEntry) ((POSIX -> f POSIX)
 -> ListRouteCalculatorsResponseEntry
 -> f ListRouteCalculatorsResponseEntry)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ListRouteCalculatorsResponseEntry
-> f ListRouteCalculatorsResponseEntry
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
    ListRouteCalculatorsResponseEntry
  where
  parseJSON :: Value -> Parser ListRouteCalculatorsResponseEntry
parseJSON =
    String
-> (Object -> Parser ListRouteCalculatorsResponseEntry)
-> Value
-> Parser ListRouteCalculatorsResponseEntry
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"ListRouteCalculatorsResponseEntry"
      ( \Object
x ->
          Text
-> POSIX
-> Text
-> Text
-> PricingPlan
-> POSIX
-> ListRouteCalculatorsResponseEntry
ListRouteCalculatorsResponseEntry'
            (Text
 -> POSIX
 -> Text
 -> Text
 -> PricingPlan
 -> POSIX
 -> ListRouteCalculatorsResponseEntry)
-> Parser Text
-> Parser
     (POSIX
      -> Text
      -> Text
      -> PricingPlan
      -> POSIX
      -> ListRouteCalculatorsResponseEntry)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"CalculatorName")
            Parser
  (POSIX
   -> Text
   -> Text
   -> PricingPlan
   -> POSIX
   -> ListRouteCalculatorsResponseEntry)
-> Parser POSIX
-> Parser
     (Text
      -> Text
      -> PricingPlan
      -> POSIX
      -> ListRouteCalculatorsResponseEntry)
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
   -> Text
   -> PricingPlan
   -> POSIX
   -> ListRouteCalculatorsResponseEntry)
-> Parser Text
-> Parser
     (Text -> PricingPlan -> POSIX -> ListRouteCalculatorsResponseEntry)
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
"DataSource")
            Parser
  (Text -> PricingPlan -> POSIX -> ListRouteCalculatorsResponseEntry)
-> Parser Text
-> Parser
     (PricingPlan -> POSIX -> ListRouteCalculatorsResponseEntry)
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 -> ListRouteCalculatorsResponseEntry)
-> Parser PricingPlan
-> Parser (POSIX -> ListRouteCalculatorsResponseEntry)
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 -> ListRouteCalculatorsResponseEntry)
-> Parser POSIX -> Parser ListRouteCalculatorsResponseEntry
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
    ListRouteCalculatorsResponseEntry

instance
  Prelude.NFData
    ListRouteCalculatorsResponseEntry