AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/OrchestrationConfiguration.h>
12#include <aws/qbusiness/model/BlockedPhrasesConfigurationUpdate.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/qbusiness/model/CreatorModeConfiguration.h>
15#include <aws/qbusiness/model/HallucinationReductionConfiguration.h>
16#include <aws/qbusiness/model/TopicConfiguration.h>
17#include <utility>
18#include <aws/core/utils/UUID.h>
19
20namespace Aws
21{
22namespace QBusiness
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_QBUSINESS_API UpdateChatControlsConfigurationRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateChatControlsConfiguration"; }
39
40 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
41
42
44
48 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
49 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 template<typename ApplicationIdT = Aws::String>
51 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
52 template<typename ApplicationIdT = Aws::String>
53 UpdateChatControlsConfigurationRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetClientToken() const { return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 template<typename ClientTokenT = Aws::String>
64 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
65 template<typename ClientTokenT = Aws::String>
66 UpdateChatControlsConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
68
70
76 inline ResponseScope GetResponseScope() const { return m_responseScope; }
77 inline bool ResponseScopeHasBeenSet() const { return m_responseScopeHasBeenSet; }
78 inline void SetResponseScope(ResponseScope value) { m_responseScopeHasBeenSet = true; m_responseScope = value; }
81
83
86 inline const OrchestrationConfiguration& GetOrchestrationConfiguration() const { return m_orchestrationConfiguration; }
87 inline bool OrchestrationConfigurationHasBeenSet() const { return m_orchestrationConfigurationHasBeenSet; }
88 template<typename OrchestrationConfigurationT = OrchestrationConfiguration>
89 void SetOrchestrationConfiguration(OrchestrationConfigurationT&& value) { m_orchestrationConfigurationHasBeenSet = true; m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value); }
90 template<typename OrchestrationConfigurationT = OrchestrationConfiguration>
93
95
98 inline const BlockedPhrasesConfigurationUpdate& GetBlockedPhrasesConfigurationUpdate() const { return m_blockedPhrasesConfigurationUpdate; }
99 inline bool BlockedPhrasesConfigurationUpdateHasBeenSet() const { return m_blockedPhrasesConfigurationUpdateHasBeenSet; }
100 template<typename BlockedPhrasesConfigurationUpdateT = BlockedPhrasesConfigurationUpdate>
101 void SetBlockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdateT&& value) { m_blockedPhrasesConfigurationUpdateHasBeenSet = true; m_blockedPhrasesConfigurationUpdate = std::forward<BlockedPhrasesConfigurationUpdateT>(value); }
102 template<typename BlockedPhrasesConfigurationUpdateT = BlockedPhrasesConfigurationUpdate>
105
107
110 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurationsToCreateOrUpdate() const { return m_topicConfigurationsToCreateOrUpdate; }
111 inline bool TopicConfigurationsToCreateOrUpdateHasBeenSet() const { return m_topicConfigurationsToCreateOrUpdateHasBeenSet; }
112 template<typename TopicConfigurationsToCreateOrUpdateT = Aws::Vector<TopicConfiguration>>
113 void SetTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT&& value) { m_topicConfigurationsToCreateOrUpdateHasBeenSet = true; m_topicConfigurationsToCreateOrUpdate = std::forward<TopicConfigurationsToCreateOrUpdateT>(value); }
114 template<typename TopicConfigurationsToCreateOrUpdateT = Aws::Vector<TopicConfiguration>>
116 template<typename TopicConfigurationsToCreateOrUpdateT = TopicConfiguration>
117 UpdateChatControlsConfigurationRequest& AddTopicConfigurationsToCreateOrUpdate(TopicConfigurationsToCreateOrUpdateT&& value) { m_topicConfigurationsToCreateOrUpdateHasBeenSet = true; m_topicConfigurationsToCreateOrUpdate.emplace_back(std::forward<TopicConfigurationsToCreateOrUpdateT>(value)); return *this; }
119
121
124 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurationsToDelete() const { return m_topicConfigurationsToDelete; }
125 inline bool TopicConfigurationsToDeleteHasBeenSet() const { return m_topicConfigurationsToDeleteHasBeenSet; }
126 template<typename TopicConfigurationsToDeleteT = Aws::Vector<TopicConfiguration>>
127 void SetTopicConfigurationsToDelete(TopicConfigurationsToDeleteT&& value) { m_topicConfigurationsToDeleteHasBeenSet = true; m_topicConfigurationsToDelete = std::forward<TopicConfigurationsToDeleteT>(value); }
128 template<typename TopicConfigurationsToDeleteT = Aws::Vector<TopicConfiguration>>
130 template<typename TopicConfigurationsToDeleteT = TopicConfiguration>
131 UpdateChatControlsConfigurationRequest& AddTopicConfigurationsToDelete(TopicConfigurationsToDeleteT&& value) { m_topicConfigurationsToDeleteHasBeenSet = true; m_topicConfigurationsToDelete.emplace_back(std::forward<TopicConfigurationsToDeleteT>(value)); return *this; }
133
135
138 inline const CreatorModeConfiguration& GetCreatorModeConfiguration() const { return m_creatorModeConfiguration; }
139 inline bool CreatorModeConfigurationHasBeenSet() const { return m_creatorModeConfigurationHasBeenSet; }
140 template<typename CreatorModeConfigurationT = CreatorModeConfiguration>
141 void SetCreatorModeConfiguration(CreatorModeConfigurationT&& value) { m_creatorModeConfigurationHasBeenSet = true; m_creatorModeConfiguration = std::forward<CreatorModeConfigurationT>(value); }
142 template<typename CreatorModeConfigurationT = CreatorModeConfiguration>
145
147
150 inline const HallucinationReductionConfiguration& GetHallucinationReductionConfiguration() const { return m_hallucinationReductionConfiguration; }
151 inline bool HallucinationReductionConfigurationHasBeenSet() const { return m_hallucinationReductionConfigurationHasBeenSet; }
152 template<typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
153 void SetHallucinationReductionConfiguration(HallucinationReductionConfigurationT&& value) { m_hallucinationReductionConfigurationHasBeenSet = true; m_hallucinationReductionConfiguration = std::forward<HallucinationReductionConfigurationT>(value); }
154 template<typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
157 private:
158
159 Aws::String m_applicationId;
160 bool m_applicationIdHasBeenSet = false;
161
163 bool m_clientTokenHasBeenSet = true;
164
165 ResponseScope m_responseScope{ResponseScope::NOT_SET};
166 bool m_responseScopeHasBeenSet = false;
167
168 OrchestrationConfiguration m_orchestrationConfiguration;
169 bool m_orchestrationConfigurationHasBeenSet = false;
170
171 BlockedPhrasesConfigurationUpdate m_blockedPhrasesConfigurationUpdate;
172 bool m_blockedPhrasesConfigurationUpdateHasBeenSet = false;
173
174 Aws::Vector<TopicConfiguration> m_topicConfigurationsToCreateOrUpdate;
175 bool m_topicConfigurationsToCreateOrUpdateHasBeenSet = false;
176
177 Aws::Vector<TopicConfiguration> m_topicConfigurationsToDelete;
178 bool m_topicConfigurationsToDeleteHasBeenSet = false;
179
180 CreatorModeConfiguration m_creatorModeConfiguration;
181 bool m_creatorModeConfigurationHasBeenSet = false;
182
183 HallucinationReductionConfiguration m_hallucinationReductionConfiguration;
184 bool m_hallucinationReductionConfigurationHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace QBusiness
189} // 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