AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateTopicReviewedAnswer.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/TopicIR.h>
10#include <aws/quicksight/model/TopicTemplate.h>
11#include <aws/quicksight/model/TopicVisual.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API CreateTopicReviewedAnswer() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetAnswerId() const { return m_answerId; }
43 inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; }
44 template <typename AnswerIdT = Aws::String>
45 void SetAnswerId(AnswerIdT&& value) {
46 m_answerIdHasBeenSet = true;
47 m_answerId = std::forward<AnswerIdT>(value);
48 }
49 template <typename AnswerIdT = Aws::String>
51 SetAnswerId(std::forward<AnswerIdT>(value));
52 return *this;
53 }
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) {
64 m_datasetArnHasBeenSet = true;
65 m_datasetArn = std::forward<DatasetArnT>(value);
66 }
67 template <typename DatasetArnT = Aws::String>
69 SetDatasetArn(std::forward<DatasetArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetQuestion() const { return m_question; }
79 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
80 template <typename QuestionT = Aws::String>
81 void SetQuestion(QuestionT&& value) {
82 m_questionHasBeenSet = true;
83 m_question = std::forward<QuestionT>(value);
84 }
85 template <typename QuestionT = Aws::String>
87 SetQuestion(std::forward<QuestionT>(value));
88 return *this;
89 }
91
93
96 inline const TopicIR& GetMir() const { return m_mir; }
97 inline bool MirHasBeenSet() const { return m_mirHasBeenSet; }
98 template <typename MirT = TopicIR>
99 void SetMir(MirT&& value) {
100 m_mirHasBeenSet = true;
101 m_mir = std::forward<MirT>(value);
102 }
103 template <typename MirT = TopicIR>
105 SetMir(std::forward<MirT>(value));
106 return *this;
107 }
109
111
115 inline const TopicVisual& GetPrimaryVisual() const { return m_primaryVisual; }
116 inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; }
117 template <typename PrimaryVisualT = TopicVisual>
118 void SetPrimaryVisual(PrimaryVisualT&& value) {
119 m_primaryVisualHasBeenSet = true;
120 m_primaryVisual = std::forward<PrimaryVisualT>(value);
121 }
122 template <typename PrimaryVisualT = TopicVisual>
124 SetPrimaryVisual(std::forward<PrimaryVisualT>(value));
125 return *this;
126 }
128
130
133 inline const TopicTemplate& GetTemplate() const { return m_template; }
134 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
135 template <typename TemplateT = TopicTemplate>
136 void SetTemplate(TemplateT&& value) {
137 m_templateHasBeenSet = true;
138 m_template = std::forward<TemplateT>(value);
139 }
140 template <typename TemplateT = TopicTemplate>
142 SetTemplate(std::forward<TemplateT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_answerId;
148
149 Aws::String m_datasetArn;
150
151 Aws::String m_question;
152
153 TopicIR m_mir;
154
155 TopicVisual m_primaryVisual;
156
157 TopicTemplate m_template;
158 bool m_answerIdHasBeenSet = false;
159 bool m_datasetArnHasBeenSet = false;
160 bool m_questionHasBeenSet = false;
161 bool m_mirHasBeenSet = false;
162 bool m_primaryVisualHasBeenSet = false;
163 bool m_templateHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace QuickSight
168} // 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