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>
46 template <
typename ApplicationIdT = Aws::String>
48 m_applicationIdHasBeenSet =
true;
49 m_applicationId = std::forward<ApplicationIdT>(value);
51 template <
typename ApplicationIdT = Aws::String>
65 template <
typename ClientTokenT = Aws::String>
67 m_clientTokenHasBeenSet =
true;
68 m_clientToken = std::forward<ClientTokenT>(value);
70 template <
typename ClientTokenT = Aws::String>
87 m_responseScopeHasBeenSet =
true;
88 m_responseScope = value;
102 template <
typename OrchestrationConfigurationT = OrchestrationConfiguration>
104 m_orchestrationConfigurationHasBeenSet =
true;
105 m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value);
107 template <
typename OrchestrationConfigurationT = OrchestrationConfiguration>
119 return m_blockedPhrasesConfigurationUpdate;
122 template <
typename BlockedPhrasesConfigurationUpdateT = BlockedPhrasesConfigurationUpdate>
124 m_blockedPhrasesConfigurationUpdateHasBeenSet =
true;
125 m_blockedPhrasesConfigurationUpdate = std::forward<BlockedPhrasesConfigurationUpdateT>(value);
127 template <
typename BlockedPhrasesConfigurationUpdateT = BlockedPhrasesConfigurationUpdate>
139 return m_topicConfigurationsToCreateOrUpdate;
142 template <
typename TopicConfigurationsToCreateOrUpdateT = Aws::Vector<TopicConfiguration>>
144 m_topicConfigurationsToCreateOrUpdateHasBeenSet =
true;
145 m_topicConfigurationsToCreateOrUpdate = std::forward<TopicConfigurationsToCreateOrUpdateT>(value);
147 template <
typename TopicConfigurationsToCreateOrUpdateT = Aws::Vector<TopicConfiguration>>
152 template <
typename TopicConfigurationsToCreateOrUpdateT = TopicConfiguration>
154 m_topicConfigurationsToCreateOrUpdateHasBeenSet =
true;
155 m_topicConfigurationsToCreateOrUpdate.emplace_back(std::forward<TopicConfigurationsToCreateOrUpdateT>(value));
166 template <
typename TopicConfigurationsToDeleteT = Aws::Vector<TopicConfiguration>>
168 m_topicConfigurationsToDeleteHasBeenSet =
true;
169 m_topicConfigurationsToDelete = std::forward<TopicConfigurationsToDeleteT>(value);
171 template <
typename TopicConfigurationsToDeleteT = Aws::Vector<TopicConfiguration>>
176 template <
typename TopicConfigurationsToDeleteT = TopicConfiguration>
178 m_topicConfigurationsToDeleteHasBeenSet =
true;
179 m_topicConfigurationsToDelete.emplace_back(std::forward<TopicConfigurationsToDeleteT>(value));
190 template <
typename CreatorModeConfigurationT = CreatorModeConfiguration>
192 m_creatorModeConfigurationHasBeenSet =
true;
193 m_creatorModeConfiguration = std::forward<CreatorModeConfigurationT>(value);
195 template <
typename CreatorModeConfigurationT = CreatorModeConfiguration>
207 return m_hallucinationReductionConfiguration;
210 template <
typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
212 m_hallucinationReductionConfigurationHasBeenSet =
true;
213 m_hallucinationReductionConfiguration = std::forward<HallucinationReductionConfigurationT>(value);
215 template <
typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
228 OrchestrationConfiguration m_orchestrationConfiguration;
230 BlockedPhrasesConfigurationUpdate m_blockedPhrasesConfigurationUpdate;
236 CreatorModeConfiguration m_creatorModeConfiguration;
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;
AWS_QBUSINESS_API UpdateChatControlsConfigurationRequest()=default
const BlockedPhrasesConfigurationUpdate & GetBlockedPhrasesConfigurationUpdate() const
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
UpdateChatControlsConfigurationRequest & WithOrchestrationConfiguration(OrchestrationConfigurationT &&value)
void SetResponseScope(ResponseScope value)
void SetCreatorModeConfiguration(CreatorModeConfigurationT &&value)
bool ApplicationIdHasBeenSet() const
UpdateChatControlsConfigurationRequest & WithHallucinationReductionConfiguration(HallucinationReductionConfigurationT &&value)
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToDelete(TopicConfigurationsToDeleteT &&value)
bool HallucinationReductionConfigurationHasBeenSet() const
bool CreatorModeConfigurationHasBeenSet() const
UpdateChatControlsConfigurationRequest & WithBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdateT &&value)
bool ResponseScopeHasBeenSet() const
const Aws::String & GetClientToken() const
ResponseScope GetResponseScope() const
UpdateChatControlsConfigurationRequest & WithClientToken(ClientTokenT &&value)
UpdateChatControlsConfigurationRequest & WithResponseScope(ResponseScope value)
const CreatorModeConfiguration & GetCreatorModeConfiguration() const
bool OrchestrationConfigurationHasBeenSet() const
bool TopicConfigurationsToCreateOrUpdateHasBeenSet() const
void SetTopicConfigurationsToDelete(TopicConfigurationsToDeleteT &&value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurationsToCreateOrUpdate() const
void SetBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdateT &&value)
UpdateChatControlsConfigurationRequest & WithApplicationId(ApplicationIdT &&value)
bool ClientTokenHasBeenSet() const
UpdateChatControlsConfigurationRequest & WithCreatorModeConfiguration(CreatorModeConfigurationT &&value)
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToDelete(TopicConfigurationsToDeleteT &&value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurationsToDelete() const
const OrchestrationConfiguration & GetOrchestrationConfiguration() const
UpdateChatControlsConfigurationRequest & AddTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT &&value)
void SetTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT &&value)
void SetHallucinationReductionConfiguration(HallucinationReductionConfigurationT &&value)
bool TopicConfigurationsToDeleteHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetApplicationId() const
UpdateChatControlsConfigurationRequest & WithTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT &&value)
void SetOrchestrationConfiguration(OrchestrationConfigurationT &&value)
const HallucinationReductionConfiguration & GetHallucinationReductionConfiguration() const
bool BlockedPhrasesConfigurationUpdateHasBeenSet() 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