AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchCreateTopicReviewedAnswerRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/CreateTopicReviewedAnswer.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QuickSight
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchCreateTopicReviewedAnswer"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
45 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
46 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
48 inline BatchCreateTopicReviewedAnswerRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline BatchCreateTopicReviewedAnswerRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
51
53
57 inline const Aws::String& GetTopicId() const{ return m_topicId; }
58 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
59 inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; }
60 inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); }
61 inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); }
62 inline BatchCreateTopicReviewedAnswerRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
63 inline BatchCreateTopicReviewedAnswerRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
64 inline BatchCreateTopicReviewedAnswerRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;}
66
68
71 inline const Aws::Vector<CreateTopicReviewedAnswer>& GetAnswers() const{ return m_answers; }
72 inline bool AnswersHasBeenSet() const { return m_answersHasBeenSet; }
73 inline void SetAnswers(const Aws::Vector<CreateTopicReviewedAnswer>& value) { m_answersHasBeenSet = true; m_answers = value; }
74 inline void SetAnswers(Aws::Vector<CreateTopicReviewedAnswer>&& value) { m_answersHasBeenSet = true; m_answers = std::move(value); }
77 inline BatchCreateTopicReviewedAnswerRequest& AddAnswers(const CreateTopicReviewedAnswer& value) { m_answersHasBeenSet = true; m_answers.push_back(value); return *this; }
78 inline BatchCreateTopicReviewedAnswerRequest& AddAnswers(CreateTopicReviewedAnswer&& value) { m_answersHasBeenSet = true; m_answers.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_awsAccountId;
83 bool m_awsAccountIdHasBeenSet = false;
84
85 Aws::String m_topicId;
86 bool m_topicIdHasBeenSet = false;
87
89 bool m_answersHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
BatchCreateTopicReviewedAnswerRequest & WithAwsAccountId(const char *value)
BatchCreateTopicReviewedAnswerRequest & WithAnswers(const Aws::Vector< CreateTopicReviewedAnswer > &value)
BatchCreateTopicReviewedAnswerRequest & WithTopicId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetAnswers(const Aws::Vector< CreateTopicReviewedAnswer > &value)
BatchCreateTopicReviewedAnswerRequest & WithAwsAccountId(Aws::String &&value)
BatchCreateTopicReviewedAnswerRequest & WithAwsAccountId(const Aws::String &value)
BatchCreateTopicReviewedAnswerRequest & AddAnswers(CreateTopicReviewedAnswer &&value)
BatchCreateTopicReviewedAnswerRequest & WithAnswers(Aws::Vector< CreateTopicReviewedAnswer > &&value)
BatchCreateTopicReviewedAnswerRequest & WithTopicId(const char *value)
const Aws::Vector< CreateTopicReviewedAnswer > & GetAnswers() const
BatchCreateTopicReviewedAnswerRequest & AddAnswers(const CreateTopicReviewedAnswer &value)
BatchCreateTopicReviewedAnswerRequest & WithTopicId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector