AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateChimeWebhookConfigurationRequest.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/ChatbotRequest.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 chatbot
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CHATBOT_API UpdateChimeWebhookConfigurationRequest() = 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 "UpdateChimeWebhookConfiguration"; }
32
33 AWS_CHATBOT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetChatConfigurationArn() const { return m_chatConfigurationArn; }
42 inline bool ChatConfigurationArnHasBeenSet() const { return m_chatConfigurationArnHasBeenSet; }
43 template<typename ChatConfigurationArnT = Aws::String>
44 void SetChatConfigurationArn(ChatConfigurationArnT&& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = std::forward<ChatConfigurationArnT>(value); }
45 template<typename ChatConfigurationArnT = Aws::String>
46 UpdateChimeWebhookConfigurationRequest& WithChatConfigurationArn(ChatConfigurationArnT&& value) { SetChatConfigurationArn(std::forward<ChatConfigurationArnT>(value)); return *this;}
48
50
57 inline const Aws::String& GetWebhookDescription() const { return m_webhookDescription; }
58 inline bool WebhookDescriptionHasBeenSet() const { return m_webhookDescriptionHasBeenSet; }
59 template<typename WebhookDescriptionT = Aws::String>
60 void SetWebhookDescription(WebhookDescriptionT&& value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription = std::forward<WebhookDescriptionT>(value); }
61 template<typename WebhookDescriptionT = Aws::String>
62 UpdateChimeWebhookConfigurationRequest& WithWebhookDescription(WebhookDescriptionT&& value) { SetWebhookDescription(std::forward<WebhookDescriptionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetWebhookUrl() const { return m_webhookUrl; }
70 inline bool WebhookUrlHasBeenSet() const { return m_webhookUrlHasBeenSet; }
71 template<typename WebhookUrlT = Aws::String>
72 void SetWebhookUrl(WebhookUrlT&& value) { m_webhookUrlHasBeenSet = true; m_webhookUrl = std::forward<WebhookUrlT>(value); }
73 template<typename WebhookUrlT = Aws::String>
74 UpdateChimeWebhookConfigurationRequest& WithWebhookUrl(WebhookUrlT&& value) { SetWebhookUrl(std::forward<WebhookUrlT>(value)); return *this;}
76
78
81 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const { return m_snsTopicArns; }
82 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
83 template<typename SnsTopicArnsT = Aws::Vector<Aws::String>>
84 void SetSnsTopicArns(SnsTopicArnsT&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::forward<SnsTopicArnsT>(value); }
85 template<typename SnsTopicArnsT = Aws::Vector<Aws::String>>
86 UpdateChimeWebhookConfigurationRequest& WithSnsTopicArns(SnsTopicArnsT&& value) { SetSnsTopicArns(std::forward<SnsTopicArnsT>(value)); return *this;}
87 template<typename SnsTopicArnsT = Aws::String>
88 UpdateChimeWebhookConfigurationRequest& AddSnsTopicArns(SnsTopicArnsT&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.emplace_back(std::forward<SnsTopicArnsT>(value)); return *this; }
90
92
99 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
100 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
101 template<typename IamRoleArnT = Aws::String>
102 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
103 template<typename IamRoleArnT = Aws::String>
104 UpdateChimeWebhookConfigurationRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
106
108
112 inline const Aws::String& GetLoggingLevel() const { return m_loggingLevel; }
113 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
114 template<typename LoggingLevelT = Aws::String>
115 void SetLoggingLevel(LoggingLevelT&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::forward<LoggingLevelT>(value); }
116 template<typename LoggingLevelT = Aws::String>
117 UpdateChimeWebhookConfigurationRequest& WithLoggingLevel(LoggingLevelT&& value) { SetLoggingLevel(std::forward<LoggingLevelT>(value)); return *this;}
119 private:
120
121 Aws::String m_chatConfigurationArn;
122 bool m_chatConfigurationArnHasBeenSet = false;
123
124 Aws::String m_webhookDescription;
125 bool m_webhookDescriptionHasBeenSet = false;
126
127 Aws::String m_webhookUrl;
128 bool m_webhookUrlHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_snsTopicArns;
131 bool m_snsTopicArnsHasBeenSet = false;
132
133 Aws::String m_iamRoleArn;
134 bool m_iamRoleArnHasBeenSet = false;
135
136 Aws::String m_loggingLevel;
137 bool m_loggingLevelHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace chatbot
142} // 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