{-# 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.SMS.Types.AppLaunchConfigurationStatus
-- 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.SMS.Types.AppLaunchConfigurationStatus
  ( AppLaunchConfigurationStatus
      ( ..,
        AppLaunchConfigurationStatus_CONFIGURED,
        AppLaunchConfigurationStatus_NOT_CONFIGURED
      ),
  )
where

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

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

pattern AppLaunchConfigurationStatus_CONFIGURED :: AppLaunchConfigurationStatus
pattern $bAppLaunchConfigurationStatus_CONFIGURED :: AppLaunchConfigurationStatus
$mAppLaunchConfigurationStatus_CONFIGURED :: forall {r}.
AppLaunchConfigurationStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchConfigurationStatus_CONFIGURED = AppLaunchConfigurationStatus' "CONFIGURED"

pattern AppLaunchConfigurationStatus_NOT_CONFIGURED :: AppLaunchConfigurationStatus
pattern $bAppLaunchConfigurationStatus_NOT_CONFIGURED :: AppLaunchConfigurationStatus
$mAppLaunchConfigurationStatus_NOT_CONFIGURED :: forall {r}.
AppLaunchConfigurationStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchConfigurationStatus_NOT_CONFIGURED = AppLaunchConfigurationStatus' "NOT_CONFIGURED"

{-# COMPLETE
  AppLaunchConfigurationStatus_CONFIGURED,
  AppLaunchConfigurationStatus_NOT_CONFIGURED,
  AppLaunchConfigurationStatus'
  #-}