AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteTopicReviewedAnswerRequest.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 <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteTopicReviewedAnswer"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
44 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
45 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
47 inline BatchDeleteTopicReviewedAnswerRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
48 inline BatchDeleteTopicReviewedAnswerRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
50
52
56 inline const Aws::String& GetTopicId() const{ return m_topicId; }
57 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
58 inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; }
59 inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); }
60 inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); }
61 inline BatchDeleteTopicReviewedAnswerRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
62 inline BatchDeleteTopicReviewedAnswerRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
63 inline BatchDeleteTopicReviewedAnswerRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;}
65
67
70 inline const Aws::Vector<Aws::String>& GetAnswerIds() const{ return m_answerIds; }
71 inline bool AnswerIdsHasBeenSet() const { return m_answerIdsHasBeenSet; }
72 inline void SetAnswerIds(const Aws::Vector<Aws::String>& value) { m_answerIdsHasBeenSet = true; m_answerIds = value; }
73 inline void SetAnswerIds(Aws::Vector<Aws::String>&& value) { m_answerIdsHasBeenSet = true; m_answerIds = std::move(value); }
76 inline BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(const Aws::String& value) { m_answerIdsHasBeenSet = true; m_answerIds.push_back(value); return *this; }
77 inline BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(Aws::String&& value) { m_answerIdsHasBeenSet = true; m_answerIds.push_back(std::move(value)); return *this; }
78 inline BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(const char* value) { m_answerIdsHasBeenSet = true; m_answerIds.push_back(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
88 Aws::Vector<Aws::String> m_answerIds;
89 bool m_answerIdsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
BatchDeleteTopicReviewedAnswerRequest & WithAwsAccountId(const Aws::String &value)
BatchDeleteTopicReviewedAnswerRequest & WithTopicId(const Aws::String &value)
BatchDeleteTopicReviewedAnswerRequest & AddAnswerIds(Aws::String &&value)
BatchDeleteTopicReviewedAnswerRequest & WithAnswerIds(const Aws::Vector< Aws::String > &value)
BatchDeleteTopicReviewedAnswerRequest & AddAnswerIds(const Aws::String &value)
BatchDeleteTopicReviewedAnswerRequest & WithAwsAccountId(Aws::String &&value)
BatchDeleteTopicReviewedAnswerRequest & WithTopicId(Aws::String &&value)
BatchDeleteTopicReviewedAnswerRequest & WithTopicId(const char *value)
BatchDeleteTopicReviewedAnswerRequest & WithAwsAccountId(const char *value)
BatchDeleteTopicReviewedAnswerRequest & WithAnswerIds(Aws::Vector< Aws::String > &&value)
BatchDeleteTopicReviewedAnswerRequest & AddAnswerIds(const char *value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector