{-# 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.AlexaBusiness.Types.EndOfMeetingReminderType
-- 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)
module Amazonka.AlexaBusiness.Types.EndOfMeetingReminderType
  ( EndOfMeetingReminderType
      ( ..,
        EndOfMeetingReminderType_ANNOUNCEMENT_TIME_CHECK,
        EndOfMeetingReminderType_ANNOUNCEMENT_VARIABLE_TIME_LEFT,
        EndOfMeetingReminderType_CHIME,
        EndOfMeetingReminderType_KNOCK
      ),
  )
where

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

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

pattern EndOfMeetingReminderType_ANNOUNCEMENT_TIME_CHECK :: EndOfMeetingReminderType
pattern $bEndOfMeetingReminderType_ANNOUNCEMENT_TIME_CHECK :: EndOfMeetingReminderType
$mEndOfMeetingReminderType_ANNOUNCEMENT_TIME_CHECK :: forall r.
EndOfMeetingReminderType -> (Void# -> r) -> (Void# -> r) -> r
EndOfMeetingReminderType_ANNOUNCEMENT_TIME_CHECK = EndOfMeetingReminderType' "ANNOUNCEMENT_TIME_CHECK"

pattern EndOfMeetingReminderType_ANNOUNCEMENT_VARIABLE_TIME_LEFT :: EndOfMeetingReminderType
pattern $bEndOfMeetingReminderType_ANNOUNCEMENT_VARIABLE_TIME_LEFT :: EndOfMeetingReminderType
$mEndOfMeetingReminderType_ANNOUNCEMENT_VARIABLE_TIME_LEFT :: forall r.
EndOfMeetingReminderType -> (Void# -> r) -> (Void# -> r) -> r
EndOfMeetingReminderType_ANNOUNCEMENT_VARIABLE_TIME_LEFT = EndOfMeetingReminderType' "ANNOUNCEMENT_VARIABLE_TIME_LEFT"

pattern EndOfMeetingReminderType_CHIME :: EndOfMeetingReminderType
pattern $bEndOfMeetingReminderType_CHIME :: EndOfMeetingReminderType
$mEndOfMeetingReminderType_CHIME :: forall r.
EndOfMeetingReminderType -> (Void# -> r) -> (Void# -> r) -> r
EndOfMeetingReminderType_CHIME = EndOfMeetingReminderType' "CHIME"

pattern EndOfMeetingReminderType_KNOCK :: EndOfMeetingReminderType
pattern $bEndOfMeetingReminderType_KNOCK :: EndOfMeetingReminderType
$mEndOfMeetingReminderType_KNOCK :: forall r.
EndOfMeetingReminderType -> (Void# -> r) -> (Void# -> r) -> r
EndOfMeetingReminderType_KNOCK = EndOfMeetingReminderType' "KNOCK"

{-# COMPLETE
  EndOfMeetingReminderType_ANNOUNCEMENT_TIME_CHECK,
  EndOfMeetingReminderType_ANNOUNCEMENT_VARIABLE_TIME_LEFT,
  EndOfMeetingReminderType_CHIME,
  EndOfMeetingReminderType_KNOCK,
  EndOfMeetingReminderType'
  #-}