module Stratosphere.Route53.RecordSetGroup.CoordinatesProperty ( CoordinatesProperty(..), mkCoordinatesProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data CoordinatesProperty = -- | See: CoordinatesProperty {haddock_workaround_ :: (), -- | See: latitude :: (Value Prelude.Text), -- | See: longitude :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkCoordinatesProperty :: Value Prelude.Text -> Value Prelude.Text -> CoordinatesProperty mkCoordinatesProperty latitude longitude = CoordinatesProperty {haddock_workaround_ = (), latitude = latitude, longitude = longitude} instance ToResourceProperties CoordinatesProperty where toResourceProperties CoordinatesProperty {..} = ResourceProperties {awsType = "AWS::Route53::RecordSetGroup.Coordinates", supportsTags = Prelude.False, properties = ["Latitude" JSON..= latitude, "Longitude" JSON..= longitude]} instance JSON.ToJSON CoordinatesProperty where toJSON CoordinatesProperty {..} = JSON.object ["Latitude" JSON..= latitude, "Longitude" JSON..= longitude] instance Property "Latitude" CoordinatesProperty where type PropertyType "Latitude" CoordinatesProperty = Value Prelude.Text set newValue CoordinatesProperty {..} = CoordinatesProperty {latitude = newValue, ..} instance Property "Longitude" CoordinatesProperty where type PropertyType "Longitude" CoordinatesProperty = Value Prelude.Text set newValue CoordinatesProperty {..} = CoordinatesProperty {longitude = newValue, ..}