module Stratosphere.Backup.RestoreTestingPlan (
        module Exports, RestoreTestingPlan(..), mkRestoreTestingPlan
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Backup.RestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data RestoreTestingPlan
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html>
    RestoreTestingPlan {RestoreTestingPlan -> ()
haddock_workaround_ :: (),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-recoverypointselection>
                        RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty,
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-restoretestingplanname>
                        RestoreTestingPlan -> Value Text
restoreTestingPlanName :: (Value Prelude.Text),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-scheduleexpression>
                        RestoreTestingPlan -> Value Text
scheduleExpression :: (Value Prelude.Text),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-scheduleexpressiontimezone>
                        RestoreTestingPlan -> Maybe (Value Text)
scheduleExpressionTimezone :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-startwindowhours>
                        RestoreTestingPlan -> Maybe (Value Integer)
startWindowHours :: (Prelude.Maybe (Value Prelude.Integer)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-tags>
                        RestoreTestingPlan -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (RestoreTestingPlan -> RestoreTestingPlan -> Bool
(RestoreTestingPlan -> RestoreTestingPlan -> Bool)
-> (RestoreTestingPlan -> RestoreTestingPlan -> Bool)
-> Eq RestoreTestingPlan
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RestoreTestingPlan -> RestoreTestingPlan -> Bool
== :: RestoreTestingPlan -> RestoreTestingPlan -> Bool
$c/= :: RestoreTestingPlan -> RestoreTestingPlan -> Bool
/= :: RestoreTestingPlan -> RestoreTestingPlan -> Bool
Prelude.Eq, Int -> RestoreTestingPlan -> ShowS
[RestoreTestingPlan] -> ShowS
RestoreTestingPlan -> String
(Int -> RestoreTestingPlan -> ShowS)
-> (RestoreTestingPlan -> String)
-> ([RestoreTestingPlan] -> ShowS)
-> Show RestoreTestingPlan
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RestoreTestingPlan -> ShowS
showsPrec :: Int -> RestoreTestingPlan -> ShowS
$cshow :: RestoreTestingPlan -> String
show :: RestoreTestingPlan -> String
$cshowList :: [RestoreTestingPlan] -> ShowS
showList :: [RestoreTestingPlan] -> ShowS
Prelude.Show)
mkRestoreTestingPlan ::
  RestoreTestingRecoveryPointSelectionProperty
  -> Value Prelude.Text -> Value Prelude.Text -> RestoreTestingPlan
mkRestoreTestingPlan :: RestoreTestingRecoveryPointSelectionProperty
-> Value Text -> Value Text -> RestoreTestingPlan
mkRestoreTestingPlan
  RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection
  Value Text
restoreTestingPlanName
  Value Text
scheduleExpression
  = RestoreTestingPlan
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection = RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection,
       restoreTestingPlanName :: Value Text
restoreTestingPlanName = Value Text
restoreTestingPlanName,
       scheduleExpression :: Value Text
scheduleExpression = Value Text
scheduleExpression,
       scheduleExpressionTimezone :: Maybe (Value Text)
scheduleExpressionTimezone = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       startWindowHours :: Maybe (Value Integer)
startWindowHours = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RestoreTestingPlan where
  toResourceProperties :: RestoreTestingPlan -> ResourceProperties
toResourceProperties RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Backup::RestoreTestingPlan",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"RecoveryPointSelection" Key -> RestoreTestingRecoveryPointSelectionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection,
                            Key
"RestoreTestingPlanName" 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
restoreTestingPlanName,
                            Key
"ScheduleExpression" 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
scheduleExpression]
                           ([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
"ScheduleExpressionTimezone"
                                 (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)
scheduleExpressionTimezone,
                               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
"StartWindowHours" (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)
startWindowHours,
                               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]))}
instance JSON.ToJSON RestoreTestingPlan where
  toJSON :: RestoreTestingPlan -> Value
toJSON RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = [(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
"RecoveryPointSelection" Key -> RestoreTestingRecoveryPointSelectionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection,
               Key
"RestoreTestingPlanName" 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
restoreTestingPlanName,
               Key
"ScheduleExpression" 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
scheduleExpression]
              ([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
"ScheduleExpressionTimezone"
                    (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)
scheduleExpressionTimezone,
                  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
"StartWindowHours" (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)
startWindowHours,
                  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])))
