module Stratosphere.IoTFleetWise.SignalCatalog.AttributeProperty (
        AttributeProperty(..), mkAttributeProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AttributeProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html>
    AttributeProperty {AttributeProperty -> ()
haddock_workaround_ :: (),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-allowedvalues>
                       AttributeProperty -> Maybe (ValueList Text)
allowedValues :: (Prelude.Maybe (ValueList Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-assignedvalue>
                       AttributeProperty -> Maybe (Value Text)
assignedValue :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-datatype>
                       AttributeProperty -> Value Text
dataType :: (Value Prelude.Text),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-defaultvalue>
                       AttributeProperty -> Maybe (Value Text)
defaultValue :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-description>
                       AttributeProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-fullyqualifiedname>
                       AttributeProperty -> Value Text
fullyQualifiedName :: (Value Prelude.Text),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-max>
                       AttributeProperty -> Maybe (Value Double)
max :: (Prelude.Maybe (Value Prelude.Double)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-min>
                       AttributeProperty -> Maybe (Value Double)
min :: (Prelude.Maybe (Value Prelude.Double)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-signalcatalog-attribute.html#cfn-iotfleetwise-signalcatalog-attribute-unit>
                       AttributeProperty -> Maybe (Value Text)
unit :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (AttributeProperty -> AttributeProperty -> Bool
(AttributeProperty -> AttributeProperty -> Bool)
-> (AttributeProperty -> AttributeProperty -> Bool)
-> Eq AttributeProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AttributeProperty -> AttributeProperty -> Bool
== :: AttributeProperty -> AttributeProperty -> Bool
$c/= :: AttributeProperty -> AttributeProperty -> Bool
/= :: AttributeProperty -> AttributeProperty -> Bool
Prelude.Eq, Int -> AttributeProperty -> ShowS
[AttributeProperty] -> ShowS
AttributeProperty -> String
(Int -> AttributeProperty -> ShowS)
-> (AttributeProperty -> String)
-> ([AttributeProperty] -> ShowS)
-> Show AttributeProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AttributeProperty -> ShowS
showsPrec :: Int -> AttributeProperty -> ShowS
$cshow :: AttributeProperty -> String
show :: AttributeProperty -> String
$cshowList :: [AttributeProperty] -> ShowS
showList :: [AttributeProperty] -> ShowS
Prelude.Show)
mkAttributeProperty ::
  Value Prelude.Text -> Value Prelude.Text -> AttributeProperty
mkAttributeProperty :: Value Text -> Value Text -> AttributeProperty
mkAttributeProperty Value Text
dataType Value Text
fullyQualifiedName
  = AttributeProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), dataType :: Value Text
dataType = Value Text
dataType,
       fullyQualifiedName :: Value Text
fullyQualifiedName = Value Text
fullyQualifiedName,
       allowedValues :: Maybe (ValueList Text)
allowedValues = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, assignedValue :: Maybe (Value Text)
assignedValue = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       defaultValue :: Maybe (Value Text)
defaultValue = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       max :: Maybe (Value Double)
max = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, min :: Maybe (Value Double)
min = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
       unit :: Maybe (Value Text)
unit = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AttributeProperty where
  toResourceProperties :: AttributeProperty -> ResourceProperties
toResourceProperties AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoTFleetWise::SignalCatalog.Attribute",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"DataType" 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
dataType,
                            Key
"FullyQualifiedName" 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
fullyQualifiedName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ValueList 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
"AllowedValues" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
allowedValues,
                               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
"AssignedValue" (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)
assignedValue,
                               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
"DefaultValue" (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)
defaultValue,
                               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 -> 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..=) Key
"Max" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
max, 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..=) Key
"Min" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
min,
                               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
"Unit" (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)
unit]))}
instance JSON.ToJSON AttributeProperty where
  toJSON :: AttributeProperty -> Value
toJSON AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"DataType" 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
dataType,
               Key
"FullyQualifiedName" 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
fullyQualifiedName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ValueList 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
"AllowedValues" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
allowedValues,
                  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
"AssignedValue" (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)
assignedValue,
                  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
"DefaultValue" (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)
defaultValue,
                  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 -> 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..=) Key
"Max" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
max, 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..=) Key
"Min" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
min,
                  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
"Unit" (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)
unit])))
instance Property "AllowedValues" AttributeProperty where
  type PropertyType "AllowedValues" AttributeProperty = ValueList Prelude.Text
  set :: PropertyType "AllowedValues" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "AllowedValues" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {allowedValues :: Maybe (ValueList Text)
allowedValues = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AllowedValues" AttributeProperty
ValueList Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "AssignedValue" AttributeProperty where
  type PropertyType "AssignedValue" AttributeProperty = Value Prelude.Text
  set :: PropertyType "AssignedValue" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "AssignedValue" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {assignedValue :: Maybe (Value Text)
assignedValue = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AssignedValue" AttributeProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "DataType" AttributeProperty where
  type PropertyType "DataType" AttributeProperty = Value Prelude.Text
  set :: PropertyType "DataType" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "DataType" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {dataType :: Value Text
dataType = PropertyType "DataType" AttributeProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "DefaultValue" AttributeProperty where
  type PropertyType "DefaultValue" AttributeProperty = Value Prelude.Text
  set :: PropertyType "DefaultValue" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "DefaultValue" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {defaultValue :: Maybe (Value Text)
defaultValue = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefaultValue" AttributeProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Description" AttributeProperty where
  type PropertyType "Description" AttributeProperty = Value Prelude.Text
  set :: PropertyType "Description" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "Description" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {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" AttributeProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "FullyQualifiedName" AttributeProperty where
  type PropertyType "FullyQualifiedName" AttributeProperty = Value Prelude.Text
  set :: PropertyType "FullyQualifiedName" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "FullyQualifiedName" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {fullyQualifiedName :: Value Text
fullyQualifiedName = PropertyType "FullyQualifiedName" AttributeProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Max" AttributeProperty where
  type PropertyType "Max" AttributeProperty = Value Prelude.Double
  set :: PropertyType "Max" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "Max" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {max :: Maybe (Value Double)
max = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Max" AttributeProperty
Value Double
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Min" AttributeProperty where
  type PropertyType "Min" AttributeProperty = Value Prelude.Double
  set :: PropertyType "Min" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "Min" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {min :: Maybe (Value Double)
min = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Min" AttributeProperty
Value Double
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Unit" AttributeProperty where
  type PropertyType "Unit" AttributeProperty = Value Prelude.Text
  set :: PropertyType "Unit" AttributeProperty
-> AttributeProperty -> AttributeProperty
set PropertyType "Unit" AttributeProperty
newValue AttributeProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AttributeProperty -> ()
allowedValues :: AttributeProperty -> Maybe (ValueList Text)
assignedValue :: AttributeProperty -> Maybe (Value Text)
dataType :: AttributeProperty -> Value Text
defaultValue :: AttributeProperty -> Maybe (Value Text)
description :: AttributeProperty -> Maybe (Value Text)
fullyQualifiedName :: AttributeProperty -> Value Text
max :: AttributeProperty -> Maybe (Value Double)
min :: AttributeProperty -> Maybe (Value Double)
unit :: AttributeProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
    = AttributeProperty {unit :: Maybe (Value Text)
unit = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Unit" AttributeProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
defaultValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
..}