stratosphere-connect-1.0.0: gen/Stratosphere/Connect/EvaluationForm/EvaluationFormSingleSelectQuestionAutomationOptionProperty.hs
module Stratosphere.Connect.EvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty (
module Exports,
EvaluationFormSingleSelectQuestionAutomationOptionProperty(..),
mkEvaluationFormSingleSelectQuestionAutomationOptionProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Connect.EvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty as Exports
import Stratosphere.ResourceProperties
data EvaluationFormSingleSelectQuestionAutomationOptionProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionautomationoption.html>
EvaluationFormSingleSelectQuestionAutomationOptionProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionautomationoption.html#cfn-connect-evaluationform-evaluationformsingleselectquestionautomationoption-rulecategory>
ruleCategory :: SingleSelectQuestionRuleCategoryAutomationProperty}
deriving stock (Prelude.Eq, Prelude.Show)
mkEvaluationFormSingleSelectQuestionAutomationOptionProperty ::
SingleSelectQuestionRuleCategoryAutomationProperty
-> EvaluationFormSingleSelectQuestionAutomationOptionProperty
mkEvaluationFormSingleSelectQuestionAutomationOptionProperty
ruleCategory
= EvaluationFormSingleSelectQuestionAutomationOptionProperty
{haddock_workaround_ = (), ruleCategory = ruleCategory}
instance ToResourceProperties EvaluationFormSingleSelectQuestionAutomationOptionProperty where
toResourceProperties
EvaluationFormSingleSelectQuestionAutomationOptionProperty {..}
= ResourceProperties
{awsType = "AWS::Connect::EvaluationForm.EvaluationFormSingleSelectQuestionAutomationOption",
supportsTags = Prelude.False,
properties = ["RuleCategory" JSON..= ruleCategory]}
instance JSON.ToJSON EvaluationFormSingleSelectQuestionAutomationOptionProperty where
toJSON
EvaluationFormSingleSelectQuestionAutomationOptionProperty {..}
= JSON.object ["RuleCategory" JSON..= ruleCategory]
instance Property "RuleCategory" EvaluationFormSingleSelectQuestionAutomationOptionProperty where
type PropertyType "RuleCategory" EvaluationFormSingleSelectQuestionAutomationOptionProperty = SingleSelectQuestionRuleCategoryAutomationProperty
set
newValue
EvaluationFormSingleSelectQuestionAutomationOptionProperty {..}
= EvaluationFormSingleSelectQuestionAutomationOptionProperty
{ruleCategory = newValue, ..}