{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.EC2.Types.LocalGatewayRouteTableVpcAssociation
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.EC2.Types.LocalGatewayRouteTableVpcAssociation where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.EC2.Internal
import Amazonka.EC2.Types.Tag
import qualified Amazonka.Prelude as Prelude

-- | Describes an association between a local gateway route table and a VPC.
--
-- /See:/ 'newLocalGatewayRouteTableVpcAssociation' smart constructor.
data LocalGatewayRouteTableVpcAssociation = LocalGatewayRouteTableVpcAssociation'
  { -- | The ID of the local gateway.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayId :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the local gateway route table for the
    -- association.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayRouteTableArn :: Prelude.Maybe Prelude.Text,
    -- | The ID of the local gateway route table.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayRouteTableId :: Prelude.Maybe Prelude.Text,
    -- | The ID of the association.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayRouteTableVpcAssociationId :: Prelude.Maybe Prelude.Text,
    -- | The ID of the Amazon Web Services account that owns the local gateway
    -- route table for the association.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
ownerId :: Prelude.Maybe Prelude.Text,
    -- | The state of the association.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
state :: Prelude.Maybe Prelude.Text,
    -- | The tags assigned to the association.
    LocalGatewayRouteTableVpcAssociation -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
    -- | The ID of the VPC.
    LocalGatewayRouteTableVpcAssociation -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text
  }
  deriving (LocalGatewayRouteTableVpcAssociation
-> LocalGatewayRouteTableVpcAssociation -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LocalGatewayRouteTableVpcAssociation
-> LocalGatewayRouteTableVpcAssociation -> Bool
$c/= :: LocalGatewayRouteTableVpcAssociation
-> LocalGatewayRouteTableVpcAssociation -> Bool
== :: LocalGatewayRouteTableVpcAssociation
-> LocalGatewayRouteTableVpcAssociation -> Bool
$c== :: LocalGatewayRouteTableVpcAssociation
-> LocalGatewayRouteTableVpcAssociation -> Bool
Prelude.Eq, ReadPrec [LocalGatewayRouteTableVpcAssociation]
ReadPrec LocalGatewayRouteTableVpcAssociation
Int -> ReadS LocalGatewayRouteTableVpcAssociation
ReadS [LocalGatewayRouteTableVpcAssociation]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LocalGatewayRouteTableVpcAssociation]
$creadListPrec :: ReadPrec [LocalGatewayRouteTableVpcAssociation]
readPrec :: ReadPrec LocalGatewayRouteTableVpcAssociation
$creadPrec :: ReadPrec LocalGatewayRouteTableVpcAssociation
readList :: ReadS [LocalGatewayRouteTableVpcAssociation]
$creadList :: ReadS [LocalGatewayRouteTableVpcAssociation]
readsPrec :: Int -> ReadS LocalGatewayRouteTableVpcAssociation
$creadsPrec :: Int -> ReadS LocalGatewayRouteTableVpcAssociation
Prelude.Read, Int -> LocalGatewayRouteTableVpcAssociation -> ShowS
[LocalGatewayRouteTableVpcAssociation] -> ShowS
LocalGatewayRouteTableVpcAssociation -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LocalGatewayRouteTableVpcAssociation] -> ShowS
$cshowList :: [LocalGatewayRouteTableVpcAssociation] -> ShowS
show :: LocalGatewayRouteTableVpcAssociation -> String
$cshow :: LocalGatewayRouteTableVpcAssociation -> String
showsPrec :: Int -> LocalGatewayRouteTableVpcAssociation -> ShowS
$cshowsPrec :: Int -> LocalGatewayRouteTableVpcAssociation -> ShowS
Prelude.Show, forall x.
Rep LocalGatewayRouteTableVpcAssociation x
-> LocalGatewayRouteTableVpcAssociation
forall x.
LocalGatewayRouteTableVpcAssociation
-> Rep LocalGatewayRouteTableVpcAssociation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep LocalGatewayRouteTableVpcAssociation x
-> LocalGatewayRouteTableVpcAssociation
$cfrom :: forall x.
LocalGatewayRouteTableVpcAssociation
-> Rep LocalGatewayRouteTableVpcAssociation x
Prelude.Generic)

