AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateChatControlsConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusinessRequest.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/BlockedPhrasesConfigurationUpdate.h>
13#include <aws/qbusiness/model/CreatorModeConfiguration.h>
14#include <aws/qbusiness/model/HallucinationReductionConfiguration.h>
15#include <aws/qbusiness/model/OrchestrationConfiguration.h>
16#include <aws/qbusiness/model/ResponseScope.h>
17#include <aws/qbusiness/model/TopicConfiguration.h>
18
19#include <utility>
20
21namespace Aws {
22namespace QBusiness {
23namespace Model {
24
28 public:
29 AWS_QBUSINESS_API UpdateChatControlsConfigurationRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateChatControlsConfiguration"; }
36
37 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
38
40
44 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
45 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 template <typename ApplicationIdT = Aws::String>
48 m_applicationIdHasBeenSet = true;
49 m_applicationId = std::forward<ApplicationIdT>(value);
50 }
51 template <typename ApplicationIdT = Aws::String>
53 SetApplicationId(std::forward<ApplicationIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetClientToken() const { return m_clientToken; }
64 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
65 template <typename ClientTokenT = Aws::String>
67 m_clientTokenHasBeenSet = true;
68 m_clientToken = std::forward<ClientTokenT>(value);
69 }
70 template <typename ClientTokenT = Aws::String>
72 SetClientToken(std::forward<ClientTokenT>(value));
73 return *this;
74 }
76
78
84 inline ResponseScope GetResponseScope() const { return m_responseScope; }
85 inline bool ResponseScopeHasBeenSet() const { return m_responseScopeHasBeenSet; }
86 inline void SetResponseScope(ResponseScope value) {
87 m_responseScopeHasBeenSet = true;
88 m_responseScope = value;
89 }
91 SetResponseScope(value);
92 return *this;
93 }
95
97
100 inline const OrchestrationConfiguration& GetOrchestrationConfiguration() const { return m_orchestrationConfiguration; }
101 inline bool OrchestrationConfigurationHasBeenSet() const { return m_orchestrationConfigurationHasBeenSet; }
102 template <typename OrchestrationConfigurationT = OrchestrationConfiguration>
104 m_orchestrationConfigurationHasBeenSet = true;
105 m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value);
106 }
107 template <typename OrchestrationConfigurationT = OrchestrationConfiguration>
109 SetOrchestrationConfiguration(std::forward<OrchestrationConfigurationT>(value));
110 return *this;
111 }
113
115
119 return m_blockedPhrasesConfigurationUpdate;
120 }
121 inline bool BlockedPhrasesConfigurationUpdateHasBeenSet() const { return m_blockedPhrasesConfigurationUpdateHasBeenSet; }
122 template <typename BlockedPhrasesConfigurationUpdateT = BlockedPhrasesConfigurationUpdate>
124 m_blockedPhrasesConfigurationUpdateHasBeenSet = true;
125 m_blockedPhrasesConfigurationUpdate = std::forward<BlockedPhrasesConfigurationUpdateT>(value);
126 }
127 template <typename BlockedPhrasesConfigurationUpdateT = BlockedPhrasesConfigurationUpdate>
129 SetBlockedPhrasesConfigurationUpdate(std::forward<BlockedPhrasesConfigurationUpdateT>(value));
130 return *this;
131 }
133
135
139 return m_topicConfigurationsToCreateOrUpdate;
140 }
141 inline bool TopicConfigurationsToCreateOrUpdateHasBeenSet() const { return m_topicConfigurationsToCreateOrUpdateHasBeenSet; }
142 template <typename TopicConfigurationsToCreateOrUpdateT = Aws::Vector<TopicConfiguration>>
144 m_topicConfigurationsToCreateOrUpdateHasBeenSet = true;
145 m_topicConfigurationsToCreateOrUpdate = std::forward<TopicConfigurationsToCreateOrUpdateT>(value);
146 }
147 template <typename TopicConfigurationsToCreateOrUpdateT = Aws::Vector<TopicConfiguration>>
149 SetTopicConfigurationsToCreateOrUpdate(std::forward<TopicConfigurationsToCreateOrUpdateT>(value));
150 return *this;
151 }
152 template <typename TopicConfigurationsToCreateOrUpdateT = TopicConfiguration>
154 m_topicConfigurationsToCreateOrUpdateHasBeenSet = true;
155 m_topicConfigurationsToCreateOrUpdate.emplace_back(std::forward<TopicConfigurationsToCreateOrUpdateT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurationsToDelete() const { return m_topicConfigurationsToDelete; }
165 inline bool TopicConfigurationsToDeleteHasBeenSet() const { return m_topicConfigurationsToDeleteHasBeenSet; }
166 template <typename TopicConfigurationsToDeleteT = Aws::Vector<TopicConfiguration>>
168 m_topicConfigurationsToDeleteHasBeenSet = true;
169 m_topicConfigurationsToDelete = std::forward<TopicConfigurationsToDeleteT>(value);
170 }
171 template <typename TopicConfigurationsToDeleteT = Aws::Vector<TopicConfiguration>>
173 SetTopicConfigurationsToDelete(std::forward<TopicConfigurationsToDeleteT>(value));
174 return *this;
175 }
176 template <typename TopicConfigurationsToDeleteT = TopicConfiguration>
178 m_topicConfigurationsToDeleteHasBeenSet = true;
179 m_topicConfigurationsToDelete.emplace_back(std::forward<TopicConfigurationsToDeleteT>(value));
180 return *this;
181 }
183
185
188 inline const CreatorModeConfiguration& GetCreatorModeConfiguration() const { return m_creatorModeConfiguration; }
189 inline bool CreatorModeConfigurationHasBeenSet() const { return m_creatorModeConfigurationHasBeenSet; }
190 template <typename CreatorModeConfigurationT = CreatorModeConfiguration>
192 m_creatorModeConfigurationHasBeenSet = true;
193 m_creatorModeConfiguration = std::forward<CreatorModeConfigurationT>(value);
194 }
195 template <typename CreatorModeConfigurationT = CreatorModeConfiguration>
197 SetCreatorModeConfiguration(std::forward<CreatorModeConfigurationT>(value));
198 return *this;
199 }
201
203
207 return m_hallucinationReductionConfiguration;
208 }
209 inline bool HallucinationReductionConfigurationHasBeenSet() const { return m_hallucinationReductionConfigurationHasBeenSet; }
210 template <typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
212 m_hallucinationReductionConfigurationHasBeenSet = true;
213 m_hallucinationReductionConfiguration = std::forward<HallucinationReductionConfigurationT>(value);
214 }
215 template <typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
217 SetHallucinationReductionConfiguration(std::forward<HallucinationReductionConfigurationT>(value));
218 return *this;
219 }
221 private:
222 Aws::String m_applicationId;
223
225
226 ResponseScope m_responseScope{ResponseScope::NOT_SET};
227
228 OrchestrationConfiguration m_orchestrationConfiguration;
229
230 BlockedPhrasesConfigurationUpdate m_blockedPhrasesConfigurationUpdate;
231
232 Aws::Vector<TopicConfiguration> m_topicConfigurationsToCreateOrUpdate;
233
234 Aws::Vector<TopicConfiguration> m_topicConfigurationsToDelete;
235
236 CreatorModeConfiguration m_creatorModeConfiguration;
237
238 HallucinationReductionConfiguration m_hallucinationReductionConfiguration;
239 bool m_applicationIdHasBeenSet = false;
240 bool m_clientTokenHasBeenSet = true;
241 bool m_responseScopeHasBeenSet = false;
242 bool m_orchestrationConfigurationHasBeenSet = false;
243 bool m_blockedPhrasesConfigurationUpdateHasBeenSet = false;
244 bool m_topicConfigurationsToCreateOrUpdateHasBeenSet = false;
245 bool m_topicConfigurationsToDeleteHasBeenSet = false;
246 bool m_creatorModeConfigurationHasBeenSet = false;
247 bool m_hallucinationReductionConfigurationHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace QBusiness
252} // namespace Aws
const BlockedPhrasesConfigurationUpdate & GetBlockedPhrasesConfigurationUpdate() const
UpdateChatControlsConfigurationRequest & WithOrchestrationConfiguration(OrchestrationConfigurationT &&value)
UpdateChatControlsConfigurationRequest & WithHallucinationReductionConfiguration(HallucinationReductionConfigurationT &&value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToDelete(TopicConfigurationsToDeleteT &&value)
UpdateChatControlsConfigurationRequest & WithBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdateT &&value)
UpdateChatControlsConfigurationRequest & WithClientToken(ClientTokenT &&value)
UpdateChatControlsConfigurationRequest & WithResponseScope(ResponseScope value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurationsToCreateOrUpdate() const
void SetBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdateT &&value)
UpdateChatControlsConfigurationRequest & WithApplicationId(ApplicationIdT &&value)
UpdateChatControlsConfigurationRequest & WithCreatorModeConfiguration(CreatorModeConfigurationT &&value)
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToDelete(TopicConfigurationsToDeleteT &&value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT &&value)
void SetTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT &&value)
void SetHallucinationReductionConfiguration(HallucinationReductionConfigurationT &&value)
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT &&value)
const HallucinationReductionConfiguration & GetHallucinationReductionConfiguration() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector