module Stratosphere.SageMaker.ModelPackage.ModelInputProperty (
        ModelInputProperty(..), mkModelInputProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ModelInputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelinput.html>
    ModelInputProperty {ModelInputProperty -> ()
haddock_workaround_ :: (),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelinput.html#cfn-sagemaker-modelpackage-modelinput-datainputconfig>
                        ModelInputProperty -> Value Text
dataInputConfig :: (Value Prelude.Text)}
  deriving stock (ModelInputProperty -> ModelInputProperty -> Bool
(ModelInputProperty -> ModelInputProperty -> Bool)
-> (ModelInputProperty -> ModelInputProperty -> Bool)
-> Eq ModelInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ModelInputProperty -> ModelInputProperty -> Bool
== :: ModelInputProperty -> ModelInputProperty -> Bool
$c/= :: ModelInputProperty -> ModelInputProperty -> Bool
/= :: ModelInputProperty -> ModelInputProperty -> Bool
Prelude.Eq, Int -> ModelInputProperty -> ShowS
[ModelInputProperty] -> ShowS
ModelInputProperty -> String
(Int -> ModelInputProperty -> ShowS)
-> (ModelInputProperty -> String)
-> ([ModelInputProperty] -> ShowS)
-> Show ModelInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ModelInputProperty -> ShowS
showsPrec :: Int -> ModelInputProperty -> ShowS
$cshow :: ModelInputProperty -> String
show :: ModelInputProperty -> String
$cshowList :: [ModelInputProperty] -> ShowS
showList :: [ModelInputProperty] -> ShowS
Prelude.Show)
mkModelInputProperty :: Value Prelude.Text -> ModelInputProperty
mkModelInputProperty :: Value Text -> ModelInputProperty
mkModelInputProperty Value Text
dataInputConfig
  = ModelInputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), dataInputConfig :: Value Text
dataInputConfig = Value Text
dataInputConfig}
instance ToResourceProperties ModelInputProperty where
  toResourceProperties :: ModelInputProperty -> ResourceProperties
toResourceProperties ModelInputProperty {()
Value Text
haddock_workaround_ :: ModelInputProperty -> ()
dataInputConfig :: ModelInputProperty -> Value Text
haddock_workaround_ :: ()
dataInputConfig :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SageMaker::ModelPackage.ModelInput",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"DataInputConfig" 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
dataInputConfig]}
instance JSON.ToJSON ModelInputProperty where
  toJSON :: ModelInputProperty -> Value
toJSON ModelInputProperty {()
Value Text
haddock_workaround_ :: ModelInputProperty -> ()
dataInputConfig :: ModelInputProperty -> Value Text
haddock_workaround_ :: ()
dataInputConfig :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"DataInputConfig" 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
dataInputConfig]
instance Property "DataInputConfig" ModelInputProperty where
  type PropertyType "DataInputConfig" ModelInputProperty = Value Prelude.Text
  set :: PropertyType "DataInputConfig" ModelInputProperty
-> ModelInputProperty -> ModelInputProperty
set PropertyType "DataInputConfig" ModelInputProperty
newValue ModelInputProperty {()
Value Text
haddock_workaround_ :: ModelInputProperty -> ()
dataInputConfig :: ModelInputProperty -> Value Text
haddock_workaround_ :: ()
dataInputConfig :: Value Text
..}
    = ModelInputProperty {dataInputConfig :: Value Text
dataInputConfig = PropertyType "DataInputConfig" ModelInputProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}