{-# 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.StorageGateway.UpdateSMBFileShareVisibility
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Controls whether the shares on an S3 File Gateway are visible in a net
-- view or browse list. The operation is only supported for S3 File
-- Gateways.
module Amazonka.StorageGateway.UpdateSMBFileShareVisibility
  ( -- * Creating a Request
    UpdateSMBFileShareVisibility (..),
    newUpdateSMBFileShareVisibility,

    -- * Request Lenses
    updateSMBFileShareVisibility_gatewayARN,
    updateSMBFileShareVisibility_fileSharesVisible,

    -- * Destructuring the Response
    UpdateSMBFileShareVisibilityResponse (..),
    newUpdateSMBFileShareVisibilityResponse,

    -- * Response Lenses
    updateSMBFileShareVisibilityResponse_gatewayARN,
    updateSMBFileShareVisibilityResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.StorageGateway.Types

-- | /See:/ 'newUpdateSMBFileShareVisibility' smart constructor.
data UpdateSMBFileShareVisibility = UpdateSMBFileShareVisibility'
  { UpdateSMBFileShareVisibility -> Text
gatewayARN :: Prelude.Text,
    -- | The shares on this gateway appear when listing shares.
    UpdateSMBFileShareVisibility -> Bool
fileSharesVisible :: Prelude.Bool
  }
  deriving (UpdateSMBFileShareVisibility
-> UpdateSMBFileShareVisibility -> Bool
(UpdateSMBFileShareVisibility
 -> UpdateSMBFileShareVisibility -> Bool)
-> (UpdateSMBFileShareVisibility
    -> UpdateSMBFileShareVisibility -> Bool)
-> Eq UpdateSMBFileShareVisibility
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateSMBFileShareVisibility
-> UpdateSMBFileShareVisibility -> Bool
$c/= :: UpdateSMBFileShareVisibility
-> UpdateSMBFileShareVisibility -> Bool
== :: UpdateSMBFileShareVisibility
-> UpdateSMBFileShareVisibility -> Bool
$c== :: UpdateSMBFileShareVisibility
-> UpdateSMBFileShareVisibility -> Bool
Prelude.Eq, ReadPrec [UpdateSMBFileShareVisibility]
ReadPrec UpdateSMBFileShareVisibility
Int -> ReadS UpdateSMBFileShareVisibility
ReadS [UpdateSMBFileShareVisibility]
(Int -> ReadS UpdateSMBFileShareVisibility)
-> ReadS [UpdateSMBFileShareVisibility]
-> ReadPrec UpdateSMBFileShareVisibility
-> ReadPrec [UpdateSMBFileShareVisibility]
-> Read UpdateSMBFileShareVisibility
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateSMBFileShareVisibility]
$creadListPrec :: ReadPrec [UpdateSMBFileShareVisibility]
readPrec :: ReadPrec UpdateSMBFileShareVisibility
$creadPrec :: ReadPrec UpdateSMBFileShareVisibility
readList :: ReadS [UpdateSMBFileShareVisibility]
$creadList :: ReadS [UpdateSMBFileShareVisibility]
readsPrec :: Int -> ReadS UpdateSMBFileShareVisibility
$creadsPrec :: Int -> ReadS UpdateSMBFileShareVisibility
Prelude.Read, Int -> UpdateSMBFileShareVisibility -> ShowS
[UpdateSMBFileShareVisibility] -> ShowS
UpdateSMBFileShareVisibility -> String
(Int -> UpdateSMBFileShareVisibility -> ShowS)
-> (UpdateSMBFileShareVisibility -> String)
-> ([UpdateSMBFileShareVisibility] -> ShowS)
-> Show UpdateSMBFileShareVisibility
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateSMBFileShareVisibility] -> ShowS
$cshowList :: [UpdateSMBFileShareVisibility] -> ShowS
show :: UpdateSMBFileShareVisibility -> String
$cshow :: UpdateSMBFileShareVisibility -> String
showsPrec :: Int -> UpdateSMBFileShareVisibility -> ShowS
$cshowsPrec :: Int -> UpdateSMBFileShareVisibility -> ShowS
Prelude.Show, (forall x.
 UpdateSMBFileShareVisibility -> Rep UpdateSMBFileShareVisibility x)
-> (forall x.
    Rep UpdateSMBFileShareVisibility x -> UpdateSMBFileShareVisibility)
-> Generic UpdateSMBFileShareVisibility
forall x.
Rep UpdateSMBFileShareVisibility x -> UpdateSMBFileShareVisibility
forall x.
UpdateSMBFileShareVisibility -> Rep UpdateSMBFileShareVisibility x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateSMBFileShareVisibility x -> UpdateSMBFileShareVisibility
$cfrom :: forall x.
UpdateSMBFileShareVisibility -> Rep UpdateSMBFileShareVisibility x
Prelude.Generic)

-- |
-- Create a value of 'UpdateSMBFileShareVisibility' 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:
--
-- 'gatewayARN', 'updateSMBFileShareVisibility_gatewayARN' - Undocumented member.
--
-- 'fileSharesVisible', 'updateSMBFileShareVisibility_fileSharesVisible' - The shares on this gateway appear when listing shares.
newUpdateSMBFileShareVisibility ::
  -- | 'gatewayARN'
  Prelude.Text ->
  -- | 'fileSharesVisible'
  Prelude.Bool ->
  UpdateSMBFileShareVisibility
newUpdateSMBFileShareVisibility :: Text -> Bool -> UpdateSMBFileShareVisibility
newUpdateSMBFileShareVisibility
  Text
pGatewayARN_
  Bool
pFileSharesVisible_ =
    UpdateSMBFileShareVisibility' :: Text -> Bool -> UpdateSMBFileShareVisibility
UpdateSMBFileShareVisibility'
      { $sel:gatewayARN:UpdateSMBFileShareVisibility' :: Text
gatewayARN =
          Text
pGatewayARN_,
        $sel:fileSharesVisible:UpdateSMBFileShareVisibility' :: Bool
fileSharesVisible = Bool
pFileSharesVisible_
      }

-- | Undocumented member.
updateSMBFileShareVisibility_gatewayARN :: Lens.Lens' UpdateSMBFileShareVisibility Prelude.Text
updateSMBFileShareVisibility_gatewayARN :: (Text -> f Text)
-> UpdateSMBFileShareVisibility -> f UpdateSMBFileShareVisibility
updateSMBFileShareVisibility_gatewayARN = (UpdateSMBFileShareVisibility -> Text)
-> (UpdateSMBFileShareVisibility
    -> Text -> UpdateSMBFileShareVisibility)
-> Lens
     UpdateSMBFileShareVisibility UpdateSMBFileShareVisibility Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSMBFileShareVisibility' {Text
gatewayARN :: Text
$sel:gatewayARN:UpdateSMBFileShareVisibility' :: UpdateSMBFileShareVisibility -> Text
gatewayARN} -> Text
gatewayARN) (\s :: UpdateSMBFileShareVisibility
s@UpdateSMBFileShareVisibility' {} Text
a -> UpdateSMBFileShareVisibility
s {$sel:gatewayARN:UpdateSMBFileShareVisibility' :: Text
gatewayARN = Text
a} :: UpdateSMBFileShareVisibility)

-- | The shares on this gateway appear when listing shares.
updateSMBFileShareVisibility_fileSharesVisible :: Lens.Lens' UpdateSMBFileShareVisibility Prelude.Bool
updateSMBFileShareVisibility_fileSharesVisible :: (Bool -> f Bool)
-> UpdateSMBFileShareVisibility -> f UpdateSMBFileShareVisibility
updateSMBFileShareVisibility_fileSharesVisible = (UpdateSMBFileShareVisibility -> Bool)
-> (UpdateSMBFileShareVisibility
    -> Bool -> UpdateSMBFileShareVisibility)
-> Lens
     UpdateSMBFileShareVisibility UpdateSMBFileShareVisibility Bool Bool
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSMBFileShareVisibility' {Bool
fileSharesVisible :: Bool
$sel:fileSharesVisible:UpdateSMBFileShareVisibility' :: UpdateSMBFileShareVisibility -> Bool
fileSharesVisible} -> Bool
fileSharesVisible) (\s :: UpdateSMBFileShareVisibility
s@UpdateSMBFileShareVisibility' {} Bool
a -> UpdateSMBFileShareVisibility
s {$sel:fileSharesVisible:UpdateSMBFileShareVisibility' :: Bool
fileSharesVisible = Bool
a} :: UpdateSMBFileShareVisibility)

