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