AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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:
25 AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationRequest() = default;
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 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 UpdateSlackChannelConfigurationRequest& 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 UpdateSlackChannelConfigurationRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
60
62
69 inline const Aws::String& GetChannelRoleArn() const { return m_channelRoleArn; }
70 inline bool ChannelRoleArnHasBeenSet() const { return m_channelRoleArnHasBeenSet; }
71 template<typename ChannelRoleArnT = Aws::String>
72 void SetChannelRoleArn(ChannelRoleArnT&& value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn = std::forward<ChannelRoleArnT>(value); }
73 template<typename ChannelRoleArnT = Aws::String>
74 UpdateSlackChannelConfigurationRequest& WithChannelRoleArn(ChannelRoleArnT&& value) { SetChannelRoleArn(std::forward<ChannelRoleArnT>(value)); return *this;}
76
78
82 inline bool GetNotifyOnAddCorrespondenceToCase() const { return m_notifyOnAddCorrespondenceToCase; }
83 inline bool NotifyOnAddCorrespondenceToCaseHasBeenSet() const { return m_notifyOnAddCorrespondenceToCaseHasBeenSet; }
84 inline void SetNotifyOnAddCorrespondenceToCase(bool value) { m_notifyOnAddCorrespondenceToCaseHasBeenSet = true; m_notifyOnAddCorrespondenceToCase = value; }
87
89
104 inline NotificationSeverityLevel GetNotifyOnCaseSeverity() const { return m_notifyOnCaseSeverity; }
105 inline bool NotifyOnCaseSeverityHasBeenSet() const { return m_notifyOnCaseSeverityHasBeenSet; }
106 inline void SetNotifyOnCaseSeverity(NotificationSeverityLevel value) { m_notifyOnCaseSeverityHasBeenSet = true; m_notifyOnCaseSeverity = value; }
109
111
115 inline bool GetNotifyOnCreateOrReopenCase() const { return m_notifyOnCreateOrReopenCase; }
116 inline bool NotifyOnCreateOrReopenCaseHasBeenSet() const { return m_notifyOnCreateOrReopenCaseHasBeenSet; }
117 inline void SetNotifyOnCreateOrReopenCase(bool value) { m_notifyOnCreateOrReopenCaseHasBeenSet = true; m_notifyOnCreateOrReopenCase = value; }
120
122
125 inline bool GetNotifyOnResolveCase() const { return m_notifyOnResolveCase; }
126 inline bool NotifyOnResolveCaseHasBeenSet() const { return m_notifyOnResolveCaseHasBeenSet; }
127 inline void SetNotifyOnResolveCase(bool value) { m_notifyOnResolveCaseHasBeenSet = true; m_notifyOnResolveCase = value; }
130
132
136 inline const Aws::String& GetTeamId() const { return m_teamId; }
137 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
138 template<typename TeamIdT = Aws::String>
139 void SetTeamId(TeamIdT&& value) { m_teamIdHasBeenSet = true; m_teamId = std::forward<TeamIdT>(value); }
140 template<typename TeamIdT = Aws::String>
141 UpdateSlackChannelConfigurationRequest& WithTeamId(TeamIdT&& value) { SetTeamId(std::forward<TeamIdT>(value)); return *this;}
143 private:
144
145 Aws::String m_channelId;
146 bool m_channelIdHasBeenSet = false;
147
148 Aws::String m_channelName;
149 bool m_channelNameHasBeenSet = false;
150
151 Aws::String m_channelRoleArn;
152 bool m_channelRoleArnHasBeenSet = false;
153
154 bool m_notifyOnAddCorrespondenceToCase{false};
155 bool m_notifyOnAddCorrespondenceToCaseHasBeenSet = false;
156
158 bool m_notifyOnCaseSeverityHasBeenSet = false;
159
160 bool m_notifyOnCreateOrReopenCase{false};
161 bool m_notifyOnCreateOrReopenCaseHasBeenSet = false;
162
163 bool m_notifyOnResolveCase{false};
164 bool m_notifyOnResolveCaseHasBeenSet = false;
165
166 Aws::String m_teamId;
167 bool m_teamIdHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SupportApp
172} // namespace Aws
UpdateSlackChannelConfigurationRequest & WithNotifyOnCreateOrReopenCase(bool value)
AWS_SUPPORTAPP_API Aws::String SerializePayload() const override
UpdateSlackChannelConfigurationRequest & WithTeamId(TeamIdT &&value)
UpdateSlackChannelConfigurationRequest & WithChannelRoleArn(ChannelRoleArnT &&value)
UpdateSlackChannelConfigurationRequest & WithChannelName(ChannelNameT &&value)
UpdateSlackChannelConfigurationRequest & WithNotifyOnAddCorrespondenceToCase(bool value)
UpdateSlackChannelConfigurationRequest & WithChannelId(ChannelIdT &&value)
UpdateSlackChannelConfigurationRequest & WithNotifyOnCaseSeverity(NotificationSeverityLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String