AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline TopicReviewedAnswer& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline TopicReviewedAnswer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline TopicReviewedAnswer& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetAnswerId() const{ return m_answerId; }
63 inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; }
64 inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; }
65 inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); }
66 inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); }
67 inline TopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;}
68 inline TopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;}
69 inline TopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;}
71
73
76 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
77 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
78 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
79 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
80 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
81 inline TopicReviewedAnswer& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
82 inline TopicReviewedAnswer& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
83 inline TopicReviewedAnswer& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
85
87
90 inline const Aws::String& GetQuestion() const{ return m_question; }
91 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
92 inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; }
93 inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); }
94 inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); }
95 inline TopicReviewedAnswer& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;}
96 inline TopicReviewedAnswer& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;}
97 inline TopicReviewedAnswer& WithQuestion(const char* value) { SetQuestion(value); return *this;}
99
101
104 inline const TopicIR& GetMir() const{ return m_mir; }
105 inline bool MirHasBeenSet() const { return m_mirHasBeenSet; }
106 inline void SetMir(const TopicIR& value) { m_mirHasBeenSet = true; m_mir = value; }
107 inline void SetMir(TopicIR&& value) { m_mirHasBeenSet = true; m_mir = std::move(value); }
108 inline TopicReviewedAnswer& WithMir(const TopicIR& value) { SetMir(value); return *this;}
109 inline TopicReviewedAnswer& WithMir(TopicIR&& value) { SetMir(std::move(value)); return *this;}
111
113
116 inline const TopicVisual& GetPrimaryVisual() const{ return m_primaryVisual; }
117 inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; }
118 inline void SetPrimaryVisual(const TopicVisual& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = value; }
119 inline void SetPrimaryVisual(TopicVisual&& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = std::move(value); }
120 inline TopicReviewedAnswer& WithPrimaryVisual(const TopicVisual& value) { SetPrimaryVisual(value); return *this;}
121 inline TopicReviewedAnswer& WithPrimaryVisual(TopicVisual&& value) { SetPrimaryVisual(std::move(value)); return *this;}
123
125
128 inline const TopicTemplate& GetTemplate() const{ return m_template; }
129 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
130 inline void SetTemplate(const TopicTemplate& value) { m_templateHasBeenSet = true; m_template = value; }
131 inline void SetTemplate(TopicTemplate&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
132 inline TopicReviewedAnswer& WithTemplate(const TopicTemplate& value) { SetTemplate(value); return *this;}
133 inline TopicReviewedAnswer& WithTemplate(TopicTemplate&& value) { SetTemplate(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::String m_answerId;
141 bool m_answerIdHasBeenSet = false;
142
143 Aws::String m_datasetArn;
144 bool m_datasetArnHasBeenSet = false;
145
146 Aws::String m_question;
147 bool m_questionHasBeenSet = false;
148
149 TopicIR m_mir;
150 bool m_mirHasBeenSet = false;
151
152 TopicVisual m_primaryVisual;
153 bool m_primaryVisualHasBeenSet = false;
154
155 TopicTemplate m_template;
156 bool m_templateHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace QuickSight
161} // namespace Aws
TopicReviewedAnswer & WithDatasetArn(Aws::String &&value)
AWS_QUICKSIGHT_API TopicReviewedAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrimaryVisual(const TopicVisual &value)
TopicReviewedAnswer & WithArn(Aws::String &&value)
TopicReviewedAnswer & WithTemplate(TopicTemplate &&value)
TopicReviewedAnswer & WithDatasetArn(const Aws::String &value)
TopicReviewedAnswer & WithArn(const char *value)
TopicReviewedAnswer & WithTemplate(const TopicTemplate &value)
TopicReviewedAnswer & WithPrimaryVisual(const TopicVisual &value)
TopicReviewedAnswer & WithMir(const TopicIR &value)
void SetDatasetArn(const Aws::String &value)
TopicReviewedAnswer & WithQuestion(const Aws::String &value)
TopicReviewedAnswer & WithAnswerId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicReviewedAnswer & WithPrimaryVisual(TopicVisual &&value)
AWS_QUICKSIGHT_API TopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue)
void SetTemplate(const TopicTemplate &value)
TopicReviewedAnswer & WithMir(TopicIR &&value)
TopicReviewedAnswer & WithAnswerId(const Aws::String &value)
TopicReviewedAnswer & WithQuestion(const char *value)
TopicReviewedAnswer & WithArn(const Aws::String &value)
TopicReviewedAnswer & WithQuestion(Aws::String &&value)
TopicReviewedAnswer & WithAnswerId(const char *value)
TopicReviewedAnswer & WithDatasetArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue