module Stratosphere.Kendra.DataSource.ServiceNowKnowledgeArticleConfigurationProperty (
        module Exports,
        ServiceNowKnowledgeArticleConfigurationProperty(..),
        mkServiceNowKnowledgeArticleConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Kendra.DataSource.DataSourceToIndexFieldMappingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceNowKnowledgeArticleConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html>
    ServiceNowKnowledgeArticleConfigurationProperty {ServiceNowKnowledgeArticleConfigurationProperty -> ()
haddock_workaround_ :: (),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-crawlattachments>
                                                     ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
crawlAttachments :: (Prelude.Maybe (Value Prelude.Bool)),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-documentdatafieldname>
                                                     ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentDataFieldName :: (Value Prelude.Text),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-documenttitlefieldname>
                                                     ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
documentTitleFieldName :: (Prelude.Maybe (Value Prelude.Text)),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-excludeattachmentfilepatterns>
                                                     ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
excludeAttachmentFilePatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-fieldmappings>
                                                     ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings :: (Prelude.Maybe [DataSourceToIndexFieldMappingProperty]),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-filterquery>
                                                     ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
filterQuery :: (Prelude.Maybe (Value Prelude.Text)),
                                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-includeattachmentfilepatterns>
                                                     ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
includeAttachmentFilePatterns :: (Prelude.Maybe (ValueList Prelude.Text))}
  deriving stock (ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty -> Bool
(ServiceNowKnowledgeArticleConfigurationProperty
 -> ServiceNowKnowledgeArticleConfigurationProperty -> Bool)
-> (ServiceNowKnowledgeArticleConfigurationProperty
    -> ServiceNowKnowledgeArticleConfigurationProperty -> Bool)
-> Eq ServiceNowKnowledgeArticleConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty -> Bool
== :: ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty -> Bool
$c/= :: ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty -> Bool
/= :: ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty -> Bool
Prelude.Eq, Int -> ServiceNowKnowledgeArticleConfigurationProperty -> ShowS
[ServiceNowKnowledgeArticleConfigurationProperty] -> ShowS
ServiceNowKnowledgeArticleConfigurationProperty -> String
(Int -> ServiceNowKnowledgeArticleConfigurationProperty -> ShowS)
-> (ServiceNowKnowledgeArticleConfigurationProperty -> String)
-> ([ServiceNowKnowledgeArticleConfigurationProperty] -> ShowS)
-> Show ServiceNowKnowledgeArticleConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceNowKnowledgeArticleConfigurationProperty -> ShowS
showsPrec :: Int -> ServiceNowKnowledgeArticleConfigurationProperty -> ShowS
$cshow :: ServiceNowKnowledgeArticleConfigurationProperty -> String
show :: ServiceNowKnowledgeArticleConfigurationProperty -> String
$cshowList :: [ServiceNowKnowledgeArticleConfigurationProperty] -> ShowS
showList :: [ServiceNowKnowledgeArticleConfigurationProperty] -> ShowS
Prelude.Show)
mkServiceNowKnowledgeArticleConfigurationProperty ::
  Value Prelude.Text
  -> ServiceNowKnowledgeArticleConfigurationProperty
mkServiceNowKnowledgeArticleConfigurationProperty :: Value Text -> ServiceNowKnowledgeArticleConfigurationProperty
mkServiceNowKnowledgeArticleConfigurationProperty
  Value Text
documentDataFieldName
  = ServiceNowKnowledgeArticleConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       documentDataFieldName :: Value Text
documentDataFieldName = Value Text
documentDataFieldName,
       crawlAttachments :: Maybe (Value Bool)
crawlAttachments = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       documentTitleFieldName :: Maybe (Value Text)
documentTitleFieldName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       excludeAttachmentFilePatterns :: Maybe (ValueList Text)
excludeAttachmentFilePatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = Maybe [DataSourceToIndexFieldMappingProperty]
forall a. Maybe a
Prelude.Nothing, filterQuery :: Maybe (Value Text)
filterQuery = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       includeAttachmentFilePatterns :: Maybe (ValueList Text)
includeAttachmentFilePatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ServiceNowKnowledgeArticleConfigurationProperty where
  toResourceProperties :: ServiceNowKnowledgeArticleConfigurationProperty
-> ResourceProperties
toResourceProperties
    ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"DocumentDataFieldName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
documentDataFieldName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CrawlAttachments" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
crawlAttachments,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentTitleFieldName"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
documentTitleFieldName,
                               Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExcludeAttachmentFilePatterns"
                                 (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeAttachmentFilePatterns,
                               Key -> [DataSourceToIndexFieldMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FieldMappings" ([DataSourceToIndexFieldMappingProperty] -> (Key, Value))
-> Maybe [DataSourceToIndexFieldMappingProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FilterQuery" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
filterQuery,
                               Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IncludeAttachmentFilePatterns"
                                 (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
includeAttachmentFilePatterns]))}
instance JSON.ToJSON ServiceNowKnowledgeArticleConfigurationProperty where
  toJSON :: ServiceNowKnowledgeArticleConfigurationProperty -> Value
toJSON ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"DocumentDataFieldName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
documentDataFieldName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CrawlAttachments" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
crawlAttachments,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentTitleFieldName"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
documentTitleFieldName,
                  Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExcludeAttachmentFilePatterns"
                    (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeAttachmentFilePatterns,
                  Key -> [DataSourceToIndexFieldMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FieldMappings" ([DataSourceToIndexFieldMappingProperty] -> (Key, Value))
-> Maybe [DataSourceToIndexFieldMappingProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FilterQuery" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
filterQuery,
                  Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IncludeAttachmentFilePatterns"
                    (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
includeAttachmentFilePatterns])))
instance Property "CrawlAttachments" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "CrawlAttachments" ServiceNowKnowledgeArticleConfigurationProperty = Value Prelude.Bool
  set :: PropertyType
  "CrawlAttachments" ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "CrawlAttachments" ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {crawlAttachments :: Maybe (Value Bool)
crawlAttachments = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CrawlAttachments" ServiceNowKnowledgeArticleConfigurationProperty
Value Bool
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "DocumentDataFieldName" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "DocumentDataFieldName" ServiceNowKnowledgeArticleConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "DocumentDataFieldName"
  ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "DocumentDataFieldName"
  ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {documentDataFieldName :: Value Text
documentDataFieldName = PropertyType
  "DocumentDataFieldName"
  ServiceNowKnowledgeArticleConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "DocumentTitleFieldName" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "DocumentTitleFieldName" ServiceNowKnowledgeArticleConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "DocumentTitleFieldName"
  ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "DocumentTitleFieldName"
  ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {documentTitleFieldName :: Maybe (Value Text)
documentTitleFieldName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DocumentTitleFieldName"
  ServiceNowKnowledgeArticleConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "ExcludeAttachmentFilePatterns" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "ExcludeAttachmentFilePatterns" ServiceNowKnowledgeArticleConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType
  "ExcludeAttachmentFilePatterns"
  ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "ExcludeAttachmentFilePatterns"
  ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {excludeAttachmentFilePatterns :: Maybe (ValueList Text)
excludeAttachmentFilePatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ExcludeAttachmentFilePatterns"
  ServiceNowKnowledgeArticleConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "FieldMappings" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "FieldMappings" ServiceNowKnowledgeArticleConfigurationProperty = [DataSourceToIndexFieldMappingProperty]
  set :: PropertyType
  "FieldMappings" ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "FieldMappings" ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = [DataSourceToIndexFieldMappingProperty]
-> Maybe [DataSourceToIndexFieldMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DataSourceToIndexFieldMappingProperty]
PropertyType
  "FieldMappings" ServiceNowKnowledgeArticleConfigurationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "FilterQuery" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "FilterQuery" ServiceNowKnowledgeArticleConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "FilterQuery" ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "FilterQuery" ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {filterQuery :: Maybe (Value Text)
filterQuery = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "FilterQuery" ServiceNowKnowledgeArticleConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "IncludeAttachmentFilePatterns" ServiceNowKnowledgeArticleConfigurationProperty where
  type PropertyType "IncludeAttachmentFilePatterns" ServiceNowKnowledgeArticleConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType
  "IncludeAttachmentFilePatterns"
  ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
-> ServiceNowKnowledgeArticleConfigurationProperty
set PropertyType
  "IncludeAttachmentFilePatterns"
  ServiceNowKnowledgeArticleConfigurationProperty
newValue ServiceNowKnowledgeArticleConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowKnowledgeArticleConfigurationProperty -> ()
crawlAttachments :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Bool)
documentDataFieldName :: ServiceNowKnowledgeArticleConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Value Text)
includeAttachmentFilePatterns :: ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
    = ServiceNowKnowledgeArticleConfigurationProperty
        {includeAttachmentFilePatterns :: Maybe (ValueList Text)
includeAttachmentFilePatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "IncludeAttachmentFilePatterns"
  ServiceNowKnowledgeArticleConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
filterQuery :: Maybe (Value Text)
..}