module Stratosphere.Connect.EvaluationForm (
        module Exports, EvaluationForm(..), mkEvaluationForm
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Connect.EvaluationForm.AutoEvaluationConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Connect.EvaluationForm.EvaluationFormBaseItemProperty as Exports
import {-# SOURCE #-} Stratosphere.Connect.EvaluationForm.ScoringStrategyProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data EvaluationForm
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html>
    EvaluationForm {EvaluationForm -> ()
haddock_workaround_ :: (),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-autoevaluationconfiguration>
                    EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
autoEvaluationConfiguration :: (Prelude.Maybe AutoEvaluationConfigurationProperty),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-description>
                    EvaluationForm -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-instancearn>
                    EvaluationForm -> Value Text
instanceArn :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-items>
                    EvaluationForm -> [EvaluationFormBaseItemProperty]
items :: [EvaluationFormBaseItemProperty],
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-scoringstrategy>
                    EvaluationForm -> Maybe ScoringStrategyProperty
scoringStrategy :: (Prelude.Maybe ScoringStrategyProperty),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-status>
                    EvaluationForm -> Value Text
status :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-tags>
                    EvaluationForm -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-title>
                    EvaluationForm -> Value Text
title :: (Value Prelude.Text)}
  deriving stock (EvaluationForm -> EvaluationForm -> Bool
(EvaluationForm -> EvaluationForm -> Bool)
-> (EvaluationForm -> EvaluationForm -> Bool) -> Eq EvaluationForm
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EvaluationForm -> EvaluationForm -> Bool
== :: EvaluationForm -> EvaluationForm -> Bool
$c/= :: EvaluationForm -> EvaluationForm -> Bool
/= :: EvaluationForm -> EvaluationForm -> Bool
Prelude.Eq, Int -> EvaluationForm -> ShowS
[EvaluationForm] -> ShowS
EvaluationForm -> String
(Int -> EvaluationForm -> ShowS)
-> (EvaluationForm -> String)
-> ([EvaluationForm] -> ShowS)
-> Show EvaluationForm
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EvaluationForm -> ShowS
showsPrec :: Int -> EvaluationForm -> ShowS
$cshow :: EvaluationForm -> String
show :: EvaluationForm -> String
$cshowList :: [EvaluationForm] -> ShowS
showList :: [EvaluationForm] -> ShowS
Prelude.Show)
mkEvaluationForm ::
  Value Prelude.Text
  -> [EvaluationFormBaseItemProperty]
     -> Value Prelude.Text -> Value Prelude.Text -> EvaluationForm
mkEvaluationForm :: Value Text
-> [EvaluationFormBaseItemProperty]
-> Value Text
-> Value Text
-> EvaluationForm
mkEvaluationForm Value Text
instanceArn [EvaluationFormBaseItemProperty]
items Value Text
status Value Text
title
  = EvaluationForm
      {haddock_workaround_ :: ()
haddock_workaround_ = (), instanceArn :: Value Text
instanceArn = Value Text
instanceArn,
       items :: [EvaluationFormBaseItemProperty]
items = [EvaluationFormBaseItemProperty]
items, status :: Value Text
status = Value Text
status, title :: Value Text
title = Value Text
title,
       autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
autoEvaluationConfiguration = Maybe AutoEvaluationConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, scoringStrategy :: Maybe ScoringStrategyProperty
scoringStrategy = Maybe ScoringStrategyProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EvaluationForm where
  toResourceProperties :: EvaluationForm -> ResourceProperties
toResourceProperties EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Connect::EvaluationForm",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"InstanceArn" 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
instanceArn, Key
"Items" Key -> [EvaluationFormBaseItemProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [EvaluationFormBaseItemProperty]
items,
                            Key
"Status" 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
status, Key
"Title" 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
title]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AutoEvaluationConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutoEvaluationConfiguration"
                                 (AutoEvaluationConfigurationProperty -> (Key, Value))
-> Maybe AutoEvaluationConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AutoEvaluationConfigurationProperty
autoEvaluationConfiguration,
                               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 -> ScoringStrategyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ScoringStrategy" (ScoringStrategyProperty -> (Key, Value))
-> Maybe ScoringStrategyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ScoringStrategyProperty
scoringStrategy,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON EvaluationForm where
  toJSON :: EvaluationForm -> Value
toJSON EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: 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
"InstanceArn" 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
instanceArn, Key
"Items" Key -> [EvaluationFormBaseItemProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [EvaluationFormBaseItemProperty]
items,
               Key
"Status" 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
status, Key
"Title" 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
title]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AutoEvaluationConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutoEvaluationConfiguration"
                    (AutoEvaluationConfigurationProperty -> (Key, Value))
-> Maybe AutoEvaluationConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AutoEvaluationConfigurationProperty
autoEvaluationConfiguration,
                  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 -> ScoringStrategyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ScoringStrategy" (ScoringStrategyProperty -> (Key, Value))
-> Maybe ScoringStrategyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ScoringStrategyProperty
scoringStrategy,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "AutoEvaluationConfiguration" EvaluationForm where
  type PropertyType "AutoEvaluationConfiguration" EvaluationForm = AutoEvaluationConfigurationProperty
  set :: PropertyType "AutoEvaluationConfiguration" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "AutoEvaluationConfiguration" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm
        {autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
autoEvaluationConfiguration = AutoEvaluationConfigurationProperty
-> Maybe AutoEvaluationConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutoEvaluationConfiguration" EvaluationForm
AutoEvaluationConfigurationProperty
newValue, [EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
instance Property "Description" EvaluationForm where
  type PropertyType "Description" EvaluationForm = Value Prelude.Text
  set :: PropertyType "Description" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "Description" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {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" EvaluationForm
Value Text
newValue, [EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
instance Property "InstanceArn" EvaluationForm where
  type PropertyType "InstanceArn" EvaluationForm = Value Prelude.Text
  set :: PropertyType "InstanceArn" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "InstanceArn" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {instanceArn :: Value Text
instanceArn = PropertyType "InstanceArn" EvaluationForm
Value Text
newValue, [EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
instance Property "Items" EvaluationForm where
  type PropertyType "Items" EvaluationForm = [EvaluationFormBaseItemProperty]
  set :: PropertyType "Items" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "Items" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {items :: [EvaluationFormBaseItemProperty]
items = [EvaluationFormBaseItemProperty]
PropertyType "Items" EvaluationForm
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
instance Property "ScoringStrategy" EvaluationForm where
  type PropertyType "ScoringStrategy" EvaluationForm = ScoringStrategyProperty
  set :: PropertyType "ScoringStrategy" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "ScoringStrategy" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {scoringStrategy :: Maybe ScoringStrategyProperty
scoringStrategy = ScoringStrategyProperty -> Maybe ScoringStrategyProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScoringStrategy" EvaluationForm
ScoringStrategyProperty
newValue, [EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
instance Property "Status" EvaluationForm where
  type PropertyType "Status" EvaluationForm = Value Prelude.Text
  set :: PropertyType "Status" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "Status" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {status :: Value Text
status = PropertyType "Status" EvaluationForm
Value Text
newValue, [EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
tags :: Maybe [Tag]
title :: Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
tags :: Maybe [Tag]
title :: Value Text
..}
instance Property "Tags" EvaluationForm where
  type PropertyType "Tags" EvaluationForm = [Tag]
  set :: PropertyType "Tags" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "Tags" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" EvaluationForm
newValue, [EvaluationFormBaseItemProperty]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
title :: Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
title :: Value Text
..}
instance Property "Title" EvaluationForm where
  type PropertyType "Title" EvaluationForm = Value Prelude.Text
  set :: PropertyType "Title" EvaluationForm
-> EvaluationForm -> EvaluationForm
set PropertyType "Title" EvaluationForm
newValue EvaluationForm {[EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: EvaluationForm -> ()
autoEvaluationConfiguration :: EvaluationForm -> Maybe AutoEvaluationConfigurationProperty
description :: EvaluationForm -> Maybe (Value Text)
instanceArn :: EvaluationForm -> Value Text
items :: EvaluationForm -> [EvaluationFormBaseItemProperty]
scoringStrategy :: EvaluationForm -> Maybe ScoringStrategyProperty
status :: EvaluationForm -> Value Text
tags :: EvaluationForm -> Maybe [Tag]
title :: EvaluationForm -> Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
title :: Value Text
..}
    = EvaluationForm {title :: Value Text
title = PropertyType "Title" EvaluationForm
Value Text
newValue, [EvaluationFormBaseItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe AutoEvaluationConfigurationProperty
Maybe ScoringStrategyProperty
()
Value Text
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
autoEvaluationConfiguration :: Maybe AutoEvaluationConfigurationProperty
description :: Maybe (Value Text)
instanceArn :: Value Text
items :: [EvaluationFormBaseItemProperty]
scoringStrategy :: Maybe ScoringStrategyProperty
status :: Value Text
tags :: Maybe [Tag]
..}