AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopicReviewedAnswer.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 TopicReviewedAnswer() = default;
39 AWS_QUICKSIGHT_API TopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 TopicReviewedAnswer& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetAnswerId() const { return m_answerId; }
61 inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; }
62 template<typename AnswerIdT = Aws::String>
63 void SetAnswerId(AnswerIdT&& value) { m_answerIdHasBeenSet = true; m_answerId = std::forward<AnswerIdT>(value); }
64 template<typename AnswerIdT = Aws::String>
65 TopicReviewedAnswer& WithAnswerId(AnswerIdT&& value) { SetAnswerId(std::forward<AnswerIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
73 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
74 template<typename DatasetArnT = Aws::String>
75 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
76 template<typename DatasetArnT = Aws::String>
77 TopicReviewedAnswer& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
79
81
84 inline const Aws::String& GetQuestion() const { return m_question; }
85 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
86 template<typename QuestionT = Aws::String>
87 void SetQuestion(QuestionT&& value) { m_questionHasBeenSet = true; m_question = std::forward<QuestionT>(value); }
88 template<typename QuestionT = Aws::String>
89 TopicReviewedAnswer& WithQuestion(QuestionT&& value) { SetQuestion(std::forward<QuestionT>(value)); return *this;}
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) { m_mirHasBeenSet = true; m_mir = std::forward<MirT>(value); }
100 template<typename MirT = TopicIR>
101 TopicReviewedAnswer& WithMir(MirT&& value) { SetMir(std::forward<MirT>(value)); return *this;}
103
105
108 inline const TopicVisual& GetPrimaryVisual() const { return m_primaryVisual; }
109 inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; }
110 template<typename PrimaryVisualT = TopicVisual>
111 void SetPrimaryVisual(PrimaryVisualT&& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = std::forward<PrimaryVisualT>(value); }
112 template<typename PrimaryVisualT = TopicVisual>
113 TopicReviewedAnswer& WithPrimaryVisual(PrimaryVisualT&& value) { SetPrimaryVisual(std::forward<PrimaryVisualT>(value)); return *this;}
115
117
120 inline const TopicTemplate& GetTemplate() const { return m_template; }
121 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
122 template<typename TemplateT = TopicTemplate>
123 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
124 template<typename TemplateT = TopicTemplate>
125 TopicReviewedAnswer& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
127 private:
128
129 Aws::String m_arn;
130 bool m_arnHasBeenSet = false;
131
132 Aws::String m_answerId;
133 bool m_answerIdHasBeenSet = false;
134
135 Aws::String m_datasetArn;
136 bool m_datasetArnHasBeenSet = false;
137
138 Aws::String m_question;
139 bool m_questionHasBeenSet = false;
140
141 TopicIR m_mir;
142 bool m_mirHasBeenSet = false;
143
144 TopicVisual m_primaryVisual;
145 bool m_primaryVisualHasBeenSet = false;
146
147 TopicTemplate m_template;
148 bool m_templateHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace QuickSight
153} // namespace Aws
TopicReviewedAnswer & WithPrimaryVisual(PrimaryVisualT &&value)
AWS_QUICKSIGHT_API TopicReviewedAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicReviewedAnswer & WithQuestion(QuestionT &&value)
TopicReviewedAnswer & WithArn(ArnT &&value)
TopicReviewedAnswer & WithMir(MirT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicReviewedAnswer & WithTemplate(TemplateT &&value)
TopicReviewedAnswer & WithDatasetArn(DatasetArnT &&value)
AWS_QUICKSIGHT_API TopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TopicReviewedAnswer()=default
TopicReviewedAnswer & WithAnswerId(AnswerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue