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

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

-- |
-- Module      : Amazonka.WAFRegional.ListGeoMatchSets
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- This is __AWS WAF Classic__ documentation. For more information, see
-- <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html AWS WAF Classic>
-- in the developer guide.
--
-- __For the latest version of AWS WAF__, use the AWS WAFV2 API and see the
-- <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html AWS WAF Developer Guide>.
-- With the latest version, AWS WAF has a single set of endpoints for
-- regional and global use.
--
-- Returns an array of GeoMatchSetSummary objects in the response.
module Amazonka.WAFRegional.ListGeoMatchSets
  ( -- * Creating a Request
    ListGeoMatchSets (..),
    newListGeoMatchSets,

    -- * Request Lenses
    listGeoMatchSets_limit,
    listGeoMatchSets_nextMarker,

    -- * Destructuring the Response
    ListGeoMatchSetsResponse (..),
    newListGeoMatchSetsResponse,

    -- * Response Lenses
    listGeoMatchSetsResponse_geoMatchSets,
    listGeoMatchSetsResponse_nextMarker,
    listGeoMatchSetsResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.WAFRegional.Types

-- | /See:/ 'newListGeoMatchSets' smart constructor.
data ListGeoMatchSets = ListGeoMatchSets'
  { -- | Specifies the number of @GeoMatchSet@ objects that you want AWS WAF to
    -- return for this request. If you have more @GeoMatchSet@ objects than the
    -- number you specify for @Limit@, the response includes a @NextMarker@
    -- value that you can use to get another batch of @GeoMatchSet@ objects.
    ListGeoMatchSets -> Maybe Natural
limit :: Prelude.Maybe Prelude.Natural,
    -- | If you specify a value for @Limit@ and you have more @GeoMatchSet@s than
    -- the value of @Limit@, AWS WAF returns a @NextMarker@ value in the
    -- response that allows you to list another group of @GeoMatchSet@ objects.
    -- For the second and subsequent @ListGeoMatchSets@ requests, specify the
    -- value of @NextMarker@ from the previous response to get information
    -- about another batch of @GeoMatchSet@ objects.
    ListGeoMatchSets -> Maybe Text
nextMarker :: Prelude.Maybe Prelude.Text
  }
  deriving (ListGeoMatchSets -> ListGeoMatchSets -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListGeoMatchSets -> ListGeoMatchSets -> Bool
$c/= :: ListGeoMatchSets -> ListGeoMatchSets -> Bool
== :: ListGeoMatchSets -> ListGeoMatchSets -> Bool
$c== :: ListGeoMatchSets -> ListGeoMatchSets -> Bool
Prelude.Eq, ReadPrec [ListGeoMatchSets]
ReadPrec ListGeoMatchSets
Int -> ReadS ListGeoMatchSets
ReadS [ListGeoMatchSets]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListGeoMatchSets]
$creadListPrec :: ReadPrec [ListGeoMatchSets]
readPrec :: ReadPrec ListGeoMatchSets
$creadPrec :: ReadPrec ListGeoMatchSets
readList :: ReadS [ListGeoMatchSets]
$creadList :: ReadS [ListGeoMatchSets]
readsPrec :: Int -> ReadS ListGeoMatchSets
$creadsPrec :: Int -> ReadS ListGeoMatchSets
Prelude.Read, Int -> ListGeoMatchSets -> ShowS
[ListGeoMatchSets] -> ShowS
ListGeoMatchSets -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListGeoMatchSets] -> ShowS
$cshowList :: [ListGeoMatchSets] -> ShowS
show :: ListGeoMatchSets -> String
$cshow :: ListGeoMatchSets -> String
showsPrec :: Int -> ListGeoMatchSets -> ShowS
$cshowsPrec :: Int -> ListGeoMatchSets -> ShowS
Prelude.Show, forall x. Rep ListGeoMatchSets x -> ListGeoMatchSets
forall x. ListGeoMatchSets -> Rep ListGeoMatchSets x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListGeoMatchSets x -> ListGeoMatchSets
$cfrom :: forall x. ListGeoMatchSets -> Rep ListGeoMatchSets x
Prelude.Generic)