instance Core.AWSRequest UpdateSMBFileShareVisibility where
  type
    AWSResponse UpdateSMBFileShareVisibility =
      UpdateSMBFileShareVisibilityResponse
  request :: UpdateSMBFileShareVisibility
-> Request UpdateSMBFileShareVisibility
request = Service
-> UpdateSMBFileShareVisibility
-> Request UpdateSMBFileShareVisibility
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy UpdateSMBFileShareVisibility
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateSMBFileShareVisibility)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse UpdateSMBFileShareVisibility))
-> Logger
-> Service
-> Proxy UpdateSMBFileShareVisibility
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateSMBFileShareVisibility)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe Text -> Int -> UpdateSMBFileShareVisibilityResponse
UpdateSMBFileShareVisibilityResponse'
            (Maybe Text -> Int -> UpdateSMBFileShareVisibilityResponse)
-> Either String (Maybe Text)
-> Either String (Int -> UpdateSMBFileShareVisibilityResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"GatewayARN")
            Either String (Int -> UpdateSMBFileShareVisibilityResponse)
-> Either String Int
-> Either String UpdateSMBFileShareVisibilityResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance
  Prelude.Hashable
    UpdateSMBFileShareVisibility

instance Prelude.NFData UpdateSMBFileShareVisibility

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

instance Core.ToJSON UpdateSMBFileShareVisibility where
  toJSON :: UpdateSMBFileShareVisibility -> Value
toJSON UpdateSMBFileShareVisibility' {Bool
Text
fileSharesVisible :: Bool
gatewayARN :: Text
$sel:fileSharesVisible:UpdateSMBFileShareVisibility' :: UpdateSMBFileShareVisibility -> Bool
$sel:gatewayARN:UpdateSMBFileShareVisibility' :: UpdateSMBFileShareVisibility -> Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"GatewayARN" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
gatewayARN),
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"FileSharesVisible" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Bool
fileSharesVisible)
          ]
      )

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

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

-- | /See:/ 'newUpdateSMBFileShareVisibilityResponse' smart constructor.
data UpdateSMBFileShareVisibilityResponse = UpdateSMBFileShareVisibilityResponse'
  { UpdateSMBFileShareVisibilityResponse -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    UpdateSMBFileShareVisibilityResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (UpdateSMBFileShareVisibilityResponse
-> UpdateSMBFileShareVisibilityResponse -> Bool
(UpdateSMBFileShareVisibilityResponse
 -> UpdateSMBFileShareVisibilityResponse -> Bool)
-> (UpdateSMBFileShareVisibilityResponse
    -> UpdateSMBFileShareVisibilityResponse -> Bool)
-> Eq UpdateSMBFileShareVisibilityResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateSMBFileShareVisibilityResponse
-> UpdateSMBFileShareVisibilityResponse -> Bool
$c/= :: UpdateSMBFileShareVisibilityResponse
-> UpdateSMBFileShareVisibilityResponse -> Bool
== :: UpdateSMBFileShareVisibilityResponse
-> UpdateSMBFileShareVisibilityResponse -> Bool
$c== :: UpdateSMBFileShareVisibilityResponse
-> UpdateSMBFileShareVisibilityResponse -> Bool
Prelude.Eq, ReadPrec [UpdateSMBFileShareVisibilityResponse]
ReadPrec UpdateSMBFileShareVisibilityResponse
Int -> ReadS UpdateSMBFileShareVisibilityResponse
ReadS [UpdateSMBFileShareVisibilityResponse]
(Int -> ReadS UpdateSMBFileShareVisibilityResponse)
-> ReadS [UpdateSMBFileShareVisibilityResponse]
-> ReadPrec UpdateSMBFileShareVisibilityResponse
-> ReadPrec [UpdateSMBFileShareVisibilityResponse]
-> Read UpdateSMBFileShareVisibilityResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateSMBFileShareVisibilityResponse]
$creadListPrec :: ReadPrec [UpdateSMBFileShareVisibilityResponse]
readPrec :: ReadPrec UpdateSMBFileShareVisibilityResponse
$creadPrec :: ReadPrec UpdateSMBFileShareVisibilityResponse
readList :: ReadS [UpdateSMBFileShareVisibilityResponse]
$creadList :: ReadS [UpdateSMBFileShareVisibilityResponse]
readsPrec :: Int -> ReadS UpdateSMBFileShareVisibilityResponse
$creadsPrec :: Int -> ReadS UpdateSMBFileShareVisibilityResponse
Prelude.Read, Int -> UpdateSMBFileShareVisibilityResponse -> ShowS
[UpdateSMBFileShareVisibilityResponse] -> ShowS
UpdateSMBFileShareVisibilityResponse -> String
(Int -> UpdateSMBFileShareVisibilityResponse -> ShowS)
-> (UpdateSMBFileShareVisibilityResponse -> String)
-> ([UpdateSMBFileShareVisibilityResponse] -> ShowS)
-> Show UpdateSMBFileShareVisibilityResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateSMBFileShareVisibilityResponse] -> ShowS
$cshowList :: [UpdateSMBFileShareVisibilityResponse] -> ShowS
show :: UpdateSMBFileShareVisibilityResponse -> String
$cshow :: UpdateSMBFileShareVisibilityResponse -> String
showsPrec :: Int -> UpdateSMBFileShareVisibilityResponse -> ShowS
$cshowsPrec :: Int -> UpdateSMBFileShareVisibilityResponse -> ShowS
Prelude.Show, (forall x.
 UpdateSMBFileShareVisibilityResponse
 -> Rep UpdateSMBFileShareVisibilityResponse x)
