AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; }
51 inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); }
52 inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); }
53 inline CreateTopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;}
54 inline CreateTopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;}
55 inline CreateTopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;}
57
59
62 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
63 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
64 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
65 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
66 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
67 inline CreateTopicReviewedAnswer& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
68 inline CreateTopicReviewedAnswer& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
69 inline CreateTopicReviewedAnswer& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
71
73
76 inline const Aws::String& GetQuestion() const{ return m_question; }
77 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
78 inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; }
79 inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); }
80 inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); }
81 inline CreateTopicReviewedAnswer& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;}
82 inline CreateTopicReviewedAnswer& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;}
83 inline CreateTopicReviewedAnswer& WithQuestion(const char* value) { SetQuestion(value); return *this;}
85
87
90 inline const TopicIR& GetMir() const{ return m_mir; }
91 inline bool MirHasBeenSet() const { return m_mirHasBeenSet; }
92 inline void SetMir(const TopicIR& value) { m_mirHasBeenSet = true; m_mir = value; }
93 inline void SetMir(TopicIR&& value) { m_mirHasBeenSet = true; m_mir = std::move(value); }
94 inline CreateTopicReviewedAnswer& WithMir(const TopicIR& value) { SetMir(value); return *this;}
95 inline CreateTopicReviewedAnswer& WithMir(TopicIR&& value) { SetMir(std::move(value)); return *this;}
97
99
103 inline const TopicVisual& GetPrimaryVisual() const{ return m_primaryVisual; }
104 inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; }
105 inline void SetPrimaryVisual(const TopicVisual& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = value; }
106 inline void SetPrimaryVisual(TopicVisual&& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = std::move(value); }
107 inline CreateTopicReviewedAnswer& WithPrimaryVisual(const TopicVisual& value) { SetPrimaryVisual(value); return *this;}
108 inline CreateTopicReviewedAnswer& WithPrimaryVisual(TopicVisual&& value) { SetPrimaryVisual(std::move(value)); return *this;}
110
112
115 inline const TopicTemplate& GetTemplate() const{ return m_template; }
116 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
117 inline void SetTemplate(const TopicTemplate& value) { m_templateHasBeenSet = true; m_template = value; }
118 inline void SetTemplate(TopicTemplate&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
119 inline CreateTopicReviewedAnswer& WithTemplate(const TopicTemplate& value) { SetTemplate(value); return *this;}
120 inline CreateTopicReviewedAnswer& WithTemplate(TopicTemplate&& value) { SetTemplate(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_answerId;
125 bool m_answerIdHasBeenSet = false;
126
127 Aws::String m_datasetArn;
128 bool m_datasetArnHasBeenSet = false;
129
130 Aws::String m_question;
131 bool m_questionHasBeenSet = false;
132
133 TopicIR m_mir;
134 bool m_mirHasBeenSet = false;
135
136 TopicVisual m_primaryVisual;
137 bool m_primaryVisualHasBeenSet = false;
138
139 TopicTemplate m_template;
140 bool m_templateHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QuickSight
145} // namespace Aws
CreateTopicReviewedAnswer & WithQuestion(const Aws::String &value)
CreateTopicReviewedAnswer & WithAnswerId(const char *value)
CreateTopicReviewedAnswer & WithPrimaryVisual(TopicVisual &&value)
CreateTopicReviewedAnswer & WithQuestion(Aws::String &&value)
CreateTopicReviewedAnswer & WithDatasetArn(const char *value)
CreateTopicReviewedAnswer & WithDatasetArn(Aws::String &&value)
CreateTopicReviewedAnswer & WithAnswerId(const Aws::String &value)
CreateTopicReviewedAnswer & WithTemplate(const TopicTemplate &value)
CreateTopicReviewedAnswer & WithPrimaryVisual(const TopicVisual &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CreateTopicReviewedAnswer & WithTemplate(TopicTemplate &&value)
AWS_QUICKSIGHT_API CreateTopicReviewedAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateTopicReviewedAnswer & WithAnswerId(Aws::String &&value)
CreateTopicReviewedAnswer & WithQuestion(const char *value)
CreateTopicReviewedAnswer & WithDatasetArn(const Aws::String &value)
CreateTopicReviewedAnswer & WithMir(const TopicIR &value)
CreateTopicReviewedAnswer & WithMir(TopicIR &&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