module Stratosphere.DataZone.Connection.HyperPodPropertiesInputProperty (
HyperPodPropertiesInputProperty(..),
mkHyperPodPropertiesInputProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data HyperPodPropertiesInputProperty
=
HyperPodPropertiesInputProperty {HyperPodPropertiesInputProperty -> ()
haddock_workaround_ :: (),
HyperPodPropertiesInputProperty -> Value Text
clusterName :: (Value Prelude.Text)}
deriving stock (HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool
(HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool)
-> (HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool)
-> Eq HyperPodPropertiesInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool
== :: HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool
$c/= :: HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool
/= :: HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty -> Bool
Prelude.Eq, Int -> HyperPodPropertiesInputProperty -> ShowS
[HyperPodPropertiesInputProperty] -> ShowS
HyperPodPropertiesInputProperty -> String
(Int -> HyperPodPropertiesInputProperty -> ShowS)
-> (HyperPodPropertiesInputProperty -> String)
-> ([HyperPodPropertiesInputProperty] -> ShowS)
-> Show HyperPodPropertiesInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> HyperPodPropertiesInputProperty -> ShowS
showsPrec :: Int -> HyperPodPropertiesInputProperty -> ShowS
$cshow :: HyperPodPropertiesInputProperty -> String
show :: HyperPodPropertiesInputProperty -> String
$cshowList :: [HyperPodPropertiesInputProperty] -> ShowS
showList :: [HyperPodPropertiesInputProperty] -> ShowS
Prelude.Show)
mkHyperPodPropertiesInputProperty ::
Value Prelude.Text -> HyperPodPropertiesInputProperty
mkHyperPodPropertiesInputProperty :: Value Text -> HyperPodPropertiesInputProperty
mkHyperPodPropertiesInputProperty Value Text
clusterName
= HyperPodPropertiesInputProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), clusterName :: Value Text
clusterName = Value Text
clusterName}
instance ToResourceProperties HyperPodPropertiesInputProperty where
toResourceProperties :: HyperPodPropertiesInputProperty -> ResourceProperties
toResourceProperties HyperPodPropertiesInputProperty {()
Value Text
haddock_workaround_ :: HyperPodPropertiesInputProperty -> ()
clusterName :: HyperPodPropertiesInputProperty -> Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::DataZone::Connection.HyperPodPropertiesInput",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"ClusterName" 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..= Value Text
clusterName]}
instance JSON.ToJSON HyperPodPropertiesInputProperty where
toJSON :: HyperPodPropertiesInputProperty -> Value
toJSON HyperPodPropertiesInputProperty {()
Value Text
haddock_workaround_ :: HyperPodPropertiesInputProperty -> ()
clusterName :: HyperPodPropertiesInputProperty -> Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"ClusterName" 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..= Value Text
clusterName]
instance Property "ClusterName" HyperPodPropertiesInputProperty where
type PropertyType "ClusterName" HyperPodPropertiesInputProperty = Value Prelude.Text
set :: PropertyType "ClusterName" HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty
-> HyperPodPropertiesInputProperty
set PropertyType "ClusterName" HyperPodPropertiesInputProperty
newValue HyperPodPropertiesInputProperty {()
Value Text
haddock_workaround_ :: HyperPodPropertiesInputProperty -> ()
clusterName :: HyperPodPropertiesInputProperty -> Value Text
haddock_workaround_ :: ()
clusterName :: Value Text
..}
= HyperPodPropertiesInputProperty {clusterName :: Value Text
clusterName = PropertyType "ClusterName" HyperPodPropertiesInputProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}