AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSlackChannelConfigurationRequest.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 "UpdateSlackChannelConfiguration"; }
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
57 inline const Aws::String& GetSlackChannelId() const{ return m_slackChannelId; }
58 inline bool SlackChannelIdHasBeenSet() const { return m_slackChannelIdHasBeenSet; }
59 inline void SetSlackChannelId(const Aws::String& value) { m_slackChannelIdHasBeenSet = true; m_slackChannelId = value; }
60 inline void SetSlackChannelId(Aws::String&& value) { m_slackChannelIdHasBeenSet = true; m_slackChannelId = std::move(value); }
61 inline void SetSlackChannelId(const char* value) { m_slackChannelIdHasBeenSet = true; m_slackChannelId.assign(value); }
64 inline UpdateSlackChannelConfigurationRequest& WithSlackChannelId(const char* value) { SetSlackChannelId(value); return *this;}
66
68
71 inline const Aws::String& GetSlackChannelName() const{ return m_slackChannelName; }
72 inline bool SlackChannelNameHasBeenSet() const { return m_slackChannelNameHasBeenSet; }
73 inline void SetSlackChannelName(const Aws::String& value) { m_slackChannelNameHasBeenSet = true; m_slackChannelName = value; }
74 inline void SetSlackChannelName(Aws::String&& value) { m_slackChannelNameHasBeenSet = true; m_slackChannelName = std::move(value); }
75 inline void SetSlackChannelName(const char* value) { m_slackChannelNameHasBeenSet = true; m_slackChannelName.assign(value); }
78 inline UpdateSlackChannelConfigurationRequest& WithSlackChannelName(const char* value) { SetSlackChannelName(value); return *this;}
80
82
86 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const{ return m_snsTopicArns; }
87 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
88 inline void SetSnsTopicArns(const Aws::Vector<Aws::String>& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = value; }
89 inline void SetSnsTopicArns(Aws::Vector<Aws::String>&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::move(value); }
92 inline UpdateSlackChannelConfigurationRequest& AddSnsTopicArns(const Aws::String& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
93 inline UpdateSlackChannelConfigurationRequest& AddSnsTopicArns(Aws::String&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(std::move(value)); return *this; }
94 inline UpdateSlackChannelConfigurationRequest& AddSnsTopicArns(const char* value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
96
98
105 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
106 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
107 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
108 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
109 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
111 inline UpdateSlackChannelConfigurationRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
112 inline UpdateSlackChannelConfigurationRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
114
116
120 inline const Aws::String& GetLoggingLevel() const{ return m_loggingLevel; }
121 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
122 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
123 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
124 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
126 inline UpdateSlackChannelConfigurationRequest& WithLoggingLevel(Aws::String&& value) { SetLoggingLevel(std::move(value)); return *this;}
127 inline UpdateSlackChannelConfigurationRequest& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
129
131
136 inline const Aws::Vector<Aws::String>& GetGuardrailPolicyArns() const{ return m_guardrailPolicyArns; }
137 inline bool GuardrailPolicyArnsHasBeenSet() const { return m_guardrailPolicyArnsHasBeenSet; }
138 inline void SetGuardrailPolicyArns(const Aws::Vector<Aws::String>& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = value; }
139 inline void SetGuardrailPolicyArns(Aws::Vector<Aws::String>&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = std::move(value); }
142 inline UpdateSlackChannelConfigurationRequest& AddGuardrailPolicyArns(const Aws::String& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
143 inline UpdateSlackChannelConfigurationRequest& AddGuardrailPolicyArns(Aws::String&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(std::move(value)); return *this; }
144 inline UpdateSlackChannelConfigurationRequest& AddGuardrailPolicyArns(const char* value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
146
148
151 inline bool GetUserAuthorizationRequired() const{ return m_userAuthorizationRequired; }
152 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
153 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
156 private:
157
158 Aws::String m_chatConfigurationArn;
159 bool m_chatConfigurationArnHasBeenSet = false;
160
161 Aws::String m_slackChannelId;
162 bool m_slackChannelIdHasBeenSet = false;
163
164 Aws::String m_slackChannelName;
165 bool m_slackChannelNameHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_snsTopicArns;
168 bool m_snsTopicArnsHasBeenSet = false;
169
170 Aws::String m_iamRoleArn;
171 bool m_iamRoleArnHasBeenSet = false;
172
173 Aws::String m_loggingLevel;
174 bool m_loggingLevelHasBeenSet = false;
175
176 Aws::Vector<Aws::String> m_guardrailPolicyArns;
177 bool m_guardrailPolicyArnsHasBeenSet = false;
178
179 bool m_userAuthorizationRequired;
180 bool m_userAuthorizationRequiredHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace chatbot
185} // namespace Aws
UpdateSlackChannelConfigurationRequest & WithSlackChannelName(const char *value)
UpdateSlackChannelConfigurationRequest & WithChatConfigurationArn(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithGuardrailPolicyArns(const Aws::Vector< Aws::String > &value)
UpdateSlackChannelConfigurationRequest & WithIamRoleArn(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithLoggingLevel(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithSlackChannelId(const char *value)
UpdateSlackChannelConfigurationRequest & AddGuardrailPolicyArns(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithUserAuthorizationRequired(bool value)
UpdateSlackChannelConfigurationRequest & WithSlackChannelName(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithSnsTopicArns(const Aws::Vector< Aws::String > &value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
UpdateSlackChannelConfigurationRequest & AddSnsTopicArns(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & AddSnsTopicArns(const char *value)
UpdateSlackChannelConfigurationRequest & WithLoggingLevel(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & AddGuardrailPolicyArns(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithIamRoleArn(const char *value)
UpdateSlackChannelConfigurationRequest & WithLoggingLevel(const char *value)
UpdateSlackChannelConfigurationRequest & WithChatConfigurationArn(const char *value)
UpdateSlackChannelConfigurationRequest & WithGuardrailPolicyArns(Aws::Vector< Aws::String > &&value)
UpdateSlackChannelConfigurationRequest & WithSnsTopicArns(Aws::Vector< Aws::String > &&value)
UpdateSlackChannelConfigurationRequest & AddGuardrailPolicyArns(const char *value)
UpdateSlackChannelConfigurationRequest & WithChatConfigurationArn(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithSlackChannelName(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithIamRoleArn(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithSlackChannelId(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & AddSnsTopicArns(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithSlackChannelId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector