AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
34
35
37
41 inline const Aws::String& GetChannelId() const{ return m_channelId; }
42 inline void SetChannelId(const Aws::String& value) { m_channelId = value; }
43 inline void SetChannelId(Aws::String&& value) { m_channelId = std::move(value); }
44 inline void SetChannelId(const char* value) { m_channelId.assign(value); }
45 inline UpdateSlackChannelConfigurationResult& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
46 inline UpdateSlackChannelConfigurationResult& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
47 inline UpdateSlackChannelConfigurationResult& WithChannelId(const char* value) { SetChannelId(value); return *this;}
49
51
55 inline const Aws::String& GetChannelName() const{ return m_channelName; }
56 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
57 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
58 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
60 inline UpdateSlackChannelConfigurationResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
61 inline UpdateSlackChannelConfigurationResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
63
65
72 inline const Aws::String& GetChannelRoleArn() const{ return m_channelRoleArn; }
73 inline void SetChannelRoleArn(const Aws::String& value) { m_channelRoleArn = value; }
74 inline void SetChannelRoleArn(Aws::String&& value) { m_channelRoleArn = std::move(value); }
75 inline void SetChannelRoleArn(const char* value) { m_channelRoleArn.assign(value); }
78 inline UpdateSlackChannelConfigurationResult& WithChannelRoleArn(const char* value) { SetChannelRoleArn(value); return *this;}
80
82
86 inline bool GetNotifyOnAddCorrespondenceToCase() const{ return m_notifyOnAddCorrespondenceToCase; }
87 inline void SetNotifyOnAddCorrespondenceToCase(bool value) { m_notifyOnAddCorrespondenceToCase = value; }
90
92
96 inline const NotificationSeverityLevel& GetNotifyOnCaseSeverity() const{ return m_notifyOnCaseSeverity; }
97 inline void SetNotifyOnCaseSeverity(const NotificationSeverityLevel& value) { m_notifyOnCaseSeverity = value; }
98 inline void SetNotifyOnCaseSeverity(NotificationSeverityLevel&& value) { m_notifyOnCaseSeverity = std::move(value); }
102
104
108 inline bool GetNotifyOnCreateOrReopenCase() const{ return m_notifyOnCreateOrReopenCase; }
109 inline void SetNotifyOnCreateOrReopenCase(bool value) { m_notifyOnCreateOrReopenCase = value; }
112
114
117 inline bool GetNotifyOnResolveCase() const{ return m_notifyOnResolveCase; }
118 inline void SetNotifyOnResolveCase(bool value) { m_notifyOnResolveCase = value; }
121
123
127 inline const Aws::String& GetTeamId() const{ return m_teamId; }
128 inline void SetTeamId(const Aws::String& value) { m_teamId = value; }
129 inline void SetTeamId(Aws::String&& value) { m_teamId = std::move(value); }
130 inline void SetTeamId(const char* value) { m_teamId.assign(value); }
131 inline UpdateSlackChannelConfigurationResult& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
132 inline UpdateSlackChannelConfigurationResult& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
133 inline UpdateSlackChannelConfigurationResult& WithTeamId(const char* value) { SetTeamId(value); return *this;}
135
137
138 inline const Aws::String& GetRequestId() const{ return m_requestId; }
139 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
140 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
141 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline UpdateSlackChannelConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
144 inline UpdateSlackChannelConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
146 private:
147
148 Aws::String m_channelId;
149
150 Aws::String m_channelName;
151
152 Aws::String m_channelRoleArn;
153
154 bool m_notifyOnAddCorrespondenceToCase;
155
156 NotificationSeverityLevel m_notifyOnCaseSeverity;
157
158 bool m_notifyOnCreateOrReopenCase;
159
160 bool m_notifyOnResolveCase;
161
162 Aws::String m_teamId;
163
164 Aws::String m_requestId;
165 };
166
167} // namespace Model
168} // namespace SupportApp
169} // namespace Aws
UpdateSlackChannelConfigurationResult & WithTeamId(const char *value)
UpdateSlackChannelConfigurationResult & WithChannelRoleArn(Aws::String &&value)
UpdateSlackChannelConfigurationResult & WithRequestId(const Aws::String &value)
UpdateSlackChannelConfigurationResult & WithChannelId(const char *value)
UpdateSlackChannelConfigurationResult & WithTeamId(Aws::String &&value)
UpdateSlackChannelConfigurationResult & WithNotifyOnCreateOrReopenCase(bool value)
AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlackChannelConfigurationResult & WithNotifyOnCaseSeverity(NotificationSeverityLevel &&value)
UpdateSlackChannelConfigurationResult & WithChannelId(const Aws::String &value)
UpdateSlackChannelConfigurationResult & WithRequestId(const char *value)
UpdateSlackChannelConfigurationResult & WithChannelName(const Aws::String &value)
UpdateSlackChannelConfigurationResult & WithNotifyOnAddCorrespondenceToCase(bool value)
UpdateSlackChannelConfigurationResult & WithChannelRoleArn(const Aws::String &value)
UpdateSlackChannelConfigurationResult & WithChannelRoleArn(const char *value)
UpdateSlackChannelConfigurationResult & WithChannelId(Aws::String &&value)
AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlackChannelConfigurationResult & WithChannelName(const char *value)
UpdateSlackChannelConfigurationResult & WithNotifyOnCaseSeverity(const NotificationSeverityLevel &value)
UpdateSlackChannelConfigurationResult & WithTeamId(const Aws::String &value)
UpdateSlackChannelConfigurationResult & WithNotifyOnResolveCase(bool value)
UpdateSlackChannelConfigurationResult & WithRequestId(Aws::String &&value)
UpdateSlackChannelConfigurationResult & WithChannelName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue