module Stratosphere.Pipes.Pipe.MultiMeasureAttributeMappingProperty (
        MultiMeasureAttributeMappingProperty(..),
        mkMultiMeasureAttributeMappingProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data MultiMeasureAttributeMappingProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html>
    MultiMeasureAttributeMappingProperty {MultiMeasureAttributeMappingProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html#cfn-pipes-pipe-multimeasureattributemapping-measurevalue>
                                          MultiMeasureAttributeMappingProperty -> Value Text
measureValue :: (Value Prelude.Text),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html#cfn-pipes-pipe-multimeasureattributemapping-measurevaluetype>
                                          MultiMeasureAttributeMappingProperty -> Value Text
measureValueType :: (Value Prelude.Text),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-multimeasureattributemapping.html#cfn-pipes-pipe-multimeasureattributemapping-multimeasureattributename>
                                          MultiMeasureAttributeMappingProperty -> Value Text
multiMeasureAttributeName :: (Value Prelude.Text)}
  deriving stock (MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty -> Bool
(MultiMeasureAttributeMappingProperty
 -> MultiMeasureAttributeMappingProperty -> Bool)
-> (MultiMeasureAttributeMappingProperty
    -> MultiMeasureAttributeMappingProperty -> Bool)
-> Eq MultiMeasureAttributeMappingProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty -> Bool
== :: MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty -> Bool
$c/= :: MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty -> Bool
/= :: MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty -> Bool
Prelude.Eq, Int -> MultiMeasureAttributeMappingProperty -> ShowS
[MultiMeasureAttributeMappingProperty] -> ShowS
MultiMeasureAttributeMappingProperty -> String
(Int -> MultiMeasureAttributeMappingProperty -> ShowS)
-> (MultiMeasureAttributeMappingProperty -> String)
-> ([MultiMeasureAttributeMappingProperty] -> ShowS)
-> Show MultiMeasureAttributeMappingProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MultiMeasureAttributeMappingProperty -> ShowS
showsPrec :: Int -> MultiMeasureAttributeMappingProperty -> ShowS
$cshow :: MultiMeasureAttributeMappingProperty -> String
show :: MultiMeasureAttributeMappingProperty -> String
$cshowList :: [MultiMeasureAttributeMappingProperty] -> ShowS
showList :: [MultiMeasureAttributeMappingProperty] -> ShowS
Prelude.Show)
mkMultiMeasureAttributeMappingProperty ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> MultiMeasureAttributeMappingProperty
mkMultiMeasureAttributeMappingProperty :: Value Text
-> Value Text -> Value Text -> MultiMeasureAttributeMappingProperty
mkMultiMeasureAttributeMappingProperty
  Value Text
measureValue
  Value Text
measureValueType
  Value Text
multiMeasureAttributeName
  = MultiMeasureAttributeMappingProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), measureValue :: Value Text
measureValue = Value Text
measureValue,
       measureValueType :: Value Text
measureValueType = Value Text
measureValueType,
       multiMeasureAttributeName :: Value Text
multiMeasureAttributeName = Value Text
multiMeasureAttributeName}
instance ToResourceProperties MultiMeasureAttributeMappingProperty where
  toResourceProperties :: MultiMeasureAttributeMappingProperty -> ResourceProperties
toResourceProperties MultiMeasureAttributeMappingProperty {()
Value Text
haddock_workaround_ :: MultiMeasureAttributeMappingProperty -> ()
measureValue :: MultiMeasureAttributeMappingProperty -> Value Text
measureValueType :: MultiMeasureAttributeMappingProperty -> Value Text
multiMeasureAttributeName :: MultiMeasureAttributeMappingProperty -> Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pipes::Pipe.MultiMeasureAttributeMapping",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"MeasureValue" 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
measureValue,
                       Key
"MeasureValueType" 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
measureValueType,
                       Key
"MultiMeasureAttributeName" 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
multiMeasureAttributeName]}
instance JSON.ToJSON MultiMeasureAttributeMappingProperty where
  toJSON :: MultiMeasureAttributeMappingProperty -> Value
