AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TeamsChannelConfiguration.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/chatbot/model/Tag.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace chatbot
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CHATBOT_API TeamsChannelConfiguration();
40 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetChannelId() const{ return m_channelId; }
48 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
49 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
50 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
51 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
52 inline TeamsChannelConfiguration& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
53 inline TeamsChannelConfiguration& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
54 inline TeamsChannelConfiguration& WithChannelId(const char* value) { SetChannelId(value); return *this;}
56
58
61 inline const Aws::String& GetChannelName() const{ return m_channelName; }
62 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
63 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
64 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
65 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
66 inline TeamsChannelConfiguration& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
67 inline TeamsChannelConfiguration& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
68 inline TeamsChannelConfiguration& WithChannelName(const char* value) { SetChannelName(value); return *this;}
70
72
81 inline const Aws::String& GetTeamId() const{ return m_teamId; }
82 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
83 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
84 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
85 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
86 inline TeamsChannelConfiguration& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
87 inline TeamsChannelConfiguration& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
88 inline TeamsChannelConfiguration& WithTeamId(const char* value) { SetTeamId(value); return *this;}
90
92
95 inline const Aws::String& GetTeamName() const{ return m_teamName; }
96 inline bool TeamNameHasBeenSet() const { return m_teamNameHasBeenSet; }
97 inline void SetTeamName(const Aws::String& value) { m_teamNameHasBeenSet = true; m_teamName = value; }
98 inline void SetTeamName(Aws::String&& value) { m_teamNameHasBeenSet = true; m_teamName = std::move(value); }
99 inline void SetTeamName(const char* value) { m_teamNameHasBeenSet = true; m_teamName.assign(value); }
100 inline TeamsChannelConfiguration& WithTeamName(const Aws::String& value) { SetTeamName(value); return *this;}
101 inline TeamsChannelConfiguration& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;}
102 inline TeamsChannelConfiguration& WithTeamName(const char* value) { SetTeamName(value); return *this;}
104
106
109 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
110 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
111 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
112 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
113 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
114 inline TeamsChannelConfiguration& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
115 inline TeamsChannelConfiguration& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
116 inline TeamsChannelConfiguration& WithTenantId(const char* value) { SetTenantId(value); return *this;}
118
120
124 inline const Aws::String& GetChatConfigurationArn() const{ return m_chatConfigurationArn; }
125 inline bool ChatConfigurationArnHasBeenSet() const { return m_chatConfigurationArnHasBeenSet; }
126 inline void SetChatConfigurationArn(const Aws::String& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = value; }
127 inline void SetChatConfigurationArn(Aws::String&& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = std::move(value); }
128 inline void SetChatConfigurationArn(const char* value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn.assign(value); }
131 inline TeamsChannelConfiguration& WithChatConfigurationArn(const char* value) { SetChatConfigurationArn(value); return *this;}
133
135
142 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
143 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
144 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
145 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
146 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
147 inline TeamsChannelConfiguration& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
148 inline TeamsChannelConfiguration& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
149 inline TeamsChannelConfiguration& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
151
153
157 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const{ return m_snsTopicArns; }
158 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
159 inline void SetSnsTopicArns(const Aws::Vector<Aws::String>& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = value; }
160 inline void SetSnsTopicArns(Aws::Vector<Aws::String>&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::move(value); }
162 inline TeamsChannelConfiguration& WithSnsTopicArns(Aws::Vector<Aws::String>&& value) { SetSnsTopicArns(std::move(value)); return *this;}
163 inline TeamsChannelConfiguration& AddSnsTopicArns(const Aws::String& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
164 inline TeamsChannelConfiguration& AddSnsTopicArns(Aws::String&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(std::move(value)); return *this; }
165 inline TeamsChannelConfiguration& AddSnsTopicArns(const char* value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
167
169
172 inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
173 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
174 inline void SetConfigurationName(const Aws::String& value) { m_configurationNameHasBeenSet = true; m_configurationName = value; }
175 inline void SetConfigurationName(Aws::String&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::move(value); }
176 inline void SetConfigurationName(const char* value) { m_configurationNameHasBeenSet = true; m_configurationName.assign(value); }
178 inline TeamsChannelConfiguration& WithConfigurationName(Aws::String&& value) { SetConfigurationName(std::move(value)); return *this;}
179 inline TeamsChannelConfiguration& WithConfigurationName(const char* value) { SetConfigurationName(value); return *this;}
181
183
187 inline const Aws::String& GetLoggingLevel() const{ return m_loggingLevel; }
188 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
189 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
190 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
191 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
192 inline TeamsChannelConfiguration& WithLoggingLevel(const Aws::String& value) { SetLoggingLevel(value); return *this;}
193 inline TeamsChannelConfiguration& WithLoggingLevel(Aws::String&& value) { SetLoggingLevel(std::move(value)); return *this;}
194 inline TeamsChannelConfiguration& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
196
198
203 inline const Aws::Vector<Aws::String>& GetGuardrailPolicyArns() const{ return m_guardrailPolicyArns; }
204 inline bool GuardrailPolicyArnsHasBeenSet() const { return m_guardrailPolicyArnsHasBeenSet; }
205 inline void SetGuardrailPolicyArns(const Aws::Vector<Aws::String>& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = value; }
206 inline void SetGuardrailPolicyArns(Aws::Vector<Aws::String>&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = std::move(value); }
209 inline TeamsChannelConfiguration& AddGuardrailPolicyArns(const Aws::String& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
210 inline TeamsChannelConfiguration& AddGuardrailPolicyArns(Aws::String&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(std::move(value)); return *this; }
211 inline TeamsChannelConfiguration& AddGuardrailPolicyArns(const char* value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
213
215
218 inline bool GetUserAuthorizationRequired() const{ return m_userAuthorizationRequired; }
219 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
220 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
223
225
229 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
230 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
231 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
232 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
233 inline TeamsChannelConfiguration& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
234 inline TeamsChannelConfiguration& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
235 inline TeamsChannelConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
236 inline TeamsChannelConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
238
240
245 inline const Aws::String& GetState() const{ return m_state; }
246 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
247 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
248 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
249 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
250 inline TeamsChannelConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
251 inline TeamsChannelConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
252 inline TeamsChannelConfiguration& WithState(const char* value) { SetState(value); return *this;}
254
256
260 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
261 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
262 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
263 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
264 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
265 inline TeamsChannelConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
266 inline TeamsChannelConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
267 inline TeamsChannelConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
269 private:
270
271 Aws::String m_channelId;
272 bool m_channelIdHasBeenSet = false;
273
274 Aws::String m_channelName;
275 bool m_channelNameHasBeenSet = false;
276
277 Aws::String m_teamId;
278 bool m_teamIdHasBeenSet = false;
279
280 Aws::String m_teamName;
281 bool m_teamNameHasBeenSet = false;
282
283 Aws::String m_tenantId;
284 bool m_tenantIdHasBeenSet = false;
285
286 Aws::String m_chatConfigurationArn;
287 bool m_chatConfigurationArnHasBeenSet = false;
288
289 Aws::String m_iamRoleArn;
290 bool m_iamRoleArnHasBeenSet = false;
291
292 Aws::Vector<Aws::String> m_snsTopicArns;
293 bool m_snsTopicArnsHasBeenSet = false;
294
295 Aws::String m_configurationName;
296 bool m_configurationNameHasBeenSet = false;
297
298 Aws::String m_loggingLevel;
299 bool m_loggingLevelHasBeenSet = false;
300
301 Aws::Vector<Aws::String> m_guardrailPolicyArns;
302 bool m_guardrailPolicyArnsHasBeenSet = false;
303
304 bool m_userAuthorizationRequired;
305 bool m_userAuthorizationRequiredHasBeenSet = false;
306
307 Aws::Vector<Tag> m_tags;
308 bool m_tagsHasBeenSet = false;
309
310 Aws::String m_state;
311 bool m_stateHasBeenSet = false;
312
313 Aws::String m_stateReason;
314 bool m_stateReasonHasBeenSet = false;
315 };
316
317} // namespace Model
318} // namespace chatbot
319} // namespace Aws
TeamsChannelConfiguration & WithState(const Aws::String &value)
TeamsChannelConfiguration & WithConfigurationName(const char *value)
TeamsChannelConfiguration & WithChannelId(const char *value)
TeamsChannelConfiguration & WithChatConfigurationArn(Aws::String &&value)
AWS_CHATBOT_API TeamsChannelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TeamsChannelConfiguration & WithState(const char *value)
TeamsChannelConfiguration & WithIamRoleArn(const Aws::String &value)
TeamsChannelConfiguration & WithTeamName(const Aws::String &value)
TeamsChannelConfiguration & WithChannelName(const Aws::String &value)
AWS_CHATBOT_API TeamsChannelConfiguration(Aws::Utils::Json::JsonView jsonValue)
TeamsChannelConfiguration & WithStateReason(Aws::String &&value)
TeamsChannelConfiguration & WithChatConfigurationArn(const char *value)
void SetGuardrailPolicyArns(const Aws::Vector< Aws::String > &value)
TeamsChannelConfiguration & WithConfigurationName(const Aws::String &value)
TeamsChannelConfiguration & WithTags(const Aws::Vector< Tag > &value)
TeamsChannelConfiguration & WithChannelName(const char *value)
TeamsChannelConfiguration & WithSnsTopicArns(const Aws::Vector< Aws::String > &value)
TeamsChannelConfiguration & WithConfigurationName(Aws::String &&value)
TeamsChannelConfiguration & WithTeamId(const char *value)
TeamsChannelConfiguration & AddGuardrailPolicyArns(const char *value)
TeamsChannelConfiguration & WithChannelName(Aws::String &&value)
TeamsChannelConfiguration & WithTenantId(const Aws::String &value)
TeamsChannelConfiguration & WithChannelId(Aws::String &&value)
TeamsChannelConfiguration & WithState(Aws::String &&value)
TeamsChannelConfiguration & AddTags(const Tag &value)
TeamsChannelConfiguration & WithChannelId(const Aws::String &value)
TeamsChannelConfiguration & WithTeamName(const char *value)
void SetGuardrailPolicyArns(Aws::Vector< Aws::String > &&value)
void SetSnsTopicArns(Aws::Vector< Aws::String > &&value)
TeamsChannelConfiguration & WithIamRoleArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGuardrailPolicyArns() const
TeamsChannelConfiguration & WithGuardrailPolicyArns(const Aws::Vector< Aws::String > &value)
TeamsChannelConfiguration & WithStateReason(const Aws::String &value)
TeamsChannelConfiguration & WithUserAuthorizationRequired(bool value)
TeamsChannelConfiguration & WithTenantId(const char *value)
void SetSnsTopicArns(const Aws::Vector< Aws::String > &value)
TeamsChannelConfiguration & AddSnsTopicArns(const Aws::String &value)
TeamsChannelConfiguration & AddGuardrailPolicyArns(const Aws::String &value)
TeamsChannelConfiguration & AddTags(Tag &&value)
TeamsChannelConfiguration & AddGuardrailPolicyArns(Aws::String &&value)
TeamsChannelConfiguration & WithTeamId(const Aws::String &value)
TeamsChannelConfiguration & AddSnsTopicArns(Aws::String &&value)
TeamsChannelConfiguration & WithTeamName(Aws::String &&value)
TeamsChannelConfiguration & WithTeamId(Aws::String &&value)
TeamsChannelConfiguration & WithTenantId(Aws::String &&value)
TeamsChannelConfiguration & WithChatConfigurationArn(const Aws::String &value)
TeamsChannelConfiguration & AddSnsTopicArns(const char *value)
TeamsChannelConfiguration & WithLoggingLevel(const char *value)
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
TeamsChannelConfiguration & WithSnsTopicArns(Aws::Vector< Aws::String > &&value)
TeamsChannelConfiguration & WithGuardrailPolicyArns(Aws::Vector< Aws::String > &&value)
TeamsChannelConfiguration & WithTags(Aws::Vector< Tag > &&value)
TeamsChannelConfiguration & WithLoggingLevel(const Aws::String &value)
TeamsChannelConfiguration & WithLoggingLevel(Aws::String &&value)
TeamsChannelConfiguration & WithStateReason(const char *value)
const Aws::Vector< Aws::String > & GetSnsTopicArns() const
TeamsChannelConfiguration & WithIamRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue