module Stratosphere.Personalize.Solution (
        module Exports, Solution(..), mkSolution
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Personalize.Solution.SolutionConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Solution
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html>
    Solution {Solution -> ()
haddock_workaround_ :: (),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-datasetgrouparn>
              Solution -> Value Text
datasetGroupArn :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-eventtype>
              Solution -> Maybe (Value Text)
eventType :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-name>
              Solution -> Value Text
name :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-performautoml>
              Solution -> Maybe (Value Bool)
performAutoML :: (Prelude.Maybe (Value Prelude.Bool)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-performhpo>
              Solution -> Maybe (Value Bool)
performHPO :: (Prelude.Maybe (Value Prelude.Bool)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-recipearn>
              Solution -> Maybe (Value Text)
recipeArn :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html#cfn-personalize-solution-solutionconfig>
              Solution -> Maybe SolutionConfigProperty
solutionConfig :: (Prelude.Maybe SolutionConfigProperty)}
  deriving stock (Solution -> Solution -> Bool
(Solution -> Solution -> Bool)
-> (Solution -> Solution -> Bool) -> Eq Solution
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Solution -> Solution -> Bool
== :: Solution -> Solution -> Bool
$c/= :: Solution -> Solution -> Bool
/= :: Solution -> Solution -> Bool
Prelude.Eq, Int -> Solution -> ShowS
[Solution] -> ShowS
Solution -> String
(Int -> Solution -> ShowS)
-> (Solution -> String) -> ([Solution] -> ShowS) -> Show Solution
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Solution -> ShowS
showsPrec :: Int -> Solution -> ShowS
$cshow :: Solution -> String
show :: Solution -> String
$cshowList :: [Solution] -> ShowS
showList :: [Solution] -> ShowS
Prelude.Show)
mkSolution :: Value Prelude.Text -> Value Prelude.Text -> Solution
mkSolution :: Value Text -> Value Text -> Solution
mkSolution Value Text
datasetGroupArn Value Text
name
  = Solution
      {haddock_workaround_ :: ()
haddock_workaround_ = (), datasetGroupArn :: Value Text
datasetGroupArn = Value Text
datasetGroupArn,
       name :: Value Text
name = Value Text
name, eventType :: Maybe (Value Text)
eventType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       performAutoML :: Maybe (Value Bool)
performAutoML = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, performHPO :: Maybe (Value Bool)
performHPO = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       recipeArn :: Maybe (Value Text)
recipeArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, solutionConfig :: Maybe SolutionConfigProperty
solutionConfig = Maybe SolutionConfigProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Solution where
  toResourceProperties :: Solution -> ResourceProperties
toResourceProperties Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Personalize::Solution",
         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
"DatasetGroupArn" 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
datasetGroupArn, Key
"Name" 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
name]
                           ([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
"EventType" (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)
eventType,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PerformAutoML" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
performAutoML,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PerformHPO" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
performHPO,
                               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
"RecipeArn" (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)
recipeArn,
                               Key -> SolutionConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SolutionConfig" (SolutionConfigProperty -> (Key, Value))
-> Maybe SolutionConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SolutionConfigProperty
solutionConfig]))}
instance JSON.ToJSON Solution where
  toJSON :: Solution -> Value
toJSON Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = [(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
"DatasetGroupArn" 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
datasetGroupArn, Key
"Name" 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
name]
              ([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
"EventType" (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)
eventType,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PerformAutoML" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
performAutoML,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PerformHPO" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
performHPO,
                  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
"RecipeArn" (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)
recipeArn,
                  Key -> SolutionConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SolutionConfig" (SolutionConfigProperty -> (Key, Value))
-> Maybe SolutionConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SolutionConfigProperty
solutionConfig])))
instance Property "DatasetGroupArn" Solution where
  type PropertyType "DatasetGroupArn" Solution = Value Prelude.Text
  set :: PropertyType "DatasetGroupArn" Solution -> Solution -> Solution
set PropertyType "DatasetGroupArn" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = Solution {datasetGroupArn :: Value Text
datasetGroupArn = PropertyType "DatasetGroupArn" Solution
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: ()
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
haddock_workaround_ :: ()
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
instance Property "EventType" Solution where
  type PropertyType "EventType" Solution = Value Prelude.Text
  set :: PropertyType "EventType" Solution -> Solution -> Solution
set PropertyType "EventType" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = Solution {eventType :: Maybe (Value Text)
eventType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EventType" Solution
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
instance Property "Name" Solution where
  type PropertyType "Name" Solution = Value Prelude.Text
  set :: PropertyType "Name" Solution -> Solution -> Solution
set PropertyType "Name" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..} = Solution {name :: Value Text
name = PropertyType "Name" Solution
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
instance Property "PerformAutoML" Solution where
  type PropertyType "PerformAutoML" Solution = Value Prelude.Bool
  set :: PropertyType "PerformAutoML" Solution -> Solution -> Solution
set PropertyType "PerformAutoML" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = Solution {performAutoML :: Maybe (Value Bool)
performAutoML = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PerformAutoML" Solution
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
instance Property "PerformHPO" Solution where
  type PropertyType "PerformHPO" Solution = Value Prelude.Bool
  set :: PropertyType "PerformHPO" Solution -> Solution -> Solution
set PropertyType "PerformHPO" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = Solution {performHPO :: Maybe (Value Bool)
performHPO = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PerformHPO" Solution
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
instance Property "RecipeArn" Solution where
  type PropertyType "RecipeArn" Solution = Value Prelude.Text
  set :: PropertyType "RecipeArn" Solution -> Solution -> Solution
set PropertyType "RecipeArn" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = Solution {recipeArn :: Maybe (Value Text)
recipeArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RecipeArn" Solution
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
solutionConfig :: Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
solutionConfig :: Maybe SolutionConfigProperty
..}
instance Property "SolutionConfig" Solution where
  type PropertyType "SolutionConfig" Solution = SolutionConfigProperty
  set :: PropertyType "SolutionConfig" Solution -> Solution -> Solution
set PropertyType "SolutionConfig" Solution
newValue Solution {Maybe (Value Bool)
Maybe (Value Text)
Maybe SolutionConfigProperty
()
Value Text
haddock_workaround_ :: Solution -> ()
datasetGroupArn :: Solution -> Value Text
eventType :: Solution -> Maybe (Value Text)
name :: Solution -> Value Text
performAutoML :: Solution -> Maybe (Value Bool)
performHPO :: Solution -> Maybe (Value Bool)
recipeArn :: Solution -> Maybe (Value Text)
solutionConfig :: Solution -> Maybe SolutionConfigProperty
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
solutionConfig :: Maybe SolutionConfigProperty
..}
    = Solution {solutionConfig :: Maybe SolutionConfigProperty
solutionConfig = SolutionConfigProperty -> Maybe SolutionConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SolutionConfig" Solution
SolutionConfigProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
haddock_workaround_ :: ()
datasetGroupArn :: Value Text
eventType :: Maybe (Value Text)
name :: Value Text
performAutoML :: Maybe (Value Bool)
performHPO :: Maybe (Value Bool)
recipeArn :: Maybe (Value Text)
..}