AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMicrosoftTeamsChannelConfigurationRequest.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 <aws/chatbot/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace chatbot
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateMicrosoftTeamsChannelConfiguration"; }
33
34 AWS_CHATBOT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetChannelId() const{ return m_channelId; }
42 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
43 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
44 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
45 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
48 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
50
52
55 inline const Aws::String& GetChannelName() const{ return m_channelName; }
56 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
57 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
58 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
59 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
62 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
64
66
75 inline const Aws::String& GetTeamId() const{ return m_teamId; }
76 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
77 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
78 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
79 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
81 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
82 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTeamId(const char* value) { SetTeamId(value); return *this;}
84
86
89 inline const Aws::String& GetTeamName() const{ return m_teamName; }
90 inline bool TeamNameHasBeenSet() const { return m_teamNameHasBeenSet; }
91 inline void SetTeamName(const Aws::String& value) { m_teamNameHasBeenSet = true; m_teamName = value; }
92 inline void SetTeamName(Aws::String&& value) { m_teamNameHasBeenSet = true; m_teamName = std::move(value); }
93 inline void SetTeamName(const char* value) { m_teamNameHasBeenSet = true; m_teamName.assign(value); }
95 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;}
96 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTeamName(const char* value) { SetTeamName(value); return *this;}
98
100
103 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
104 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
105 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
106 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
107 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
109 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
110 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTenantId(const char* value) { SetTenantId(value); return *this;}
112
114
118 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const{ return m_snsTopicArns; }
119 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
120 inline void SetSnsTopicArns(const Aws::Vector<Aws::String>& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = value; }
121 inline void SetSnsTopicArns(Aws::Vector<Aws::String>&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::move(value); }
124 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(const Aws::String& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
125 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(Aws::String&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(std::move(value)); return *this; }
126 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(const char* value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
128
130
137 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
138 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
139 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
140 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
141 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
144 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
146
148
151 inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
152 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
153 inline void SetConfigurationName(const Aws::String& value) { m_configurationNameHasBeenSet = true; m_configurationName = value; }
154 inline void SetConfigurationName(Aws::String&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::move(value); }
155 inline void SetConfigurationName(const char* value) { m_configurationNameHasBeenSet = true; m_configurationName.assign(value); }
160
162
166 inline const Aws::String& GetLoggingLevel() const{ return m_loggingLevel; }
167 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
168 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
169 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
170 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
173 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
175
177
182 inline const Aws::Vector<Aws::String>& GetGuardrailPolicyArns() const{ return m_guardrailPolicyArns; }
183 inline bool GuardrailPolicyArnsHasBeenSet() const { return m_guardrailPolicyArnsHasBeenSet; }
184 inline void SetGuardrailPolicyArns(const Aws::Vector<Aws::String>& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = value; }
185 inline void SetGuardrailPolicyArns(Aws::Vector<Aws::String>&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = std::move(value); }
188 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(const Aws::String& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
189 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(Aws::String&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(std::move(value)); return *this; }
190 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(const char* value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
192
194
197 inline bool GetUserAuthorizationRequired() const{ return m_userAuthorizationRequired; }
198 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
199 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
202
204
208 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
209 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
210 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
211 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
213 inline CreateMicrosoftTeamsChannelConfigurationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
214 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
215 inline CreateMicrosoftTeamsChannelConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
217 private:
218
219 Aws::String m_channelId;
220 bool m_channelIdHasBeenSet = false;
221
222 Aws::String m_channelName;
223 bool m_channelNameHasBeenSet = false;
224
225 Aws::String m_teamId;
226 bool m_teamIdHasBeenSet = false;
227
228 Aws::String m_teamName;
229 bool m_teamNameHasBeenSet = false;
230
231 Aws::String m_tenantId;
232 bool m_tenantIdHasBeenSet = false;
233
234 Aws::Vector<Aws::String> m_snsTopicArns;
235 bool m_snsTopicArnsHasBeenSet = false;
236
237 Aws::String m_iamRoleArn;
238 bool m_iamRoleArnHasBeenSet = false;
239
240 Aws::String m_configurationName;
241 bool m_configurationNameHasBeenSet = false;
242
243 Aws::String m_loggingLevel;
244 bool m_loggingLevelHasBeenSet = false;
245
246 Aws::Vector<Aws::String> m_guardrailPolicyArns;
247 bool m_guardrailPolicyArnsHasBeenSet = false;
248
249 bool m_userAuthorizationRequired;
250 bool m_userAuthorizationRequiredHasBeenSet = false;
251
252 Aws::Vector<Tag> m_tags;
253 bool m_tagsHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace chatbot
258} // namespace Aws
CreateMicrosoftTeamsChannelConfigurationRequest & WithConfigurationName(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithGuardrailPolicyArns(Aws::Vector< Aws::String > &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithGuardrailPolicyArns(const Aws::Vector< Aws::String > &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamName(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithSnsTopicArns(const Aws::Vector< Aws::String > &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamName(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithUserAuthorizationRequired(bool value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamId(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithSnsTopicArns(Aws::Vector< Aws::String > &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamId(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTenantId(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamId(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTenantId(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTenantId(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(const Aws::String &value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithConfigurationName(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(const char *value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamName(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(const Aws::String &value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
CreateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(Aws::String &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithConfigurationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector