{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

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

-- |
-- Module      : Amazonka.FSx.Types.DeleteOpenZFSVolumeOption
-- 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.FSx.Types.DeleteOpenZFSVolumeOption
  ( DeleteOpenZFSVolumeOption
      ( ..,
        DeleteOpenZFSVolumeOption_DELETE_CHILD_VOLUMES_AND_SNAPSHOTS
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype DeleteOpenZFSVolumeOption = DeleteOpenZFSVolumeOption'
  { DeleteOpenZFSVolumeOption -> Text
fromDeleteOpenZFSVolumeOption ::
      Data.Text
  }
  deriving stock
    ( Int -> DeleteOpenZFSVolumeOption -> ShowS
[DeleteOpenZFSVolumeOption] -> ShowS
DeleteOpenZFSVolumeOption -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteOpenZFSVolumeOption] -> ShowS
$cshowList :: [DeleteOpenZFSVolumeOption] -> ShowS
show :: DeleteOpenZFSVolumeOption -> String
$cshow :: DeleteOpenZFSVolumeOption -> String
showsPrec :: Int -> DeleteOpenZFSVolumeOption -> ShowS
$cshowsPrec :: Int -> DeleteOpenZFSVolumeOption -> ShowS
Prelude.Show,
      ReadPrec [DeleteOpenZFSVolumeOption]
ReadPrec DeleteOpenZFSVolumeOption
Int -> ReadS DeleteOpenZFSVolumeOption
ReadS [DeleteOpenZFSVolumeOption]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteOpenZFSVolumeOption]
$creadListPrec :: ReadPrec [DeleteOpenZFSVolumeOption]
readPrec :: ReadPrec DeleteOpenZFSVolumeOption
$creadPrec :: ReadPrec DeleteOpenZFSVolumeOption
readList :: ReadS [DeleteOpenZFSVolumeOption]
$creadList :: ReadS [DeleteOpenZFSVolumeOption]
readsPrec :: Int -> ReadS DeleteOpenZFSVolumeOption
$creadsPrec :: Int -> ReadS DeleteOpenZFSVolumeOption
Prelude.Read,
      DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
$c/= :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
== :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
$c== :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
Prelude.Eq,
      Eq DeleteOpenZFSVolumeOption
DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Ordering
DeleteOpenZFSVolumeOption
-> DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: DeleteOpenZFSVolumeOption
-> DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption
$cmin :: DeleteOpenZFSVolumeOption
-> DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption
max :: DeleteOpenZFSVolumeOption
-> DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption
$cmax :: DeleteOpenZFSVolumeOption
-> DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption
>= :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
$c>= :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
> :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
$c> :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
<= :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
$c<= :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
< :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
$c< :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Bool
compare :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Ordering
$ccompare :: DeleteOpenZFSVolumeOption -> DeleteOpenZFSVolumeOption -> Ordering
Prelude.Ord,
      forall x.
Rep DeleteOpenZFSVolumeOption x -> DeleteOpenZFSVolumeOption
forall x.
DeleteOpenZFSVolumeOption -> Rep DeleteOpenZFSVolumeOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteOpenZFSVolumeOption x -> DeleteOpenZFSVolumeOption
$cfrom :: forall x.
DeleteOpenZFSVolumeOption -> Rep DeleteOpenZFSVolumeOption x
Prelude.Generic
    )
  deriving newtype
    ( Eq DeleteOpenZFSVolumeOption
Int -> DeleteOpenZFSVolumeOption -> Int
DeleteOpenZFSVolumeOption -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DeleteOpenZFSVolumeOption -> Int
$chash :: DeleteOpenZFSVolumeOption -> Int
hashWithSalt :: Int -> DeleteOpenZFSVolumeOption -> Int
$chashWithSalt :: Int -> DeleteOpenZFSVolumeOption -> Int
Prelude.Hashable,
      DeleteOpenZFSVolumeOption -> ()
forall a. (a -> ()) -> NFData a
rnf :: DeleteOpenZFSVolumeOption -> ()
$crnf :: DeleteOpenZFSVolumeOption -> ()
Prelude.NFData,
      Text -> Either String DeleteOpenZFSVolumeOption
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DeleteOpenZFSVolumeOption
$cfromText :: Text -> Either String DeleteOpenZFSVolumeOption
Data.FromText,
      DeleteOpenZFSVolumeOption -> Text
forall a. (a -> Text) -> ToText a
toText :: DeleteOpenZFSVolumeOption -> Text
$ctoText :: DeleteOpenZFSVolumeOption -> Text
Data.ToText,
      DeleteOpenZFSVolumeOption -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DeleteOpenZFSVolumeOption -> ByteString
$ctoBS :: DeleteOpenZFSVolumeOption -> ByteString
Data.ToByteString,
      DeleteOpenZFSVolumeOption -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DeleteOpenZFSVolumeOption -> ByteStringBuilder
$cbuild :: DeleteOpenZFSVolumeOption -> ByteStringBuilder
Data.ToLog,
      HeaderName -> DeleteOpenZFSVolumeOption -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DeleteOpenZFSVolumeOption -> [Header]
$ctoHeader :: HeaderName -> DeleteOpenZFSVolumeOption -> [Header]
Data.ToHeader,
      DeleteOpenZFSVolumeOption -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DeleteOpenZFSVolumeOption -> QueryString
$ctoQuery :: DeleteOpenZFSVolumeOption -> QueryString
Data.ToQuery,
      Value -> Parser [DeleteOpenZFSVolumeOption]
Value -> Parser DeleteOpenZFSVolumeOption
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DeleteOpenZFSVolumeOption]
$cparseJSONList :: Value -> Parser [DeleteOpenZFSVolumeOption]
parseJSON :: Value -> Parser DeleteOpenZFSVolumeOption
$cparseJSON :: Value -> Parser DeleteOpenZFSVolumeOption
Data.FromJSON,
      FromJSONKeyFunction [DeleteOpenZFSVolumeOption]
FromJSONKeyFunction DeleteOpenZFSVolumeOption
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DeleteOpenZFSVolumeOption]
$cfromJSONKeyList :: FromJSONKeyFunction [DeleteOpenZFSVolumeOption]
fromJSONKey :: FromJSONKeyFunction DeleteOpenZFSVolumeOption
$cfromJSONKey :: FromJSONKeyFunction DeleteOpenZFSVolumeOption
Data.FromJSONKey,
      [DeleteOpenZFSVolumeOption] -> Encoding