instance Property "RecoveryPointSelection" RestoreTestingPlan where
  type PropertyType "RecoveryPointSelection" RestoreTestingPlan = RestoreTestingRecoveryPointSelectionProperty
  set :: PropertyType "RecoveryPointSelection" RestoreTestingPlan
-> RestoreTestingPlan -> RestoreTestingPlan
set PropertyType "RecoveryPointSelection" RestoreTestingPlan
newValue RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = RestoreTestingPlan {recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
recoveryPointSelection = PropertyType "RecoveryPointSelection" RestoreTestingPlan
RestoreTestingRecoveryPointSelectionProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "RestoreTestingPlanName" RestoreTestingPlan where
  type PropertyType "RestoreTestingPlanName" RestoreTestingPlan = Value Prelude.Text
  set :: PropertyType "RestoreTestingPlanName" RestoreTestingPlan
-> RestoreTestingPlan -> RestoreTestingPlan
set PropertyType "RestoreTestingPlanName" RestoreTestingPlan
newValue RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = RestoreTestingPlan {restoreTestingPlanName :: Value Text
restoreTestingPlanName = PropertyType "RestoreTestingPlanName" RestoreTestingPlan
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "ScheduleExpression" RestoreTestingPlan where
  type PropertyType "ScheduleExpression" RestoreTestingPlan = Value Prelude.Text
  set :: PropertyType "ScheduleExpression" RestoreTestingPlan
-> RestoreTestingPlan -> RestoreTestingPlan
set PropertyType "ScheduleExpression" RestoreTestingPlan
newValue RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = RestoreTestingPlan {scheduleExpression :: Value Text
scheduleExpression = PropertyType "ScheduleExpression" RestoreTestingPlan
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "ScheduleExpressionTimezone" RestoreTestingPlan where
  type PropertyType "ScheduleExpressionTimezone" RestoreTestingPlan = Value Prelude.Text
  set :: PropertyType "ScheduleExpressionTimezone" RestoreTestingPlan
-> RestoreTestingPlan -> RestoreTestingPlan
set PropertyType "ScheduleExpressionTimezone" RestoreTestingPlan
newValue RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = RestoreTestingPlan
        {scheduleExpressionTimezone :: Maybe (Value Text)
scheduleExpressionTimezone = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScheduleExpressionTimezone" RestoreTestingPlan
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "StartWindowHours" RestoreTestingPlan where
  type PropertyType "StartWindowHours" RestoreTestingPlan = Value Prelude.Integer
  set :: PropertyType "StartWindowHours" RestoreTestingPlan
-> RestoreTestingPlan -> RestoreTestingPlan
set PropertyType "StartWindowHours" RestoreTestingPlan
newValue RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = RestoreTestingPlan {startWindowHours :: Maybe (Value Integer)
startWindowHours = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StartWindowHours" RestoreTestingPlan
Value Integer
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" RestoreTestingPlan where
  type PropertyType "Tags" RestoreTestingPlan = [Tag]
  set :: PropertyType "Tags" RestoreTestingPlan
-> RestoreTestingPlan -> RestoreTestingPlan
set PropertyType "Tags" RestoreTestingPlan
newValue RestoreTestingPlan {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: RestoreTestingPlan -> ()
recoveryPointSelection :: RestoreTestingPlan -> RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: RestoreTestingPlan -> Value Text
scheduleExpression :: RestoreTestingPlan -> Value Text
scheduleExpressionTimezone :: RestoreTestingPlan -> Maybe (Value Text)
startWindowHours :: RestoreTestingPlan -> Maybe (Value Integer)
tags :: RestoreTestingPlan -> Maybe [Tag]
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = RestoreTestingPlan {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" RestoreTestingPlan
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
RestoreTestingRecoveryPointSelectionProperty
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
recoveryPointSelection :: RestoreTestingRecoveryPointSelectionProperty
restoreTestingPlanName :: Value Text
scheduleExpression :: Value Text
scheduleExpressionTimezone :: Maybe (Value Text)
startWindowHours :: Maybe (Value Integer)
..}