AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateTopicRequest.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/TopicDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API UpdateTopicRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateTopic"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
46 UpdateTopicRequest& WithAwsAccountId(AwsAccountIdT&& value) {
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetTopicId() const { return m_topicId; }
58 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
59 template <typename TopicIdT = Aws::String>
60 void SetTopicId(TopicIdT&& value) {
61 m_topicIdHasBeenSet = true;
62 m_topicId = std::forward<TopicIdT>(value);
63 }
64 template <typename TopicIdT = Aws::String>
65 UpdateTopicRequest& WithTopicId(TopicIdT&& value) {
66 SetTopicId(std::forward<TopicIdT>(value));
67 return *this;
68 }
70
72
75 inline const TopicDetails& GetTopic() const { return m_topic; }
76 inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
77 template <typename TopicT = TopicDetails>
78 void SetTopic(TopicT&& value) {
79 m_topicHasBeenSet = true;
80 m_topic = std::forward<TopicT>(value);
81 }
82 template <typename TopicT = TopicDetails>
83 UpdateTopicRequest& WithTopic(TopicT&& value) {
84 SetTopic(std::forward<TopicT>(value));
85 return *this;
86 }
88
90
93 inline const CustomInstructions& GetCustomInstructions() const { return m_customInstructions; }
94 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
95 template <typename CustomInstructionsT = CustomInstructions>
96 void SetCustomInstructions(CustomInstructionsT&& value) {
97 m_customInstructionsHasBeenSet = true;
98 m_customInstructions = std::forward<CustomInstructionsT>(value);
99 }
100 template <typename CustomInstructionsT = CustomInstructions>
101 UpdateTopicRequest& WithCustomInstructions(CustomInstructionsT&& value) {
102 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_awsAccountId;
108
109 Aws::String m_topicId;
110
111 TopicDetails m_topic;
112
113 CustomInstructions m_customInstructions;
114 bool m_awsAccountIdHasBeenSet = false;
115 bool m_topicIdHasBeenSet = false;
116 bool m_topicHasBeenSet = false;
117 bool m_customInstructionsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
UpdateTopicRequest & WithCustomInstructions(CustomInstructionsT &&value)
UpdateTopicRequest & WithTopic(TopicT &&value)
const CustomInstructions & GetCustomInstructions() const
AWS_QUICKSIGHT_API UpdateTopicRequest()=default
UpdateTopicRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateTopicRequest & WithTopicId(TopicIdT &&value)
void SetCustomInstructions(CustomInstructionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String