AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
GetChatControlsConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/AppliedCreatorModeConfiguration.h>
12#include <aws/qbusiness/model/AppliedOrchestrationConfiguration.h>
13#include <aws/qbusiness/model/BlockedPhrasesConfiguration.h>
14#include <aws/qbusiness/model/HallucinationReductionConfiguration.h>
15#include <aws/qbusiness/model/ResponseScope.h>
16#include <aws/qbusiness/model/TopicConfiguration.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace QBusiness {
30namespace Model {
32 public:
33 AWS_QBUSINESS_API GetChatControlsConfigurationResult() = default;
36
38
45 inline ResponseScope GetResponseScope() const { return m_responseScope; }
46 inline void SetResponseScope(ResponseScope value) {
47 m_responseScopeHasBeenSet = true;
48 m_responseScope = value;
49 }
51 SetResponseScope(value);
52 return *this;
53 }
55
57
64 inline const AppliedOrchestrationConfiguration& GetOrchestrationConfiguration() const { return m_orchestrationConfiguration; }
65 template <typename OrchestrationConfigurationT = AppliedOrchestrationConfiguration>
67 m_orchestrationConfigurationHasBeenSet = true;
68 m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value);
69 }
70 template <typename OrchestrationConfigurationT = AppliedOrchestrationConfiguration>
72 SetOrchestrationConfiguration(std::forward<OrchestrationConfigurationT>(value));
73 return *this;
74 }
76
78
81 inline const BlockedPhrasesConfiguration& GetBlockedPhrases() const { return m_blockedPhrases; }
82 template <typename BlockedPhrasesT = BlockedPhrasesConfiguration>
84 m_blockedPhrasesHasBeenSet = true;
85 m_blockedPhrases = std::forward<BlockedPhrasesT>(value);
86 }
87 template <typename BlockedPhrasesT = BlockedPhrasesConfiguration>
89 SetBlockedPhrases(std::forward<BlockedPhrasesT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const { return m_topicConfigurations; }
100 template <typename TopicConfigurationsT = Aws::Vector<TopicConfiguration>>
102 m_topicConfigurationsHasBeenSet = true;
103 m_topicConfigurations = std::forward<TopicConfigurationsT>(value);
104 }
105 template <typename TopicConfigurationsT = Aws::Vector<TopicConfiguration>>
107 SetTopicConfigurations(std::forward<TopicConfigurationsT>(value));
108 return *this;
109 }
110 template <typename TopicConfigurationsT = TopicConfiguration>
112 m_topicConfigurationsHasBeenSet = true;
113 m_topicConfigurations.emplace_back(std::forward<TopicConfigurationsT>(value));
114 return *this;
115 }
117
119
122 inline const AppliedCreatorModeConfiguration& GetCreatorModeConfiguration() const { return m_creatorModeConfiguration; }
123 template <typename CreatorModeConfigurationT = AppliedCreatorModeConfiguration>
125 m_creatorModeConfigurationHasBeenSet = true;
126 m_creatorModeConfiguration = std::forward<CreatorModeConfigurationT>(value);
127 }
128 template <typename CreatorModeConfigurationT = AppliedCreatorModeConfiguration>
130 SetCreatorModeConfiguration(std::forward<CreatorModeConfigurationT>(value));
131 return *this;
132 }
134
136
142 inline const Aws::String& GetNextToken() const { return m_nextToken; }
143 template <typename NextTokenT = Aws::String>
144 void SetNextToken(NextTokenT&& value) {
145 m_nextTokenHasBeenSet = true;
146 m_nextToken = std::forward<NextTokenT>(value);
147 }
148 template <typename NextTokenT = Aws::String>
150 SetNextToken(std::forward<NextTokenT>(value));
151 return *this;
152 }
154
156
160 return m_hallucinationReductionConfiguration;
161 }
162 template <typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
164 m_hallucinationReductionConfigurationHasBeenSet = true;
165 m_hallucinationReductionConfiguration = std::forward<HallucinationReductionConfigurationT>(value);
166 }
167 template <typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
169 SetHallucinationReductionConfiguration(std::forward<HallucinationReductionConfigurationT>(value));
170 return *this;
171 }
173
175
176 inline const Aws::String& GetRequestId() const { return m_requestId; }
177 template <typename RequestIdT = Aws::String>
178 void SetRequestId(RequestIdT&& value) {
179 m_requestIdHasBeenSet = true;
180 m_requestId = std::forward<RequestIdT>(value);
181 }
182 template <typename RequestIdT = Aws::String>
184 SetRequestId(std::forward<RequestIdT>(value));
185 return *this;
186 }
188 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
189
190 private:
191 ResponseScope m_responseScope{ResponseScope::NOT_SET};
192
193 AppliedOrchestrationConfiguration m_orchestrationConfiguration;
194
195 BlockedPhrasesConfiguration m_blockedPhrases;
196
197 Aws::Vector<TopicConfiguration> m_topicConfigurations;
198
199 AppliedCreatorModeConfiguration m_creatorModeConfiguration;
200
201 Aws::String m_nextToken;
202
203 HallucinationReductionConfiguration m_hallucinationReductionConfiguration;
204
205 Aws::String m_requestId;
206 Aws::Http::HttpResponseCode m_HttpResponseCode;
207 bool m_responseScopeHasBeenSet = false;
208 bool m_orchestrationConfigurationHasBeenSet = false;
209 bool m_blockedPhrasesHasBeenSet = false;
210 bool m_topicConfigurationsHasBeenSet = false;
211 bool m_creatorModeConfigurationHasBeenSet = false;
212 bool m_nextTokenHasBeenSet = false;
213 bool m_hallucinationReductionConfigurationHasBeenSet = false;
214 bool m_requestIdHasBeenSet = false;
215};
216
217} // namespace Model
218} // namespace QBusiness
219} // 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