-- |
-- Create a value of 'ListGeoMatchSets' 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:
--
-- 'limit', 'listGeoMatchSets_limit' - Specifies the number of @GeoMatchSet@ objects that you want AWS WAF to
-- return for this request. If you have more @GeoMatchSet@ objects than the
-- number you specify for @Limit@, the response includes a @NextMarker@
-- value that you can use to get another batch of @GeoMatchSet@ objects.
--
-- 'nextMarker', 'listGeoMatchSets_nextMarker' - If you specify a value for @Limit@ and you have more @GeoMatchSet@s than
-- the value of @Limit@, AWS WAF returns a @NextMarker@ value in the
-- response that allows you to list another group of @GeoMatchSet@ objects.
-- For the second and subsequent @ListGeoMatchSets@ requests, specify the
-- value of @NextMarker@ from the previous response to get information
-- about another batch of @GeoMatchSet@ objects.
newListGeoMatchSets ::
  ListGeoMatchSets
newListGeoMatchSets :: ListGeoMatchSets
newListGeoMatchSets =
  ListGeoMatchSets'
    { $sel:limit:ListGeoMatchSets' :: Maybe Natural
limit = forall a. Maybe a
Prelude.Nothing,
      $sel:nextMarker:ListGeoMatchSets' :: Maybe Text
nextMarker = forall a. Maybe a
Prelude.Nothing
    }

-- | Specifies the number of @GeoMatchSet@ objects that you want AWS WAF to
-- return for this request. If you have more @GeoMatchSet@ objects than the
-- number you specify for @Limit@, the response includes a @NextMarker@
-- value that you can use to get another batch of @GeoMatchSet@ objects.
listGeoMatchSets_limit :: Lens.Lens' ListGeoMatchSets (Prelude.Maybe Prelude.Natural)
listGeoMatchSets_limit :: Lens' ListGeoMatchSets (Maybe Natural)
listGeoMatchSets_limit = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeoMatchSets' {Maybe Natural
limit :: Maybe Natural
$sel:limit:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Natural
limit} -> Maybe Natural
limit) (\s :: ListGeoMatchSets
s@ListGeoMatchSets' {} Maybe Natural
a -> ListGeoMatchSets
s {$sel:limit:ListGeoMatchSets' :: Maybe Natural
limit = Maybe Natural
a} :: ListGeoMatchSets)

-- | If you specify a value for @Limit@ and you have more @GeoMatchSet@s than
-- the value of @Limit@, AWS WAF returns a @NextMarker@ value in the
-- response that allows you to list another group of @GeoMatchSet@ objects.
-- For the second and subsequent @ListGeoMatchSets@ requests, specify the
-- value of @NextMarker@ from the previous response to get information
-- about another batch of @GeoMatchSet@ objects.
listGeoMatchSets_nextMarker :: Lens.Lens' ListGeoMatchSets (Prelude.Maybe Prelude.Text)
listGeoMatchSets_nextMarker :: Lens' ListGeoMatchSets (Maybe Text)
listGeoMatchSets_nextMarker = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeoMatchSets' {Maybe Text
nextMarker :: Maybe Text
$sel:nextMarker:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Text
nextMarker} -> Maybe Text
nextMarker) (\s :: ListGeoMatchSets
s@ListGeoMatchSets' {} Maybe Text
a -> ListGeoMatchSets
s {$sel:nextMarker:ListGeoMatchSets' :: Maybe Text
nextMarker = Maybe Text
a} :: ListGeoMatchSets)

instance Core.AWSRequest ListGeoMatchSets where
  type
    AWSResponse ListGeoMatchSets =
      ListGeoMatchSetsResponse
  request :: (Service -> Service)
-> ListGeoMatchSets -> Request ListGeoMatchSets
request Service -> Service
overrides =
    forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListGeoMatchSets
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListGeoMatchSets)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe [GeoMatchSetSummary]
-> Maybe Text -> Int -> ListGeoMatchSetsResponse
ListGeoMatchSetsResponse'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"GeoMatchSets" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"NextMarker")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable ListGeoMatchSets where
  hashWithSalt :: Int -> ListGeoMatchSets -> Int
hashWithSalt Int
_salt ListGeoMatchSets' {Maybe Natural
Maybe Text
nextMarker :: Maybe Text
limit :: Maybe Natural
$sel:nextMarker:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Text
$sel:limit:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Natural
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
limit
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextMarker

instance Prelude.NFData ListGeoMatchSets where
  rnf :: ListGeoMatchSets -> ()
rnf ListGeoMatchSets' {Maybe Natural
Maybe Text
nextMarker :: Maybe Text
limit :: Maybe Natural
$sel:nextMarker:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Text
$sel:limit:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Natural
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
limit
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextMarker

instance Data.ToHeaders ListGeoMatchSets where
  toHeaders :: ListGeoMatchSets -> ResponseHeaders
toHeaders =
    forall a b. a -> b -> a
