{-# 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.MechanicalTurk.DisassociateQualificationFromWorker
-- 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)
--
-- The @DisassociateQualificationFromWorker@ revokes a previously granted
-- Qualification from a user.
--
-- You can provide a text message explaining why the Qualification was
-- revoked. The user who had the Qualification can see this message.
module Amazonka.MechanicalTurk.DisassociateQualificationFromWorker
  ( -- * Creating a Request
    DisassociateQualificationFromWorker (..),
    newDisassociateQualificationFromWorker,

    -- * Request Lenses
    disassociateQualificationFromWorker_reason,
    disassociateQualificationFromWorker_workerId,
    disassociateQualificationFromWorker_qualificationTypeId,

    -- * Destructuring the Response
    DisassociateQualificationFromWorkerResponse (..),
    newDisassociateQualificationFromWorkerResponse,

    -- * Response Lenses
    disassociateQualificationFromWorkerResponse_httpStatus,
  )
where

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

-- | /See:/ 'newDisassociateQualificationFromWorker' smart constructor.
data DisassociateQualificationFromWorker = DisassociateQualificationFromWorker'
  { -- | A text message that explains why the Qualification was revoked. The user
    -- who had the Qualification sees this message.
    DisassociateQualificationFromWorker -> Maybe Text
reason :: Prelude.Maybe Prelude.Text,
    -- | The ID of the Worker who possesses the Qualification to be revoked.
    DisassociateQualificationFromWorker -> Text
workerId :: Prelude.Text,
    -- | The ID of the Qualification type of the Qualification to be revoked.
    DisassociateQualificationFromWorker -> Text
qualificationTypeId :: Prelude.Text
  }
  deriving (DisassociateQualificationFromWorker
-> DisassociateQualificationFromWorker -> Bool
(DisassociateQualificationFromWorker
 -> DisassociateQualificationFromWorker -> Bool)
-> (DisassociateQualificationFromWorker
    -> DisassociateQualificationFromWorker -> Bool)
-> Eq DisassociateQualificationFromWorker
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DisassociateQualificationFromWorker
-> DisassociateQualificationFromWorker -> Bool
$c/= :: DisassociateQualificationFromWorker
-> DisassociateQualificationFromWorker -> Bool
== :: DisassociateQualificationFromWorker
-> DisassociateQualificationFromWorker -> Bool
$c== :: DisassociateQualificationFromWorker
-> DisassociateQualificationFromWorker -> Bool
Prelude.Eq, ReadPrec [DisassociateQualificationFromWorker]
ReadPrec DisassociateQualificationFromWorker
Int -> ReadS DisassociateQualificationFromWorker
ReadS [DisassociateQualificationFromWorker]
(Int -> ReadS DisassociateQualificationFromWorker)
-> ReadS [DisassociateQualificationFromWorker]
-> ReadPrec DisassociateQualificationFromWorker
-> ReadPrec [DisassociateQualificationFromWorker]
-> Read DisassociateQualificationFromWorker
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DisassociateQualificationFromWorker]
$creadListPrec :: ReadPrec [DisassociateQualificationFromWorker]
readPrec :: ReadPrec DisassociateQualificationFromWorker
$creadPrec :: ReadPrec DisassociateQualificationFromWorker
readList :: ReadS [DisassociateQualificationFromWorker]
$creadList :: ReadS [DisassociateQualificationFromWorker]
readsPrec :: Int -> ReadS DisassociateQualificationFromWorker
$creadsPrec :: Int -> ReadS DisassociateQualificationFromWorker
Prelude.Read, Int -> DisassociateQualificationFromWorker -> ShowS
[DisassociateQualificationFromWorker] -> ShowS
DisassociateQualificationFromWorker -> String
(Int -> DisassociateQualificationFromWorker -> ShowS)
-> (DisassociateQualificationFromWorker -> String)
-> ([DisassociateQualificationFromWorker] -> ShowS)
-> Show DisassociateQualificationFromWorker
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DisassociateQualificationFromWorker] -> ShowS
$cshowList :: [DisassociateQualificationFromWorker] -> ShowS
show :: DisassociateQualificationFromWorker -> String
$cshow :: DisassociateQualificationFromWorker -> String
showsPrec :: Int -> DisassociateQualificationFromWorker -> ShowS
$cshowsPrec :: Int -> DisassociateQualificationFromWorker -> ShowS
Prelude.Show, (forall x.
 DisassociateQualificationFromWorker
 -> Rep DisassociateQualificationFromWorker x)