-- |
-- Create a value of 'LocalGatewayRouteTableVpcAssociation' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'localGatewayId', 'localGatewayRouteTableVpcAssociation_localGatewayId' - The ID of the local gateway.
--
-- 'localGatewayRouteTableArn', 'localGatewayRouteTableVpcAssociation_localGatewayRouteTableArn' - The Amazon Resource Name (ARN) of the local gateway route table for the
-- association.
--
-- 'localGatewayRouteTableId', 'localGatewayRouteTableVpcAssociation_localGatewayRouteTableId' - The ID of the local gateway route table.
--
-- 'localGatewayRouteTableVpcAssociationId', 'localGatewayRouteTableVpcAssociation_localGatewayRouteTableVpcAssociationId' - The ID of the association.
--
-- 'ownerId', 'localGatewayRouteTableVpcAssociation_ownerId' - The ID of the Amazon Web Services account that owns the local gateway
-- route table for the association.
--
-- 'state', 'localGatewayRouteTableVpcAssociation_state' - The state of the association.
--
-- 'tags', 'localGatewayRouteTableVpcAssociation_tags' - The tags assigned to the association.
--
-- 'vpcId', 'localGatewayRouteTableVpcAssociation_vpcId' - The ID of the VPC.
newLocalGatewayRouteTableVpcAssociation ::
  LocalGatewayRouteTableVpcAssociation
newLocalGatewayRouteTableVpcAssociation :: LocalGatewayRouteTableVpcAssociation
newLocalGatewayRouteTableVpcAssociation =
  LocalGatewayRouteTableVpcAssociation'
    { $sel:localGatewayId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayId =
        forall a. Maybe a
Prelude.Nothing,
      $sel:localGatewayRouteTableArn:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayRouteTableArn =
        forall a. Maybe a
Prelude.Nothing,
      $sel:localGatewayRouteTableId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayRouteTableId =
        forall a. Maybe a
Prelude.Nothing,
      $sel:localGatewayRouteTableVpcAssociationId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayRouteTableVpcAssociationId =
        forall a. Maybe a
Prelude.Nothing,
      $sel:ownerId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
ownerId = forall a. Maybe a
Prelude.Nothing,
      $sel:state:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
state = forall a. Maybe a
Prelude.Nothing,
      $sel:tags:LocalGatewayRouteTableVpcAssociation' :: Maybe [Tag]
tags = forall a. Maybe a
Prelude.Nothing,
      $sel:vpcId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
vpcId = forall a. Maybe a
Prelude.Nothing
    }

-- | The ID of the local gateway.
localGatewayRouteTableVpcAssociation_localGatewayId :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_localGatewayId :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_localGatewayId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
localGatewayId :: Maybe Text
$sel:localGatewayId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayId} -> Maybe Text
localGatewayId) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:localGatewayId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayId = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

-- | The Amazon Resource Name (ARN) of the local gateway route table for the
-- association.
localGatewayRouteTableVpcAssociation_localGatewayRouteTableArn :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_localGatewayRouteTableArn :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_localGatewayRouteTableArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
localGatewayRouteTableArn :: Maybe Text
$sel:localGatewayRouteTableArn:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayRouteTableArn} -> Maybe Text
localGatewayRouteTableArn) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:localGatewayRouteTableArn:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayRouteTableArn = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

-- | The ID of the local gateway route table.
localGatewayRouteTableVpcAssociation_localGatewayRouteTableId :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_localGatewayRouteTableId :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_localGatewayRouteTableId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
localGatewayRouteTableId :: Maybe Text
$sel:localGatewayRouteTableId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayRouteTableId} -> Maybe Text
localGatewayRouteTableId) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:localGatewayRouteTableId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayRouteTableId = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

-- | The ID of the association.
localGatewayRouteTableVpcAssociation_localGatewayRouteTableVpcAssociationId :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_localGatewayRouteTableVpcAssociationId :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_localGatewayRouteTableVpcAssociationId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
localGatewayRouteTableVpcAssociationId :: Maybe Text
$sel:localGatewayRouteTableVpcAssociationId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
localGatewayRouteTableVpcAssociationId} -> Maybe Text
localGatewayRouteTableVpcAssociationId) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:localGatewayRouteTableVpcAssociationId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
localGatewayRouteTableVpcAssociationId = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

-- | The ID of the Amazon Web Services account that owns the local gateway
-- route table for the association.
localGatewayRouteTableVpcAssociation_ownerId :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_ownerId :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_ownerId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
ownerId :: Maybe Text
$sel:ownerId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
ownerId} -> Maybe Text
ownerId) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:ownerId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
ownerId = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

