module Stratosphere.IoTTwinMaker.Entity.ComponentProperty (
        module Exports, ComponentProperty(..), mkComponentProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoTTwinMaker.Entity.PropertyProperty as Exports
import {-# SOURCE #-} Stratosphere.IoTTwinMaker.Entity.PropertyGroupProperty as Exports
import {-# SOURCE #-} Stratosphere.IoTTwinMaker.Entity.StatusProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ComponentProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html>
    ComponentProperty {ComponentProperty -> ()
haddock_workaround_ :: (),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-componentname>
                       ComponentProperty -> Maybe (Value Text)
componentName :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-componenttypeid>
                       ComponentProperty -> Maybe (Value Text)
componentTypeId :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-definedin>
                       ComponentProperty -> Maybe (Value Text)
definedIn :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-description>
                       ComponentProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-properties>
                       ComponentProperty -> Maybe (Map Text PropertyProperty)
properties :: (Prelude.Maybe (Prelude.Map Prelude.Text PropertyProperty)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-propertygroups>
                       ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
propertyGroups :: (Prelude.Maybe (Prelude.Map Prelude.Text PropertyGroupProperty)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html#cfn-iottwinmaker-entity-component-status>
                       ComponentProperty -> Maybe StatusProperty
status :: (Prelude.Maybe StatusProperty)}
  deriving stock (ComponentProperty -> ComponentProperty -> Bool
(ComponentProperty -> ComponentProperty -> Bool)
-> (ComponentProperty -> ComponentProperty -> Bool)
-> Eq ComponentProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ComponentProperty -> ComponentProperty -> Bool
== :: ComponentProperty -> ComponentProperty -> Bool
$c/= :: ComponentProperty -> ComponentProperty -> Bool
/= :: ComponentProperty -> ComponentProperty -> Bool
Prelude.Eq, Int -> ComponentProperty -> ShowS
[ComponentProperty] -> ShowS
ComponentProperty -> String
(Int -> ComponentProperty -> ShowS)
-> (ComponentProperty -> String)
-> ([ComponentProperty] -> ShowS)
-> Show ComponentProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ComponentProperty -> ShowS
showsPrec :: Int -> ComponentProperty -> ShowS
$cshow :: ComponentProperty -> String
show :: ComponentProperty -> String
$cshowList :: [ComponentProperty] -> ShowS
showList :: [ComponentProperty] -> ShowS
Prelude.Show)
mkComponentProperty :: ComponentProperty
mkComponentProperty :: ComponentProperty
mkComponentProperty
  = ComponentProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), componentName :: Maybe (Value Text)
componentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       componentTypeId :: Maybe (Value Text)
componentTypeId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, definedIn :: Maybe (Value Text)
definedIn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, properties :: Maybe (Map Text PropertyProperty)
properties = Maybe (Map Text PropertyProperty)
forall a. Maybe a
Prelude.Nothing,
       propertyGroups :: Maybe (Map Text PropertyGroupProperty)
propertyGroups = Maybe (Map Text PropertyGroupProperty)
forall a. Maybe a
Prelude.Nothing, status :: Maybe StatusProperty
status = Maybe StatusProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ComponentProperty where
  toResourceProperties :: ComponentProperty -> ResourceProperties
toResourceProperties ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoTTwinMaker::Entity.Component",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [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..=) Key
"ComponentName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
componentName,
                            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..=) Key
"ComponentTypeId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
componentTypeId,
                            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..=) Key
"DefinedIn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
definedIn,
                            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..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                            Key -> Map Text PropertyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Properties" (Map Text PropertyProperty -> (Key, Value))
-> Maybe (Map Text PropertyProperty) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text PropertyProperty)
properties,
                            Key -> Map Text PropertyGroupProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PropertyGroups" (Map Text PropertyGroupProperty -> (Key, Value))
-> Maybe (Map Text PropertyGroupProperty) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text PropertyGroupProperty)
propertyGroups,
                            Key -> StatusProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Status" (StatusProperty -> (Key, Value))
-> Maybe StatusProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StatusProperty
status])}
instance JSON.ToJSON ComponentProperty where
  toJSON :: ComponentProperty -> Value
toJSON ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [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..=) Key
"ComponentName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
componentName,
               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..=) Key
"ComponentTypeId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
componentTypeId,
               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..=) Key
"DefinedIn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
definedIn,
               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..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
               Key -> Map Text PropertyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Properties" (Map Text PropertyProperty -> (Key, Value))