[DeleteOpenZFSVolumeOption] -> Value
DeleteOpenZFSVolumeOption -> Encoding
DeleteOpenZFSVolumeOption -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DeleteOpenZFSVolumeOption] -> Encoding
$ctoEncodingList :: [DeleteOpenZFSVolumeOption] -> Encoding
toJSONList :: [DeleteOpenZFSVolumeOption] -> Value
$ctoJSONList :: [DeleteOpenZFSVolumeOption] -> Value
toEncoding :: DeleteOpenZFSVolumeOption -> Encoding
$ctoEncoding :: DeleteOpenZFSVolumeOption -> Encoding
toJSON :: DeleteOpenZFSVolumeOption -> Value
$ctoJSON :: DeleteOpenZFSVolumeOption -> Value
Data.ToJSON,
      ToJSONKeyFunction [DeleteOpenZFSVolumeOption]
ToJSONKeyFunction DeleteOpenZFSVolumeOption
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DeleteOpenZFSVolumeOption]
$ctoJSONKeyList :: ToJSONKeyFunction [DeleteOpenZFSVolumeOption]
toJSONKey :: ToJSONKeyFunction DeleteOpenZFSVolumeOption
$ctoJSONKey :: ToJSONKeyFunction DeleteOpenZFSVolumeOption
Data.ToJSONKey,
      [Node] -> Either String DeleteOpenZFSVolumeOption
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DeleteOpenZFSVolumeOption
$cparseXML :: [Node] -> Either String DeleteOpenZFSVolumeOption
Data.FromXML,
      DeleteOpenZFSVolumeOption -> XML
forall a. (a -> XML) -> ToXML a
toXML :: DeleteOpenZFSVolumeOption -> XML
$ctoXML :: DeleteOpenZFSVolumeOption -> XML
Data.ToXML
    )

pattern DeleteOpenZFSVolumeOption_DELETE_CHILD_VOLUMES_AND_SNAPSHOTS :: DeleteOpenZFSVolumeOption
pattern $bDeleteOpenZFSVolumeOption_DELETE_CHILD_VOLUMES_AND_SNAPSHOTS :: DeleteOpenZFSVolumeOption
$mDeleteOpenZFSVolumeOption_DELETE_CHILD_VOLUMES_AND_SNAPSHOTS :: forall {r}.
DeleteOpenZFSVolumeOption -> ((# #) -> r) -> ((# #) -> r) -> r
DeleteOpenZFSVolumeOption_DELETE_CHILD_VOLUMES_AND_SNAPSHOTS = DeleteOpenZFSVolumeOption' "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"

{-# COMPLETE
  DeleteOpenZFSVolumeOption_DELETE_CHILD_VOLUMES_AND_SNAPSHOTS,
  DeleteOpenZFSVolumeOption'
  #-}