module Stratosphere.AppFlow.Flow.SAPODataDestinationPropertiesProperty (
        module Exports, SAPODataDestinationPropertiesProperty(..),
        mkSAPODataDestinationPropertiesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AppFlow.Flow.ErrorHandlingConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.AppFlow.Flow.SuccessResponseHandlingConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SAPODataDestinationPropertiesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatadestinationproperties.html>
    SAPODataDestinationPropertiesProperty {SAPODataDestinationPropertiesProperty -> ()
haddock_workaround_ :: (),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatadestinationproperties.html#cfn-appflow-flow-sapodatadestinationproperties-errorhandlingconfig>
                                           SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
errorHandlingConfig :: (Prelude.Maybe ErrorHandlingConfigProperty),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatadestinationproperties.html#cfn-appflow-flow-sapodatadestinationproperties-idfieldnames>
                                           SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
idFieldNames :: (Prelude.Maybe (ValueList Prelude.Text)),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatadestinationproperties.html#cfn-appflow-flow-sapodatadestinationproperties-objectpath>
                                           SAPODataDestinationPropertiesProperty -> Value Text
objectPath :: (Value Prelude.Text),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatadestinationproperties.html#cfn-appflow-flow-sapodatadestinationproperties-successresponsehandlingconfig>
                                           SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
successResponseHandlingConfig :: (Prelude.Maybe SuccessResponseHandlingConfigProperty),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatadestinationproperties.html#cfn-appflow-flow-sapodatadestinationproperties-writeoperationtype>
                                           SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
writeOperationType :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty -> Bool
(SAPODataDestinationPropertiesProperty
 -> SAPODataDestinationPropertiesProperty -> Bool)
-> (SAPODataDestinationPropertiesProperty
    -> SAPODataDestinationPropertiesProperty -> Bool)
-> Eq SAPODataDestinationPropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty -> Bool
== :: SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty -> Bool
$c/= :: SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty -> Bool
/= :: SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty -> Bool
Prelude.Eq, Int -> SAPODataDestinationPropertiesProperty -> ShowS
[SAPODataDestinationPropertiesProperty] -> ShowS
SAPODataDestinationPropertiesProperty -> String
(Int -> SAPODataDestinationPropertiesProperty -> ShowS)
-> (SAPODataDestinationPropertiesProperty -> String)
-> ([SAPODataDestinationPropertiesProperty] -> ShowS)
-> Show SAPODataDestinationPropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SAPODataDestinationPropertiesProperty -> ShowS
showsPrec :: Int -> SAPODataDestinationPropertiesProperty -> ShowS
$cshow :: SAPODataDestinationPropertiesProperty -> String
show :: SAPODataDestinationPropertiesProperty -> String
$cshowList :: [SAPODataDestinationPropertiesProperty] -> ShowS
showList :: [SAPODataDestinationPropertiesProperty] -> ShowS
Prelude.Show)
mkSAPODataDestinationPropertiesProperty ::
  Value Prelude.Text -> SAPODataDestinationPropertiesProperty
mkSAPODataDestinationPropertiesProperty :: Value Text -> SAPODataDestinationPropertiesProperty
mkSAPODataDestinationPropertiesProperty Value Text
objectPath
  = SAPODataDestinationPropertiesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), objectPath :: Value Text
objectPath = Value Text
objectPath,
       errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
errorHandlingConfig = Maybe ErrorHandlingConfigProperty
forall a. Maybe a
Prelude.Nothing,
       idFieldNames :: Maybe (ValueList Text)
idFieldNames = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
successResponseHandlingConfig = Maybe SuccessResponseHandlingConfigProperty
forall a. Maybe a
Prelude.Nothing,
       writeOperationType :: Maybe (Value Text)
writeOperationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SAPODataDestinationPropertiesProperty where
  toResourceProperties :: SAPODataDestinationPropertiesProperty -> ResourceProperties
toResourceProperties SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppFlow::Flow.SAPODataDestinationProperties",
         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
"ObjectPath" 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
objectPath]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ErrorHandlingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ErrorHandlingConfig" (ErrorHandlingConfigProperty -> (Key, Value))
-> Maybe ErrorHandlingConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ErrorHandlingConfigProperty
errorHandlingConfig,
                               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
"IdFieldNames" (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)
idFieldNames,
                               Key -> SuccessResponseHandlingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SuccessResponseHandlingConfig"
                                 (SuccessResponseHandlingConfigProperty -> (Key, Value))
-> Maybe SuccessResponseHandlingConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SuccessResponseHandlingConfigProperty
successResponseHandlingConfig,
                               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
