{-# 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.MarketplaceAnalytics.Types.DataSetType
-- 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.MarketplaceAnalytics.Types.DataSetType
  ( DataSetType
      ( ..,
        DataSetType_Customer_profile_by_geography,
        DataSetType_Customer_profile_by_industry,
        DataSetType_Customer_profile_by_revenue,
        DataSetType_Customer_subscriber_annual_subscriptions,
        DataSetType_Customer_subscriber_hourly_monthly_subscriptions,
        DataSetType_Daily_business_canceled_product_subscribers,
        DataSetType_Daily_business_fees,
        DataSetType_Daily_business_free_trial_conversions,
        DataSetType_Daily_business_new_instances,
        DataSetType_Daily_business_new_product_subscribers,
        DataSetType_Daily_business_usage_by_instance_type,
        DataSetType_Disbursed_amount_by_age_of_disbursed_funds,
        DataSetType_Disbursed_amount_by_age_of_past_due_funds,
        DataSetType_Disbursed_amount_by_age_of_uncollected_funds,
        DataSetType_Disbursed_amount_by_customer_geo,
        DataSetType_Disbursed_amount_by_instance_hours,
        DataSetType_Disbursed_amount_by_product,
        DataSetType_Disbursed_amount_by_product_with_uncollected_funds,
        DataSetType_Disbursed_amount_by_uncollected_funds_breakdown,
        DataSetType_Monthly_revenue_annual_subscriptions,
        DataSetType_Monthly_revenue_billing_and_revenue_data,
        DataSetType_Monthly_revenue_field_demonstration_usage,
        DataSetType_Monthly_revenue_flexible_payment_schedule,
        DataSetType_Sales_compensation_billed_revenue,
        DataSetType_Us_sales_and_use_tax_records
      ),
  )
where

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

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

pattern DataSetType_Customer_profile_by_geography :: DataSetType
pattern $bDataSetType_Customer_profile_by_geography :: DataSetType
$mDataSetType_Customer_profile_by_geography :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Customer_profile_by_geography = DataSetType' "customer_profile_by_geography"

pattern DataSetType_Customer_profile_by_industry :: DataSetType
pattern $bDataSetType_Customer_profile_by_industry :: DataSetType
$mDataSetType_Customer_profile_by_industry :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Customer_profile_by_industry = DataSetType' "customer_profile_by_industry"

pattern DataSetType_Customer_profile_by_revenue :: DataSetType
pattern $bDataSetType_Customer_profile_by_revenue :: DataSetType
$mDataSetType_Customer_profile_by_revenue :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Customer_profile_by_revenue = DataSetType' "customer_profile_by_revenue"

pattern DataSetType_Customer_subscriber_annual_subscriptions :: DataSetType
pattern $bDataSetType_Customer_subscriber_annual_subscriptions :: DataSetType
$mDataSetType_Customer_subscriber_annual_subscriptions :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Customer_subscriber_annual_subscriptions = DataSetType' "customer_subscriber_annual_subscriptions"

pattern DataSetType_Customer_subscriber_hourly_monthly_subscriptions :: DataSetType
pattern $bDataSetType_Customer_subscriber_hourly_monthly_subscriptions :: DataSetType
$mDataSetType_Customer_subscriber_hourly_monthly_subscriptions :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Customer_subscriber_hourly_monthly_subscriptions = DataSetType' "customer_subscriber_hourly_monthly_subscriptions"

pattern DataSetType_Daily_business_canceled_product_subscribers :: DataSetType
pattern $bDataSetType_Daily_business_canceled_product_subscribers :: DataSetType
$mDataSetType_Daily_business_canceled_product_subscribers :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Daily_business_canceled_product_subscribers = DataSetType' "daily_business_canceled_product_subscribers"

pattern DataSetType_Daily_business_fees :: DataSetType
pattern $bDataSetType_Daily_business_fees :: DataSetType
$mDataSetType_Daily_business_fees :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Daily_business_fees = DataSetType' "daily_business_fees"

pattern DataSetType_Daily_business_free_trial_conversions :: DataSetType
pattern $bDataSetType_Daily_business_free_trial_conversions :: DataSetType
$mDataSetType_Daily_business_free_trial_conversions :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Daily_business_free_trial_conversions = DataSetType' "daily_business_free_trial_conversions"

pattern DataSetType_Daily_business_new_instances :: DataSetType
pattern $bDataSetType_Daily_business_new_instances :: DataSetType
$mDataSetType_Daily_business_new_instances :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Daily_business_new_instances = DataSetType' "daily_business_new_instances"

pattern DataSetType_Daily_business_new_product_subscribers :: DataSetType
pattern $bDataSetType_Daily_business_new_product_subscribers :: DataSetType
$mDataSetType_Daily_business_new_product_subscribers :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Daily_business_new_product_subscribers = DataSetType' "daily_business_new_product_subscribers"

pattern DataSetType_Daily_business_usage_by_instance_type :: DataSetType
pattern $bDataSetType_Daily_business_usage_by_instance_type :: DataSetType
$mDataSetType_Daily_business_usage_by_instance_type :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Daily_business_usage_by_instance_type = DataSetType' "daily_business_usage_by_instance_type"

pattern DataSetType_Disbursed_amount_by_age_of_disbursed_funds :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_age_of_disbursed_funds :: DataSetType
$mDataSetType_Disbursed_amount_by_age_of_disbursed_funds :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_age_of_disbursed_funds = DataSetType' "disbursed_amount_by_age_of_disbursed_funds"

pattern DataSetType_Disbursed_amount_by_age_of_past_due_funds :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_age_of_past_due_funds :: DataSetType
$mDataSetType_Disbursed_amount_by_age_of_past_due_funds :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_age_of_past_due_funds = DataSetType' "disbursed_amount_by_age_of_past_due_funds"

pattern DataSetType_Disbursed_amount_by_age_of_uncollected_funds :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_age_of_uncollected_funds :: DataSetType
$mDataSetType_Disbursed_amount_by_age_of_uncollected_funds :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_age_of_uncollected_funds = DataSetType' "disbursed_amount_by_age_of_uncollected_funds"

pattern DataSetType_Disbursed_amount_by_customer_geo :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_customer_geo :: DataSetType
$mDataSetType_Disbursed_amount_by_customer_geo :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_customer_geo = DataSetType' "disbursed_amount_by_customer_geo"

pattern DataSetType_Disbursed_amount_by_instance_hours :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_instance_hours :: DataSetType
$mDataSetType_Disbursed_amount_by_instance_hours :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_instance_hours = DataSetType' "disbursed_amount_by_instance_hours"

pattern DataSetType_Disbursed_amount_by_product :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_product :: DataSetType
$mDataSetType_Disbursed_amount_by_product :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_product = DataSetType' "disbursed_amount_by_product"

pattern DataSetType_Disbursed_amount_by_product_with_uncollected_funds :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_product_with_uncollected_funds :: DataSetType
$mDataSetType_Disbursed_amount_by_product_with_uncollected_funds :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_product_with_uncollected_funds = DataSetType' "disbursed_amount_by_product_with_uncollected_funds"

pattern DataSetType_Disbursed_amount_by_uncollected_funds_breakdown :: DataSetType
pattern $bDataSetType_Disbursed_amount_by_uncollected_funds_breakdown :: DataSetType
$mDataSetType_Disbursed_amount_by_uncollected_funds_breakdown :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Disbursed_amount_by_uncollected_funds_breakdown = DataSetType' "disbursed_amount_by_uncollected_funds_breakdown"

pattern DataSetType_Monthly_revenue_annual_subscriptions :: DataSetType
pattern $bDataSetType_Monthly_revenue_annual_subscriptions :: DataSetType
$mDataSetType_Monthly_revenue_annual_subscriptions :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Monthly_revenue_annual_subscriptions = DataSetType' "monthly_revenue_annual_subscriptions"

pattern DataSetType_Monthly_revenue_billing_and_revenue_data :: DataSetType
pattern $bDataSetType_Monthly_revenue_billing_and_revenue_data :: DataSetType
$mDataSetType_Monthly_revenue_billing_and_revenue_data :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Monthly_revenue_billing_and_revenue_data = DataSetType' "monthly_revenue_billing_and_revenue_data"

pattern DataSetType_Monthly_revenue_field_demonstration_usage :: DataSetType
pattern $bDataSetType_Monthly_revenue_field_demonstration_usage :: DataSetType
$mDataSetType_Monthly_revenue_field_demonstration_usage :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Monthly_revenue_field_demonstration_usage = DataSetType' "monthly_revenue_field_demonstration_usage"

pattern DataSetType_Monthly_revenue_flexible_payment_schedule :: DataSetType
pattern $bDataSetType_Monthly_revenue_flexible_payment_schedule :: DataSetType
$mDataSetType_Monthly_revenue_flexible_payment_schedule :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Monthly_revenue_flexible_payment_schedule = DataSetType' "monthly_revenue_flexible_payment_schedule"

pattern DataSetType_Sales_compensation_billed_revenue :: DataSetType
pattern $bDataSetType_Sales_compensation_billed_revenue :: DataSetType
$mDataSetType_Sales_compensation_billed_revenue :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Sales_compensation_billed_revenue = DataSetType' "sales_compensation_billed_revenue"

pattern DataSetType_Us_sales_and_use_tax_records :: DataSetType
pattern $bDataSetType_Us_sales_and_use_tax_records :: DataSetType
$mDataSetType_Us_sales_and_use_tax_records :: forall r. DataSetType -> (Void# -> r) -> (Void# -> r) -> r
DataSetType_Us_sales_and_use_tax_records = DataSetType' "us_sales_and_use_tax_records"

{-# COMPLETE
  DataSetType_Customer_profile_by_geography,
  DataSetType_Customer_profile_by_industry,
  DataSetType_Customer_profile_by_revenue,
  DataSetType_Customer_subscriber_annual_subscriptions,
  DataSetType_Customer_subscriber_hourly_monthly_subscriptions,
  DataSetType_Daily_business_canceled_product_subscribers,
  DataSetType_Daily_business_fees,
  DataSetType_Daily_business_free_trial_conversions,
  DataSetType_Daily_business_new_instances,
  DataSetType_Daily_business_new_product_subscribers,
  DataSetType_Daily_business_usage_by_instance_type,
  DataSetType_Disbursed_amount_by_age_of_disbursed_funds,
  DataSetType_Disbursed_amount_by_age_of_past_due_funds,
  DataSetType_Disbursed_amount_by_age_of_uncollected_funds,
  DataSetType_Disbursed_amount_by_customer_geo,
  DataSetType_Disbursed_amount_by_instance_hours,
  DataSetType_Disbursed_amount_by_product,
  DataSetType_Disbursed_amount_by_product_with_uncollected_funds,
  DataSetType_Disbursed_amount_by_uncollected_funds_breakdown,
  DataSetType_Monthly_revenue_annual_subscriptions,
  DataSetType_Monthly_revenue_billing_and_revenue_data,
  DataSetType_Monthly_revenue_field_demonstration_usage,
  DataSetType_Monthly_revenue_flexible_payment_schedule,
  DataSetType_Sales_compensation_billed_revenue,
  DataSetType_Us_sales_and_use_tax_records,
  DataSetType'
  #-}