module Stratosphere.BackupGateway.Hypervisor (
        Hypervisor(..), mkHypervisor
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Hypervisor
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html>
    Hypervisor {Hypervisor -> ()
haddock_workaround_ :: (),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-host>
                Hypervisor -> Maybe (Value Text)
host :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-kmskeyarn>
                Hypervisor -> Maybe (Value Text)
kmsKeyArn :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-loggrouparn>
                Hypervisor -> Maybe (Value Text)
logGroupArn :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-name>
                Hypervisor -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-password>
                Hypervisor -> Maybe (Value Text)
password :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-tags>
                Hypervisor -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html#cfn-backupgateway-hypervisor-username>
                Hypervisor -> Maybe (Value Text)
username :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (Hypervisor -> Hypervisor -> Bool
(Hypervisor -> Hypervisor -> Bool)
-> (Hypervisor -> Hypervisor -> Bool) -> Eq Hypervisor
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Hypervisor -> Hypervisor -> Bool
== :: Hypervisor -> Hypervisor -> Bool
$c/= :: Hypervisor -> Hypervisor -> Bool
/= :: Hypervisor -> Hypervisor -> Bool
Prelude.Eq, Int -> Hypervisor -> ShowS
[Hypervisor] -> ShowS
Hypervisor -> String
(Int -> Hypervisor -> ShowS)
-> (Hypervisor -> String)
-> ([Hypervisor] -> ShowS)
-> Show Hypervisor
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Hypervisor -> ShowS
showsPrec :: Int -> Hypervisor -> ShowS
$cshow :: Hypervisor -> String
show :: Hypervisor -> String
$cshowList :: [Hypervisor] -> ShowS
showList :: [Hypervisor] -> ShowS
Prelude.Show)
mkHypervisor :: Hypervisor
mkHypervisor :: Hypervisor
mkHypervisor
  = Hypervisor
      {haddock_workaround_ :: ()
haddock_workaround_ = (), host :: Maybe (Value Text)
host = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, logGroupArn :: Maybe (Value Text)
logGroupArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, password :: Maybe (Value Text)
password = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, username :: Maybe (Value Text)
username = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Hypervisor where
  toResourceProperties :: Hypervisor -> ResourceProperties
toResourceProperties Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::BackupGateway::Hypervisor",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([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
"Host" (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)
host,
                            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
"KmsKeyArn" (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)
kmsKeyArn,
                            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
"LogGroupArn" (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)
logGroupArn,
                            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
"Name" (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)
name,
                            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
"Password" (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)
password,
                            Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                            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
"Username" (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)
username])}
instance JSON.ToJSON Hypervisor where
  toJSON :: Hypervisor -> Value
toJSON Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([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
"Host" (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)
host,
               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
"KmsKeyArn" (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)
kmsKeyArn,
               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
"LogGroupArn" (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)
logGroupArn,
               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
"Name" (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)
name,
               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
"Password" (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)
password,
               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
               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
"Username" (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)
username]))
instance Property "Host" Hypervisor where
  type PropertyType "Host" Hypervisor = Value Prelude.Text
  set :: PropertyType "Host" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "Host" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {host :: Maybe (Value Text)
host = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Host" Hypervisor
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
haddock_workaround_ :: ()
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
instance Property "KmsKeyArn" Hypervisor where
  type PropertyType "KmsKeyArn" Hypervisor = Value Prelude.Text
  set :: PropertyType "KmsKeyArn" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "KmsKeyArn" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyArn" Hypervisor
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
host :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
instance Property "LogGroupArn" Hypervisor where
  type PropertyType "LogGroupArn" Hypervisor = Value Prelude.Text
  set :: PropertyType "LogGroupArn" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "LogGroupArn" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {logGroupArn :: Maybe (Value Text)
logGroupArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogGroupArn" Hypervisor
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
instance Property "Name" Hypervisor where
  type PropertyType "Name" Hypervisor = Value Prelude.Text
  set :: PropertyType "Name" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "Name" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" Hypervisor
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
instance Property "Password" Hypervisor where
  type PropertyType "Password" Hypervisor = Value Prelude.Text
  set :: PropertyType "Password" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "Password" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {password :: Maybe (Value Text)
password = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Password" Hypervisor
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
instance Property "Tags" Hypervisor where
  type PropertyType "Tags" Hypervisor = [Tag]
  set :: PropertyType "Tags" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "Tags" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Hypervisor
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
username :: Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
username :: Maybe (Value Text)
..}
instance Property "Username" Hypervisor where
  type PropertyType "Username" Hypervisor = Value Prelude.Text
  set :: PropertyType "Username" Hypervisor -> Hypervisor -> Hypervisor
set PropertyType "Username" Hypervisor
newValue Hypervisor {Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: Hypervisor -> ()
host :: Hypervisor -> Maybe (Value Text)
kmsKeyArn :: Hypervisor -> Maybe (Value Text)
logGroupArn :: Hypervisor -> Maybe (Value Text)
name :: Hypervisor -> Maybe (Value Text)
password :: Hypervisor -> Maybe (Value Text)
tags :: Hypervisor -> Maybe [Tag]
username :: Hypervisor -> Maybe (Value Text)
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
username :: Maybe (Value Text)
..}
    = Hypervisor {username :: Maybe (Value Text)
username = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Username" Hypervisor
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
host :: Maybe (Value Text)
kmsKeyArn :: Maybe (Value Text)
logGroupArn :: Maybe (Value Text)
name :: Maybe (Value Text)
password :: Maybe (Value Text)
tags :: Maybe [Tag]
..}