module Stratosphere.SageMaker.ModelPackage.ValidationProfileProperty (
        module Exports, ValidationProfileProperty(..),
        mkValidationProfileProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.ModelPackage.TransformJobDefinitionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ValidationProfileProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-validationprofile.html>
    ValidationProfileProperty {ValidationProfileProperty -> ()
haddock_workaround_ :: (),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-validationprofile.html#cfn-sagemaker-modelpackage-validationprofile-profilename>
                               ValidationProfileProperty -> Value Text
profileName :: (Value Prelude.Text),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-validationprofile.html#cfn-sagemaker-modelpackage-validationprofile-transformjobdefinition>
                               ValidationProfileProperty -> TransformJobDefinitionProperty
transformJobDefinition :: TransformJobDefinitionProperty}
  deriving stock (ValidationProfileProperty -> ValidationProfileProperty -> Bool
(ValidationProfileProperty -> ValidationProfileProperty -> Bool)
-> (ValidationProfileProperty -> ValidationProfileProperty -> Bool)
-> Eq ValidationProfileProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ValidationProfileProperty -> ValidationProfileProperty -> Bool
== :: ValidationProfileProperty -> ValidationProfileProperty -> Bool
$c/= :: ValidationProfileProperty -> ValidationProfileProperty -> Bool
/= :: ValidationProfileProperty -> ValidationProfileProperty -> Bool
Prelude.Eq, Int -> ValidationProfileProperty -> ShowS
[ValidationProfileProperty] -> ShowS
ValidationProfileProperty -> String
(Int -> ValidationProfileProperty -> ShowS)
-> (ValidationProfileProperty -> String)
-> ([ValidationProfileProperty] -> ShowS)
-> Show ValidationProfileProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ValidationProfileProperty -> ShowS
showsPrec :: Int -> ValidationProfileProperty -> ShowS
$cshow :: ValidationProfileProperty -> String
show :: ValidationProfileProperty -> String
$cshowList :: [ValidationProfileProperty] -> ShowS
showList :: [ValidationProfileProperty] -> ShowS
Prelude.Show)
mkValidationProfileProperty ::
  Value Prelude.Text
  -> TransformJobDefinitionProperty -> ValidationProfileProperty
mkValidationProfileProperty :: Value Text
-> TransformJobDefinitionProperty -> ValidationProfileProperty
mkValidationProfileProperty Value Text
profileName TransformJobDefinitionProperty
transformJobDefinition
  = ValidationProfileProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), profileName :: Value Text
profileName = Value Text
profileName,
       transformJobDefinition :: TransformJobDefinitionProperty
transformJobDefinition = TransformJobDefinitionProperty
transformJobDefinition}
instance ToResourceProperties ValidationProfileProperty where
  toResourceProperties :: ValidationProfileProperty -> ResourceProperties
toResourceProperties ValidationProfileProperty {()
Value Text
TransformJobDefinitionProperty
haddock_workaround_ :: ValidationProfileProperty -> ()
profileName :: ValidationProfileProperty -> Value Text
transformJobDefinition :: ValidationProfileProperty -> TransformJobDefinitionProperty
haddock_workaround_ :: ()
profileName :: Value Text
transformJobDefinition :: TransformJobDefinitionProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SageMaker::ModelPackage.ValidationProfile",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"ProfileName" 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
profileName,
                       Key
"TransformJobDefinition" Key -> TransformJobDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= TransformJobDefinitionProperty
transformJobDefinition]}
instance JSON.ToJSON ValidationProfileProperty where
  toJSON :: ValidationProfileProperty -> Value
toJSON ValidationProfileProperty {()
Value Text
TransformJobDefinitionProperty
haddock_workaround_ :: ValidationProfileProperty -> ()
profileName :: ValidationProfileProperty -> Value Text
transformJobDefinition :: ValidationProfileProperty -> TransformJobDefinitionProperty
haddock_workaround_ :: ()
profileName :: Value Text
transformJobDefinition :: TransformJobDefinitionProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        [Key
"ProfileName" 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
profileName,
         Key
"TransformJobDefinition" Key -> TransformJobDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= TransformJobDefinitionProperty
transformJobDefinition]
instance Property "ProfileName" ValidationProfileProperty where
  type PropertyType "ProfileName" ValidationProfileProperty = Value Prelude.Text
  set :: PropertyType "ProfileName" ValidationProfileProperty
-> ValidationProfileProperty -> ValidationProfileProperty
set PropertyType "ProfileName" ValidationProfileProperty
newValue ValidationProfileProperty {()
Value Text
TransformJobDefinitionProperty
haddock_workaround_ :: ValidationProfileProperty -> ()
profileName :: ValidationProfileProperty -> Value Text
transformJobDefinition :: ValidationProfileProperty -> TransformJobDefinitionProperty
haddock_workaround_ :: ()
profileName :: Value Text
transformJobDefinition :: TransformJobDefinitionProperty
..}
    = ValidationProfileProperty {profileName :: Value Text
profileName = PropertyType "ProfileName" ValidationProfileProperty
Value Text
newValue, ()
TransformJobDefinitionProperty
haddock_workaround_ :: ()
transformJobDefinition :: TransformJobDefinitionProperty
haddock_workaround_ :: ()
transformJobDefinition :: TransformJobDefinitionProperty
..}
instance Property "TransformJobDefinition" ValidationProfileProperty where
  type PropertyType "TransformJobDefinition" ValidationProfileProperty = TransformJobDefinitionProperty
  set :: PropertyType "TransformJobDefinition" ValidationProfileProperty
-> ValidationProfileProperty -> ValidationProfileProperty
set PropertyType "TransformJobDefinition" ValidationProfileProperty
newValue ValidationProfileProperty {()
Value Text
TransformJobDefinitionProperty
haddock_workaround_ :: ValidationProfileProperty -> ()
profileName :: ValidationProfileProperty -> Value Text
transformJobDefinition :: ValidationProfileProperty -> TransformJobDefinitionProperty
haddock_workaround_ :: ()
profileName :: Value Text
transformJobDefinition :: TransformJobDefinitionProperty
..}
    = ValidationProfileProperty {transformJobDefinition :: TransformJobDefinitionProperty
transformJobDefinition = PropertyType "TransformJobDefinition" ValidationProfileProperty
TransformJobDefinitionProperty
newValue, ()
Value Text
haddock_workaround_ :: ()
profileName :: Value Text
haddock_workaround_ :: ()
profileName :: Value Text
..}