module Stratosphere.FSx.S3AccessPointAttachment.FileSystemGIDProperty (
FileSystemGIDProperty(..), mkFileSystemGIDProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FileSystemGIDProperty
=
FileSystemGIDProperty {FileSystemGIDProperty -> ()
haddock_workaround_ :: (),
FileSystemGIDProperty -> Value Double
gid :: (Value Prelude.Double)}
deriving stock (FileSystemGIDProperty -> FileSystemGIDProperty -> Bool
(FileSystemGIDProperty -> FileSystemGIDProperty -> Bool)
-> (FileSystemGIDProperty -> FileSystemGIDProperty -> Bool)
-> Eq FileSystemGIDProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FileSystemGIDProperty -> FileSystemGIDProperty -> Bool
== :: FileSystemGIDProperty -> FileSystemGIDProperty -> Bool
$c/= :: FileSystemGIDProperty -> FileSystemGIDProperty -> Bool
/= :: FileSystemGIDProperty -> FileSystemGIDProperty -> Bool
Prelude.Eq, Int -> FileSystemGIDProperty -> ShowS
[FileSystemGIDProperty] -> ShowS
FileSystemGIDProperty -> String
(Int -> FileSystemGIDProperty -> ShowS)
-> (FileSystemGIDProperty -> String)
-> ([FileSystemGIDProperty] -> ShowS)
-> Show FileSystemGIDProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FileSystemGIDProperty -> ShowS
showsPrec :: Int -> FileSystemGIDProperty -> ShowS
$cshow :: FileSystemGIDProperty -> String
show :: FileSystemGIDProperty -> String
$cshowList :: [FileSystemGIDProperty] -> ShowS
showList :: [FileSystemGIDProperty] -> ShowS
Prelude.Show)
mkFileSystemGIDProperty ::
Value Prelude.Double -> FileSystemGIDProperty
mkFileSystemGIDProperty :: Value Double -> FileSystemGIDProperty
mkFileSystemGIDProperty Value Double
gid
= FileSystemGIDProperty {haddock_workaround_ :: ()
haddock_workaround_ = (), gid :: Value Double
gid = Value Double
gid}
instance ToResourceProperties FileSystemGIDProperty where
toResourceProperties :: FileSystemGIDProperty -> ResourceProperties
toResourceProperties FileSystemGIDProperty {()
Value Double
haddock_workaround_ :: FileSystemGIDProperty -> ()
gid :: FileSystemGIDProperty -> Value Double
haddock_workaround_ :: ()
gid :: Value Double
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::FSx::S3AccessPointAttachment.FileSystemGID",
supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Gid" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
gid]}
instance JSON.ToJSON FileSystemGIDProperty where
toJSON :: FileSystemGIDProperty -> Value
toJSON FileSystemGIDProperty {()
Value Double
haddock_workaround_ :: FileSystemGIDProperty -> ()
gid :: FileSystemGIDProperty -> Value Double
haddock_workaround_ :: ()
gid :: Value Double
..} = [(Key, Value)] -> Value
JSON.object [Key
"Gid" Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Double
gid]
instance Property "Gid" FileSystemGIDProperty where
type PropertyType "Gid" FileSystemGIDProperty = Value Prelude.Double
set :: PropertyType "Gid" FileSystemGIDProperty
-> FileSystemGIDProperty -> FileSystemGIDProperty
set PropertyType "Gid" FileSystemGIDProperty
newValue FileSystemGIDProperty {()
Value Double
haddock_workaround_ :: FileSystemGIDProperty -> ()
gid :: FileSystemGIDProperty -> Value Double
haddock_workaround_ :: ()
gid :: Value Double
..}
= FileSystemGIDProperty {gid :: Value Double
gid = PropertyType "Gid" FileSystemGIDProperty
Value Double
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}