module Stratosphere.QuickSight.Template.ReferenceLineCustomLabelConfigurationProperty (
        ReferenceLineCustomLabelConfigurationProperty(..),
        mkReferenceLineCustomLabelConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ReferenceLineCustomLabelConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-referencelinecustomlabelconfiguration.html>
    ReferenceLineCustomLabelConfigurationProperty {ReferenceLineCustomLabelConfigurationProperty -> ()
haddock_workaround_ :: (),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-referencelinecustomlabelconfiguration.html#cfn-quicksight-template-referencelinecustomlabelconfiguration-customlabel>
                                                   ReferenceLineCustomLabelConfigurationProperty -> Value Text
customLabel :: (Value Prelude.Text)}
  deriving stock (ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty -> Bool
(ReferenceLineCustomLabelConfigurationProperty
 -> ReferenceLineCustomLabelConfigurationProperty -> Bool)
-> (ReferenceLineCustomLabelConfigurationProperty
    -> ReferenceLineCustomLabelConfigurationProperty -> Bool)
-> Eq ReferenceLineCustomLabelConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty -> Bool
== :: ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty -> Bool
$c/= :: ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty -> Bool
/= :: ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty -> Bool
Prelude.Eq, Int -> ReferenceLineCustomLabelConfigurationProperty -> ShowS
[ReferenceLineCustomLabelConfigurationProperty] -> ShowS
ReferenceLineCustomLabelConfigurationProperty -> String
(Int -> ReferenceLineCustomLabelConfigurationProperty -> ShowS)
-> (ReferenceLineCustomLabelConfigurationProperty -> String)
-> ([ReferenceLineCustomLabelConfigurationProperty] -> ShowS)
-> Show ReferenceLineCustomLabelConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ReferenceLineCustomLabelConfigurationProperty -> ShowS
showsPrec :: Int -> ReferenceLineCustomLabelConfigurationProperty -> ShowS
$cshow :: ReferenceLineCustomLabelConfigurationProperty -> String
show :: ReferenceLineCustomLabelConfigurationProperty -> String
$cshowList :: [ReferenceLineCustomLabelConfigurationProperty] -> ShowS
showList :: [ReferenceLineCustomLabelConfigurationProperty] -> ShowS
Prelude.Show)
mkReferenceLineCustomLabelConfigurationProperty ::
  Value Prelude.Text -> ReferenceLineCustomLabelConfigurationProperty
mkReferenceLineCustomLabelConfigurationProperty :: Value Text -> ReferenceLineCustomLabelConfigurationProperty
mkReferenceLineCustomLabelConfigurationProperty Value Text
customLabel
  = ReferenceLineCustomLabelConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), customLabel :: Value Text
customLabel = Value Text
customLabel}
instance ToResourceProperties ReferenceLineCustomLabelConfigurationProperty where
  toResourceProperties :: ReferenceLineCustomLabelConfigurationProperty -> ResourceProperties
toResourceProperties
    ReferenceLineCustomLabelConfigurationProperty {()
Value Text
haddock_workaround_ :: ReferenceLineCustomLabelConfigurationProperty -> ()
customLabel :: ReferenceLineCustomLabelConfigurationProperty -> Value Text
haddock_workaround_ :: ()
customLabel :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Template.ReferenceLineCustomLabelConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"CustomLabel" 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
customLabel]}
instance JSON.ToJSON ReferenceLineCustomLabelConfigurationProperty where
  toJSON :: ReferenceLineCustomLabelConfigurationProperty -> Value
toJSON ReferenceLineCustomLabelConfigurationProperty {()
Value Text
haddock_workaround_ :: ReferenceLineCustomLabelConfigurationProperty -> ()
customLabel :: ReferenceLineCustomLabelConfigurationProperty -> Value Text
haddock_workaround_ :: ()
customLabel :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"CustomLabel" 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
customLabel]
instance Property "CustomLabel" ReferenceLineCustomLabelConfigurationProperty where
  type PropertyType "CustomLabel" ReferenceLineCustomLabelConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "CustomLabel" ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty
-> ReferenceLineCustomLabelConfigurationProperty
set PropertyType
  "CustomLabel" ReferenceLineCustomLabelConfigurationProperty
newValue ReferenceLineCustomLabelConfigurationProperty {()
Value Text
haddock_workaround_ :: ReferenceLineCustomLabelConfigurationProperty -> ()
customLabel :: ReferenceLineCustomLabelConfigurationProperty -> Value Text
haddock_workaround_ :: ()
customLabel :: Value Text
..}
    = ReferenceLineCustomLabelConfigurationProperty
        {customLabel :: Value Text
customLabel = PropertyType
  "CustomLabel" ReferenceLineCustomLabelConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}