-> (forall x.
    Rep DisassociateQualificationFromWorker x
    -> DisassociateQualificationFromWorker)
-> Generic DisassociateQualificationFromWorker
forall x.
Rep DisassociateQualificationFromWorker x
-> DisassociateQualificationFromWorker
forall x.
DisassociateQualificationFromWorker
-> Rep DisassociateQualificationFromWorker x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DisassociateQualificationFromWorker x
-> DisassociateQualificationFromWorker
$cfrom :: forall x.
DisassociateQualificationFromWorker
-> Rep DisassociateQualificationFromWorker x
Prelude.Generic)

-- |
-- Create a value of 'DisassociateQualificationFromWorker' 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:
--
-- 'reason', 'disassociateQualificationFromWorker_reason' - A text message that explains why the Qualification was revoked. The user
-- who had the Qualification sees this message.
--
-- 'workerId', 'disassociateQualificationFromWorker_workerId' - The ID of the Worker who possesses the Qualification to be revoked.
--
-- 'qualificationTypeId', 'disassociateQualificationFromWorker_qualificationTypeId' - The ID of the Qualification type of the Qualification to be revoked.
newDisassociateQualificationFromWorker ::
  -- | 'workerId'
  Prelude.Text ->
  -- | 'qualificationTypeId'
  Prelude.Text ->
  DisassociateQualificationFromWorker
newDisassociateQualificationFromWorker :: Text -> Text -> DisassociateQualificationFromWorker
newDisassociateQualificationFromWorker
  Text
pWorkerId_
  Text
pQualificationTypeId_ =
    DisassociateQualificationFromWorker' :: Maybe Text -> Text -> Text -> DisassociateQualificationFromWorker
DisassociateQualificationFromWorker'
      { $sel:reason:DisassociateQualificationFromWorker' :: Maybe Text
reason =
          Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:workerId:DisassociateQualificationFromWorker' :: Text
workerId = Text
pWorkerId_,
        $sel:qualificationTypeId:DisassociateQualificationFromWorker' :: Text
qualificationTypeId =
          Text
pQualificationTypeId_
      }

-- | A text message that explains why the Qualification was revoked. The user
-- who had the Qualification sees this message.
disassociateQualificationFromWorker_reason :: Lens.Lens' DisassociateQualificationFromWorker (Prelude.Maybe Prelude.Text)
disassociateQualificationFromWorker_reason :: (Maybe Text -> f (Maybe Text))
-> DisassociateQualificationFromWorker
-> f DisassociateQualificationFromWorker
disassociateQualificationFromWorker_reason = (DisassociateQualificationFromWorker -> Maybe Text)
-> (DisassociateQualificationFromWorker
    -> Maybe Text -> DisassociateQualificationFromWorker)
-> Lens
     DisassociateQualificationFromWorker
     DisassociateQualificationFromWorker
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateQualificationFromWorker' {Maybe Text
reason :: Maybe Text
$sel:reason:DisassociateQualificationFromWorker' :: DisassociateQualificationFromWorker -> Maybe Text
reason} -> Maybe Text
reason) (\s :: DisassociateQualificationFromWorker
s@DisassociateQualificationFromWorker' {} Maybe Text
a -> DisassociateQualificationFromWorker
s {$sel:reason:DisassociateQualificationFromWorker' :: Maybe Text
reason = Maybe Text
a} :: DisassociateQualificationFromWorker)

-- | The ID of the Worker who possesses the Qualification to be revoked.
disassociateQualificationFromWorker_workerId :: Lens.Lens' DisassociateQualificationFromWorker Prelude.Text
disassociateQualificationFromWorker_workerId :: (Text -> f Text)
-> DisassociateQualificationFromWorker
-> f DisassociateQualificationFromWorker
disassociateQualificationFromWorker_workerId = (DisassociateQualificationFromWorker -> Text)
-> (DisassociateQualificationFromWorker
    -> Text -> DisassociateQualificationFromWorker)
-> Lens
     DisassociateQualificationFromWorker
     DisassociateQualificationFromWorker
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateQualificationFromWorker' {Text
workerId :: Text
$sel:workerId:DisassociateQualificationFromWorker' :: DisassociateQualificationFromWorker -> Text
workerId} -> Text
workerId) (\s :: DisassociateQualificationFromWorker
s@DisassociateQualificationFromWorker' {} Text
a -> DisassociateQualificationFromWorker
s {$sel:workerId:DisassociateQualificationFromWorker' :: Text
workerId = Text
a} :: DisassociateQualificationFromWorker)

-- | The ID of the Qualification type of the Qualification to be revoked.
disassociateQualificationFromWorker_qualificationTypeId :: Lens.Lens' DisassociateQualificationFromWorker Prelude.Text
disassociateQualificationFromWorker_qualificationTypeId :: (Text -> f Text)
-> DisassociateQualificationFromWorker
-> f DisassociateQualificationFromWorker
disassociateQualificationFromWorker_qualificationTypeId = (DisassociateQualificationFromWorker -> Text)
-> (DisassociateQualificationFromWorker
    -> Text -> DisassociateQualificationFromWorker)
-> Lens
     DisassociateQualificationFromWorker
     DisassociateQualificationFromWorker
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateQualificationFromWorker' {Text
qualificationTypeId :: Text
$sel:qualificationTypeId:DisassociateQualificationFromWorker' :: DisassociateQualificationFromWorker -> Text
qualificationTypeId} -> Text
qualificationTypeId) (\s :: DisassociateQualificationFromWorker
s@DisassociateQualificationFromWorker' {} Text
a -> DisassociateQualificationFromWorker
s {$sel:qualificationTypeId:DisassociateQualificationFromWorker' :: Text
qualificationTypeId = Text
a} :: DisassociateQualificationFromWorker)

instance
  Core.AWSRequest
    DisassociateQualificationFromWorker
  where
  type
    AWSResponse DisassociateQualificationFromWorker =
      DisassociateQualificationFromWorkerResponse
  request :: DisassociateQualificationFromWorker
-> Request DisassociateQualificationFromWorker
request = Service
-> DisassociateQualificationFromWorker
-> Request DisassociateQualificationFromWorker
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DisassociateQualificationFromWorker
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DisassociateQualificationFromWorker)))
response =
    (Int
 -> ResponseHeaders
 -> ()
 -> Either String (AWSResponse DisassociateQualificationFromWorker))
-> Logger
-> Service
-> Proxy DisassociateQualificationFromWorker
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DisassociateQualificationFromWorker)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
      ( \Int
s ResponseHeaders
h ()
x ->
          Int -> DisassociateQualificationFromWorkerResponse
DisassociateQualificationFromWorkerResponse'
            (Int -> DisassociateQualificationFromWorkerResponse)
-> Either String Int
-> Either String DisassociateQualificationFromWorkerResponse
forall (f :: * -> *) a b. Functor 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
    DisassociateQualificationFromWorker

instance
  Prelude.NFData
    DisassociateQualificationFromWorker

instance
  Core.ToHeaders
    DisassociateQualificationFromWorker
  where
  toHeaders :: DisassociateQualificationFromWorker -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> DisassociateQualificationFromWorker -> 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
"MTurkRequesterServiceV20170117.DisassociateQualificationFromWorker" ::
                          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
    DisassociateQualificationFromWorker
  where
  toJSON :: DisassociateQualificationFromWorker -> Value
toJSON DisassociateQualificationFromWorker' {Maybe Text
Text
qualificationTypeId :: Text
workerId :: Text
reason :: Maybe Text
$sel:qualificationTypeId:DisassociateQualificationFromWorker' :: DisassociateQualificationFromWorker -> Text
$sel:workerId:DisassociateQualificationFromWorker' :: DisassociateQualificationFromWorker -> Text
$sel:reason:DisassociateQualificationFromWorker' :: DisassociateQualificationFromWorker -> Maybe Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"Reason" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
reason,
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"WorkerId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
workerId),
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"QualificationTypeId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
qualificationTypeId)
          ]
      )

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

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

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

-- |
-- Create a value of 'DisassociateQualificationFromWorkerResponse' 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:
--
-- 'httpStatus', 'disassociateQualificationFromWorkerResponse_httpStatus' - The response's http status code.
newDisassociateQualificationFromWorkerResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DisassociateQualificationFromWorkerResponse
newDisassociateQualificationFromWorkerResponse :: Int -> DisassociateQualificationFromWorkerResponse
newDisassociateQualificationFromWorkerResponse
  Int
pHttpStatus_ =
    DisassociateQualificationFromWorkerResponse' :: Int -> DisassociateQualificationFromWorkerResponse
DisassociateQualificationFromWorkerResponse'
      { $sel:httpStatus:DisassociateQualificationFromWorkerResponse' :: Int
httpStatus =
          Int
pHttpStatus_
      }

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

instance
  Prelude.NFData
    DisassociateQualificationFromWorkerResponse