"WriteOperationType" (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)
writeOperationType]))}
instance JSON.ToJSON SAPODataDestinationPropertiesProperty where
  toJSON :: SAPODataDestinationPropertiesProperty -> Value
toJSON SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value 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
"ObjectPath" 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
objectPath]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ErrorHandlingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ErrorHandlingConfig" (ErrorHandlingConfigProperty -> (Key, Value))
-> Maybe ErrorHandlingConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ErrorHandlingConfigProperty
errorHandlingConfig,
                  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
"IdFieldNames" (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)
idFieldNames,
                  Key -> SuccessResponseHandlingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SuccessResponseHandlingConfig"
                    (SuccessResponseHandlingConfigProperty -> (Key, Value))
-> Maybe SuccessResponseHandlingConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SuccessResponseHandlingConfigProperty
successResponseHandlingConfig,
                  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
"WriteOperationType" (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)
writeOperationType])))
instance Property "ErrorHandlingConfig" SAPODataDestinationPropertiesProperty where
  type PropertyType "ErrorHandlingConfig" SAPODataDestinationPropertiesProperty = ErrorHandlingConfigProperty
  set :: PropertyType
  "ErrorHandlingConfig" SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
set PropertyType
  "ErrorHandlingConfig" SAPODataDestinationPropertiesProperty
newValue SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
    = SAPODataDestinationPropertiesProperty
        {errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
errorHandlingConfig = ErrorHandlingConfigProperty -> Maybe ErrorHandlingConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ErrorHandlingConfig" SAPODataDestinationPropertiesProperty
ErrorHandlingConfigProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
instance Property "IdFieldNames" SAPODataDestinationPropertiesProperty where
  type PropertyType "IdFieldNames" SAPODataDestinationPropertiesProperty = ValueList Prelude.Text
  set :: PropertyType "IdFieldNames" SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
set PropertyType "IdFieldNames" SAPODataDestinationPropertiesProperty
newValue SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
    = SAPODataDestinationPropertiesProperty
        {idFieldNames :: Maybe (ValueList Text)
idFieldNames = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IdFieldNames" SAPODataDestinationPropertiesProperty
ValueList Text
newValue, Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
instance Property "ObjectPath" SAPODataDestinationPropertiesProperty where
  type PropertyType "ObjectPath" SAPODataDestinationPropertiesProperty = Value Prelude.Text
  set :: PropertyType "ObjectPath" SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
set PropertyType "ObjectPath" SAPODataDestinationPropertiesProperty
newValue SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
    = SAPODataDestinationPropertiesProperty {objectPath :: Value Text
objectPath = PropertyType "ObjectPath" SAPODataDestinationPropertiesProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
instance Property "SuccessResponseHandlingConfig" SAPODataDestinationPropertiesProperty where
  type PropertyType "SuccessResponseHandlingConfig" SAPODataDestinationPropertiesProperty = SuccessResponseHandlingConfigProperty
  set :: PropertyType
  "SuccessResponseHandlingConfig"
  SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
set PropertyType
  "SuccessResponseHandlingConfig"
  SAPODataDestinationPropertiesProperty
newValue SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
    = SAPODataDestinationPropertiesProperty
        {successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
successResponseHandlingConfig = SuccessResponseHandlingConfigProperty
-> Maybe SuccessResponseHandlingConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SuccessResponseHandlingConfig"
  SAPODataDestinationPropertiesProperty
SuccessResponseHandlingConfigProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
writeOperationType :: Maybe (Value Text)
..}
instance Property "WriteOperationType" SAPODataDestinationPropertiesProperty where
  type PropertyType "WriteOperationType" SAPODataDestinationPropertiesProperty = Value Prelude.Text
  set :: PropertyType
  "WriteOperationType" SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
-> SAPODataDestinationPropertiesProperty
set PropertyType
  "WriteOperationType" SAPODataDestinationPropertiesProperty
newValue SAPODataDestinationPropertiesProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: SAPODataDestinationPropertiesProperty -> ()
errorHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: SAPODataDestinationPropertiesProperty -> Maybe (ValueList Text)
objectPath :: SAPODataDestinationPropertiesProperty -> Value Text
successResponseHandlingConfig :: SAPODataDestinationPropertiesProperty
-> Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: SAPODataDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
    = SAPODataDestinationPropertiesProperty
        {writeOperationType :: Maybe (Value Text)
writeOperationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "WriteOperationType" SAPODataDestinationPropertiesProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe ErrorHandlingConfigProperty
Maybe SuccessResponseHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
haddock_workaround_ :: ()
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
objectPath :: Value Text
successResponseHandlingConfig :: Maybe SuccessResponseHandlingConfigProperty
..}