AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChatControlsConfigurationRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/ResponseScope.h>
11#include <aws/qbusiness/model/BlockedPhrasesConfigurationUpdate.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/qbusiness/model/CreatorModeConfiguration.h>
14#include <aws/qbusiness/model/TopicConfiguration.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace QBusiness
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateChatControlsConfiguration"; }
37
38 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
39
40
42
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
52 inline UpdateChatControlsConfigurationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline UpdateChatControlsConfigurationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
61 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
64 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
65 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
67 inline UpdateChatControlsConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
68 inline UpdateChatControlsConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
70
72
78 inline const ResponseScope& GetResponseScope() const{ return m_responseScope; }
79 inline bool ResponseScopeHasBeenSet() const { return m_responseScopeHasBeenSet; }
80 inline void SetResponseScope(const ResponseScope& value) { m_responseScopeHasBeenSet = true; m_responseScope = value; }
81 inline void SetResponseScope(ResponseScope&& value) { m_responseScopeHasBeenSet = true; m_responseScope = std::move(value); }
85
87
90 inline const BlockedPhrasesConfigurationUpdate& GetBlockedPhrasesConfigurationUpdate() const{ return m_blockedPhrasesConfigurationUpdate; }
91 inline bool BlockedPhrasesConfigurationUpdateHasBeenSet() const { return m_blockedPhrasesConfigurationUpdateHasBeenSet; }
92 inline void SetBlockedPhrasesConfigurationUpdate(const BlockedPhrasesConfigurationUpdate& value) { m_blockedPhrasesConfigurationUpdateHasBeenSet = true; m_blockedPhrasesConfigurationUpdate = value; }
93 inline void SetBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdate&& value) { m_blockedPhrasesConfigurationUpdateHasBeenSet = true; m_blockedPhrasesConfigurationUpdate = std::move(value); }
97
99
102 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurationsToCreateOrUpdate() const{ return m_topicConfigurationsToCreateOrUpdate; }
103 inline bool TopicConfigurationsToCreateOrUpdateHasBeenSet() const { return m_topicConfigurationsToCreateOrUpdateHasBeenSet; }
104 inline void SetTopicConfigurationsToCreateOrUpdate(const Aws::Vector<TopicConfiguration>& value) { m_topicConfigurationsToCreateOrUpdateHasBeenSet = true; m_topicConfigurationsToCreateOrUpdate = value; }
105 inline void SetTopicConfigurationsToCreateOrUpdate(Aws::Vector<TopicConfiguration>&& value) { m_topicConfigurationsToCreateOrUpdateHasBeenSet = true; m_topicConfigurationsToCreateOrUpdate = std::move(value); }
108 inline UpdateChatControlsConfigurationRequest& AddTopicConfigurationsToCreateOrUpdate(const TopicConfiguration& value) { m_topicConfigurationsToCreateOrUpdateHasBeenSet = true; m_topicConfigurationsToCreateOrUpdate.push_back(value); return *this; }
109 inline UpdateChatControlsConfigurationRequest& AddTopicConfigurationsToCreateOrUpdate(TopicConfiguration&& value) { m_topicConfigurationsToCreateOrUpdateHasBeenSet = true; m_topicConfigurationsToCreateOrUpdate.push_back(std::move(value)); return *this; }
111
113
116 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurationsToDelete() const{ return m_topicConfigurationsToDelete; }
117 inline bool TopicConfigurationsToDeleteHasBeenSet() const { return m_topicConfigurationsToDeleteHasBeenSet; }
118 inline void SetTopicConfigurationsToDelete(const Aws::Vector<TopicConfiguration>& value) { m_topicConfigurationsToDeleteHasBeenSet = true; m_topicConfigurationsToDelete = value; }
119 inline void SetTopicConfigurationsToDelete(Aws::Vector<TopicConfiguration>&& value) { m_topicConfigurationsToDeleteHasBeenSet = true; m_topicConfigurationsToDelete = std::move(value); }
122 inline UpdateChatControlsConfigurationRequest& AddTopicConfigurationsToDelete(const TopicConfiguration& value) { m_topicConfigurationsToDeleteHasBeenSet = true; m_topicConfigurationsToDelete.push_back(value); return *this; }
123 inline UpdateChatControlsConfigurationRequest& AddTopicConfigurationsToDelete(TopicConfiguration&& value) { m_topicConfigurationsToDeleteHasBeenSet = true; m_topicConfigurationsToDelete.push_back(std::move(value)); return *this; }
125
127
130 inline const CreatorModeConfiguration& GetCreatorModeConfiguration() const{ return m_creatorModeConfiguration; }
131 inline bool CreatorModeConfigurationHasBeenSet() const { return m_creatorModeConfigurationHasBeenSet; }
132 inline void SetCreatorModeConfiguration(const CreatorModeConfiguration& value) { m_creatorModeConfigurationHasBeenSet = true; m_creatorModeConfiguration = value; }
133 inline void SetCreatorModeConfiguration(CreatorModeConfiguration&& value) { m_creatorModeConfigurationHasBeenSet = true; m_creatorModeConfiguration = std::move(value); }
137 private:
138
139 Aws::String m_applicationId;
140 bool m_applicationIdHasBeenSet = false;
141
142 Aws::String m_clientToken;
143 bool m_clientTokenHasBeenSet = false;
144
145 ResponseScope m_responseScope;
146 bool m_responseScopeHasBeenSet = false;
147
148 BlockedPhrasesConfigurationUpdate m_blockedPhrasesConfigurationUpdate;
149 bool m_blockedPhrasesConfigurationUpdateHasBeenSet = false;
150
151 Aws::Vector<TopicConfiguration> m_topicConfigurationsToCreateOrUpdate;
152 bool m_topicConfigurationsToCreateOrUpdateHasBeenSet = false;
153
154 Aws::Vector<TopicConfiguration> m_topicConfigurationsToDelete;
155 bool m_topicConfigurationsToDeleteHasBeenSet = false;
156
157 CreatorModeConfiguration m_creatorModeConfiguration;
158 bool m_creatorModeConfigurationHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace QBusiness
163} // namespace Aws
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToCreateOrUpdate(Aws::Vector< TopicConfiguration > &&value)
const BlockedPhrasesConfigurationUpdate & GetBlockedPhrasesConfigurationUpdate() const
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToDelete(const Aws::Vector< TopicConfiguration > &value)
UpdateChatControlsConfigurationRequest & WithBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdate &&value)
UpdateChatControlsConfigurationRequest & WithBlockedPhrasesConfigurationUpdate(const BlockedPhrasesConfigurationUpdate &value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToCreateOrUpdate(TopicConfiguration &&value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToCreateOrUpdate(const TopicConfiguration &value)
void SetTopicConfigurationsToDelete(const Aws::Vector< TopicConfiguration > &value)
UpdateChatControlsConfigurationRequest & WithClientToken(Aws::String &&value)
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToDelete(Aws::Vector< TopicConfiguration > &&value)
UpdateChatControlsConfigurationRequest & WithResponseScope(ResponseScope &&value)
UpdateChatControlsConfigurationRequest & WithCreatorModeConfiguration(const CreatorModeConfiguration &value)
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToCreateOrUpdate(const Aws::Vector< TopicConfiguration > &value)
void SetBlockedPhrasesConfigurationUpdate(const BlockedPhrasesConfigurationUpdate &value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurationsToCreateOrUpdate() const
void SetTopicConfigurationsToCreateOrUpdate(const Aws::Vector< TopicConfiguration > &value)
UpdateChatControlsConfigurationRequest & WithResponseScope(const ResponseScope &value)
UpdateChatControlsConfigurationRequest & WithApplicationId(const char *value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToDelete(TopicConfiguration &&value)
UpdateChatControlsConfigurationRequest & WithCreatorModeConfiguration(CreatorModeConfiguration &&value)
void SetBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdate &&value)
void SetTopicConfigurationsToCreateOrUpdate(Aws::Vector< TopicConfiguration > &&value)
UpdateChatControlsConfigurationRequest & WithApplicationId(const Aws::String &value)
UpdateChatControlsConfigurationRequest & WithClientToken(const Aws::String &value)
UpdateChatControlsConfigurationRequest & WithClientToken(const char *value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToDelete(const TopicConfiguration &value)
UpdateChatControlsConfigurationRequest & WithApplicationId(Aws::String &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector