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