module Stratosphere.SageMaker.ModelBiasJobDefinition.MonitoringOutputProperty (
        module Exports, MonitoringOutputProperty(..),
        mkMonitoringOutputProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.ModelBiasJobDefinition.S3OutputProperty as Exports
import Stratosphere.ResourceProperties
data MonitoringOutputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutput.html>
    MonitoringOutputProperty {MonitoringOutputProperty -> ()
haddock_workaround_ :: (),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutput.html#cfn-sagemaker-modelbiasjobdefinition-monitoringoutput-s3output>
                              MonitoringOutputProperty -> S3OutputProperty
s3Output :: S3OutputProperty}
  deriving stock (MonitoringOutputProperty -> MonitoringOutputProperty -> Bool
(MonitoringOutputProperty -> MonitoringOutputProperty -> Bool)
-> (MonitoringOutputProperty -> MonitoringOutputProperty -> Bool)
-> Eq MonitoringOutputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MonitoringOutputProperty -> MonitoringOutputProperty -> Bool
== :: MonitoringOutputProperty -> MonitoringOutputProperty -> Bool
$c/= :: MonitoringOutputProperty -> MonitoringOutputProperty -> Bool
/= :: MonitoringOutputProperty -> MonitoringOutputProperty -> Bool
Prelude.Eq, Int -> MonitoringOutputProperty -> ShowS
[MonitoringOutputProperty] -> ShowS
MonitoringOutputProperty -> String
(Int -> MonitoringOutputProperty -> ShowS)
-> (MonitoringOutputProperty -> String)
-> ([MonitoringOutputProperty] -> ShowS)
-> Show MonitoringOutputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MonitoringOutputProperty -> ShowS
showsPrec :: Int -> MonitoringOutputProperty -> ShowS
$cshow :: MonitoringOutputProperty -> String
show :: MonitoringOutputProperty -> String
$cshowList :: [MonitoringOutputProperty] -> ShowS
showList :: [MonitoringOutputProperty] -> ShowS
Prelude.Show)
mkMonitoringOutputProperty ::
  S3OutputProperty -> MonitoringOutputProperty
mkMonitoringOutputProperty :: S3OutputProperty -> MonitoringOutputProperty
mkMonitoringOutputProperty S3OutputProperty
s3Output
  = MonitoringOutputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), s3Output :: S3OutputProperty
s3Output = S3OutputProperty
s3Output}
instance ToResourceProperties MonitoringOutputProperty where
  toResourceProperties :: MonitoringOutputProperty -> ResourceProperties
toResourceProperties MonitoringOutputProperty {()
S3OutputProperty
haddock_workaround_ :: MonitoringOutputProperty -> ()
s3Output :: MonitoringOutputProperty -> S3OutputProperty
haddock_workaround_ :: ()
s3Output :: S3OutputProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"S3Output" Key -> S3OutputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= S3OutputProperty
s3Output]}
instance JSON.ToJSON MonitoringOutputProperty where
  toJSON :: MonitoringOutputProperty -> Value
toJSON MonitoringOutputProperty {()
S3OutputProperty
haddock_workaround_ :: MonitoringOutputProperty -> ()
s3Output :: MonitoringOutputProperty -> S3OutputProperty
haddock_workaround_ :: ()
s3Output :: S3OutputProperty
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"S3Output" Key -> S3OutputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= S3OutputProperty
s3Output]
instance Property "S3Output" MonitoringOutputProperty where
  type PropertyType "S3Output" MonitoringOutputProperty = S3OutputProperty
  set :: PropertyType "S3Output" MonitoringOutputProperty
-> MonitoringOutputProperty -> MonitoringOutputProperty
set PropertyType "S3Output" MonitoringOutputProperty
newValue MonitoringOutputProperty {()
S3OutputProperty
haddock_workaround_ :: MonitoringOutputProperty -> ()
s3Output :: MonitoringOutputProperty -> S3OutputProperty
haddock_workaround_ :: ()
s3Output :: S3OutputProperty
..}
    = MonitoringOutputProperty {s3Output :: S3OutputProperty
s3Output = PropertyType "S3Output" MonitoringOutputProperty
S3OutputProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}