AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_QUICKSIGHT_API BatchDeleteTopicReviewedAnswerRequest() = default;
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 template<typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
45 template<typename AwsAccountIdT = Aws::String>
46 BatchDeleteTopicReviewedAnswerRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetTopicId() const { return m_topicId; }
55 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
56 template<typename TopicIdT = Aws::String>
57 void SetTopicId(TopicIdT&& value) { m_topicIdHasBeenSet = true; m_topicId = std::forward<TopicIdT>(value); }
58 template<typename TopicIdT = Aws::String>
59 BatchDeleteTopicReviewedAnswerRequest& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetAnswerIds() const { return m_answerIds; }
67 inline bool AnswerIdsHasBeenSet() const { return m_answerIdsHasBeenSet; }
68 template<typename AnswerIdsT = Aws::Vector<Aws::String>>
69 void SetAnswerIds(AnswerIdsT&& value) { m_answerIdsHasBeenSet = true; m_answerIds = std::forward<AnswerIdsT>(value); }
70 template<typename AnswerIdsT = Aws::Vector<Aws::String>>
71 BatchDeleteTopicReviewedAnswerRequest& WithAnswerIds(AnswerIdsT&& value) { SetAnswerIds(std::forward<AnswerIdsT>(value)); return *this;}
72 template<typename AnswerIdsT = Aws::String>
73 BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(AnswerIdsT&& value) { m_answerIdsHasBeenSet = true; m_answerIds.emplace_back(std::forward<AnswerIdsT>(value)); return *this; }
75 private:
76
77 Aws::String m_awsAccountId;
78 bool m_awsAccountIdHasBeenSet = false;
79
80 Aws::String m_topicId;
81 bool m_topicIdHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_answerIds;
84 bool m_answerIdsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
BatchDeleteTopicReviewedAnswerRequest & WithAwsAccountId(AwsAccountIdT &&value)
BatchDeleteTopicReviewedAnswerRequest & AddAnswerIds(AnswerIdsT &&value)
BatchDeleteTopicReviewedAnswerRequest & WithTopicId(TopicIdT &&value)
BatchDeleteTopicReviewedAnswerRequest & WithAnswerIds(AnswerIdsT &&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