AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
UpdateTopicV2Request.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/CustomInstructions.h>
11#include <aws/quicksight/model/TopicV2Details.h>
12#include <aws/quicksight/model/TopicV2PublishOption.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API UpdateTopicV2Request() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateTopicV2"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
40 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
41 template <typename AwsAccountIdT = Aws::String>
42 void SetAwsAccountId(AwsAccountIdT&& value) {
43 m_awsAccountIdHasBeenSet = true;
44 m_awsAccountId = std::forward<AwsAccountIdT>(value);
45 }
46 template <typename AwsAccountIdT = Aws::String>
47 UpdateTopicV2Request& WithAwsAccountId(AwsAccountIdT&& value) {
48 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetTopicId() const { return m_topicId; }
59 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
60 template <typename TopicIdT = Aws::String>
61 void SetTopicId(TopicIdT&& value) {
62 m_topicIdHasBeenSet = true;
63 m_topicId = std::forward<TopicIdT>(value);
64 }
65 template <typename TopicIdT = Aws::String>
66 UpdateTopicV2Request& WithTopicId(TopicIdT&& value) {
67 SetTopicId(std::forward<TopicIdT>(value));
68 return *this;
69 }
71
73
76 inline const TopicV2Details& GetTopic() const { return m_topic; }
77 inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
78 template <typename TopicT = TopicV2Details>
79 void SetTopic(TopicT&& value) {
80 m_topicHasBeenSet = true;
81 m_topic = std::forward<TopicT>(value);
82 }
83 template <typename TopicT = TopicV2Details>
85 SetTopic(std::forward<TopicT>(value));
86 return *this;
87 }
89
91
92 inline const CustomInstructions& GetCustomInstructions() const { return m_customInstructions; }
93 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
94 template <typename CustomInstructionsT = CustomInstructions>
95 void SetCustomInstructions(CustomInstructionsT&& value) {
96 m_customInstructionsHasBeenSet = true;
97 m_customInstructions = std::forward<CustomInstructionsT>(value);
98 }
99 template <typename CustomInstructionsT = CustomInstructions>
100 UpdateTopicV2Request& WithCustomInstructions(CustomInstructionsT&& value) {
101 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
102 return *this;
103 }
105
107
110 inline TopicV2PublishOption GetPublishOption() const { return m_publishOption; }
111 inline bool PublishOptionHasBeenSet() const { return m_publishOptionHasBeenSet; }
113 m_publishOptionHasBeenSet = true;
114 m_publishOption = value;
115 }
117 SetPublishOption(value);
118 return *this;
119 }
121 private:
122 Aws::String m_awsAccountId;
123
124 Aws::String m_topicId;
125
126 TopicV2Details m_topic;
127
128 CustomInstructions m_customInstructions;
129
131 bool m_awsAccountIdHasBeenSet = false;
132 bool m_topicIdHasBeenSet = false;
133 bool m_topicHasBeenSet = false;
134 bool m_customInstructionsHasBeenSet = false;
135 bool m_publishOptionHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
const CustomInstructions & GetCustomInstructions() const
UpdateTopicV2Request & WithTopicId(TopicIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateTopicV2Request & WithAwsAccountId(AwsAccountIdT &&value)
UpdateTopicV2Request & WithPublishOption(TopicV2PublishOption value)
AWS_QUICKSIGHT_API UpdateTopicV2Request()=default
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetPublishOption(TopicV2PublishOption value)
UpdateTopicV2Request & WithTopic(TopicT &&value)
UpdateTopicV2Request & WithCustomInstructions(CustomInstructionsT &&value)
void SetCustomInstructions(CustomInstructionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String