AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMicrosoftTeamsChannelConfigurationRequest.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 "UpdateMicrosoftTeamsChannelConfiguration"; }
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 template<typename ChatConfigurationArnT = Aws::String>
44 void SetChatConfigurationArn(ChatConfigurationArnT&& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = std::forward<ChatConfigurationArnT>(value); }
45 template<typename ChatConfigurationArnT = Aws::String>
46 UpdateMicrosoftTeamsChannelConfigurationRequest& WithChatConfigurationArn(ChatConfigurationArnT&& value) { SetChatConfigurationArn(std::forward<ChatConfigurationArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetChannelId() const { return m_channelId; }
54 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
55 template<typename ChannelIdT = Aws::String>
56 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
57 template<typename ChannelIdT = Aws::String>
58 UpdateMicrosoftTeamsChannelConfigurationRequest& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetChannelName() const { return m_channelName; }
66 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
67 template<typename ChannelNameT = Aws::String>
68 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
69 template<typename ChannelNameT = Aws::String>
70 UpdateMicrosoftTeamsChannelConfigurationRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
72
74
78 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const { return m_snsTopicArns; }
79 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
80 template<typename SnsTopicArnsT = Aws::Vector<Aws::String>>
81 void SetSnsTopicArns(SnsTopicArnsT&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::forward<SnsTopicArnsT>(value); }
82 template<typename SnsTopicArnsT = Aws::Vector<Aws::String>>
83 UpdateMicrosoftTeamsChannelConfigurationRequest& WithSnsTopicArns(SnsTopicArnsT&& value) { SetSnsTopicArns(std::forward<SnsTopicArnsT>(value)); return *this;}
84 template<typename SnsTopicArnsT = Aws::String>
85 UpdateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(SnsTopicArnsT&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.emplace_back(std::forward<SnsTopicArnsT>(value)); return *this; }
87
89
96 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
97 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
98 template<typename IamRoleArnT = Aws::String>
99 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
100 template<typename IamRoleArnT = Aws::String>
101 UpdateMicrosoftTeamsChannelConfigurationRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
103
105
109 inline const Aws::String& GetLoggingLevel() const { return m_loggingLevel; }
110 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
111 template<typename LoggingLevelT = Aws::String>
112 void SetLoggingLevel(LoggingLevelT&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::forward<LoggingLevelT>(value); }
113 template<typename LoggingLevelT = Aws::String>
114 UpdateMicrosoftTeamsChannelConfigurationRequest& WithLoggingLevel(LoggingLevelT&& value) { SetLoggingLevel(std::forward<LoggingLevelT>(value)); return *this;}
116
118
123 inline const Aws::Vector<Aws::String>& GetGuardrailPolicyArns() const { return m_guardrailPolicyArns; }
124 inline bool GuardrailPolicyArnsHasBeenSet() const { return m_guardrailPolicyArnsHasBeenSet; }
125 template<typename GuardrailPolicyArnsT = Aws::Vector<Aws::String>>
126 void SetGuardrailPolicyArns(GuardrailPolicyArnsT&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = std::forward<GuardrailPolicyArnsT>(value); }
127 template<typename GuardrailPolicyArnsT = Aws::Vector<Aws::String>>
128 UpdateMicrosoftTeamsChannelConfigurationRequest& WithGuardrailPolicyArns(GuardrailPolicyArnsT&& value) { SetGuardrailPolicyArns(std::forward<GuardrailPolicyArnsT>(value)); return *this;}
129 template<typename GuardrailPolicyArnsT = Aws::String>
130 UpdateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(GuardrailPolicyArnsT&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.emplace_back(std::forward<GuardrailPolicyArnsT>(value)); return *this; }
132
134
137 inline bool GetUserAuthorizationRequired() const { return m_userAuthorizationRequired; }
138 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
139 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
142 private:
143
144 Aws::String m_chatConfigurationArn;
145 bool m_chatConfigurationArnHasBeenSet = false;
146
147 Aws::String m_channelId;
148 bool m_channelIdHasBeenSet = false;
149
150 Aws::String m_channelName;
151 bool m_channelNameHasBeenSet = false;
152
153 Aws::Vector<Aws::String> m_snsTopicArns;
154 bool m_snsTopicArnsHasBeenSet = false;
155
156 Aws::String m_iamRoleArn;
157 bool m_iamRoleArnHasBeenSet = false;
158
159 Aws::String m_loggingLevel;
160 bool m_loggingLevelHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_guardrailPolicyArns;
163 bool m_guardrailPolicyArnsHasBeenSet = false;
164
165 bool m_userAuthorizationRequired{false};
166 bool m_userAuthorizationRequiredHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace chatbot
171} // namespace Aws
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChatConfigurationArn(ChatConfigurationArnT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(IamRoleArnT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(ChannelNameT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithGuardrailPolicyArns(GuardrailPolicyArnsT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(ChannelIdT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(LoggingLevelT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(SnsTopicArnsT &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithUserAuthorizationRequired(bool value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithSnsTopicArns(SnsTopicArnsT &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
UpdateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(GuardrailPolicyArnsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector