module Stratosphere.EC2.NetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty (
        TransitGatewayRouteTableRouteProperty(..),
        mkTransitGatewayRouteTableRouteProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TransitGatewayRouteTableRouteProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html>
    TransitGatewayRouteTableRouteProperty {TransitGatewayRouteTableRouteProperty -> ()
haddock_workaround_ :: (),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-attachmentid>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
attachmentId :: (Prelude.Maybe (Value Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-destinationcidr>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: (Prelude.Maybe (Value Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-prefixlistid>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: (Prelude.Maybe (Value Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-resourceid>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: (Prelude.Maybe (Value Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-resourcetype>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: (Prelude.Maybe (Value Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-routeorigin>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: (Prelude.Maybe (Value Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-state>
                                           TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty -> Bool
(TransitGatewayRouteTableRouteProperty
 -> TransitGatewayRouteTableRouteProperty -> Bool)
-> (TransitGatewayRouteTableRouteProperty
    -> TransitGatewayRouteTableRouteProperty -> Bool)
-> Eq TransitGatewayRouteTableRouteProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty -> Bool
== :: TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty -> Bool
$c/= :: TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty -> Bool
/= :: TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty -> Bool
Prelude.Eq, Int -> TransitGatewayRouteTableRouteProperty -> ShowS
[TransitGatewayRouteTableRouteProperty] -> ShowS
TransitGatewayRouteTableRouteProperty -> String
(Int -> TransitGatewayRouteTableRouteProperty -> ShowS)
-> (TransitGatewayRouteTableRouteProperty -> String)
-> ([TransitGatewayRouteTableRouteProperty] -> ShowS)
-> Show TransitGatewayRouteTableRouteProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TransitGatewayRouteTableRouteProperty -> ShowS
showsPrec :: Int -> TransitGatewayRouteTableRouteProperty -> ShowS
$cshow :: TransitGatewayRouteTableRouteProperty -> String
show :: TransitGatewayRouteTableRouteProperty -> String
$cshowList :: [TransitGatewayRouteTableRouteProperty] -> ShowS
showList :: [TransitGatewayRouteTableRouteProperty] -> ShowS
Prelude.Show)
mkTransitGatewayRouteTableRouteProperty ::
  TransitGatewayRouteTableRouteProperty
mkTransitGatewayRouteTableRouteProperty :: TransitGatewayRouteTableRouteProperty
mkTransitGatewayRouteTableRouteProperty
  = TransitGatewayRouteTableRouteProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), attachmentId :: Maybe (Value Text)
attachmentId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       destinationCidr :: Maybe (Value Text)
destinationCidr = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, prefixListId :: Maybe (Value Text)
prefixListId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       resourceId :: Maybe (Value Text)
resourceId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, resourceType :: Maybe (Value Text)
resourceType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       routeOrigin :: Maybe (Value Text)
routeOrigin = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, state :: Maybe (Value Text)
state = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TransitGatewayRouteTableRouteProperty where
  toResourceProperties :: TransitGatewayRouteTableRouteProperty -> ResourceProperties
toResourceProperties TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         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
"AttachmentId" (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)
attachmentId,
                            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
"DestinationCidr" (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)
destinationCidr,
                            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
"PrefixListId" (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)
prefixListId,
                            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
"ResourceId" (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)
resourceId,
                            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
"ResourceType" (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)
resourceType,
                            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
"RouteOrigin" (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)
routeOrigin,
                            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
"State" (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)
state])}
instance JSON.ToJSON TransitGatewayRouteTableRouteProperty where
  toJSON :: TransitGatewayRouteTableRouteProperty -> Value
toJSON TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: 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
"AttachmentId" (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)
attachmentId,
               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
"DestinationCidr" (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)
destinationCidr,
               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
"PrefixListId" (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)
prefixListId,
               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
"ResourceId" (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)
resourceId,
               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
"ResourceType" (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)
resourceType,
               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
"RouteOrigin" (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)
routeOrigin,
               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
"State" (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)
state]))
instance Property "AttachmentId" TransitGatewayRouteTableRouteProperty where
  type PropertyType "AttachmentId" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType "AttachmentId" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType "AttachmentId" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {attachmentId :: Maybe (Value Text)
attachmentId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AttachmentId" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
haddock_workaround_ :: ()
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
instance Property "DestinationCidr" TransitGatewayRouteTableRouteProperty where
  type PropertyType "DestinationCidr" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType
  "DestinationCidr" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType
  "DestinationCidr" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {destinationCidr :: Maybe (Value Text)
destinationCidr = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DestinationCidr" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
instance Property "PrefixListId" TransitGatewayRouteTableRouteProperty where
  type PropertyType "PrefixListId" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType "PrefixListId" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType "PrefixListId" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {prefixListId :: Maybe (Value Text)
prefixListId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PrefixListId" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
instance Property "ResourceId" TransitGatewayRouteTableRouteProperty where
  type PropertyType "ResourceId" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType "ResourceId" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType "ResourceId" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {resourceId :: Maybe (Value Text)
resourceId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResourceId" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
instance Property "ResourceType" TransitGatewayRouteTableRouteProperty where
  type PropertyType "ResourceType" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType "ResourceType" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType "ResourceType" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {resourceType :: Maybe (Value Text)
resourceType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResourceType" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
instance Property "RouteOrigin" TransitGatewayRouteTableRouteProperty where
  type PropertyType "RouteOrigin" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType "RouteOrigin" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType "RouteOrigin" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {routeOrigin :: Maybe (Value Text)
routeOrigin = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RouteOrigin" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
state :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
instance Property "State" TransitGatewayRouteTableRouteProperty where
  type PropertyType "State" TransitGatewayRouteTableRouteProperty = Value Prelude.Text
  set :: PropertyType "State" TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
-> TransitGatewayRouteTableRouteProperty
set PropertyType "State" TransitGatewayRouteTableRouteProperty
newValue TransitGatewayRouteTableRouteProperty {Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayRouteTableRouteProperty -> ()
attachmentId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
destinationCidr :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
prefixListId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceId :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
resourceType :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
routeOrigin :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
state :: TransitGatewayRouteTableRouteProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
state :: Maybe (Value Text)
..}
    = TransitGatewayRouteTableRouteProperty
        {state :: Maybe (Value Text)
state = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "State" TransitGatewayRouteTableRouteProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentId :: Maybe (Value Text)
destinationCidr :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
resourceType :: Maybe (Value Text)
routeOrigin :: Maybe (Value Text)
..}