-> (forall x.
    Rep UpdateSMBFileShareVisibilityResponse x
    -> UpdateSMBFileShareVisibilityResponse)
-> Generic UpdateSMBFileShareVisibilityResponse
forall x.
Rep UpdateSMBFileShareVisibilityResponse x
-> UpdateSMBFileShareVisibilityResponse
forall x.
UpdateSMBFileShareVisibilityResponse
-> Rep UpdateSMBFileShareVisibilityResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateSMBFileShareVisibilityResponse x
-> UpdateSMBFileShareVisibilityResponse
$cfrom :: forall x.
UpdateSMBFileShareVisibilityResponse
-> Rep UpdateSMBFileShareVisibilityResponse x
Prelude.Generic)

-- |
-- Create a value of 'UpdateSMBFileShareVisibilityResponse' 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:
--
-- 'gatewayARN', 'updateSMBFileShareVisibilityResponse_gatewayARN' - Undocumented member.
--
-- 'httpStatus', 'updateSMBFileShareVisibilityResponse_httpStatus' - The response's http status code.
newUpdateSMBFileShareVisibilityResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  UpdateSMBFileShareVisibilityResponse
newUpdateSMBFileShareVisibilityResponse :: Int -> UpdateSMBFileShareVisibilityResponse
newUpdateSMBFileShareVisibilityResponse Int
pHttpStatus_ =
  UpdateSMBFileShareVisibilityResponse' :: Maybe Text -> Int -> UpdateSMBFileShareVisibilityResponse
UpdateSMBFileShareVisibilityResponse'
    { $sel:gatewayARN:UpdateSMBFileShareVisibilityResponse' :: Maybe Text
gatewayARN =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:UpdateSMBFileShareVisibilityResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Undocumented member.
updateSMBFileShareVisibilityResponse_gatewayARN :: Lens.Lens' UpdateSMBFileShareVisibilityResponse (Prelude.Maybe Prelude.Text)
updateSMBFileShareVisibilityResponse_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> UpdateSMBFileShareVisibilityResponse
-> f UpdateSMBFileShareVisibilityResponse
updateSMBFileShareVisibilityResponse_gatewayARN = (UpdateSMBFileShareVisibilityResponse -> Maybe Text)
-> (UpdateSMBFileShareVisibilityResponse
    -> Maybe Text -> UpdateSMBFileShareVisibilityResponse)
-> Lens
     UpdateSMBFileShareVisibilityResponse
     UpdateSMBFileShareVisibilityResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateSMBFileShareVisibilityResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:UpdateSMBFileShareVisibilityResponse' :: UpdateSMBFileShareVisibilityResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: UpdateSMBFileShareVisibilityResponse
s@UpdateSMBFileShareVisibilityResponse' {} Maybe Text
a -> UpdateSMBFileShareVisibilityResponse
s {$sel:gatewayARN:UpdateSMBFileShareVisibilityResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: UpdateSMBFileShareVisibilityResponse)

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

instance
  Prelude.NFData
    UpdateSMBFileShareVisibilityResponse