AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChimeWebhookConfigurationRequest.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/ChatbotRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/chatbot/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace chatbot
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateChimeWebhookConfiguration"; }
33
34 AWS_CHATBOT_API Aws::String SerializePayload() const override;
35
36
38
45 inline const Aws::String& GetWebhookDescription() const{ return m_webhookDescription; }
46 inline bool WebhookDescriptionHasBeenSet() const { return m_webhookDescriptionHasBeenSet; }
47 inline void SetWebhookDescription(const Aws::String& value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription = value; }
48 inline void SetWebhookDescription(Aws::String&& value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription = std::move(value); }
49 inline void SetWebhookDescription(const char* value) { m_webhookDescriptionHasBeenSet = true; m_webhookDescription.assign(value); }
54
56
59 inline const Aws::String& GetWebhookUrl() const{ return m_webhookUrl; }
60 inline bool WebhookUrlHasBeenSet() const { return m_webhookUrlHasBeenSet; }
61 inline void SetWebhookUrl(const Aws::String& value) { m_webhookUrlHasBeenSet = true; m_webhookUrl = value; }
62 inline void SetWebhookUrl(Aws::String&& value) { m_webhookUrlHasBeenSet = true; m_webhookUrl = std::move(value); }
63 inline void SetWebhookUrl(const char* value) { m_webhookUrlHasBeenSet = true; m_webhookUrl.assign(value); }
65 inline CreateChimeWebhookConfigurationRequest& WithWebhookUrl(Aws::String&& value) { SetWebhookUrl(std::move(value)); return *this;}
66 inline CreateChimeWebhookConfigurationRequest& WithWebhookUrl(const char* value) { SetWebhookUrl(value); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetSnsTopicArns() const{ return m_snsTopicArns; }
75 inline bool SnsTopicArnsHasBeenSet() const { return m_snsTopicArnsHasBeenSet; }
76 inline void SetSnsTopicArns(const Aws::Vector<Aws::String>& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = value; }
77 inline void SetSnsTopicArns(Aws::Vector<Aws::String>&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns = std::move(value); }
80 inline CreateChimeWebhookConfigurationRequest& AddSnsTopicArns(const Aws::String& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
81 inline CreateChimeWebhookConfigurationRequest& AddSnsTopicArns(Aws::String&& value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(std::move(value)); return *this; }
82 inline CreateChimeWebhookConfigurationRequest& AddSnsTopicArns(const char* value) { m_snsTopicArnsHasBeenSet = true; m_snsTopicArns.push_back(value); return *this; }
84
86
93 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
94 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
95 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
96 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
97 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
99 inline CreateChimeWebhookConfigurationRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
100 inline CreateChimeWebhookConfigurationRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
102
104
107 inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
108 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
109 inline void SetConfigurationName(const Aws::String& value) { m_configurationNameHasBeenSet = true; m_configurationName = value; }
110 inline void SetConfigurationName(Aws::String&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::move(value); }
111 inline void SetConfigurationName(const char* value) { m_configurationNameHasBeenSet = true; m_configurationName.assign(value); }
116
118
122 inline const Aws::String& GetLoggingLevel() const{ return m_loggingLevel; }
123 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
124 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
125 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
126 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
128 inline CreateChimeWebhookConfigurationRequest& WithLoggingLevel(Aws::String&& value) { SetLoggingLevel(std::move(value)); return *this;}
129 inline CreateChimeWebhookConfigurationRequest& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
131
133
137 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
138 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
139 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
140 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
141 inline CreateChimeWebhookConfigurationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
142 inline CreateChimeWebhookConfigurationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
143 inline CreateChimeWebhookConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
144 inline CreateChimeWebhookConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
146 private:
147
148 Aws::String m_webhookDescription;
149 bool m_webhookDescriptionHasBeenSet = false;
150
151 Aws::String m_webhookUrl;
152 bool m_webhookUrlHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_snsTopicArns;
155 bool m_snsTopicArnsHasBeenSet = false;
156
157 Aws::String m_iamRoleArn;
158 bool m_iamRoleArnHasBeenSet = false;
159
160 Aws::String m_configurationName;
161 bool m_configurationNameHasBeenSet = false;
162
163 Aws::String m_loggingLevel;
164 bool m_loggingLevelHasBeenSet = false;
165
166 Aws::Vector<Tag> m_tags;
167 bool m_tagsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace chatbot
172} // namespace Aws
CreateChimeWebhookConfigurationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateChimeWebhookConfigurationRequest & WithWebhookDescription(Aws::String &&value)
CreateChimeWebhookConfigurationRequest & WithLoggingLevel(const Aws::String &value)
CreateChimeWebhookConfigurationRequest & WithWebhookDescription(const Aws::String &value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
CreateChimeWebhookConfigurationRequest & AddSnsTopicArns(const char *value)
CreateChimeWebhookConfigurationRequest & WithConfigurationName(const Aws::String &value)
CreateChimeWebhookConfigurationRequest & WithIamRoleArn(const Aws::String &value)
CreateChimeWebhookConfigurationRequest & WithSnsTopicArns(const Aws::Vector< Aws::String > &value)
CreateChimeWebhookConfigurationRequest & WithSnsTopicArns(Aws::Vector< Aws::String > &&value)
CreateChimeWebhookConfigurationRequest & WithWebhookUrl(const char *value)
CreateChimeWebhookConfigurationRequest & WithWebhookUrl(Aws::String &&value)
CreateChimeWebhookConfigurationRequest & AddTags(const Tag &value)
CreateChimeWebhookConfigurationRequest & WithWebhookUrl(const Aws::String &value)
CreateChimeWebhookConfigurationRequest & WithIamRoleArn(const char *value)
CreateChimeWebhookConfigurationRequest & WithConfigurationName(Aws::String &&value)
CreateChimeWebhookConfigurationRequest & WithWebhookDescription(const char *value)
CreateChimeWebhookConfigurationRequest & WithIamRoleArn(Aws::String &&value)
CreateChimeWebhookConfigurationRequest & AddSnsTopicArns(const Aws::String &value)
CreateChimeWebhookConfigurationRequest & AddSnsTopicArns(Aws::String &&value)
CreateChimeWebhookConfigurationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateChimeWebhookConfigurationRequest & WithConfigurationName(const char *value)
CreateChimeWebhookConfigurationRequest & WithLoggingLevel(Aws::String &&value)
CreateChimeWebhookConfigurationRequest & WithLoggingLevel(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector