module Stratosphere.QuickSight.DataSet.TransformOperationProperty ( module Exports, TransformOperationProperty(..), mkTransformOperationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.CastColumnTypeOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.CreateColumnsOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.FilterOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.OverrideDatasetParameterOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.ProjectOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.RenameColumnOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.TagColumnOperationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.DataSet.UntagColumnOperationProperty as Exports import Stratosphere.ResourceProperties data TransformOperationProperty = -- | See: TransformOperationProperty {haddock_workaround_ :: (), -- | See: castColumnTypeOperation :: (Prelude.Maybe CastColumnTypeOperationProperty), -- | See: createColumnsOperation :: (Prelude.Maybe CreateColumnsOperationProperty), -- | See: filterOperation :: (Prelude.Maybe FilterOperationProperty), -- | See: overrideDatasetParameterOperation :: (Prelude.Maybe OverrideDatasetParameterOperationProperty), -- | See: projectOperation :: (Prelude.Maybe ProjectOperationProperty), -- | See: renameColumnOperation :: (Prelude.Maybe RenameColumnOperationProperty), -- | See: tagColumnOperation :: (Prelude.Maybe TagColumnOperationProperty), -- | See: untagColumnOperation :: (Prelude.Maybe UntagColumnOperationProperty)} deriving stock (Prelude.Eq, Prelude.Show) mkTransformOperationProperty :: TransformOperationProperty mkTransformOperationProperty = TransformOperationProperty {haddock_workaround_ = (), castColumnTypeOperation = Prelude.Nothing, createColumnsOperation = Prelude.Nothing, filterOperation = Prelude.Nothing, overrideDatasetParameterOperation = Prelude.Nothing, projectOperation = Prelude.Nothing, renameColumnOperation = Prelude.Nothing, tagColumnOperation = Prelude.Nothing, untagColumnOperation = Prelude.Nothing} instance ToResourceProperties TransformOperationProperty where toResourceProperties TransformOperationProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::DataSet.TransformOperation", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "CastColumnTypeOperation" Prelude.<$> castColumnTypeOperation, (JSON..=) "CreateColumnsOperation" Prelude.<$> createColumnsOperation, (JSON..=) "FilterOperation" Prelude.<$> filterOperation, (JSON..=) "OverrideDatasetParameterOperation" Prelude.<$> overrideDatasetParameterOperation, (JSON..=) "ProjectOperation" Prelude.<$> projectOperation, (JSON..=) "RenameColumnOperation" Prelude.<$> renameColumnOperation, (JSON..=) "TagColumnOperation" Prelude.<$> tagColumnOperation, (JSON..=) "UntagColumnOperation" Prelude.<$> untagColumnOperation])} instance JSON.ToJSON TransformOperationProperty where toJSON TransformOperationProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "CastColumnTypeOperation" Prelude.<$> castColumnTypeOperation, (JSON..=) "CreateColumnsOperation" Prelude.<$> createColumnsOperation, (JSON..=) "FilterOperation" Prelude.<$> filterOperation, (JSON..=) "OverrideDatasetParameterOperation" Prelude.<$> overrideDatasetParameterOperation, (JSON..=) "ProjectOperation" Prelude.<$> projectOperation, (JSON..=) "RenameColumnOperation" Prelude.<$> renameColumnOperation, (JSON..=) "TagColumnOperation" Prelude.<$> tagColumnOperation, (JSON..=) "UntagColumnOperation" Prelude.<$> untagColumnOperation])) instance Property "CastColumnTypeOperation" TransformOperationProperty where type PropertyType "CastColumnTypeOperation" TransformOperationProperty = CastColumnTypeOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {castColumnTypeOperation = Prelude.pure newValue, ..} instance Property "CreateColumnsOperation" TransformOperationProperty where type PropertyType "CreateColumnsOperation" TransformOperationProperty = CreateColumnsOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {createColumnsOperation = Prelude.pure newValue, ..} instance Property "FilterOperation" TransformOperationProperty where type PropertyType "FilterOperation" TransformOperationProperty = FilterOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {filterOperation = Prelude.pure newValue, ..} instance Property "OverrideDatasetParameterOperation" TransformOperationProperty where type PropertyType "OverrideDatasetParameterOperation" TransformOperationProperty = OverrideDatasetParameterOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {overrideDatasetParameterOperation = Prelude.pure newValue, ..} instance Property "ProjectOperation" TransformOperationProperty where type PropertyType "ProjectOperation" TransformOperationProperty = ProjectOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {projectOperation = Prelude.pure newValue, ..} instance Property "RenameColumnOperation" TransformOperationProperty where type PropertyType "RenameColumnOperation" TransformOperationProperty = RenameColumnOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {renameColumnOperation = Prelude.pure newValue, ..} instance Property "TagColumnOperation" TransformOperationProperty where type PropertyType "TagColumnOperation" TransformOperationProperty = TagColumnOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {tagColumnOperation = Prelude.pure newValue, ..} instance Property "UntagColumnOperation" TransformOperationProperty where type PropertyType "UntagColumnOperation" TransformOperationProperty = UntagColumnOperationProperty set newValue TransformOperationProperty {..} = TransformOperationProperty {untagColumnOperation = Prelude.pure newValue, ..}