module Stratosphere.CustomerProfiles.SegmentDefinition.AddressDimensionProperty (
        module Exports, AddressDimensionProperty(..),
        mkAddressDimensionProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CustomerProfiles.SegmentDefinition.ProfileDimensionProperty as Exports
import Stratosphere.ResourceProperties
data AddressDimensionProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html>
    AddressDimensionProperty {AddressDimensionProperty -> ()
haddock_workaround_ :: (),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-city>
                              AddressDimensionProperty -> Maybe ProfileDimensionProperty
city :: (Prelude.Maybe ProfileDimensionProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-country>
                              AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: (Prelude.Maybe ProfileDimensionProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-county>
                              AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: (Prelude.Maybe ProfileDimensionProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-postalcode>
                              AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: (Prelude.Maybe ProfileDimensionProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-province>
                              AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: (Prelude.Maybe ProfileDimensionProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-addressdimension.html#cfn-customerprofiles-segmentdefinition-addressdimension-state>
                              AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: (Prelude.Maybe ProfileDimensionProperty)}
  deriving stock (AddressDimensionProperty -> AddressDimensionProperty -> Bool
(AddressDimensionProperty -> AddressDimensionProperty -> Bool)
-> (AddressDimensionProperty -> AddressDimensionProperty -> Bool)
-> Eq AddressDimensionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AddressDimensionProperty -> AddressDimensionProperty -> Bool
== :: AddressDimensionProperty -> AddressDimensionProperty -> Bool
$c/= :: AddressDimensionProperty -> AddressDimensionProperty -> Bool
/= :: AddressDimensionProperty -> AddressDimensionProperty -> Bool
Prelude.Eq, Int -> AddressDimensionProperty -> ShowS
[AddressDimensionProperty] -> ShowS
AddressDimensionProperty -> String
(Int -> AddressDimensionProperty -> ShowS)
-> (AddressDimensionProperty -> String)
-> ([AddressDimensionProperty] -> ShowS)
-> Show AddressDimensionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AddressDimensionProperty -> ShowS
showsPrec :: Int -> AddressDimensionProperty -> ShowS
$cshow :: AddressDimensionProperty -> String
show :: AddressDimensionProperty -> String
$cshowList :: [AddressDimensionProperty] -> ShowS
showList :: [AddressDimensionProperty] -> ShowS
Prelude.Show)
mkAddressDimensionProperty :: AddressDimensionProperty
mkAddressDimensionProperty :: AddressDimensionProperty
mkAddressDimensionProperty
  = AddressDimensionProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), city :: Maybe ProfileDimensionProperty
city = Maybe ProfileDimensionProperty
forall a. Maybe a
Prelude.Nothing,
       country :: Maybe ProfileDimensionProperty
country = Maybe ProfileDimensionProperty
forall a. Maybe a
Prelude.Nothing, county :: Maybe ProfileDimensionProperty
county = Maybe ProfileDimensionProperty
forall a. Maybe a
Prelude.Nothing,
       postalCode :: Maybe ProfileDimensionProperty
postalCode = Maybe ProfileDimensionProperty
forall a. Maybe a
Prelude.Nothing, province :: Maybe ProfileDimensionProperty
province = Maybe ProfileDimensionProperty
forall a. Maybe a
Prelude.Nothing,
       state :: Maybe ProfileDimensionProperty
state = Maybe ProfileDimensionProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AddressDimensionProperty where
  toResourceProperties :: AddressDimensionProperty -> ResourceProperties
toResourceProperties AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CustomerProfiles::SegmentDefinition.AddressDimension",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"City" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
city,
                            Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Country" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
country,
                            Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"County" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
county,
                            Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PostalCode" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
postalCode,
                            Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Province" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
province,
                            Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"State" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
state])}
instance JSON.ToJSON AddressDimensionProperty where
  toJSON :: AddressDimensionProperty -> Value
toJSON AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"City" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
city,
               Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Country" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
country,
               Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"County" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
county,
               Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PostalCode" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
postalCode,
               Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Province" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
province,
               Key -> ProfileDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"State" (ProfileDimensionProperty -> (Key, Value))
-> Maybe ProfileDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProfileDimensionProperty
state]))
instance Property "City" AddressDimensionProperty where
  type PropertyType "City" AddressDimensionProperty = ProfileDimensionProperty
  set :: PropertyType "City" AddressDimensionProperty
