module Stratosphere.EC2.EC2Fleet.TargetCapacitySpecificationRequestProperty (
        TargetCapacitySpecificationRequestProperty(..),
        mkTargetCapacitySpecificationRequestProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TargetCapacitySpecificationRequestProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html>
    TargetCapacitySpecificationRequestProperty {TargetCapacitySpecificationRequestProperty -> ()
haddock_workaround_ :: (),
                                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html#cfn-ec2-ec2fleet-targetcapacityspecificationrequest-defaulttargetcapacitytype>
                                                TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
defaultTargetCapacityType :: (Prelude.Maybe (Value Prelude.Text)),
                                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html#cfn-ec2-ec2fleet-targetcapacityspecificationrequest-ondemandtargetcapacity>
                                                TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
onDemandTargetCapacity :: (Prelude.Maybe (Value Prelude.Integer)),
                                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html#cfn-ec2-ec2fleet-targetcapacityspecificationrequest-spottargetcapacity>
                                                TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: (Prelude.Maybe (Value Prelude.Integer)),
                                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html#cfn-ec2-ec2fleet-targetcapacityspecificationrequest-targetcapacityunittype>
                                                TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
targetCapacityUnitType :: (Prelude.Maybe (Value Prelude.Text)),
                                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html#cfn-ec2-ec2fleet-targetcapacityspecificationrequest-totaltargetcapacity>
                                                TargetCapacitySpecificationRequestProperty -> Value Integer
totalTargetCapacity :: (Value Prelude.Integer)}
  deriving stock (TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty -> Bool
(TargetCapacitySpecificationRequestProperty
 -> TargetCapacitySpecificationRequestProperty -> Bool)
-> (TargetCapacitySpecificationRequestProperty
    -> TargetCapacitySpecificationRequestProperty -> Bool)
-> Eq TargetCapacitySpecificationRequestProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty -> Bool
== :: TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty -> Bool
$c/= :: TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty -> Bool
/= :: TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty -> Bool
Prelude.Eq, Int -> TargetCapacitySpecificationRequestProperty -> ShowS
[TargetCapacitySpecificationRequestProperty] -> ShowS
TargetCapacitySpecificationRequestProperty -> String
(Int -> TargetCapacitySpecificationRequestProperty -> ShowS)
-> (TargetCapacitySpecificationRequestProperty -> String)
-> ([TargetCapacitySpecificationRequestProperty] -> ShowS)
-> Show TargetCapacitySpecificationRequestProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TargetCapacitySpecificationRequestProperty -> ShowS
showsPrec :: Int -> TargetCapacitySpecificationRequestProperty -> ShowS
$cshow :: TargetCapacitySpecificationRequestProperty -> String
show :: TargetCapacitySpecificationRequestProperty -> String
$cshowList :: [TargetCapacitySpecificationRequestProperty] -> ShowS
showList :: [TargetCapacitySpecificationRequestProperty] -> ShowS
Prelude.Show)
mkTargetCapacitySpecificationRequestProperty ::
  Value Prelude.Integer -> TargetCapacitySpecificationRequestProperty
mkTargetCapacitySpecificationRequestProperty :: Value Integer -> TargetCapacitySpecificationRequestProperty
mkTargetCapacitySpecificationRequestProperty Value Integer
totalTargetCapacity
  = TargetCapacitySpecificationRequestProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       totalTargetCapacity :: Value Integer
totalTargetCapacity = Value Integer
totalTargetCapacity,
       defaultTargetCapacityType :: Maybe (Value Text)
defaultTargetCapacityType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       onDemandTargetCapacity :: Maybe (Value Integer)
onDemandTargetCapacity = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       spotTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       targetCapacityUnitType :: Maybe (Value Text)
targetCapacityUnitType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TargetCapacitySpecificationRequestProperty where
  toResourceProperties :: TargetCapacitySpecificationRequestProperty -> ResourceProperties
toResourceProperties
    TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"TotalTargetCapacity" Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Integer
totalTargetCapacity]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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..=) Key
"DefaultTargetCapacityType"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
defaultTargetCapacityType,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OnDemandTargetCapacity"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
onDemandTargetCapacity,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SpotTargetCapacity" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
spotTargetCapacity,
                               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..=) Key
"TargetCapacityUnitType"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
targetCapacityUnitType]))}
instance JSON.ToJSON TargetCapacitySpecificationRequestProperty where
  toJSON :: TargetCapacitySpecificationRequestProperty -> Value
toJSON TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"TotalTargetCapacity" Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Integer
totalTargetCapacity]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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..=) Key
"DefaultTargetCapacityType"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
defaultTargetCapacityType,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OnDemandTargetCapacity"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
onDemandTargetCapacity,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SpotTargetCapacity" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
spotTargetCapacity,
                  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..=) Key
"TargetCapacityUnitType"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
targetCapacityUnitType])))
instance Property "DefaultTargetCapacityType" TargetCapacitySpecificationRequestProperty where
  type PropertyType "DefaultTargetCapacityType" TargetCapacitySpecificationRequestProperty = Value Prelude.Text
  set :: PropertyType
  "DefaultTargetCapacityType"
  TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
set PropertyType
  "DefaultTargetCapacityType"
  TargetCapacitySpecificationRequestProperty
newValue TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = TargetCapacitySpecificationRequestProperty
        {defaultTargetCapacityType :: Maybe (Value Text)
defaultTargetCapacityType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DefaultTargetCapacityType"
  TargetCapacitySpecificationRequestProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: ()
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
haddock_workaround_ :: ()
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
instance Property "OnDemandTargetCapacity" TargetCapacitySpecificationRequestProperty where
  type PropertyType "OnDemandTargetCapacity" TargetCapacitySpecificationRequestProperty = Value Prelude.Integer
  set :: PropertyType
  "OnDemandTargetCapacity" TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
set PropertyType
  "OnDemandTargetCapacity" TargetCapacitySpecificationRequestProperty
newValue TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = TargetCapacitySpecificationRequestProperty
        {onDemandTargetCapacity :: Maybe (Value Integer)
onDemandTargetCapacity = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OnDemandTargetCapacity" TargetCapacitySpecificationRequestProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
instance Property "SpotTargetCapacity" TargetCapacitySpecificationRequestProperty where
  type PropertyType "SpotTargetCapacity" TargetCapacitySpecificationRequestProperty = Value Prelude.Integer
  set :: PropertyType
  "SpotTargetCapacity" TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
set PropertyType
  "SpotTargetCapacity" TargetCapacitySpecificationRequestProperty
newValue TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = TargetCapacitySpecificationRequestProperty
        {spotTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SpotTargetCapacity" TargetCapacitySpecificationRequestProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
instance Property "TargetCapacityUnitType" TargetCapacitySpecificationRequestProperty where
  type PropertyType "TargetCapacityUnitType" TargetCapacitySpecificationRequestProperty = Value Prelude.Text
  set :: PropertyType
  "TargetCapacityUnitType" TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
set PropertyType
  "TargetCapacityUnitType" TargetCapacitySpecificationRequestProperty
newValue TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = TargetCapacitySpecificationRequestProperty
        {targetCapacityUnitType :: Maybe (Value Text)
targetCapacityUnitType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "TargetCapacityUnitType" TargetCapacitySpecificationRequestProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
totalTargetCapacity :: Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
totalTargetCapacity :: Value Integer
..}
instance Property "TotalTargetCapacity" TargetCapacitySpecificationRequestProperty where
  type PropertyType "TotalTargetCapacity" TargetCapacitySpecificationRequestProperty = Value Prelude.Integer
  set :: PropertyType
  "TotalTargetCapacity" TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
-> TargetCapacitySpecificationRequestProperty
set PropertyType
  "TotalTargetCapacity" TargetCapacitySpecificationRequestProperty
newValue TargetCapacitySpecificationRequestProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: TargetCapacitySpecificationRequestProperty -> ()
defaultTargetCapacityType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
onDemandTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
spotTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Integer)
targetCapacityUnitType :: TargetCapacitySpecificationRequestProperty -> Maybe (Value Text)
totalTargetCapacity :: TargetCapacitySpecificationRequestProperty -> Value Integer
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
totalTargetCapacity :: Value Integer
..}
    = TargetCapacitySpecificationRequestProperty
        {totalTargetCapacity :: Value Integer
totalTargetCapacity = PropertyType
  "TotalTargetCapacity" TargetCapacitySpecificationRequestProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
haddock_workaround_ :: ()
defaultTargetCapacityType :: Maybe (Value Text)
onDemandTargetCapacity :: Maybe (Value Integer)
spotTargetCapacity :: Maybe (Value Integer)
targetCapacityUnitType :: Maybe (Value Text)
..}