AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateChimeWebhookConfigurationRequest.h
1
6#pragma once
7#include <aws/chatbot/ChatbotRequest.h>
8#include <aws/chatbot/Chatbot_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace chatbot {
16namespace Model {
17
21 public:
22 AWS_CHATBOT_API UpdateChimeWebhookConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateChimeWebhookConfiguration"; }
29
30 AWS_CHATBOT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetChatConfigurationArn() const { return m_chatConfigurationArn; }
38 inline bool ChatConfigurationArnHasBeenSet() const { return m_chatConfigurationArnHasBeenSet; }
39 template <typename ChatConfigurationArnT = Aws::String>
40 void SetChatConfigurationArn(ChatConfigurationArnT&& value) {
41 m_chatConfigurationArnHasBeenSet = true;
42 m_chatConfigurationArn = std::forward<ChatConfigurationArnT>(value);
43 }
44 template <typename ChatConfigurationArnT = Aws::String>
46 SetChatConfigurationArn(std::forward<ChatConfigurationArnT>(value));
47 return *this;
48 }
50
52
59 inline const Aws::String& GetWebhookDescription() const { return m_webhookDescription; }
60 inline bool WebhookDescriptionHasBeenSet() const { return m_webhookDescriptionHasBeenSet; }
61 template <typename WebhookDescriptionT = Aws::String>
62 void SetWebhookDescription(WebhookDescriptionT&& value) {
63 m_webhookDescriptionHasBeenSet = true;
64 m_webhookDescription = std::forward<WebhookDescriptionT>(value);
65 }
66 template <typename WebhookDescriptionT = Aws::String>
68 SetWebhookDescription(std::forward<WebhookDescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetWebhookUrl() const { return m_webhookUrl; }
78 inline bool WebhookUrlHasBeenSet() const { return m_webhookUrlHasBeenSet; }
79 template <typename WebhookUrlT = Aws::String>
80 void SetWebhookUrl(WebhookUrlT&& value) {
81 m_webhookUrlHasBeenSet = true;
82 m_webhookUrl = std::forward<WebhookUrlT>(value);
83 }
84 template <typename WebhookUrlT = Aws::String>
86 SetWebhookUrl(std::forward<WebhookUrlT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const { return m_snsTopicArns; }
96 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
97 template <typename SnsTopicArnsT = Aws::Vector<Aws::String>>
98 void SetSnsTopicArns(SnsTopicArnsT&& value) {
99 m_snsTopicArnsHasBeenSet = true;
100 m_snsTopicArns = std::forward<SnsTopicArnsT>(value);
101 }
102 template <typename SnsTopicArnsT = Aws::Vector<Aws::String>>
104 SetSnsTopicArns(std::forward<SnsTopicArnsT>(value));
105 return *this;
106 }
107 template <typename SnsTopicArnsT = Aws::String>
109 m_snsTopicArnsHasBeenSet = true;
110 m_snsTopicArns.emplace_back(std::forward<SnsTopicArnsT>(value));
111 return *this;
112 }
114
116
123 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
124 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
125 template <typename IamRoleArnT = Aws::String>
126 void SetIamRoleArn(IamRoleArnT&& value) {
127 m_iamRoleArnHasBeenSet = true;
128 m_iamRoleArn = std::forward<IamRoleArnT>(value);
129 }
130 template <typename IamRoleArnT = Aws::String>
132 SetIamRoleArn(std::forward<IamRoleArnT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::String& GetLoggingLevel() const { return m_loggingLevel; }
143 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
144 template <typename LoggingLevelT = Aws::String>
145 void SetLoggingLevel(LoggingLevelT&& value) {
146 m_loggingLevelHasBeenSet = true;
147 m_loggingLevel = std::forward<LoggingLevelT>(value);
148 }
149 template <typename LoggingLevelT = Aws::String>
151 SetLoggingLevel(std::forward<LoggingLevelT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_chatConfigurationArn;
157
158 Aws::String m_webhookDescription;
159
160 Aws::String m_webhookUrl;
161
162 Aws::Vector<Aws::String> m_snsTopicArns;
163
164 Aws::String m_iamRoleArn;
165
166 Aws::String m_loggingLevel;
167 bool m_chatConfigurationArnHasBeenSet = false;
168 bool m_webhookDescriptionHasBeenSet = false;
169 bool m_webhookUrlHasBeenSet = false;
170 bool m_snsTopicArnsHasBeenSet = false;
171 bool m_iamRoleArnHasBeenSet = false;
172 bool m_loggingLevelHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace chatbot
177} // namespace Aws
AWS_CHATBOT_API Aws::String SerializePayload() const override
UpdateChimeWebhookConfigurationRequest & WithLoggingLevel(LoggingLevelT &&value)
UpdateChimeWebhookConfigurationRequest & AddSnsTopicArns(SnsTopicArnsT &&value)
UpdateChimeWebhookConfigurationRequest & WithChatConfigurationArn(ChatConfigurationArnT &&value)
UpdateChimeWebhookConfigurationRequest & WithWebhookDescription(WebhookDescriptionT &&value)
UpdateChimeWebhookConfigurationRequest & WithWebhookUrl(WebhookUrlT &&value)
UpdateChimeWebhookConfigurationRequest & WithSnsTopicArns(SnsTopicArnsT &&value)
UpdateChimeWebhookConfigurationRequest & WithIamRoleArn(IamRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector