Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Answer = Answer' {
- choiceAnswers :: Maybe [ChoiceAnswer]
- helpfulResourceUrl :: Maybe Text
- isApplicable :: Maybe Bool
- pillarId :: Maybe Text
- improvementPlanUrl :: Maybe Text
- questionDescription :: Maybe Text
- risk :: Maybe Risk
- questionTitle :: Maybe Text
- selectedChoices :: Maybe [Text]
- reason :: Maybe AnswerReason
- choices :: Maybe [Choice]
- questionId :: Maybe Text
- notes :: Maybe Text
- newAnswer :: Answer
- answer_choiceAnswers :: Lens' Answer (Maybe [ChoiceAnswer])
- answer_helpfulResourceUrl :: Lens' Answer (Maybe Text)
- answer_isApplicable :: Lens' Answer (Maybe Bool)
- answer_pillarId :: Lens' Answer (Maybe Text)
- answer_improvementPlanUrl :: Lens' Answer (Maybe Text)
- answer_questionDescription :: Lens' Answer (Maybe Text)
- answer_risk :: Lens' Answer (Maybe Risk)
- answer_questionTitle :: Lens' Answer (Maybe Text)
- answer_selectedChoices :: Lens' Answer (Maybe [Text])
- answer_reason :: Lens' Answer (Maybe AnswerReason)
- answer_choices :: Lens' Answer (Maybe [Choice])
- answer_questionId :: Lens' Answer (Maybe Text)
- answer_notes :: Lens' Answer (Maybe Text)
Documentation
An answer of the question.
See: newAnswer
smart constructor.
Answer' | |
|
Instances
Create a value of Answer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:choiceAnswers:Answer'
, answer_choiceAnswers
- A list of selected choices to a question in your workload.
$sel:helpfulResourceUrl:Answer'
, answer_helpfulResourceUrl
- Undocumented member.
$sel:isApplicable:Answer'
, answer_isApplicable
- Undocumented member.
$sel:pillarId:Answer'
, answer_pillarId
- Undocumented member.
$sel:improvementPlanUrl:Answer'
, answer_improvementPlanUrl
- Undocumented member.
$sel:questionDescription:Answer'
, answer_questionDescription
- Undocumented member.
$sel:risk:Answer'
, answer_risk
- Undocumented member.
$sel:questionTitle:Answer'
, answer_questionTitle
- Undocumented member.
$sel:selectedChoices:Answer'
, answer_selectedChoices
- Undocumented member.
$sel:reason:Answer'
, answer_reason
- The reason why the question is not applicable to your workload.
$sel:choices:Answer'
, answer_choices
- Undocumented member.
$sel:questionId:Answer'
, answer_questionId
- Undocumented member.
$sel:notes:Answer'
, answer_notes
- Undocumented member.
answer_choiceAnswers :: Lens' Answer (Maybe [ChoiceAnswer]) Source #
A list of selected choices to a question in your workload.
answer_reason :: Lens' Answer (Maybe AnswerReason) Source #
The reason why the question is not applicable to your workload.