-> AddressDimensionProperty -> AddressDimensionProperty
set PropertyType "City" AddressDimensionProperty
newValue AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = AddressDimensionProperty {city :: Maybe ProfileDimensionProperty
city = ProfileDimensionProperty -> Maybe ProfileDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "City" AddressDimensionProperty
ProfileDimensionProperty
newValue, Maybe ProfileDimensionProperty
()
haddock_workaround_ :: ()
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
instance Property "Country" AddressDimensionProperty where
  type PropertyType "Country" AddressDimensionProperty = ProfileDimensionProperty
  set :: PropertyType "Country" AddressDimensionProperty
-> AddressDimensionProperty -> AddressDimensionProperty
set PropertyType "Country" AddressDimensionProperty
newValue AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = AddressDimensionProperty {country :: Maybe ProfileDimensionProperty
country = ProfileDimensionProperty -> Maybe ProfileDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Country" AddressDimensionProperty
ProfileDimensionProperty
newValue, Maybe ProfileDimensionProperty
()
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
instance Property "County" AddressDimensionProperty where
  type PropertyType "County" AddressDimensionProperty = ProfileDimensionProperty
  set :: PropertyType "County" AddressDimensionProperty
-> AddressDimensionProperty -> AddressDimensionProperty
set PropertyType "County" AddressDimensionProperty
newValue AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = AddressDimensionProperty {county :: Maybe ProfileDimensionProperty
county = ProfileDimensionProperty -> Maybe ProfileDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "County" AddressDimensionProperty
ProfileDimensionProperty
newValue, Maybe ProfileDimensionProperty
()
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
instance Property "PostalCode" AddressDimensionProperty where
  type PropertyType "PostalCode" AddressDimensionProperty = ProfileDimensionProperty
  set :: PropertyType "PostalCode" AddressDimensionProperty
-> AddressDimensionProperty -> AddressDimensionProperty
set PropertyType "PostalCode" AddressDimensionProperty
newValue AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = AddressDimensionProperty {postalCode :: Maybe ProfileDimensionProperty
postalCode = ProfileDimensionProperty -> Maybe ProfileDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PostalCode" AddressDimensionProperty
ProfileDimensionProperty
newValue, Maybe ProfileDimensionProperty
()
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
instance Property "Province" AddressDimensionProperty where
  type PropertyType "Province" AddressDimensionProperty = ProfileDimensionProperty
  set :: PropertyType "Province" AddressDimensionProperty
-> AddressDimensionProperty -> AddressDimensionProperty
set PropertyType "Province" AddressDimensionProperty
newValue AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = AddressDimensionProperty {province :: Maybe ProfileDimensionProperty
province = ProfileDimensionProperty -> Maybe ProfileDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Province" AddressDimensionProperty
ProfileDimensionProperty
newValue, Maybe ProfileDimensionProperty
()
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
instance Property "State" AddressDimensionProperty where
  type PropertyType "State" AddressDimensionProperty = ProfileDimensionProperty
  set :: PropertyType "State" AddressDimensionProperty
-> AddressDimensionProperty -> AddressDimensionProperty
set PropertyType "State" AddressDimensionProperty
newValue AddressDimensionProperty {Maybe ProfileDimensionProperty
()
haddock_workaround_ :: AddressDimensionProperty -> ()
city :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
country :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
county :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
postalCode :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
province :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
state :: AddressDimensionProperty -> Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
state :: Maybe ProfileDimensionProperty
..}
    = AddressDimensionProperty {state :: Maybe ProfileDimensionProperty
state = ProfileDimensionProperty -> Maybe ProfileDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "State" AddressDimensionProperty
ProfileDimensionProperty
newValue, Maybe ProfileDimensionProperty
()
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
haddock_workaround_ :: ()
city :: Maybe ProfileDimensionProperty
country :: Maybe ProfileDimensionProperty
county :: Maybe ProfileDimensionProperty
postalCode :: Maybe ProfileDimensionProperty
province :: Maybe ProfileDimensionProperty
..}