module Stratosphere.S3Express.AccessPoint.VpcConfigurationProperty ( VpcConfigurationProperty(..), mkVpcConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data VpcConfigurationProperty = -- | See: VpcConfigurationProperty {haddock_workaround_ :: (), -- | See: vpcId :: (Prelude.Maybe (Value Prelude.Text))} deriving stock (Prelude.Eq, Prelude.Show) mkVpcConfigurationProperty :: VpcConfigurationProperty mkVpcConfigurationProperty = VpcConfigurationProperty {haddock_workaround_ = (), vpcId = Prelude.Nothing} instance ToResourceProperties VpcConfigurationProperty where toResourceProperties VpcConfigurationProperty {..} = ResourceProperties {awsType = "AWS::S3Express::AccessPoint.VpcConfiguration", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "VpcId" Prelude.<$> vpcId])} instance JSON.ToJSON VpcConfigurationProperty where toJSON VpcConfigurationProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "VpcId" Prelude.<$> vpcId])) instance Property "VpcId" VpcConfigurationProperty where type PropertyType "VpcId" VpcConfigurationProperty = Value Prelude.Text set newValue VpcConfigurationProperty {..} = VpcConfigurationProperty {vpcId = Prelude.pure newValue, ..}