AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSlackChannelConfigurationRequest.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 "CreateSlackChannelConfiguration"; }
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 CreateSlackChannelConfigurationRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
48 inline CreateSlackChannelConfigurationRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
50
52
56 inline const Aws::String& GetChannelName() const{ return m_channelName; }
57 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
58 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
59 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
60 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
62 inline CreateSlackChannelConfigurationRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
63 inline CreateSlackChannelConfigurationRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
65
67
74 inline const Aws::String& GetChannelRoleArn() const{ return m_channelRoleArn; }
75 inline bool ChannelRoleArnHasBeenSet() const { return m_channelRoleArnHasBeenSet; }
76 inline void SetChannelRoleArn(const Aws::String& value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn = value; }
77 inline void SetChannelRoleArn(Aws::String&& value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn = std::move(value); }
78 inline void SetChannelRoleArn(const char* value) { m_channelRoleArnHasBeenSet = true; m_channelRoleArn.assign(value); }
81 inline CreateSlackChannelConfigurationRequest& WithChannelRoleArn(const char* value) { SetChannelRoleArn(value); return *this;}
83
85
89 inline bool GetNotifyOnAddCorrespondenceToCase() const{ return m_notifyOnAddCorrespondenceToCase; }
90 inline bool NotifyOnAddCorrespondenceToCaseHasBeenSet() const { return m_notifyOnAddCorrespondenceToCaseHasBeenSet; }
91 inline void SetNotifyOnAddCorrespondenceToCase(bool value) { m_notifyOnAddCorrespondenceToCaseHasBeenSet = true; m_notifyOnAddCorrespondenceToCase = value; }
94
96
111 inline const NotificationSeverityLevel& GetNotifyOnCaseSeverity() const{ return m_notifyOnCaseSeverity; }
112 inline bool NotifyOnCaseSeverityHasBeenSet() const { return m_notifyOnCaseSeverityHasBeenSet; }
113 inline void SetNotifyOnCaseSeverity(const NotificationSeverityLevel& value) { m_notifyOnCaseSeverityHasBeenSet = true; m_notifyOnCaseSeverity = value; }
114 inline void SetNotifyOnCaseSeverity(NotificationSeverityLevel&& value) { m_notifyOnCaseSeverityHasBeenSet = true; m_notifyOnCaseSeverity = std::move(value); }
118
120
124 inline bool GetNotifyOnCreateOrReopenCase() const{ return m_notifyOnCreateOrReopenCase; }
125 inline bool NotifyOnCreateOrReopenCaseHasBeenSet() const { return m_notifyOnCreateOrReopenCaseHasBeenSet; }
126 inline void SetNotifyOnCreateOrReopenCase(bool value) { m_notifyOnCreateOrReopenCaseHasBeenSet = true; m_notifyOnCreateOrReopenCase = value; }
129
131
134 inline bool GetNotifyOnResolveCase() const{ return m_notifyOnResolveCase; }
135 inline bool NotifyOnResolveCaseHasBeenSet() const { return m_notifyOnResolveCaseHasBeenSet; }
136 inline void SetNotifyOnResolveCase(bool value) { m_notifyOnResolveCaseHasBeenSet = true; m_notifyOnResolveCase = value; }
139
141
145 inline const Aws::String& GetTeamId() const{ return m_teamId; }
146 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
147 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
148 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
149 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
150 inline CreateSlackChannelConfigurationRequest& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
151 inline CreateSlackChannelConfigurationRequest& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
152 inline CreateSlackChannelConfigurationRequest& WithTeamId(const char* value) { SetTeamId(value); return *this;}
154 private:
155
156 Aws::String m_channelId;
157 bool m_channelIdHasBeenSet = false;
158
159 Aws::String m_channelName;
160 bool m_channelNameHasBeenSet = false;
161
162 Aws::String m_channelRoleArn;
163 bool m_channelRoleArnHasBeenSet = false;
164
165 bool m_notifyOnAddCorrespondenceToCase;
166 bool m_notifyOnAddCorrespondenceToCaseHasBeenSet = false;
167
168 NotificationSeverityLevel m_notifyOnCaseSeverity;
169 bool m_notifyOnCaseSeverityHasBeenSet = false;
170
171 bool m_notifyOnCreateOrReopenCase;
172 bool m_notifyOnCreateOrReopenCaseHasBeenSet = false;
173
174 bool m_notifyOnResolveCase;
175 bool m_notifyOnResolveCaseHasBeenSet = false;
176
177 Aws::String m_teamId;
178 bool m_teamIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SupportApp
183} // namespace Aws
CreateSlackChannelConfigurationRequest & WithChannelName(const char *value)
CreateSlackChannelConfigurationRequest & WithChannelName(Aws::String &&value)
CreateSlackChannelConfigurationRequest & WithTeamId(const char *value)
CreateSlackChannelConfigurationRequest & WithTeamId(const Aws::String &value)
CreateSlackChannelConfigurationRequest & WithNotifyOnCaseSeverity(NotificationSeverityLevel &&value)
CreateSlackChannelConfigurationRequest & WithNotifyOnCaseSeverity(const NotificationSeverityLevel &value)
CreateSlackChannelConfigurationRequest & WithNotifyOnCreateOrReopenCase(bool value)
CreateSlackChannelConfigurationRequest & WithChannelName(const Aws::String &value)
CreateSlackChannelConfigurationRequest & WithChannelRoleArn(const char *value)
CreateSlackChannelConfigurationRequest & WithChannelRoleArn(Aws::String &&value)
CreateSlackChannelConfigurationRequest & WithNotifyOnAddCorrespondenceToCase(bool value)
CreateSlackChannelConfigurationRequest & WithChannelId(Aws::String &&value)
CreateSlackChannelConfigurationRequest & WithTeamId(Aws::String &&value)
CreateSlackChannelConfigurationRequest & WithChannelRoleArn(const Aws::String &value)
CreateSlackChannelConfigurationRequest & WithChannelId(const char *value)
CreateSlackChannelConfigurationRequest & WithChannelId(const Aws::String &value)
AWS_SUPPORTAPP_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String