{-# 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 #-}
module Amazonka.GroundStation.Types.AntennaDemodDecodeDetails where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data AntennaDemodDecodeDetails = AntennaDemodDecodeDetails'
{
AntennaDemodDecodeDetails -> Maybe Text
outputNode :: Prelude.Maybe Prelude.Text
}
deriving (AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool
(AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool)
-> (AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool)
-> Eq AntennaDemodDecodeDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool
$c/= :: AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool
== :: AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool
$c== :: AntennaDemodDecodeDetails -> AntennaDemodDecodeDetails -> Bool
Prelude.Eq, ReadPrec [AntennaDemodDecodeDetails]
ReadPrec AntennaDemodDecodeDetails
Int -> ReadS AntennaDemodDecodeDetails
ReadS [AntennaDemodDecodeDetails]
(Int -> ReadS AntennaDemodDecodeDetails)
-> ReadS [AntennaDemodDecodeDetails]
-> ReadPrec AntennaDemodDecodeDetails
-> ReadPrec [AntennaDemodDecodeDetails]
-> Read AntennaDemodDecodeDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AntennaDemodDecodeDetails]
$creadListPrec :: ReadPrec [AntennaDemodDecodeDetails]
readPrec :: ReadPrec AntennaDemodDecodeDetails
$creadPrec :: ReadPrec AntennaDemodDecodeDetails
readList :: ReadS [AntennaDemodDecodeDetails]
$creadList :: ReadS [AntennaDemodDecodeDetails]
readsPrec :: Int -> ReadS AntennaDemodDecodeDetails
$creadsPrec :: Int -> ReadS AntennaDemodDecodeDetails
Prelude.Read, Int -> AntennaDemodDecodeDetails -> ShowS
[AntennaDemodDecodeDetails] -> ShowS
AntennaDemodDecodeDetails -> String
(Int -> AntennaDemodDecodeDetails -> ShowS)
-> (AntennaDemodDecodeDetails -> String)
-> ([AntennaDemodDecodeDetails] -> ShowS)
-> Show AntennaDemodDecodeDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AntennaDemodDecodeDetails] -> ShowS
$cshowList :: [AntennaDemodDecodeDetails] -> ShowS
show :: AntennaDemodDecodeDetails -> String
$cshow :: AntennaDemodDecodeDetails -> String
showsPrec :: Int -> AntennaDemodDecodeDetails -> ShowS
$cshowsPrec :: Int -> AntennaDemodDecodeDetails -> ShowS
Prelude.Show, (forall x.
AntennaDemodDecodeDetails -> Rep AntennaDemodDecodeDetails x)
-> (forall x.
Rep AntennaDemodDecodeDetails x -> AntennaDemodDecodeDetails)
-> Generic AntennaDemodDecodeDetails
forall x.
Rep AntennaDemodDecodeDetails x -> AntennaDemodDecodeDetails
forall x.
AntennaDemodDecodeDetails -> Rep AntennaDemodDecodeDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AntennaDemodDecodeDetails x -> AntennaDemodDecodeDetails
$cfrom :: forall x.
AntennaDemodDecodeDetails -> Rep AntennaDemodDecodeDetails x
Prelude.Generic)
newAntennaDemodDecodeDetails ::
AntennaDemodDecodeDetails
newAntennaDemodDecodeDetails :: AntennaDemodDecodeDetails
newAntennaDemodDecodeDetails =
AntennaDemodDecodeDetails' :: Maybe Text -> AntennaDemodDecodeDetails
AntennaDemodDecodeDetails'
{ $sel:outputNode:AntennaDemodDecodeDetails' :: Maybe Text
outputNode =
Maybe Text
forall a. Maybe a
Prelude.Nothing
}
antennaDemodDecodeDetails_outputNode :: Lens.Lens' AntennaDemodDecodeDetails (Prelude.Maybe Prelude.Text)
antennaDemodDecodeDetails_outputNode :: (Maybe Text -> f (Maybe Text))
-> AntennaDemodDecodeDetails -> f AntennaDemodDecodeDetails
antennaDemodDecodeDetails_outputNode = (AntennaDemodDecodeDetails -> Maybe Text)
-> (AntennaDemodDecodeDetails
-> Maybe Text -> AntennaDemodDecodeDetails)
-> Lens
AntennaDemodDecodeDetails
AntennaDemodDecodeDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AntennaDemodDecodeDetails' {Maybe Text
outputNode :: Maybe Text
$sel:outputNode:AntennaDemodDecodeDetails' :: AntennaDemodDecodeDetails -> Maybe Text
outputNode} -> Maybe Text
outputNode) (\s :: AntennaDemodDecodeDetails
s@AntennaDemodDecodeDetails' {} Maybe Text
a -> AntennaDemodDecodeDetails
s {$sel:outputNode:AntennaDemodDecodeDetails' :: Maybe Text
outputNode = Maybe Text
a} :: AntennaDemodDecodeDetails)
instance Core.FromJSON AntennaDemodDecodeDetails where
parseJSON :: Value -> Parser AntennaDemodDecodeDetails
parseJSON =
String
-> (Object -> Parser AntennaDemodDecodeDetails)
-> Value
-> Parser AntennaDemodDecodeDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AntennaDemodDecodeDetails"
( \Object
x ->
Maybe Text -> AntennaDemodDecodeDetails
AntennaDemodDecodeDetails'
(Maybe Text -> AntennaDemodDecodeDetails)
-> Parser (Maybe Text) -> Parser AntennaDemodDecodeDetails
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
"outputNode")
)
instance Prelude.Hashable AntennaDemodDecodeDetails
instance Prelude.NFData AntennaDemodDecodeDetails