AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetChatControlsConfigurationResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/ResponseScope.h>
9#include <aws/qbusiness/model/AppliedOrchestrationConfiguration.h>
10#include <aws/qbusiness/model/BlockedPhrasesConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/qbusiness/model/AppliedCreatorModeConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/qbusiness/model/HallucinationReductionConfiguration.h>
15#include <aws/qbusiness/model/TopicConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace QBusiness
31{
32namespace Model
33{
35 {
36 public:
37 AWS_QBUSINESS_API GetChatControlsConfigurationResult() = default;
40
41
43
50 inline ResponseScope GetResponseScope() const { return m_responseScope; }
51 inline void SetResponseScope(ResponseScope value) { m_responseScopeHasBeenSet = true; m_responseScope = value; }
54
56
63 inline const AppliedOrchestrationConfiguration& GetOrchestrationConfiguration() const { return m_orchestrationConfiguration; }
64 template<typename OrchestrationConfigurationT = AppliedOrchestrationConfiguration>
65 void SetOrchestrationConfiguration(OrchestrationConfigurationT&& value) { m_orchestrationConfigurationHasBeenSet = true; m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value); }
66 template<typename OrchestrationConfigurationT = AppliedOrchestrationConfiguration>
67 GetChatControlsConfigurationResult& WithOrchestrationConfiguration(OrchestrationConfigurationT&& value) { SetOrchestrationConfiguration(std::forward<OrchestrationConfigurationT>(value)); return *this;}
69
71
74 inline const BlockedPhrasesConfiguration& GetBlockedPhrases() const { return m_blockedPhrases; }
75 template<typename BlockedPhrasesT = BlockedPhrasesConfiguration>
76 void SetBlockedPhrases(BlockedPhrasesT&& value) { m_blockedPhrasesHasBeenSet = true; m_blockedPhrases = std::forward<BlockedPhrasesT>(value); }
77 template<typename BlockedPhrasesT = BlockedPhrasesConfiguration>
78 GetChatControlsConfigurationResult& WithBlockedPhrases(BlockedPhrasesT&& value) { SetBlockedPhrases(std::forward<BlockedPhrasesT>(value)); return *this;}
80
82
86 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const { return m_topicConfigurations; }
87 template<typename TopicConfigurationsT = Aws::Vector<TopicConfiguration>>
88 void SetTopicConfigurations(TopicConfigurationsT&& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations = std::forward<TopicConfigurationsT>(value); }
89 template<typename TopicConfigurationsT = Aws::Vector<TopicConfiguration>>
90 GetChatControlsConfigurationResult& WithTopicConfigurations(TopicConfigurationsT&& value) { SetTopicConfigurations(std::forward<TopicConfigurationsT>(value)); return *this;}
91 template<typename TopicConfigurationsT = TopicConfiguration>
92 GetChatControlsConfigurationResult& AddTopicConfigurations(TopicConfigurationsT&& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations.emplace_back(std::forward<TopicConfigurationsT>(value)); return *this; }
94
96
99 inline const AppliedCreatorModeConfiguration& GetCreatorModeConfiguration() const { return m_creatorModeConfiguration; }
100 template<typename CreatorModeConfigurationT = AppliedCreatorModeConfiguration>
101 void SetCreatorModeConfiguration(CreatorModeConfigurationT&& value) { m_creatorModeConfigurationHasBeenSet = true; m_creatorModeConfiguration = std::forward<CreatorModeConfigurationT>(value); }
102 template<typename CreatorModeConfigurationT = AppliedCreatorModeConfiguration>
103 GetChatControlsConfigurationResult& WithCreatorModeConfiguration(CreatorModeConfigurationT&& value) { SetCreatorModeConfiguration(std::forward<CreatorModeConfigurationT>(value)); return *this;}
105
107
113 inline const Aws::String& GetNextToken() const { return m_nextToken; }
114 template<typename NextTokenT = Aws::String>
115 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
116 template<typename NextTokenT = Aws::String>
117 GetChatControlsConfigurationResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
119
121
124 inline const HallucinationReductionConfiguration& GetHallucinationReductionConfiguration() const { return m_hallucinationReductionConfiguration; }
125 template<typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
126 void SetHallucinationReductionConfiguration(HallucinationReductionConfigurationT&& value) { m_hallucinationReductionConfigurationHasBeenSet = true; m_hallucinationReductionConfiguration = std::forward<HallucinationReductionConfigurationT>(value); }
127 template<typename HallucinationReductionConfigurationT = HallucinationReductionConfiguration>
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template<typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
136 template<typename RequestIdT = Aws::String>
137 GetChatControlsConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
139 private:
140
141 ResponseScope m_responseScope{ResponseScope::NOT_SET};
142 bool m_responseScopeHasBeenSet = false;
143
144 AppliedOrchestrationConfiguration m_orchestrationConfiguration;
145 bool m_orchestrationConfigurationHasBeenSet = false;
146
147 BlockedPhrasesConfiguration m_blockedPhrases;
148 bool m_blockedPhrasesHasBeenSet = false;
149
150 Aws::Vector<TopicConfiguration> m_topicConfigurations;
151 bool m_topicConfigurationsHasBeenSet = false;
152
153 AppliedCreatorModeConfiguration m_creatorModeConfiguration;
154 bool m_creatorModeConfigurationHasBeenSet = false;
155
156 Aws::String m_nextToken;
157 bool m_nextTokenHasBeenSet = false;
158
159 HallucinationReductionConfiguration m_hallucinationReductionConfiguration;
160 bool m_hallucinationReductionConfigurationHasBeenSet = false;
161
162 Aws::String m_requestId;
163 bool m_requestIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace QBusiness
168} // 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