module Stratosphere.AppConfig.HostedConfigurationVersion (
        HostedConfigurationVersion(..), mkHostedConfigurationVersion
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data HostedConfigurationVersion
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html>
    HostedConfigurationVersion {HostedConfigurationVersion -> ()
haddock_workaround_ :: (),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-applicationid>
                                HostedConfigurationVersion -> Value Text
applicationId :: (Value Prelude.Text),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-configurationprofileid>
                                HostedConfigurationVersion -> Value Text
configurationProfileId :: (Value Prelude.Text),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-content>
                                HostedConfigurationVersion -> Value Text
content :: (Value Prelude.Text),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-contenttype>
                                HostedConfigurationVersion -> Value Text
contentType :: (Value Prelude.Text),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-description>
                                HostedConfigurationVersion -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-latestversionnumber>
                                HostedConfigurationVersion -> Maybe (Value Integer)
latestVersionNumber :: (Prelude.Maybe (Value Prelude.Integer)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-versionlabel>
                                HostedConfigurationVersion -> Maybe (Value Text)
versionLabel :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (HostedConfigurationVersion -> HostedConfigurationVersion -> Bool
(HostedConfigurationVersion -> HostedConfigurationVersion -> Bool)
-> (HostedConfigurationVersion
    -> HostedConfigurationVersion -> Bool)
-> Eq HostedConfigurationVersion
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: HostedConfigurationVersion -> HostedConfigurationVersion -> Bool
== :: HostedConfigurationVersion -> HostedConfigurationVersion -> Bool
$c/= :: HostedConfigurationVersion -> HostedConfigurationVersion -> Bool
/= :: HostedConfigurationVersion -> HostedConfigurationVersion -> Bool
Prelude.Eq, Int -> HostedConfigurationVersion -> ShowS
[HostedConfigurationVersion] -> ShowS
HostedConfigurationVersion -> String
(Int -> HostedConfigurationVersion -> ShowS)
-> (HostedConfigurationVersion -> String)
-> ([HostedConfigurationVersion] -> ShowS)
-> Show HostedConfigurationVersion
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> HostedConfigurationVersion -> ShowS
showsPrec :: Int -> HostedConfigurationVersion -> ShowS
$cshow :: HostedConfigurationVersion -> String
show :: HostedConfigurationVersion -> String
$cshowList :: [HostedConfigurationVersion] -> ShowS
showList :: [HostedConfigurationVersion] -> ShowS
Prelude.Show)
mkHostedConfigurationVersion ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> Value Prelude.Text -> HostedConfigurationVersion
mkHostedConfigurationVersion :: Value Text
-> Value Text
-> Value Text
-> Value Text
-> HostedConfigurationVersion
mkHostedConfigurationVersion
  Value Text
applicationId
  Value Text
configurationProfileId
  Value Text
content
  Value Text
contentType
  = HostedConfigurationVersion
      {haddock_workaround_ :: ()
haddock_workaround_ = (), applicationId :: Value Text
applicationId = Value Text
applicationId,
       configurationProfileId :: Value Text
configurationProfileId = Value Text
configurationProfileId, content :: Value Text
content = Value Text
content,
       contentType :: Value Text
contentType = Value Text
contentType, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       latestVersionNumber :: Maybe (Value Integer)
latestVersionNumber = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       versionLabel :: Maybe (Value Text)
versionLabel = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties HostedConfigurationVersion where
  toResourceProperties :: HostedConfigurationVersion -> ResourceProperties
toResourceProperties HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppConfig::HostedConfigurationVersion",
         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
"ApplicationId" 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
applicationId,
                            Key
"ConfigurationProfileId" 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
configurationProfileId,
                            Key
"Content" 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
content, Key
"ContentType" 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
contentType]
                           ([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
"Description" (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)
description,
                               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
"LatestVersionNumber" (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)
latestVersionNumber,
                               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
"VersionLabel" (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)
versionLabel]))}
instance JSON.ToJSON HostedConfigurationVersion where
  toJSON :: HostedConfigurationVersion -> Value
toJSON HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = [(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
"ApplicationId" 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
applicationId,
               Key
"ConfigurationProfileId" 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
configurationProfileId,
               Key
"Content" 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
content, Key
"ContentType" 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
contentType]
              ([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
"Description" (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)
description,
                  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
"LatestVersionNumber" (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)
latestVersionNumber,
                  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
"VersionLabel" (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)
versionLabel])))
instance Property "ApplicationId" HostedConfigurationVersion where
  type PropertyType "ApplicationId" HostedConfigurationVersion = Value Prelude.Text
  set :: PropertyType "ApplicationId" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "ApplicationId" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion {applicationId :: Value Text
applicationId = PropertyType "ApplicationId" HostedConfigurationVersion
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
haddock_workaround_ :: ()
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
instance Property "ConfigurationProfileId" HostedConfigurationVersion where
  type PropertyType "ConfigurationProfileId" HostedConfigurationVersion = Value Prelude.Text
  set :: PropertyType "ConfigurationProfileId" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "ConfigurationProfileId" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion
        {configurationProfileId :: Value Text
configurationProfileId = PropertyType "ConfigurationProfileId" HostedConfigurationVersion
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
instance Property "Content" HostedConfigurationVersion where
  type PropertyType "Content" HostedConfigurationVersion = Value Prelude.Text
  set :: PropertyType "Content" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "Content" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion {content :: Value Text
content = PropertyType "Content" HostedConfigurationVersion
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
instance Property "ContentType" HostedConfigurationVersion where
  type PropertyType "ContentType" HostedConfigurationVersion = Value Prelude.Text
  set :: PropertyType "ContentType" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "ContentType" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion {contentType :: Value Text
contentType = PropertyType "ContentType" HostedConfigurationVersion
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
instance Property "Description" HostedConfigurationVersion where
  type PropertyType "Description" HostedConfigurationVersion = Value Prelude.Text
  set :: PropertyType "Description" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "Description" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion
        {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" HostedConfigurationVersion
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
instance Property "LatestVersionNumber" HostedConfigurationVersion where
  type PropertyType "LatestVersionNumber" HostedConfigurationVersion = Value Prelude.Integer
  set :: PropertyType "LatestVersionNumber" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "LatestVersionNumber" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion
        {latestVersionNumber :: Maybe (Value Integer)
latestVersionNumber = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LatestVersionNumber" HostedConfigurationVersion
Value Integer
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
versionLabel :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
versionLabel :: Maybe (Value Text)
..}
instance Property "VersionLabel" HostedConfigurationVersion where
  type PropertyType "VersionLabel" HostedConfigurationVersion = Value Prelude.Text
  set :: PropertyType "VersionLabel" HostedConfigurationVersion
-> HostedConfigurationVersion -> HostedConfigurationVersion
set PropertyType "VersionLabel" HostedConfigurationVersion
newValue HostedConfigurationVersion {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: HostedConfigurationVersion -> ()
applicationId :: HostedConfigurationVersion -> Value Text
configurationProfileId :: HostedConfigurationVersion -> Value Text
content :: HostedConfigurationVersion -> Value Text
contentType :: HostedConfigurationVersion -> Value Text
description :: HostedConfigurationVersion -> Maybe (Value Text)
latestVersionNumber :: HostedConfigurationVersion -> Maybe (Value Integer)
versionLabel :: HostedConfigurationVersion -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
versionLabel :: Maybe (Value Text)
..}
    = HostedConfigurationVersion
        {versionLabel :: Maybe (Value Text)
versionLabel = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VersionLabel" HostedConfigurationVersion
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationProfileId :: Value Text
content :: Value Text
contentType :: Value Text
description :: Maybe (Value Text)
latestVersionNumber :: Maybe (Value Integer)
..}