AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename ChannelIdT = Aws::String>
44 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
45 template<typename ChannelIdT = Aws::String>
46 CreateMicrosoftTeamsChannelConfigurationRequest& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetChannelName() const { return m_channelName; }
54 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
55 template<typename ChannelNameT = Aws::String>
56 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
57 template<typename ChannelNameT = Aws::String>
58 CreateMicrosoftTeamsChannelConfigurationRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
60
62
71 inline const Aws::String& GetTeamId() const { return m_teamId; }
72 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
73 template<typename TeamIdT = Aws::String>
74 void SetTeamId(TeamIdT&& value) { m_teamIdHasBeenSet = true; m_teamId = std::forward<TeamIdT>(value); }
75 template<typename TeamIdT = Aws::String>
76 CreateMicrosoftTeamsChannelConfigurationRequest& WithTeamId(TeamIdT&& value) { SetTeamId(std::forward<TeamIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetTeamName() const { return m_teamName; }
84 inline bool TeamNameHasBeenSet() const { return m_teamNameHasBeenSet; }
85 template<typename TeamNameT = Aws::String>
86 void SetTeamName(TeamNameT&& value) { m_teamNameHasBeenSet = true; m_teamName = std::forward<TeamNameT>(value); }
87 template<typename TeamNameT = Aws::String>
88 CreateMicrosoftTeamsChannelConfigurationRequest& WithTeamName(TeamNameT&& value) { SetTeamName(std::forward<TeamNameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetTenantId() const { return m_tenantId; }
96 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
97 template<typename TenantIdT = Aws::String>
98 void SetTenantId(TenantIdT&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::forward<TenantIdT>(value); }
99 template<typename TenantIdT = Aws::String>
100 CreateMicrosoftTeamsChannelConfigurationRequest& WithTenantId(TenantIdT&& value) { SetTenantId(std::forward<TenantIdT>(value)); return *this;}
102
104
108 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const { return m_snsTopicArns; }
109 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
110 template<typename SnsTopicArnsT = Aws::Vector<Aws::String>>
111 void SetSnsTopicArns(SnsTopicArnsT&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::forward<SnsTopicArnsT>(value); }
112 template<typename SnsTopicArnsT = Aws::Vector<Aws::String>>
113 CreateMicrosoftTeamsChannelConfigurationRequest& WithSnsTopicArns(SnsTopicArnsT&& value) { SetSnsTopicArns(std::forward<SnsTopicArnsT>(value)); return *this;}
114 template<typename SnsTopicArnsT = Aws::String>
115 CreateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(SnsTopicArnsT&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.emplace_back(std::forward<SnsTopicArnsT>(value)); return *this; }
117
119
126 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
127 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
128 template<typename IamRoleArnT = Aws::String>
129 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
130 template<typename IamRoleArnT = Aws::String>
131 CreateMicrosoftTeamsChannelConfigurationRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
133
135
138 inline const Aws::String& GetConfigurationName() const { return m_configurationName; }
139 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
140 template<typename ConfigurationNameT = Aws::String>
141 void SetConfigurationName(ConfigurationNameT&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::forward<ConfigurationNameT>(value); }
142 template<typename ConfigurationNameT = Aws::String>
143 CreateMicrosoftTeamsChannelConfigurationRequest& WithConfigurationName(ConfigurationNameT&& value) { SetConfigurationName(std::forward<ConfigurationNameT>(value)); return *this;}
145
147
151 inline const Aws::String& GetLoggingLevel() const { return m_loggingLevel; }
152 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
153 template<typename LoggingLevelT = Aws::String>
154 void SetLoggingLevel(LoggingLevelT&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::forward<LoggingLevelT>(value); }
155 template<typename LoggingLevelT = Aws::String>
156 CreateMicrosoftTeamsChannelConfigurationRequest& WithLoggingLevel(LoggingLevelT&& value) { SetLoggingLevel(std::forward<LoggingLevelT>(value)); return *this;}
158
160
165 inline const Aws::Vector<Aws::String>& GetGuardrailPolicyArns() const { return m_guardrailPolicyArns; }
166 inline bool GuardrailPolicyArnsHasBeenSet() const { return m_guardrailPolicyArnsHasBeenSet; }
167 template<typename GuardrailPolicyArnsT = Aws::Vector<Aws::String>>
168 void SetGuardrailPolicyArns(GuardrailPolicyArnsT&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = std::forward<GuardrailPolicyArnsT>(value); }
169 template<typename GuardrailPolicyArnsT = Aws::Vector<Aws::String>>
170 CreateMicrosoftTeamsChannelConfigurationRequest& WithGuardrailPolicyArns(GuardrailPolicyArnsT&& value) { SetGuardrailPolicyArns(std::forward<GuardrailPolicyArnsT>(value)); return *this;}
171 template<typename GuardrailPolicyArnsT = Aws::String>
172 CreateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(GuardrailPolicyArnsT&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.emplace_back(std::forward<GuardrailPolicyArnsT>(value)); return *this; }
174
176
179 inline bool GetUserAuthorizationRequired() const { return m_userAuthorizationRequired; }
180 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
181 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
184
186
190 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
191 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
192 template<typename TagsT = Aws::Vector<Tag>>
193 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
194 template<typename TagsT = Aws::Vector<Tag>>
195 CreateMicrosoftTeamsChannelConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
196 template<typename TagsT = Tag>
197 CreateMicrosoftTeamsChannelConfigurationRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
199 private:
200
201 Aws::String m_channelId;
202 bool m_channelIdHasBeenSet = false;
203
204 Aws::String m_channelName;
205 bool m_channelNameHasBeenSet = false;
206
207 Aws::String m_teamId;
208 bool m_teamIdHasBeenSet = false;
209
210 Aws::String m_teamName;
211 bool m_teamNameHasBeenSet = false;
212
213 Aws::String m_tenantId;
214 bool m_tenantIdHasBeenSet = false;
215
216 Aws::Vector<Aws::String> m_snsTopicArns;
217 bool m_snsTopicArnsHasBeenSet = false;
218
219 Aws::String m_iamRoleArn;
220 bool m_iamRoleArnHasBeenSet = false;
221
222 Aws::String m_configurationName;
223 bool m_configurationNameHasBeenSet = false;
224
225 Aws::String m_loggingLevel;
226 bool m_loggingLevelHasBeenSet = false;
227
228 Aws::Vector<Aws::String> m_guardrailPolicyArns;
229 bool m_guardrailPolicyArnsHasBeenSet = false;
230
231 bool m_userAuthorizationRequired{false};
232 bool m_userAuthorizationRequiredHasBeenSet = false;
233
234 Aws::Vector<Tag> m_tags;
235 bool m_tagsHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace chatbot
240} // namespace Aws
CreateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(IamRoleArnT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamId(TeamIdT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTeamName(TeamNameT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithSnsTopicArns(SnsTopicArnsT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithUserAuthorizationRequired(bool value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(ChannelNameT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithGuardrailPolicyArns(GuardrailPolicyArnsT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(ChannelIdT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithTenantId(TenantIdT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(GuardrailPolicyArnsT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(LoggingLevelT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & WithConfigurationName(ConfigurationNameT &&value)
CreateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(SnsTopicArnsT &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector