AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 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
55 inline const Aws::String& GetChannelId() const{ return m_channelId; }
56 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
57 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
58 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
59 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
62 inline UpdateMicrosoftTeamsChannelConfigurationRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
64
66
69 inline const Aws::String& GetChannelName() const{ return m_channelName; }
70 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
71 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
72 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
73 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
76 inline UpdateMicrosoftTeamsChannelConfigurationRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
78
80
84 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const{ return m_snsTopicArns; }
85 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
86 inline void SetSnsTopicArns(const Aws::Vector<Aws::String>& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = value; }
87 inline void SetSnsTopicArns(Aws::Vector<Aws::String>&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::move(value); }
90 inline UpdateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(const Aws::String& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
91 inline UpdateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(Aws::String&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(std::move(value)); return *this; }
92 inline UpdateMicrosoftTeamsChannelConfigurationRequest& AddSnsTopicArns(const char* value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
94
96
103 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
104 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
105 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
106 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
107 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
110 inline UpdateMicrosoftTeamsChannelConfigurationRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
112
114
118 inline const Aws::String& GetLoggingLevel() const{ return m_loggingLevel; }
119 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
120 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
121 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
122 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
125 inline UpdateMicrosoftTeamsChannelConfigurationRequest& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
127
129
134 inline const Aws::Vector<Aws::String>& GetGuardrailPolicyArns() const{ return m_guardrailPolicyArns; }
135 inline bool GuardrailPolicyArnsHasBeenSet() const { return m_guardrailPolicyArnsHasBeenSet; }
136 inline void SetGuardrailPolicyArns(const Aws::Vector<Aws::String>& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = value; }
137 inline void SetGuardrailPolicyArns(Aws::Vector<Aws::String>&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns = std::move(value); }
140 inline UpdateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(const Aws::String& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
141 inline UpdateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(Aws::String&& value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(std::move(value)); return *this; }
142 inline UpdateMicrosoftTeamsChannelConfigurationRequest& AddGuardrailPolicyArns(const char* value) { m_guardrailPolicyArnsHasBeenSet = true; m_guardrailPolicyArns.push_back(value); return *this; }
144
146
149 inline bool GetUserAuthorizationRequired() const{ return m_userAuthorizationRequired; }
150 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
151 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
154 private:
155
156 Aws::String m_chatConfigurationArn;
157 bool m_chatConfigurationArnHasBeenSet = false;
158
159 Aws::String m_channelId;
160 bool m_channelIdHasBeenSet = false;
161
162 Aws::String m_channelName;
163 bool m_channelNameHasBeenSet = false;
164
165 Aws::Vector<Aws::String> m_snsTopicArns;
166 bool m_snsTopicArnsHasBeenSet = false;
167
168 Aws::String m_iamRoleArn;
169 bool m_iamRoleArnHasBeenSet = false;
170
171 Aws::String m_loggingLevel;
172 bool m_loggingLevelHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_guardrailPolicyArns;
175 bool m_guardrailPolicyArnsHasBeenSet = false;
176
177 bool m_userAuthorizationRequired;
178 bool m_userAuthorizationRequiredHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace chatbot
183} // namespace Aws
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(const Aws::String &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithSnsTopicArns(const Aws::Vector< Aws::String > &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithGuardrailPolicyArns(Aws::Vector< Aws::String > &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelId(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(const Aws::String &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddGuardrailPolicyArns(const Aws::String &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithGuardrailPolicyArns(const Aws::Vector< Aws::String > &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & AddSnsTopicArns(const Aws::String &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithUserAuthorizationRequired(bool value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChatConfigurationArn(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithLoggingLevel(const Aws::String &value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChatConfigurationArn(const Aws::String &value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithIamRoleArn(const char *value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChatConfigurationArn(Aws::String &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithSnsTopicArns(Aws::Vector< Aws::String > &&value)
UpdateMicrosoftTeamsChannelConfigurationRequest & WithChannelName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector