7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/GeneratedAnswerStatus.h>
48 template<
typename QuestionTextT = Aws::String>
49 void SetQuestionText(QuestionTextT&& value) { m_questionTextHasBeenSet =
true; m_questionText = std::forward<QuestionTextT>(value); }
50 template<
typename QuestionTextT = Aws::String>
70 template<
typename TopicIdT = Aws::String>
71 void SetTopicId(TopicIdT&& value) { m_topicIdHasBeenSet =
true; m_topicId = std::forward<TopicIdT>(value); }
72 template<
typename TopicIdT = Aws::String>
82 template<
typename TopicNameT = Aws::String>
83 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet =
true; m_topicName = std::forward<TopicNameT>(value); }
84 template<
typename TopicNameT = Aws::String>
94 template<
typename RestatementT = Aws::String>
95 void SetRestatement(RestatementT&& value) { m_restatementHasBeenSet =
true; m_restatement = std::forward<RestatementT>(value); }
96 template<
typename RestatementT = Aws::String>
106 template<
typename QuestionIdT = Aws::String>
107 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet =
true; m_questionId = std::forward<QuestionIdT>(value); }
108 template<
typename QuestionIdT = Aws::String>
118 template<
typename AnswerIdT = Aws::String>
119 void SetAnswerId(AnswerIdT&& value) { m_answerIdHasBeenSet =
true; m_answerId = std::forward<AnswerIdT>(value); }
120 template<
typename AnswerIdT = Aws::String>
130 template<
typename QuestionUrlT = Aws::String>
131 void SetQuestionUrl(QuestionUrlT&& value) { m_questionUrlHasBeenSet =
true; m_questionUrl = std::forward<QuestionUrlT>(value); }
132 template<
typename QuestionUrlT = Aws::String>
138 bool m_questionTextHasBeenSet =
false;
141 bool m_answerStatusHasBeenSet =
false;
144 bool m_topicIdHasBeenSet =
false;
147 bool m_topicNameHasBeenSet =
false;
150 bool m_restatementHasBeenSet =
false;
153 bool m_questionIdHasBeenSet =
false;
156 bool m_answerIdHasBeenSet =
false;
159 bool m_questionUrlHasBeenSet =
false;
bool AnswerStatusHasBeenSet() const
bool RestatementHasBeenSet() const
void SetQuestionText(QuestionTextT &&value)
bool QuestionIdHasBeenSet() const
const Aws::String & GetRestatement() const
const Aws::String & GetQuestionUrl() const
GeneratedAnswerResult & WithQuestionText(QuestionTextT &&value)
GeneratedAnswerResult & WithTopicId(TopicIdT &&value)
bool TopicIdHasBeenSet() const
GeneratedAnswerResult & WithQuestionId(QuestionIdT &&value)
bool QuestionTextHasBeenSet() const
void SetRestatement(RestatementT &&value)
void SetTopicName(TopicNameT &&value)
const Aws::String & GetTopicId() const
GeneratedAnswerStatus GetAnswerStatus() const
void SetAnswerStatus(GeneratedAnswerStatus value)
AWS_QUICKSIGHT_API GeneratedAnswerResult()=default
void SetAnswerId(AnswerIdT &&value)
bool TopicNameHasBeenSet() const
bool QuestionUrlHasBeenSet() const
void SetQuestionUrl(QuestionUrlT &&value)
const Aws::String & GetAnswerId() const
void SetTopicId(TopicIdT &&value)
GeneratedAnswerResult & WithAnswerId(AnswerIdT &&value)
AWS_QUICKSIGHT_API GeneratedAnswerResult & operator=(Aws::Utils::Json::JsonView jsonValue)
GeneratedAnswerResult & WithAnswerStatus(GeneratedAnswerStatus value)
void SetQuestionId(QuestionIdT &&value)
const Aws::String & GetQuestionId() const
GeneratedAnswerResult & WithQuestionUrl(QuestionUrlT &&value)
GeneratedAnswerResult & WithTopicName(TopicNameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeneratedAnswerResult & WithRestatement(RestatementT &&value)
const Aws::String & GetQuestionText() const
const Aws::String & GetTopicName() const
AWS_QUICKSIGHT_API GeneratedAnswerResult(Aws::Utils::Json::JsonView jsonValue)
bool AnswerIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue