AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSlackChannelConfigurationRequest.h
1
6#pragma once
7#include <aws/support-app/SupportApp_EXPORTS.h>
8#include <aws/support-app/SupportAppRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/support-app/model/NotificationSeverityLevel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SupportApp
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 "UpdateSlackChannelConfiguration"; }
32
33 AWS_SUPPORTAPP_API Aws::String SerializePayload() const override;
34
35
37
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); }
47 inline UpdateSlackChannelConfigurationRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
48 inline UpdateSlackChannelConfigurationRequest& 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); }
61 inline UpdateSlackChannelConfigurationRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
62 inline UpdateSlackChannelConfigurationRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
64
66
73 inline const Aws::String& GetChannelRoleArn() const{ return m_channelRoleArn; }
74 inline bool ChannelRoleArnHasBeenSet() const { return m_channelRoleArnHasBeenSet; }
75 inline void SetChannelRoleArn(const Aws::String& value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn = value; }
76 inline void SetChannelRoleArn(Aws::String&& value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn = std::move(value); }
77 inline void SetChannelRoleArn(const char* value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn.assign(value); }
80 inline UpdateSlackChannelConfigurationRequest& WithChannelRoleArn(const char* value) { SetChannelRoleArn(value); return *this;}
82
84
88 inline bool GetNotifyOnAddCorrespondenceToCase() const{ return m_notifyOnAddCorrespondenceToCase; }
89 inline bool NotifyOnAddCorrespondenceToCaseHasBeenSet() const { return m_notifyOnAddCorrespondenceToCaseHasBeenSet; }
90 inline void SetNotifyOnAddCorrespondenceToCase(bool value) { m_notifyOnAddCorrespondenceToCaseHasBeenSet = true; m_notifyOnAddCorrespondenceToCase = value; }
93
95
110 inline const NotificationSeverityLevel& GetNotifyOnCaseSeverity() const{ return m_notifyOnCaseSeverity; }
111 inline bool NotifyOnCaseSeverityHasBeenSet() const { return m_notifyOnCaseSeverityHasBeenSet; }
112 inline void SetNotifyOnCaseSeverity(const NotificationSeverityLevel& value) { m_notifyOnCaseSeverityHasBeenSet = true; m_notifyOnCaseSeverity = value; }
113 inline void SetNotifyOnCaseSeverity(NotificationSeverityLevel&& value) { m_notifyOnCaseSeverityHasBeenSet = true; m_notifyOnCaseSeverity = std::move(value); }
117
119
123 inline bool GetNotifyOnCreateOrReopenCase() const{ return m_notifyOnCreateOrReopenCase; }
124 inline bool NotifyOnCreateOrReopenCaseHasBeenSet() const { return m_notifyOnCreateOrReopenCaseHasBeenSet; }
125 inline void SetNotifyOnCreateOrReopenCase(bool value) { m_notifyOnCreateOrReopenCaseHasBeenSet = true; m_notifyOnCreateOrReopenCase = value; }
128
130
133 inline bool GetNotifyOnResolveCase() const{ return m_notifyOnResolveCase; }
134 inline bool NotifyOnResolveCaseHasBeenSet() const { return m_notifyOnResolveCaseHasBeenSet; }
135 inline void SetNotifyOnResolveCase(bool value) { m_notifyOnResolveCaseHasBeenSet = true; m_notifyOnResolveCase = value; }
138
140
144 inline const Aws::String& GetTeamId() const{ return m_teamId; }
145 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
146 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
147 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
148 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
149 inline UpdateSlackChannelConfigurationRequest& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
150 inline UpdateSlackChannelConfigurationRequest& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
151 inline UpdateSlackChannelConfigurationRequest& WithTeamId(const char* value) { SetTeamId(value); return *this;}
153 private:
154
155 Aws::String m_channelId;
156 bool m_channelIdHasBeenSet = false;
157
158 Aws::String m_channelName;
159 bool m_channelNameHasBeenSet = false;
160
161 Aws::String m_channelRoleArn;
162 bool m_channelRoleArnHasBeenSet = false;
163
164 bool m_notifyOnAddCorrespondenceToCase;
165 bool m_notifyOnAddCorrespondenceToCaseHasBeenSet = false;
166
167 NotificationSeverityLevel m_notifyOnCaseSeverity;
168 bool m_notifyOnCaseSeverityHasBeenSet = false;
169
170 bool m_notifyOnCreateOrReopenCase;
171 bool m_notifyOnCreateOrReopenCaseHasBeenSet = false;
172
173 bool m_notifyOnResolveCase;
174 bool m_notifyOnResolveCaseHasBeenSet = false;
175
176 Aws::String m_teamId;
177 bool m_teamIdHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace SupportApp
182} // namespace Aws
UpdateSlackChannelConfigurationRequest & WithNotifyOnCreateOrReopenCase(bool value)
AWS_SUPPORTAPP_API Aws::String SerializePayload() const override
UpdateSlackChannelConfigurationRequest & WithChannelId(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithChannelName(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithChannelName(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithChannelId(const char *value)
UpdateSlackChannelConfigurationRequest & WithChannelRoleArn(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithNotifyOnCaseSeverity(const NotificationSeverityLevel &value)
UpdateSlackChannelConfigurationRequest & WithChannelId(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithTeamId(const char *value)
UpdateSlackChannelConfigurationRequest & WithTeamId(const Aws::String &value)
UpdateSlackChannelConfigurationRequest & WithNotifyOnCaseSeverity(NotificationSeverityLevel &&value)
UpdateSlackChannelConfigurationRequest & WithChannelName(const char *value)
UpdateSlackChannelConfigurationRequest & WithNotifyOnAddCorrespondenceToCase(bool value)
UpdateSlackChannelConfigurationRequest & WithChannelRoleArn(const char *value)
UpdateSlackChannelConfigurationRequest & WithChannelRoleArn(Aws::String &&value)
UpdateSlackChannelConfigurationRequest & WithTeamId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String