toJSON MultiMeasureAttributeMappingProperty {()
Value Text
haddock_workaround_ :: MultiMeasureAttributeMappingProperty -> ()
measureValue :: MultiMeasureAttributeMappingProperty -> Value Text
measureValueType :: MultiMeasureAttributeMappingProperty -> Value Text
multiMeasureAttributeName :: MultiMeasureAttributeMappingProperty -> Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        [Key
"MeasureValue" 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
measureValue,
         Key
"MeasureValueType" 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
measureValueType,
         Key
"MultiMeasureAttributeName" 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
multiMeasureAttributeName]
instance Property "MeasureValue" MultiMeasureAttributeMappingProperty where
  type PropertyType "MeasureValue" MultiMeasureAttributeMappingProperty = Value Prelude.Text
  set :: PropertyType "MeasureValue" MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty
set PropertyType "MeasureValue" MultiMeasureAttributeMappingProperty
newValue MultiMeasureAttributeMappingProperty {()
Value Text
haddock_workaround_ :: MultiMeasureAttributeMappingProperty -> ()
measureValue :: MultiMeasureAttributeMappingProperty -> Value Text
measureValueType :: MultiMeasureAttributeMappingProperty -> Value Text
multiMeasureAttributeName :: MultiMeasureAttributeMappingProperty -> Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
..}
    = MultiMeasureAttributeMappingProperty
        {measureValue :: Value Text
measureValue = PropertyType "MeasureValue" MultiMeasureAttributeMappingProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
haddock_workaround_ :: ()
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
..}
instance Property "MeasureValueType" MultiMeasureAttributeMappingProperty where
  type PropertyType "MeasureValueType" MultiMeasureAttributeMappingProperty = Value Prelude.Text
  set :: PropertyType
  "MeasureValueType" MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty
set PropertyType
  "MeasureValueType" MultiMeasureAttributeMappingProperty
newValue MultiMeasureAttributeMappingProperty {()
Value Text
haddock_workaround_ :: MultiMeasureAttributeMappingProperty -> ()
measureValue :: MultiMeasureAttributeMappingProperty -> Value Text
measureValueType :: MultiMeasureAttributeMappingProperty -> Value Text
multiMeasureAttributeName :: MultiMeasureAttributeMappingProperty -> Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
..}
    = MultiMeasureAttributeMappingProperty
        {measureValueType :: Value Text
measureValueType = PropertyType
  "MeasureValueType" MultiMeasureAttributeMappingProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
multiMeasureAttributeName :: Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
multiMeasureAttributeName :: Value Text
..}
instance Property "MultiMeasureAttributeName" MultiMeasureAttributeMappingProperty where
  type PropertyType "MultiMeasureAttributeName" MultiMeasureAttributeMappingProperty = Value Prelude.Text
  set :: PropertyType
  "MultiMeasureAttributeName" MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty
-> MultiMeasureAttributeMappingProperty
set PropertyType
  "MultiMeasureAttributeName" MultiMeasureAttributeMappingProperty
newValue MultiMeasureAttributeMappingProperty {()
Value Text
haddock_workaround_ :: MultiMeasureAttributeMappingProperty -> ()
measureValue :: MultiMeasureAttributeMappingProperty -> Value Text
measureValueType :: MultiMeasureAttributeMappingProperty -> Value Text
multiMeasureAttributeName :: MultiMeasureAttributeMappingProperty -> Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
multiMeasureAttributeName :: Value Text
..}
    = MultiMeasureAttributeMappingProperty
        {multiMeasureAttributeName :: Value Text
multiMeasureAttributeName = PropertyType
  "MultiMeasureAttributeName" MultiMeasureAttributeMappingProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
haddock_workaround_ :: ()
measureValue :: Value Text
measureValueType :: Value Text
..}