Prelude.const
      ( forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"AWSWAF_Regional_20161128.ListGeoMatchSets" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Data.ToJSON ListGeoMatchSets where
  toJSON :: ListGeoMatchSets -> Value
toJSON ListGeoMatchSets' {Maybe Natural
Maybe Text
nextMarker :: Maybe Text
limit :: Maybe Natural
$sel:nextMarker:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Text
$sel:limit:ListGeoMatchSets' :: ListGeoMatchSets -> Maybe Natural
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"Limit" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
limit,
            (Key
"NextMarker" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextMarker
          ]
      )

instance Data.ToPath ListGeoMatchSets where
  toPath :: ListGeoMatchSets -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery ListGeoMatchSets where
  toQuery :: ListGeoMatchSets -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newListGeoMatchSetsResponse' smart constructor.
data ListGeoMatchSetsResponse = ListGeoMatchSetsResponse'
  { -- | An array of GeoMatchSetSummary objects.
    ListGeoMatchSetsResponse -> Maybe [GeoMatchSetSummary]
geoMatchSets :: Prelude.Maybe [GeoMatchSetSummary],
    -- | If you have more @GeoMatchSet@ objects than the number that you
    -- specified for @Limit@ in the request, the response includes a
    -- @NextMarker@ value. To list more @GeoMatchSet@ objects, submit another
    -- @ListGeoMatchSets@ request, and specify the @NextMarker@ value from the
    -- response in the @NextMarker@ value in the next request.
    ListGeoMatchSetsResponse -> Maybe Text
nextMarker :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListGeoMatchSetsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListGeoMatchSetsResponse -> ListGeoMatchSetsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListGeoMatchSetsResponse -> ListGeoMatchSetsResponse -> Bool
$c/= :: ListGeoMatchSetsResponse -> ListGeoMatchSetsResponse -> Bool
== :: ListGeoMatchSetsResponse -> ListGeoMatchSetsResponse -> Bool
$c== :: ListGeoMatchSetsResponse -> ListGeoMatchSetsResponse -> Bool
Prelude.Eq, ReadPrec [ListGeoMatchSetsResponse]
ReadPrec ListGeoMatchSetsResponse
Int -> ReadS ListGeoMatchSetsResponse
ReadS [ListGeoMatchSetsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListGeoMatchSetsResponse]
$creadListPrec :: ReadPrec [ListGeoMatchSetsResponse]
readPrec :: ReadPrec ListGeoMatchSetsResponse
$creadPrec :: ReadPrec ListGeoMatchSetsResponse
readList :: ReadS [ListGeoMatchSetsResponse]
$creadList :: ReadS [ListGeoMatchSetsResponse]
readsPrec :: Int -> ReadS ListGeoMatchSetsResponse
$creadsPrec :: Int -> ReadS ListGeoMatchSetsResponse
Prelude.Read, Int -> ListGeoMatchSetsResponse -> ShowS
[ListGeoMatchSetsResponse] -> ShowS
ListGeoMatchSetsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListGeoMatchSetsResponse] -> ShowS
$cshowList :: [ListGeoMatchSetsResponse] -> ShowS
show :: ListGeoMatchSetsResponse -> String
$cshow :: ListGeoMatchSetsResponse -> String
showsPrec :: Int -> ListGeoMatchSetsResponse -> ShowS
$cshowsPrec :: Int -> ListGeoMatchSetsResponse -> ShowS
Prelude.Show, forall x.
Rep ListGeoMatchSetsResponse x -> ListGeoMatchSetsResponse
forall x.
ListGeoMatchSetsResponse -> Rep ListGeoMatchSetsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListGeoMatchSetsResponse x -> ListGeoMatchSetsResponse
$cfrom :: forall x.
ListGeoMatchSetsResponse -> Rep ListGeoMatchSetsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListGeoMatchSetsResponse' 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:
--
-- 'geoMatchSets', 'listGeoMatchSetsResponse_geoMatchSets' - An array of GeoMatchSetSummary objects.
--
-- 'nextMarker', 'listGeoMatchSetsResponse_nextMarker' - If you have more @GeoMatchSet@ objects than the number that you
-- specified for @Limit@ in the request, the response includes a
-- @NextMarker@ value. To list more @GeoMatchSet@ objects, submit another
-- @ListGeoMatchSets@ request, and specify the @NextMarker@ value from the
-- response in the @NextMarker@ value in the next request.
--
-- 'httpStatus', 'listGeoMatchSetsResponse_httpStatus' - The response's http status code.
newListGeoMatchSetsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListGeoMatchSetsResponse
newListGeoMatchSetsResponse :: Int -> ListGeoMatchSetsResponse
newListGeoMatchSetsResponse Int
pHttpStatus_ =
  ListGeoMatchSetsResponse'
    { $sel:geoMatchSets:ListGeoMatchSetsResponse' :: Maybe [GeoMatchSetSummary]
geoMatchSets =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextMarker:ListGeoMatchSetsResponse' :: Maybe Text
nextMarker = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListGeoMatchSetsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | An array of GeoMatchSetSummary objects.
listGeoMatchSetsResponse_geoMatchSets :: Lens.Lens' ListGeoMatchSetsResponse (Prelude.Maybe [GeoMatchSetSummary])
listGeoMatchSetsResponse_geoMatchSets :: Lens' ListGeoMatchSetsResponse (Maybe [GeoMatchSetSummary])
listGeoMatchSetsResponse_geoMatchSets = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeoMatchSetsResponse' {Maybe [GeoMatchSetSummary]
geoMatchSets :: Maybe [GeoMatchSetSummary]
$sel:geoMatchSets:ListGeoMatchSetsResponse' :: ListGeoMatchSetsResponse -> Maybe [GeoMatchSetSummary]
geoMatchSets} -> Maybe [GeoMatchSetSummary]
geoMatchSets) (\s :: ListGeoMatchSetsResponse
s@ListGeoMatchSetsResponse' {} Maybe [GeoMatchSetSummary]
a -> ListGeoMatchSetsResponse
s {$sel:geoMatchSets:ListGeoMatchSetsResponse' :: Maybe [GeoMatchSetSummary]
geoMatchSets = Maybe [GeoMatchSetSummary]
a} :: ListGeoMatchSetsResponse) 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

-- | If you have more @GeoMatchSet@ objects than the number that you
-- specified for @Limit@ in the request, the response includes a
-- @NextMarker@ value. To list more @GeoMatchSet@ objects, submit another
-- @ListGeoMatchSets@ request, and specify the @NextMarker@ value from the
-- response in the @NextMarker@ value in the next request.
listGeoMatchSetsResponse_nextMarker :: Lens.Lens' ListGeoMatchSetsResponse (Prelude.Maybe Prelude.Text)
listGeoMatchSetsResponse_nextMarker :: Lens' ListGeoMatchSetsResponse (Maybe Text)
listGeoMatchSetsResponse_nextMarker = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeoMatchSetsResponse' {Maybe Text
nextMarker :: Maybe Text
$sel:nextMarker:ListGeoMatchSetsResponse' :: ListGeoMatchSetsResponse -> Maybe Text
nextMarker} -> Maybe Text
nextMarker) (\s :: ListGeoMatchSetsResponse
s@ListGeoMatchSetsResponse' {} Maybe Text
a -> ListGeoMatchSetsResponse
s {$sel:nextMarker:ListGeoMatchSetsResponse' :: Maybe Text
nextMarker = Maybe Text
a} :: ListGeoMatchSetsResponse)

-- | The response's http status code.
listGeoMatchSetsResponse_httpStatus :: Lens.Lens' ListGeoMatchSetsResponse Prelude.Int
listGeoMatchSetsResponse_httpStatus :: Lens' ListGeoMatchSetsResponse Int
listGeoMatchSetsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListGeoMatchSetsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListGeoMatchSetsResponse' :: ListGeoMatchSetsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListGeoMatchSetsResponse
s@ListGeoMatchSetsResponse' {} Int
a -> ListGeoMatchSetsResponse
s {$sel:httpStatus:ListGeoMatchSetsResponse' :: Int
httpStatus = Int
a} :: ListGeoMatchSetsResponse)

instance Prelude.NFData ListGeoMatchSetsResponse where
  rnf :: ListGeoMatchSetsResponse -> ()
rnf ListGeoMatchSetsResponse' {Int
Maybe [GeoMatchSetSummary]
Maybe Text
httpStatus :: Int
nextMarker :: Maybe Text
geoMatchSets :: Maybe [GeoMatchSetSummary]
$sel:httpStatus:ListGeoMatchSetsResponse' :: ListGeoMatchSetsResponse -> Int
$sel:nextMarker:ListGeoMatchSetsResponse' :: ListGeoMatchSetsResponse -> Maybe Text
$sel:geoMatchSets:ListGeoMatchSetsResponse' :: ListGeoMatchSetsResponse -> Maybe [GeoMatchSetSummary]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [GeoMatchSetSummary]
geoMatchSets
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextMarker
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus