content: module Stratosphere.SageMaker.MonitoringSchedule.MonitoringInputProperty (
          module Exports, MonitoringInputProperty(..),
          mkMonitoringInputProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.SageMaker.MonitoringSchedule.BatchTransformInputProperty as Exports
  import {-# SOURCE #-} Stratosphere.SageMaker.MonitoringSchedule.EndpointInputProperty as Exports
  import Stratosphere.ResourceProperties
  data MonitoringInputProperty
    = MonitoringInputProperty {batchTransformInput :: (Prelude.Maybe BatchTransformInputProperty),
                               endpointInput :: (Prelude.Maybe EndpointInputProperty)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkMonitoringInputProperty :: MonitoringInputProperty
  mkMonitoringInputProperty
    = MonitoringInputProperty
        {batchTransformInput = Prelude.Nothing,
         endpointInput = Prelude.Nothing}
  instance ToResourceProperties MonitoringInputProperty where
    toResourceProperties MonitoringInputProperty {..}
      = ResourceProperties
          {awsType = "AWS::SageMaker::MonitoringSchedule.MonitoringInput",
           supportsTags = Prelude.False,
           properties = Prelude.fromList
                          (Prelude.catMaybes
                             [(JSON..=) "BatchTransformInput" Prelude.<$> batchTransformInput,
                              (JSON..=) "EndpointInput" Prelude.<$> endpointInput])}
  instance JSON.ToJSON MonitoringInputProperty where
    toJSON MonitoringInputProperty {..}
      = JSON.object
          (Prelude.fromList
             (Prelude.catMaybes
                [(JSON..=) "BatchTransformInput" Prelude.<$> batchTransformInput,
                 (JSON..=) "EndpointInput" Prelude.<$> endpointInput]))
  instance Property "BatchTransformInput" MonitoringInputProperty where
    type PropertyType "BatchTransformInput" MonitoringInputProperty = BatchTransformInputProperty
    set newValue MonitoringInputProperty {..}
      = MonitoringInputProperty
          {batchTransformInput = Prelude.pure newValue, ..}
  instance Property "EndpointInput" MonitoringInputProperty where
    type PropertyType "EndpointInput" MonitoringInputProperty = EndpointInputProperty
    set newValue MonitoringInputProperty {..}
      = MonitoringInputProperty
          {endpointInput = Prelude.pure newValue, ..}