-> Maybe (Map Text PropertyProperty) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text PropertyProperty)
properties,
               Key -> Map Text PropertyGroupProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PropertyGroups" (Map Text PropertyGroupProperty -> (Key, Value))
-> Maybe (Map Text PropertyGroupProperty) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text PropertyGroupProperty)
propertyGroups,
               Key -> StatusProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Status" (StatusProperty -> (Key, Value))
-> Maybe StatusProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StatusProperty
status]))
instance Property "ComponentName" ComponentProperty where
  type PropertyType "ComponentName" ComponentProperty = Value Prelude.Text
  set :: PropertyType "ComponentName" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "ComponentName" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {componentName :: Maybe (Value Text)
componentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ComponentName" ComponentProperty
Value Text
newValue, Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ()
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
haddock_workaround_ :: ()
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
instance Property "ComponentTypeId" ComponentProperty where
  type PropertyType "ComponentTypeId" ComponentProperty = Value Prelude.Text
  set :: PropertyType "ComponentTypeId" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "ComponentTypeId" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {componentTypeId :: Maybe (Value Text)
componentTypeId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ComponentTypeId" ComponentProperty
Value Text
newValue, Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
instance Property "DefinedIn" ComponentProperty where
  type PropertyType "DefinedIn" ComponentProperty = Value Prelude.Text
  set :: PropertyType "DefinedIn" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "DefinedIn" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {definedIn :: Maybe (Value Text)
definedIn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefinedIn" ComponentProperty
Value Text
newValue, Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
instance Property "Description" ComponentProperty where
  type PropertyType "Description" ComponentProperty = Value Prelude.Text
  set :: PropertyType "Description" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "Description" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" ComponentProperty
Value Text
newValue, Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
instance Property "Properties" ComponentProperty where
  type PropertyType "Properties" ComponentProperty = Prelude.Map Prelude.Text PropertyProperty
  set :: PropertyType "Properties" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "Properties" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {properties :: Maybe (Map Text PropertyProperty)
properties = Map Text PropertyProperty -> Maybe (Map Text PropertyProperty)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text PropertyProperty
PropertyType "Properties" ComponentProperty
newValue, Maybe (Map Text PropertyGroupProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
instance Property "PropertyGroups" ComponentProperty where
  type PropertyType "PropertyGroups" ComponentProperty = Prelude.Map Prelude.Text PropertyGroupProperty
  set :: PropertyType "PropertyGroups" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "PropertyGroups" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {propertyGroups :: Maybe (Map Text PropertyGroupProperty)
propertyGroups = Map Text PropertyGroupProperty
-> Maybe (Map Text PropertyGroupProperty)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text PropertyGroupProperty
PropertyType "PropertyGroups" ComponentProperty
newValue, Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
status :: Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
status :: Maybe StatusProperty
..}
instance Property "Status" ComponentProperty where
  type PropertyType "Status" ComponentProperty = StatusProperty
  set :: PropertyType "Status" ComponentProperty
-> ComponentProperty -> ComponentProperty
set PropertyType "Status" ComponentProperty
newValue ComponentProperty {Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
Maybe StatusProperty
()
haddock_workaround_ :: ComponentProperty -> ()
componentName :: ComponentProperty -> Maybe (Value Text)
componentTypeId :: ComponentProperty -> Maybe (Value Text)
definedIn :: ComponentProperty -> Maybe (Value Text)
description :: ComponentProperty -> Maybe (Value Text)
properties :: ComponentProperty -> Maybe (Map Text PropertyProperty)
propertyGroups :: ComponentProperty -> Maybe (Map Text PropertyGroupProperty)
status :: ComponentProperty -> Maybe StatusProperty
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
status :: Maybe StatusProperty
..}
    = ComponentProperty {status :: Maybe StatusProperty
status = StatusProperty -> Maybe StatusProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Status" ComponentProperty
StatusProperty
newValue, Maybe (Map Text PropertyGroupProperty)
Maybe (Map Text PropertyProperty)
Maybe (Value Text)
()
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
haddock_workaround_ :: ()
componentName :: Maybe (Value Text)
componentTypeId :: Maybe (Value Text)
definedIn :: Maybe (Value Text)
description :: Maybe (Value Text)
properties :: Maybe (Map Text PropertyProperty)
propertyGroups :: Maybe (Map Text PropertyGroupProperty)
..}