/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An answer summary of a lens review in a workload.See Also:
* AWS
* API Reference
A list of selected choices to a question in your workload.
*/ inline const Aws::VectorA list of selected choices to a question in your workload.
*/ inline bool ChoiceAnswerSummariesHasBeenSet() const { return m_choiceAnswerSummariesHasBeenSet; } /** *A list of selected choices to a question in your workload.
*/ inline void SetChoiceAnswerSummaries(const Aws::VectorA list of selected choices to a question in your workload.
*/ inline void SetChoiceAnswerSummaries(Aws::VectorA list of selected choices to a question in your workload.
*/ inline AnswerSummary& WithChoiceAnswerSummaries(const Aws::VectorA list of selected choices to a question in your workload.
*/ inline AnswerSummary& WithChoiceAnswerSummaries(Aws::VectorA list of selected choices to a question in your workload.
*/ inline AnswerSummary& AddChoiceAnswerSummaries(const ChoiceAnswerSummary& value) { m_choiceAnswerSummariesHasBeenSet = true; m_choiceAnswerSummaries.push_back(value); return *this; } /** *A list of selected choices to a question in your workload.
*/ inline AnswerSummary& AddChoiceAnswerSummaries(ChoiceAnswerSummary&& value) { m_choiceAnswerSummariesHasBeenSet = true; m_choiceAnswerSummaries.push_back(std::move(value)); return *this; } inline bool GetIsApplicable() const{ return m_isApplicable; } inline bool IsApplicableHasBeenSet() const { return m_isApplicableHasBeenSet; } inline void SetIsApplicable(bool value) { m_isApplicableHasBeenSet = true; m_isApplicable = value; } inline AnswerSummary& WithIsApplicable(bool value) { SetIsApplicable(value); return *this;} inline const Risk& GetRisk() const{ return m_risk; } inline bool RiskHasBeenSet() const { return m_riskHasBeenSet; } inline void SetRisk(const Risk& value) { m_riskHasBeenSet = true; m_risk = value; } inline void SetRisk(Risk&& value) { m_riskHasBeenSet = true; m_risk = std::move(value); } inline AnswerSummary& WithRisk(const Risk& value) { SetRisk(value); return *this;} inline AnswerSummary& WithRisk(Risk&& value) { SetRisk(std::move(value)); return *this;} /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline const AnswerReason& GetReason() const{ return m_reason; } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline void SetReason(const AnswerReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline void SetReason(AnswerReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline AnswerSummary& WithReason(const AnswerReason& value) { SetReason(value); return *this;} /** *The reason why a choice is non-applicable to a question in your workload.
*/ inline AnswerSummary& WithReason(AnswerReason&& value) { SetReason(std::move(value)); return *this;} /** *The type of the question.
*/ inline const QuestionType& GetQuestionType() const{ return m_questionType; } /** *The type of the question.
*/ inline bool QuestionTypeHasBeenSet() const { return m_questionTypeHasBeenSet; } /** *The type of the question.
*/ inline void SetQuestionType(const QuestionType& value) { m_questionTypeHasBeenSet = true; m_questionType = value; } /** *The type of the question.
*/ inline void SetQuestionType(QuestionType&& value) { m_questionTypeHasBeenSet = true; m_questionType = std::move(value); } /** *The type of the question.
*/ inline AnswerSummary& WithQuestionType(const QuestionType& value) { SetQuestionType(value); return *this;} /** *The type of the question.
*/ inline AnswerSummary& WithQuestionType(QuestionType&& value) { SetQuestionType(std::move(value)); return *this;} private: Aws::String m_questionId; bool m_questionIdHasBeenSet = false; Aws::String m_pillarId; bool m_pillarIdHasBeenSet = false; Aws::String m_questionTitle; bool m_questionTitleHasBeenSet = false; Aws::Vector