AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateTopicReviewedAnswer.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TopicIR.h>
10#include <aws/quicksight/model/TopicVisual.h>
11#include <aws/quicksight/model/TopicTemplate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API CreateTopicReviewedAnswer() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAnswerId() const { return m_answerId; }
49 inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; }
50 template<typename AnswerIdT = Aws::String>
51 void SetAnswerId(AnswerIdT&& value) { m_answerIdHasBeenSet = true; m_answerId = std::forward<AnswerIdT>(value); }
52 template<typename AnswerIdT = Aws::String>
53 CreateTopicReviewedAnswer& WithAnswerId(AnswerIdT&& value) { SetAnswerId(std::forward<AnswerIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
61 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
62 template<typename DatasetArnT = Aws::String>
63 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
64 template<typename DatasetArnT = Aws::String>
65 CreateTopicReviewedAnswer& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetQuestion() const { return m_question; }
73 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
74 template<typename QuestionT = Aws::String>
75 void SetQuestion(QuestionT&& value) { m_questionHasBeenSet = true; m_question = std::forward<QuestionT>(value); }
76 template<typename QuestionT = Aws::String>
77 CreateTopicReviewedAnswer& WithQuestion(QuestionT&& value) { SetQuestion(std::forward<QuestionT>(value)); return *this;}
79
81
84 inline const TopicIR& GetMir() const { return m_mir; }
85 inline bool MirHasBeenSet() const { return m_mirHasBeenSet; }
86 template<typename MirT = TopicIR>
87 void SetMir(MirT&& value) { m_mirHasBeenSet = true; m_mir = std::forward<MirT>(value); }
88 template<typename MirT = TopicIR>
89 CreateTopicReviewedAnswer& WithMir(MirT&& value) { SetMir(std::forward<MirT>(value)); return *this;}
91
93
97 inline const TopicVisual& GetPrimaryVisual() const { return m_primaryVisual; }
98 inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; }
99 template<typename PrimaryVisualT = TopicVisual>
100 void SetPrimaryVisual(PrimaryVisualT&& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = std::forward<PrimaryVisualT>(value); }
101 template<typename PrimaryVisualT = TopicVisual>
102 CreateTopicReviewedAnswer& WithPrimaryVisual(PrimaryVisualT&& value) { SetPrimaryVisual(std::forward<PrimaryVisualT>(value)); return *this;}
104
106
109 inline const TopicTemplate& GetTemplate() const { return m_template; }
110 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
111 template<typename TemplateT = TopicTemplate>
112 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
113 template<typename TemplateT = TopicTemplate>
114 CreateTopicReviewedAnswer& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
116 private:
117
118 Aws::String m_answerId;
119 bool m_answerIdHasBeenSet = false;
120
121 Aws::String m_datasetArn;
122 bool m_datasetArnHasBeenSet = false;
123
124 Aws::String m_question;
125 bool m_questionHasBeenSet = false;
126
127 TopicIR m_mir;
128 bool m_mirHasBeenSet = false;
129
130 TopicVisual m_primaryVisual;
131 bool m_primaryVisualHasBeenSet = false;
132
133 TopicTemplate m_template;
134 bool m_templateHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace QuickSight
139} // namespace Aws
CreateTopicReviewedAnswer & WithPrimaryVisual(PrimaryVisualT &&value)
CreateTopicReviewedAnswer & WithDatasetArn(DatasetArnT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CreateTopicReviewedAnswer & WithQuestion(QuestionT &&value)
AWS_QUICKSIGHT_API CreateTopicReviewedAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateTopicReviewedAnswer & WithAnswerId(AnswerIdT &&value)
AWS_QUICKSIGHT_API CreateTopicReviewedAnswer()=default
CreateTopicReviewedAnswer & WithMir(MirT &&value)
CreateTopicReviewedAnswer & WithTemplate(TemplateT &&value)
AWS_QUICKSIGHT_API CreateTopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue