module Stratosphere.Deadline.Fleet.ServiceManagedEc2InstanceMarketOptionsProperty (
        ServiceManagedEc2InstanceMarketOptionsProperty(..),
        mkServiceManagedEc2InstanceMarketOptionsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceManagedEc2InstanceMarketOptionsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancemarketoptions.html>
    ServiceManagedEc2InstanceMarketOptionsProperty {ServiceManagedEc2InstanceMarketOptionsProperty -> ()
haddock_workaround_ :: (),
                                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancemarketoptions.html#cfn-deadline-fleet-servicemanagedec2instancemarketoptions-type>
                                                    ServiceManagedEc2InstanceMarketOptionsProperty -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool
(ServiceManagedEc2InstanceMarketOptionsProperty
 -> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool)
-> (ServiceManagedEc2InstanceMarketOptionsProperty
    -> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool)
-> Eq ServiceManagedEc2InstanceMarketOptionsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool
== :: ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool
$c/= :: ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool
/= :: ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty -> Bool
Prelude.Eq, Int -> ServiceManagedEc2InstanceMarketOptionsProperty -> ShowS
[ServiceManagedEc2InstanceMarketOptionsProperty] -> ShowS
ServiceManagedEc2InstanceMarketOptionsProperty -> String
(Int -> ServiceManagedEc2InstanceMarketOptionsProperty -> ShowS)
-> (ServiceManagedEc2InstanceMarketOptionsProperty -> String)
-> ([ServiceManagedEc2InstanceMarketOptionsProperty] -> ShowS)
-> Show ServiceManagedEc2InstanceMarketOptionsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceManagedEc2InstanceMarketOptionsProperty -> ShowS
showsPrec :: Int -> ServiceManagedEc2InstanceMarketOptionsProperty -> ShowS
$cshow :: ServiceManagedEc2InstanceMarketOptionsProperty -> String
show :: ServiceManagedEc2InstanceMarketOptionsProperty -> String
$cshowList :: [ServiceManagedEc2InstanceMarketOptionsProperty] -> ShowS
showList :: [ServiceManagedEc2InstanceMarketOptionsProperty] -> ShowS
Prelude.Show)
mkServiceManagedEc2InstanceMarketOptionsProperty ::
  Value Prelude.Text
  -> ServiceManagedEc2InstanceMarketOptionsProperty
mkServiceManagedEc2InstanceMarketOptionsProperty :: Value Text -> ServiceManagedEc2InstanceMarketOptionsProperty
mkServiceManagedEc2InstanceMarketOptionsProperty Value Text
type'
  = ServiceManagedEc2InstanceMarketOptionsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), type' :: Value Text
type' = Value Text
type'}
instance ToResourceProperties ServiceManagedEc2InstanceMarketOptionsProperty where
  toResourceProperties :: ServiceManagedEc2InstanceMarketOptionsProperty
-> ResourceProperties
toResourceProperties
    ServiceManagedEc2InstanceMarketOptionsProperty {()
Value Text
haddock_workaround_ :: ServiceManagedEc2InstanceMarketOptionsProperty -> ()
type' :: ServiceManagedEc2InstanceMarketOptionsProperty -> Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Deadline::Fleet.ServiceManagedEc2InstanceMarketOptions",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Type" 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
type']}
instance JSON.ToJSON ServiceManagedEc2InstanceMarketOptionsProperty where
  toJSON :: ServiceManagedEc2InstanceMarketOptionsProperty -> Value
toJSON ServiceManagedEc2InstanceMarketOptionsProperty {()
Value Text
haddock_workaround_ :: ServiceManagedEc2InstanceMarketOptionsProperty -> ()
type' :: ServiceManagedEc2InstanceMarketOptionsProperty -> Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Type" 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
type']
instance Property "Type" ServiceManagedEc2InstanceMarketOptionsProperty where
  type PropertyType "Type" ServiceManagedEc2InstanceMarketOptionsProperty = Value Prelude.Text
  set :: PropertyType "Type" ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty
-> ServiceManagedEc2InstanceMarketOptionsProperty
set PropertyType "Type" ServiceManagedEc2InstanceMarketOptionsProperty
newValue ServiceManagedEc2InstanceMarketOptionsProperty {()
Value Text
haddock_workaround_ :: ServiceManagedEc2InstanceMarketOptionsProperty -> ()
type' :: ServiceManagedEc2InstanceMarketOptionsProperty -> Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
    = ServiceManagedEc2InstanceMarketOptionsProperty
        {type' :: Value Text
type' = PropertyType "Type" ServiceManagedEc2InstanceMarketOptionsProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}