AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetChatControlsConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/AppliedCreatorModeConfiguration.h>
11#include <aws/qbusiness/model/AppliedOrchestrationConfiguration.h>
12#include <aws/qbusiness/model/BlockedPhrasesConfiguration.h>
13#include <aws/qbusiness/model/HallucinationReductionConfiguration.h>
14#include <aws/qbusiness/model/ResponseScope.h>
15#include <aws/qbusiness/model/TopicConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace QBusiness {
29namespace Model {
31 public:
32 AWS_QBUSINESS_API GetChatControlsConfigurationResult() = default;
35
37
44 inline ResponseScope GetResponseScope() const { return m_responseScope; }
45 inline void SetResponseScope(ResponseScope value) {
46 m_responseScopeHasBeenSet = true;
47 m_responseScope = value;
48 }
50 SetResponseScope(value);
51 return *this;
52 }
54
56
63 inline const AppliedOrchestrationConfiguration& GetOrchestrationConfiguration() const { return m_orchestrationConfiguration; }
64 template <typename OrchestrationConfigurationT = AppliedOrchestrationConfiguration>
66 m_orchestrationConfigurationHasBeenSet = true;
67 m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value);
68 }
69 template <typename OrchestrationConfigurationT = AppliedOrchestrationConfiguration>
71 SetOrchestrationConfiguration(std::forward<OrchestrationConfigurationT>(value));
72 return *this;
73 }
75
77
80 inline const BlockedPhrasesConfiguration& GetBlockedPhrases() const { return m_blockedPhrases; }
81 template <typename BlockedPhrasesT = BlockedPhrasesConfiguration>
83 m_blockedPhrasesHasBeenSet = true;
84 m_blockedPhrases = std::forward<BlockedPhrasesT>(value);
85 }
86 template <typename BlockedPhrasesT = BlockedPhrasesConfiguration>
88 SetBlockedPhrases(std::forward<BlockedPhrasesT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const { return m_topicConfigurations; }
99 template <typename TopicConfigurationsT = Aws::Vector<TopicConfiguration>>
101 m_topicConfigurationsHasBeenSet = true;
102 m_topicConfigurations = std::forward<TopicConfigurationsT>(value);
103 }
104 template <typename TopicConfigurationsT = Aws::Vector<TopicConfiguration>>
106 SetTopicConfigurations(std::forward<TopicConfigurationsT>(value));
107 return *this;
108 }
109 template <typename TopicConfigurationsT = TopicConfiguration>
111 m_topicConfigurationsHasBeenSet = true;
112 m_topicConfigurations.emplace_back(std::forward<TopicConfigurationsT>(value));
113 return *this;
114 }
116
118
121 inline const AppliedCreatorModeConfiguration& GetCreatorModeConfiguration() const { return m_creatorModeConfiguration; }
122 template <typename CreatorModeConfigurationT = AppliedCreatorModeConfiguration>
124 m_creatorModeConfigurationHasBeenSet = true;
125 m_creatorModeConfiguration = std::forward<CreatorModeConfigurationT>(value);
126 }
127 template <typename CreatorModeConfigurationT = AppliedCreatorModeConfiguration>
129 SetCreatorModeConfiguration(std::forward<CreatorModeConfigurationT>(value));
130 return *this;
131 }
133
135
141 inline const Aws::String& GetNextToken() const { return m_nextToken; }
142 template <typename NextTokenT = Aws::String>
143 void SetNextToken(NextTokenT&& value) {
144 m_nextTokenHasBeenSet = true;
145 m_nextToken = std::forward<NextTokenT>(value);
146 }
147 template <typename NextTokenT = Aws::String>
149 SetNextToken(std::forward<NextTokenT>(value));
150 return *this;
151 }
153
155
159 return m_hallucinationReductionConfiguration;
160 }
161 template <typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
163 m_hallucinationReductionConfigurationHasBeenSet = true;
164 m_hallucinationReductionConfiguration = std::forward<HallucinationReductionConfigurationT>(value);
165 }
166 template <typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
168 SetHallucinationReductionConfiguration(std::forward<HallucinationReductionConfigurationT>(value));
169 return *this;
170 }
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template <typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) {
178 m_requestIdHasBeenSet = true;
179 m_requestId = std::forward<RequestIdT>(value);
180 }
181 template <typename RequestIdT = Aws::String>
183 SetRequestId(std::forward<RequestIdT>(value));
184 return *this;
185 }
187 private:
188 ResponseScope m_responseScope{ResponseScope::NOT_SET};
189
190 AppliedOrchestrationConfiguration m_orchestrationConfiguration;
191
192 BlockedPhrasesConfiguration m_blockedPhrases;
193
194 Aws::Vector<TopicConfiguration> m_topicConfigurations;
195
196 AppliedCreatorModeConfiguration m_creatorModeConfiguration;
197
198 Aws::String m_nextToken;
199
200 HallucinationReductionConfiguration m_hallucinationReductionConfiguration;
201
202 Aws::String m_requestId;
203 bool m_responseScopeHasBeenSet = false;
204 bool m_orchestrationConfigurationHasBeenSet = false;
205 bool m_blockedPhrasesHasBeenSet = false;
206 bool m_topicConfigurationsHasBeenSet = false;
207 bool m_creatorModeConfigurationHasBeenSet = false;
208 bool m_nextTokenHasBeenSet = false;
209 bool m_hallucinationReductionConfigurationHasBeenSet = false;
210 bool m_requestIdHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace QBusiness
215} // namespace Aws
const HallucinationReductionConfiguration & GetHallucinationReductionConfiguration() const
AWS_QBUSINESS_API GetChatControlsConfigurationResult()=default
GetChatControlsConfigurationResult & WithRequestId(RequestIdT &&value)
void SetHallucinationReductionConfiguration(HallucinationReductionConfigurationT &&value)
GetChatControlsConfigurationResult & WithTopicConfigurations(TopicConfigurationsT &&value)
GetChatControlsConfigurationResult & WithNextToken(NextTokenT &&value)
GetChatControlsConfigurationResult & WithHallucinationReductionConfiguration(HallucinationReductionConfigurationT &&value)
GetChatControlsConfigurationResult & AddTopicConfigurations(TopicConfigurationsT &&value)
const AppliedOrchestrationConfiguration & GetOrchestrationConfiguration() const
GetChatControlsConfigurationResult & WithBlockedPhrases(BlockedPhrasesT &&value)
AWS_QBUSINESS_API GetChatControlsConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AppliedCreatorModeConfiguration & GetCreatorModeConfiguration() const
AWS_QBUSINESS_API GetChatControlsConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurations() const
GetChatControlsConfigurationResult & WithResponseScope(ResponseScope value)
GetChatControlsConfigurationResult & WithCreatorModeConfiguration(CreatorModeConfigurationT &&value)
GetChatControlsConfigurationResult & WithOrchestrationConfiguration(OrchestrationConfigurationT &&value)
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
Aws::Utils::Json::JsonValue JsonValue