module Stratosphere.SageMaker.EndpointConfig.ClarifyShapBaselineConfigProperty (
        ClarifyShapBaselineConfigProperty(..),
        mkClarifyShapBaselineConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ClarifyShapBaselineConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyshapbaselineconfig.html>
    ClarifyShapBaselineConfigProperty {ClarifyShapBaselineConfigProperty -> ()
haddock_workaround_ :: (),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyshapbaselineconfig.html#cfn-sagemaker-endpointconfig-clarifyshapbaselineconfig-mimetype>
                                       ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
mimeType :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyshapbaselineconfig.html#cfn-sagemaker-endpointconfig-clarifyshapbaselineconfig-shapbaseline>
                                       ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaseline :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyshapbaselineconfig.html#cfn-sagemaker-endpointconfig-clarifyshapbaselineconfig-shapbaselineuri>
                                       ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaselineUri :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty -> Bool
(ClarifyShapBaselineConfigProperty
 -> ClarifyShapBaselineConfigProperty -> Bool)
-> (ClarifyShapBaselineConfigProperty
    -> ClarifyShapBaselineConfigProperty -> Bool)
-> Eq ClarifyShapBaselineConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty -> Bool
== :: ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty -> Bool
$c/= :: ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty -> Bool
/= :: ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty -> Bool
Prelude.Eq, Int -> ClarifyShapBaselineConfigProperty -> ShowS
[ClarifyShapBaselineConfigProperty] -> ShowS
ClarifyShapBaselineConfigProperty -> String
(Int -> ClarifyShapBaselineConfigProperty -> ShowS)
-> (ClarifyShapBaselineConfigProperty -> String)
-> ([ClarifyShapBaselineConfigProperty] -> ShowS)
-> Show ClarifyShapBaselineConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ClarifyShapBaselineConfigProperty -> ShowS
showsPrec :: Int -> ClarifyShapBaselineConfigProperty -> ShowS
$cshow :: ClarifyShapBaselineConfigProperty -> String
show :: ClarifyShapBaselineConfigProperty -> String
$cshowList :: [ClarifyShapBaselineConfigProperty] -> ShowS
showList :: [ClarifyShapBaselineConfigProperty] -> ShowS
Prelude.Show)
mkClarifyShapBaselineConfigProperty ::
  ClarifyShapBaselineConfigProperty
mkClarifyShapBaselineConfigProperty :: ClarifyShapBaselineConfigProperty
mkClarifyShapBaselineConfigProperty
  = ClarifyShapBaselineConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), mimeType :: Maybe (Value Text)
mimeType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       shapBaseline :: Maybe (Value Text)
shapBaseline = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, shapBaselineUri :: Maybe (Value Text)
shapBaselineUri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ClarifyShapBaselineConfigProperty where
  toResourceProperties :: ClarifyShapBaselineConfigProperty -> ResourceProperties
toResourceProperties ClarifyShapBaselineConfigProperty {Maybe (Value Text)
()
haddock_workaround_ :: ClarifyShapBaselineConfigProperty -> ()
mimeType :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaseline :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaselineUri :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SageMaker::EndpointConfig.ClarifyShapBaselineConfig",
         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
"MimeType" (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)
mimeType,
                            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
"ShapBaseline" (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)
shapBaseline,
                            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
"ShapBaselineUri" (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)
shapBaselineUri])}
instance JSON.ToJSON ClarifyShapBaselineConfigProperty where
  toJSON :: ClarifyShapBaselineConfigProperty -> Value
toJSON ClarifyShapBaselineConfigProperty {Maybe (Value Text)
()
haddock_workaround_ :: ClarifyShapBaselineConfigProperty -> ()
mimeType :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaseline :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaselineUri :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
    = [(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
"MimeType" (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)
mimeType,
               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
"ShapBaseline" (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)
shapBaseline,
               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
"ShapBaselineUri" (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)
shapBaselineUri]))
instance Property "MimeType" ClarifyShapBaselineConfigProperty where
  type PropertyType "MimeType" ClarifyShapBaselineConfigProperty = Value Prelude.Text
  set :: PropertyType "MimeType" ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty
set PropertyType "MimeType" ClarifyShapBaselineConfigProperty
newValue ClarifyShapBaselineConfigProperty {Maybe (Value Text)
()
haddock_workaround_ :: ClarifyShapBaselineConfigProperty -> ()
mimeType :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaseline :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaselineUri :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
    = ClarifyShapBaselineConfigProperty
        {mimeType :: Maybe (Value Text)
mimeType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MimeType" ClarifyShapBaselineConfigProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
haddock_workaround_ :: ()
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
instance Property "ShapBaseline" ClarifyShapBaselineConfigProperty where
  type PropertyType "ShapBaseline" ClarifyShapBaselineConfigProperty = Value Prelude.Text
  set :: PropertyType "ShapBaseline" ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty
set PropertyType "ShapBaseline" ClarifyShapBaselineConfigProperty
newValue ClarifyShapBaselineConfigProperty {Maybe (Value Text)
()
haddock_workaround_ :: ClarifyShapBaselineConfigProperty -> ()
mimeType :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaseline :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaselineUri :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
    = ClarifyShapBaselineConfigProperty
        {shapBaseline :: Maybe (Value Text)
shapBaseline = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ShapBaseline" ClarifyShapBaselineConfigProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
instance Property "ShapBaselineUri" ClarifyShapBaselineConfigProperty where
  type PropertyType "ShapBaselineUri" ClarifyShapBaselineConfigProperty = Value Prelude.Text
  set :: PropertyType "ShapBaselineUri" ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty
-> ClarifyShapBaselineConfigProperty
set PropertyType "ShapBaselineUri" ClarifyShapBaselineConfigProperty
newValue ClarifyShapBaselineConfigProperty {Maybe (Value Text)
()
haddock_workaround_ :: ClarifyShapBaselineConfigProperty -> ()
mimeType :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaseline :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
shapBaselineUri :: ClarifyShapBaselineConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
shapBaselineUri :: Maybe (Value Text)
..}
    = ClarifyShapBaselineConfigProperty
        {shapBaselineUri :: Maybe (Value Text)
shapBaselineUri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ShapBaselineUri" ClarifyShapBaselineConfigProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
haddock_workaround_ :: ()
mimeType :: Maybe (Value Text)
shapBaseline :: Maybe (Value Text)
..}