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

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

newtype AppLaunchConfigurationStatus = AppLaunchConfigurationStatus'
  { AppLaunchConfigurationStatus -> Text
fromAppLaunchConfigurationStatus ::
      Core.Text
  }
  deriving stock
    ( Int -> AppLaunchConfigurationStatus -> ShowS
[AppLaunchConfigurationStatus] -> ShowS
AppLaunchConfigurationStatus -> String
(Int -> AppLaunchConfigurationStatus -> ShowS)
-> (AppLaunchConfigurationStatus -> String)
-> ([AppLaunchConfigurationStatus] -> ShowS)
-> Show AppLaunchConfigurationStatus
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]
(Int -> ReadS AppLaunchConfigurationStatus)
-> ReadS [AppLaunchConfigurationStatus]
-> ReadPrec AppLaunchConfigurationStatus
-> ReadPrec [AppLaunchConfigurationStatus]
-> Read 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
(AppLaunchConfigurationStatus
 -> AppLaunchConfigurationStatus -> Bool)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> Bool)
-> Eq AppLaunchConfigurationStatus
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
Eq AppLaunchConfigurationStatus
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> Ordering)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> Bool)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> Bool)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> Bool)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> Bool)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> AppLaunchConfigurationStatus)
-> (AppLaunchConfigurationStatus
    -> AppLaunchConfigurationStatus -> AppLaunchConfigurationStatus)
-> Ord 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
$cp1Ord :: Eq AppLaunchConfigurationStatus
Prelude.Ord,
      (forall x.
 AppLaunchConfigurationStatus -> Rep AppLaunchConfigurationStatus x)
-> (forall x.
    Rep AppLaunchConfigurationStatus x -> AppLaunchConfigurationStatus)
-> Generic AppLaunchConfigurationStatus
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
    ( Int -> AppLaunchConfigurationStatus -> Int
AppLaunchConfigurationStatus -> Int
(Int -> AppLaunchConfigurationStatus -> Int)
-> (AppLaunchConfigurationStatus -> Int)
-> Hashable AppLaunchConfigurationStatus
forall 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 -> ()
(AppLaunchConfigurationStatus -> ())
-> NFData AppLaunchConfigurationStatus
forall a. (a -> ()) -> NFData a
rnf :: AppLaunchConfigurationStatus -> ()
$crnf :: AppLaunchConfigurationStatus -> ()
Prelude.NFData,
      Text -> Either String AppLaunchConfigurationStatus
(Text -> Either String AppLaunchConfigurationStatus)
-> FromText AppLaunchConfigurationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AppLaunchConfigurationStatus
$cfromText :: Text -> Either String AppLaunchConfigurationStatus
Core.FromText,
      AppLaunchConfigurationStatus -> Text
(AppLaunchConfigurationStatus -> Text)
-> ToText AppLaunchConfigurationStatus
forall a. (a -> Text) -> ToText a
toText :: AppLaunchConfigurationStatus -> Text
$ctoText :: AppLaunchConfigurationStatus -> Text
Core.ToText,
      AppLaunchConfigurationStatus -> ByteString
(AppLaunchConfigurationStatus -> ByteString)
-> ToByteString AppLaunchConfigurationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: AppLaunchConfigurationStatus -> ByteString
$ctoBS :: AppLaunchConfigurationStatus -> ByteString
Core.ToByteString,
      AppLaunchConfigurationStatus -> ByteStringBuilder
(AppLaunchConfigurationStatus -> ByteStringBuilder)
-> ToLog AppLaunchConfigurationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AppLaunchConfigurationStatus -> ByteStringBuilder
$cbuild :: AppLaunchConfigurationStatus -> ByteStringBuilder
Core.ToLog,
      HeaderName -> AppLaunchConfigurationStatus -> [Header]
(HeaderName -> AppLaunchConfigurationStatus -> [Header])
-> ToHeader AppLaunchConfigurationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AppLaunchConfigurationStatus -> [Header]
$ctoHeader :: HeaderName -> AppLaunchConfigurationStatus -> [Header]
Core.ToHeader,
      AppLaunchConfigurationStatus -> QueryString
(AppLaunchConfigurationStatus -> QueryString)
-> ToQuery AppLaunchConfigurationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AppLaunchConfigurationStatus -> QueryString
$ctoQuery :: AppLaunchConfigurationStatus -> QueryString
Core.ToQuery,
      Value -> Parser [AppLaunchConfigurationStatus]
Value -> Parser AppLaunchConfigurationStatus
(Value -> Parser AppLaunchConfigurationStatus)
-> (Value -> Parser [AppLaunchConfigurationStatus])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [AppLaunchConfigurationStatus]
FromJSONKeyFunction AppLaunchConfigurationStatus
FromJSONKeyFunction AppLaunchConfigurationStatus
-> FromJSONKeyFunction [AppLaunchConfigurationStatus]
-> FromJSONKey AppLaunchConfigurationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AppLaunchConfigurationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [AppLaunchConfigurationStatus]
fromJSONKey :: FromJSONKeyFunction AppLaunchConfigurationStatus
$cfromJSONKey :: FromJSONKeyFunction AppLaunchConfigurationStatus
Core.FromJSONKey,
      [AppLaunchConfigurationStatus] -> Encoding
[AppLaunchConfigurationStatus] -> Value
AppLaunchConfigurationStatus -> Encoding
AppLaunchConfigurationStatus -> Value
(AppLaunchConfigurationStatus -> Value)
-> (AppLaunchConfigurationStatus -> Encoding)
-> ([AppLaunchConfigurationStatus] -> Value)
-> ([AppLaunchConfigurationStatus] -> Encoding)
-> ToJSON AppLaunchConfigurationStatus
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
Core.ToJSON,
      ToJSONKeyFunction [AppLaunchConfigurationStatus]
ToJSONKeyFunction AppLaunchConfigurationStatus
ToJSONKeyFunction AppLaunchConfigurationStatus
-> ToJSONKeyFunction [AppLaunchConfigurationStatus]
-> ToJSONKey AppLaunchConfigurationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AppLaunchConfigurationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [AppLaunchConfigurationStatus]
toJSONKey :: ToJSONKeyFunction AppLaunchConfigurationStatus
$ctoJSONKey :: ToJSONKeyFunction AppLaunchConfigurationStatus
Core.ToJSONKey,
      [Node] -> Either String AppLaunchConfigurationStatus
([Node] -> Either String AppLaunchConfigurationStatus)
-> FromXML AppLaunchConfigurationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AppLaunchConfigurationStatus
$cparseXML :: [Node] -> Either String AppLaunchConfigurationStatus
Core.FromXML,
      AppLaunchConfigurationStatus -> XML
(AppLaunchConfigurationStatus -> XML)
-> ToXML AppLaunchConfigurationStatus
forall a. (a -> XML) -> ToXML a
toXML :: AppLaunchConfigurationStatus -> XML
$ctoXML :: AppLaunchConfigurationStatus -> XML
Core.ToXML
    )

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

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

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