-- | The state of the association.
localGatewayRouteTableVpcAssociation_state :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_state :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_state = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
state :: Maybe Text
$sel:state:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
state} -> Maybe Text
state) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:state:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
state = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

-- | The tags assigned to the association.
localGatewayRouteTableVpcAssociation_tags :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe [Tag])
localGatewayRouteTableVpcAssociation_tags :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe [Tag])
localGatewayRouteTableVpcAssociation_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe [Tag]
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:tags:LocalGatewayRouteTableVpcAssociation' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: LocalGatewayRouteTableVpcAssociation) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The ID of the VPC.
localGatewayRouteTableVpcAssociation_vpcId :: Lens.Lens' LocalGatewayRouteTableVpcAssociation (Prelude.Maybe Prelude.Text)
localGatewayRouteTableVpcAssociation_vpcId :: Lens' LocalGatewayRouteTableVpcAssociation (Maybe Text)
localGatewayRouteTableVpcAssociation_vpcId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LocalGatewayRouteTableVpcAssociation' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: LocalGatewayRouteTableVpcAssociation
s@LocalGatewayRouteTableVpcAssociation' {} Maybe Text
a -> LocalGatewayRouteTableVpcAssociation
s {$sel:vpcId:LocalGatewayRouteTableVpcAssociation' :: Maybe Text
vpcId = Maybe Text
a} :: LocalGatewayRouteTableVpcAssociation)

instance
  Data.FromXML
    LocalGatewayRouteTableVpcAssociation
  where
  parseXML :: [Node] -> Either String LocalGatewayRouteTableVpcAssociation
parseXML [Node]
x =
    Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Tag]
-> Maybe Text
-> LocalGatewayRouteTableVpcAssociation
LocalGatewayRouteTableVpcAssociation'
      forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"localGatewayId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"localGatewayRouteTableArn")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"localGatewayRouteTableId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"localGatewayRouteTableVpcAssociationId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"ownerId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"state")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x
                      forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"tagSet"
                      forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
                      forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (forall a. FromXML a => Text -> [Node] -> Either String [a]
Data.parseXMLList Text
"item")
                  )
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"vpcId")

instance
  Prelude.Hashable
    LocalGatewayRouteTableVpcAssociation
  where
  hashWithSalt :: Int -> LocalGatewayRouteTableVpcAssociation -> Int
hashWithSalt
    Int
_salt
    LocalGatewayRouteTableVpcAssociation' {Maybe [Tag]
Maybe Text
vpcId :: Maybe Text
tags :: Maybe [Tag]
state :: Maybe Text
ownerId :: Maybe Text
localGatewayRouteTableVpcAssociationId :: Maybe Text
localGatewayRouteTableId :: Maybe Text
localGatewayRouteTableArn :: Maybe Text
localGatewayId :: Maybe Text
$sel:vpcId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:tags:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe [Tag]
$sel:state:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:ownerId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayRouteTableVpcAssociationId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayRouteTableId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayRouteTableArn:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
..} =
      Int
_salt
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
localGatewayId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
localGatewayRouteTableArn
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
localGatewayRouteTableId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
localGatewayRouteTableVpcAssociationId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
ownerId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
state
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Tag]
tags
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
vpcId

instance
  Prelude.NFData
    LocalGatewayRouteTableVpcAssociation
  where
  rnf :: LocalGatewayRouteTableVpcAssociation -> ()
rnf LocalGatewayRouteTableVpcAssociation' {Maybe [Tag]
Maybe Text
vpcId :: Maybe Text
tags :: Maybe [Tag]
state :: Maybe Text
ownerId :: Maybe Text
localGatewayRouteTableVpcAssociationId :: Maybe Text
localGatewayRouteTableId :: Maybe Text
localGatewayRouteTableArn :: Maybe Text
localGatewayId :: Maybe Text
$sel:vpcId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:tags:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe [Tag]
$sel:state:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:ownerId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayRouteTableVpcAssociationId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayRouteTableId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayRouteTableArn:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
$sel:localGatewayId:LocalGatewayRouteTableVpcAssociation' :: LocalGatewayRouteTableVpcAssociation -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
localGatewayId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
localGatewayRouteTableArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
localGatewayRouteTableId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
localGatewayRouteTableVpcAssociationId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
ownerId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
state
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Tag]
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
vpcId