AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetChatConfigurationArn(const Aws::String& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = value; }
44 inline void SetChatConfigurationArn(Aws::String&& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = std::move(value); }
45 inline void SetChatConfigurationArn(const char* value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn.assign(value); }
50
52
59 inline const Aws::String& GetWebhookDescription() const{ return m_webhookDescription; }
60 inline bool WebhookDescriptionHasBeenSet() const { return m_webhookDescriptionHasBeenSet; }
61 inline void SetWebhookDescription(const Aws::String& value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription = value; }
62 inline void SetWebhookDescription(Aws::String&& value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription = std::move(value); }
63 inline void SetWebhookDescription(const char* value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription.assign(value); }
68
70
73 inline const Aws::String& GetWebhookUrl() const{ return m_webhookUrl; }
74 inline bool WebhookUrlHasBeenSet() const { return m_webhookUrlHasBeenSet; }
75 inline void SetWebhookUrl(const Aws::String& value) { m_webhookUrlHasBeenSet = true; m_webhookUrl = value; }
76 inline void SetWebhookUrl(Aws::String&& value) { m_webhookUrlHasBeenSet = true; m_webhookUrl = std::move(value); }
77 inline void SetWebhookUrl(const char* value) { m_webhookUrlHasBeenSet = true; m_webhookUrl.assign(value); }
79 inline UpdateChimeWebhookConfigurationRequest& WithWebhookUrl(Aws::String&& value) { SetWebhookUrl(std::move(value)); return *this;}
80 inline UpdateChimeWebhookConfigurationRequest& WithWebhookUrl(const char* value) { SetWebhookUrl(value); return *this;}
82
84
87 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const{ return m_snsTopicArns; }
88 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
89 inline void SetSnsTopicArns(const Aws::Vector<Aws::String>& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = value; }
90 inline void SetSnsTopicArns(Aws::Vector<Aws::String>&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::move(value); }
93 inline UpdateChimeWebhookConfigurationRequest& AddSnsTopicArns(const Aws::String& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
94 inline UpdateChimeWebhookConfigurationRequest& AddSnsTopicArns(Aws::String&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(std::move(value)); return *this; }
95 inline UpdateChimeWebhookConfigurationRequest& AddSnsTopicArns(const char* value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
97
99
106 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
107 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
108 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
109 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
110 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
112 inline UpdateChimeWebhookConfigurationRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
113 inline UpdateChimeWebhookConfigurationRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
115
117
121 inline const Aws::String& GetLoggingLevel() const{ return m_loggingLevel; }
122 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
123 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
124 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
125 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
127 inline UpdateChimeWebhookConfigurationRequest& WithLoggingLevel(Aws::String&& value) { SetLoggingLevel(std::move(value)); return *this;}
128 inline UpdateChimeWebhookConfigurationRequest& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
130 private:
131
132 Aws::String m_chatConfigurationArn;
133 bool m_chatConfigurationArnHasBeenSet = false;
134
135 Aws::String m_webhookDescription;
136 bool m_webhookDescriptionHasBeenSet = false;
137
138 Aws::String m_webhookUrl;
139 bool m_webhookUrlHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_snsTopicArns;
142 bool m_snsTopicArnsHasBeenSet = false;
143
144 Aws::String m_iamRoleArn;
145 bool m_iamRoleArnHasBeenSet = false;
146
147 Aws::String m_loggingLevel;
148 bool m_loggingLevelHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace chatbot
153} // namespace Aws
UpdateChimeWebhookConfigurationRequest & WithWebhookDescription(const char *value)
UpdateChimeWebhookConfigurationRequest & WithIamRoleArn(const char *value)
UpdateChimeWebhookConfigurationRequest & AddSnsTopicArns(const Aws::String &value)
UpdateChimeWebhookConfigurationRequest & AddSnsTopicArns(Aws::String &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
UpdateChimeWebhookConfigurationRequest & WithWebhookUrl(const Aws::String &value)
UpdateChimeWebhookConfigurationRequest & WithChatConfigurationArn(const char *value)
UpdateChimeWebhookConfigurationRequest & WithWebhookUrl(Aws::String &&value)
UpdateChimeWebhookConfigurationRequest & WithLoggingLevel(const Aws::String &value)
UpdateChimeWebhookConfigurationRequest & AddSnsTopicArns(const char *value)
UpdateChimeWebhookConfigurationRequest & WithIamRoleArn(Aws::String &&value)
UpdateChimeWebhookConfigurationRequest & WithLoggingLevel(const char *value)
UpdateChimeWebhookConfigurationRequest & WithWebhookUrl(const char *value)
UpdateChimeWebhookConfigurationRequest & WithSnsTopicArns(const Aws::Vector< Aws::String > &value)
UpdateChimeWebhookConfigurationRequest & WithChatConfigurationArn(Aws::String &&value)
UpdateChimeWebhookConfigurationRequest & WithChatConfigurationArn(const Aws::String &value)
UpdateChimeWebhookConfigurationRequest & WithIamRoleArn(const Aws::String &value)
UpdateChimeWebhookConfigurationRequest & WithWebhookDescription(const Aws::String &value)
UpdateChimeWebhookConfigurationRequest & WithLoggingLevel(Aws::String &&value)
UpdateChimeWebhookConfigurationRequest & WithWebhookDescription(Aws::String &&value)
UpdateChimeWebhookConfigurationRequest & WithSnsTopicArns(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector