AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
UpdateSlackChannelConfigurationResult.h
1
6#pragma once
7#include <aws/support-app/SupportApp_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/support-app/model/NotificationSeverityLevel.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SupportApp
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult() = default;
34
35
37
41 inline const Aws::String& GetChannelId() const { return m_channelId; }
42 template<typename ChannelIdT = Aws::String>
43 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
44 template<typename ChannelIdT = Aws::String>
45 UpdateSlackChannelConfigurationResult& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetChannelName() const { return m_channelName; }
54 template<typename ChannelNameT = Aws::String>
55 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
56 template<typename ChannelNameT = Aws::String>
57 UpdateSlackChannelConfigurationResult& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
59
61
68 inline const Aws::String& GetChannelRoleArn() const { return m_channelRoleArn; }
69 template<typename ChannelRoleArnT = Aws::String>
70 void SetChannelRoleArn(ChannelRoleArnT&& value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn = std::forward<ChannelRoleArnT>(value); }
71 template<typename ChannelRoleArnT = Aws::String>
72 UpdateSlackChannelConfigurationResult& WithChannelRoleArn(ChannelRoleArnT&& value) { SetChannelRoleArn(std::forward<ChannelRoleArnT>(value)); return *this;}
74
76
80 inline bool GetNotifyOnAddCorrespondenceToCase() const { return m_notifyOnAddCorrespondenceToCase; }
81 inline void SetNotifyOnAddCorrespondenceToCase(bool value) { m_notifyOnAddCorrespondenceToCaseHasBeenSet = true; m_notifyOnAddCorrespondenceToCase = value; }
84
86
90 inline NotificationSeverityLevel GetNotifyOnCaseSeverity() const { return m_notifyOnCaseSeverity; }
91 inline void SetNotifyOnCaseSeverity(NotificationSeverityLevel value) { m_notifyOnCaseSeverityHasBeenSet = true; m_notifyOnCaseSeverity = value; }
94
96
100 inline bool GetNotifyOnCreateOrReopenCase() const { return m_notifyOnCreateOrReopenCase; }
101 inline void SetNotifyOnCreateOrReopenCase(bool value) { m_notifyOnCreateOrReopenCaseHasBeenSet = true; m_notifyOnCreateOrReopenCase = value; }
104
106
109 inline bool GetNotifyOnResolveCase() const { return m_notifyOnResolveCase; }
110 inline void SetNotifyOnResolveCase(bool value) { m_notifyOnResolveCaseHasBeenSet = true; m_notifyOnResolveCase = value; }
113
115
119 inline const Aws::String& GetTeamId() const { return m_teamId; }
120 template<typename TeamIdT = Aws::String>
121 void SetTeamId(TeamIdT&& value) { m_teamIdHasBeenSet = true; m_teamId = std::forward<TeamIdT>(value); }
122 template<typename TeamIdT = Aws::String>
123 UpdateSlackChannelConfigurationResult& WithTeamId(TeamIdT&& value) { SetTeamId(std::forward<TeamIdT>(value)); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template<typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
131 template<typename RequestIdT = Aws::String>
132 UpdateSlackChannelConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
134 private:
135
136 Aws::String m_channelId;
137 bool m_channelIdHasBeenSet = false;
138
139 Aws::String m_channelName;
140 bool m_channelNameHasBeenSet = false;
141
142 Aws::String m_channelRoleArn;
143 bool m_channelRoleArnHasBeenSet = false;
144
145 bool m_notifyOnAddCorrespondenceToCase{false};
146 bool m_notifyOnAddCorrespondenceToCaseHasBeenSet = false;
147
149 bool m_notifyOnCaseSeverityHasBeenSet = false;
150
151 bool m_notifyOnCreateOrReopenCase{false};
152 bool m_notifyOnCreateOrReopenCaseHasBeenSet = false;
153
154 bool m_notifyOnResolveCase{false};
155 bool m_notifyOnResolveCaseHasBeenSet = false;
156
157 Aws::String m_teamId;
158 bool m_teamIdHasBeenSet = false;
159
160 Aws::String m_requestId;
161 bool m_requestIdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SupportApp
166} // namespace Aws
UpdateSlackChannelConfigurationResult & WithNotifyOnCreateOrReopenCase(bool value)
AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlackChannelConfigurationResult & WithTeamId(TeamIdT &&value)
UpdateSlackChannelConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateSlackChannelConfigurationResult & WithChannelName(ChannelNameT &&value)
UpdateSlackChannelConfigurationResult & WithChannelId(ChannelIdT &&value)
UpdateSlackChannelConfigurationResult & WithNotifyOnAddCorrespondenceToCase(bool value)
UpdateSlackChannelConfigurationResult & WithChannelRoleArn(ChannelRoleArnT &&value)
AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlackChannelConfigurationResult & WithNotifyOnCaseSeverity(NotificationSeverityLevel value)
UpdateSlackChannelConfigurationResult & WithNotifyOnResolveCase(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue