AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
AutomatedReasoningPolicyAnnotation.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningPolicyAddTypeAnnotation.h>
9#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateTypeAnnotation.h>
10#include <aws/bedrock/model/AutomatedReasoningPolicyDeleteTypeAnnotation.h>
11#include <aws/bedrock/model/AutomatedReasoningPolicyAddVariableAnnotation.h>
12#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateVariableAnnotation.h>
13#include <aws/bedrock/model/AutomatedReasoningPolicyDeleteVariableAnnotation.h>
14#include <aws/bedrock/model/AutomatedReasoningPolicyAddRuleAnnotation.h>
15#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateRuleAnnotation.h>
16#include <aws/bedrock/model/AutomatedReasoningPolicyDeleteRuleAnnotation.h>
17#include <aws/bedrock/model/AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.h>
18#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.h>
19#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.h>
20#include <aws/bedrock/model/AutomatedReasoningPolicyIngestContentAnnotation.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace Bedrock
34{
35namespace Model
36{
37
46 {
47 public:
48 AWS_BEDROCK_API AutomatedReasoningPolicyAnnotation() = default;
51 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
59 inline const AutomatedReasoningPolicyAddTypeAnnotation& GetAddType() const { return m_addType; }
60 inline bool AddTypeHasBeenSet() const { return m_addTypeHasBeenSet; }
61 template<typename AddTypeT = AutomatedReasoningPolicyAddTypeAnnotation>
62 void SetAddType(AddTypeT&& value) { m_addTypeHasBeenSet = true; m_addType = std::forward<AddTypeT>(value); }
63 template<typename AddTypeT = AutomatedReasoningPolicyAddTypeAnnotation>
64 AutomatedReasoningPolicyAnnotation& WithAddType(AddTypeT&& value) { SetAddType(std::forward<AddTypeT>(value)); return *this;}
66
68
72 inline const AutomatedReasoningPolicyUpdateTypeAnnotation& GetUpdateType() const { return m_updateType; }
73 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
74 template<typename UpdateTypeT = AutomatedReasoningPolicyUpdateTypeAnnotation>
75 void SetUpdateType(UpdateTypeT&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::forward<UpdateTypeT>(value); }
76 template<typename UpdateTypeT = AutomatedReasoningPolicyUpdateTypeAnnotation>
77 AutomatedReasoningPolicyAnnotation& WithUpdateType(UpdateTypeT&& value) { SetUpdateType(std::forward<UpdateTypeT>(value)); return *this;}
79
81
85 inline const AutomatedReasoningPolicyDeleteTypeAnnotation& GetDeleteType() const { return m_deleteType; }
86 inline bool DeleteTypeHasBeenSet() const { return m_deleteTypeHasBeenSet; }
87 template<typename DeleteTypeT = AutomatedReasoningPolicyDeleteTypeAnnotation>
88 void SetDeleteType(DeleteTypeT&& value) { m_deleteTypeHasBeenSet = true; m_deleteType = std::forward<DeleteTypeT>(value); }
89 template<typename DeleteTypeT = AutomatedReasoningPolicyDeleteTypeAnnotation>
90 AutomatedReasoningPolicyAnnotation& WithDeleteType(DeleteTypeT&& value) { SetDeleteType(std::forward<DeleteTypeT>(value)); return *this;}
92
94
98 inline const AutomatedReasoningPolicyAddVariableAnnotation& GetAddVariable() const { return m_addVariable; }
99 inline bool AddVariableHasBeenSet() const { return m_addVariableHasBeenSet; }
100 template<typename AddVariableT = AutomatedReasoningPolicyAddVariableAnnotation>
101 void SetAddVariable(AddVariableT&& value) { m_addVariableHasBeenSet = true; m_addVariable = std::forward<AddVariableT>(value); }
102 template<typename AddVariableT = AutomatedReasoningPolicyAddVariableAnnotation>
103 AutomatedReasoningPolicyAnnotation& WithAddVariable(AddVariableT&& value) { SetAddVariable(std::forward<AddVariableT>(value)); return *this;}
105
107
111 inline const AutomatedReasoningPolicyUpdateVariableAnnotation& GetUpdateVariable() const { return m_updateVariable; }
112 inline bool UpdateVariableHasBeenSet() const { return m_updateVariableHasBeenSet; }
113 template<typename UpdateVariableT = AutomatedReasoningPolicyUpdateVariableAnnotation>
114 void SetUpdateVariable(UpdateVariableT&& value) { m_updateVariableHasBeenSet = true; m_updateVariable = std::forward<UpdateVariableT>(value); }
115 template<typename UpdateVariableT = AutomatedReasoningPolicyUpdateVariableAnnotation>
116 AutomatedReasoningPolicyAnnotation& WithUpdateVariable(UpdateVariableT&& value) { SetUpdateVariable(std::forward<UpdateVariableT>(value)); return *this;}
118
120
124 inline const AutomatedReasoningPolicyDeleteVariableAnnotation& GetDeleteVariable() const { return m_deleteVariable; }
125 inline bool DeleteVariableHasBeenSet() const { return m_deleteVariableHasBeenSet; }
126 template<typename DeleteVariableT = AutomatedReasoningPolicyDeleteVariableAnnotation>
127 void SetDeleteVariable(DeleteVariableT&& value) { m_deleteVariableHasBeenSet = true; m_deleteVariable = std::forward<DeleteVariableT>(value); }
128 template<typename DeleteVariableT = AutomatedReasoningPolicyDeleteVariableAnnotation>
129 AutomatedReasoningPolicyAnnotation& WithDeleteVariable(DeleteVariableT&& value) { SetDeleteVariable(std::forward<DeleteVariableT>(value)); return *this;}
131
133
137 inline const AutomatedReasoningPolicyAddRuleAnnotation& GetAddRule() const { return m_addRule; }
138 inline bool AddRuleHasBeenSet() const { return m_addRuleHasBeenSet; }
139 template<typename AddRuleT = AutomatedReasoningPolicyAddRuleAnnotation>
140 void SetAddRule(AddRuleT&& value) { m_addRuleHasBeenSet = true; m_addRule = std::forward<AddRuleT>(value); }
141 template<typename AddRuleT = AutomatedReasoningPolicyAddRuleAnnotation>
142 AutomatedReasoningPolicyAnnotation& WithAddRule(AddRuleT&& value) { SetAddRule(std::forward<AddRuleT>(value)); return *this;}
144
146
150 inline const AutomatedReasoningPolicyUpdateRuleAnnotation& GetUpdateRule() const { return m_updateRule; }
151 inline bool UpdateRuleHasBeenSet() const { return m_updateRuleHasBeenSet; }
152 template<typename UpdateRuleT = AutomatedReasoningPolicyUpdateRuleAnnotation>
153 void SetUpdateRule(UpdateRuleT&& value) { m_updateRuleHasBeenSet = true; m_updateRule = std::forward<UpdateRuleT>(value); }
154 template<typename UpdateRuleT = AutomatedReasoningPolicyUpdateRuleAnnotation>
155 AutomatedReasoningPolicyAnnotation& WithUpdateRule(UpdateRuleT&& value) { SetUpdateRule(std::forward<UpdateRuleT>(value)); return *this;}
157
159
162 inline const AutomatedReasoningPolicyDeleteRuleAnnotation& GetDeleteRule() const { return m_deleteRule; }
163 inline bool DeleteRuleHasBeenSet() const { return m_deleteRuleHasBeenSet; }
164 template<typename DeleteRuleT = AutomatedReasoningPolicyDeleteRuleAnnotation>
165 void SetDeleteRule(DeleteRuleT&& value) { m_deleteRuleHasBeenSet = true; m_deleteRule = std::forward<DeleteRuleT>(value); }
166 template<typename DeleteRuleT = AutomatedReasoningPolicyDeleteRuleAnnotation>
167 AutomatedReasoningPolicyAnnotation& WithDeleteRule(DeleteRuleT&& value) { SetDeleteRule(std::forward<DeleteRuleT>(value)); return *this;}
169
171
175 inline const AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation& GetAddRuleFromNaturalLanguage() const { return m_addRuleFromNaturalLanguage; }
176 inline bool AddRuleFromNaturalLanguageHasBeenSet() const { return m_addRuleFromNaturalLanguageHasBeenSet; }
177 template<typename AddRuleFromNaturalLanguageT = AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation>
178 void SetAddRuleFromNaturalLanguage(AddRuleFromNaturalLanguageT&& value) { m_addRuleFromNaturalLanguageHasBeenSet = true; m_addRuleFromNaturalLanguage = std::forward<AddRuleFromNaturalLanguageT>(value); }
179 template<typename AddRuleFromNaturalLanguageT = AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation>
180 AutomatedReasoningPolicyAnnotation& WithAddRuleFromNaturalLanguage(AddRuleFromNaturalLanguageT&& value) { SetAddRuleFromNaturalLanguage(std::forward<AddRuleFromNaturalLanguageT>(value)); return *this;}
182
184
188 inline const AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation& GetUpdateFromRulesFeedback() const { return m_updateFromRulesFeedback; }
189 inline bool UpdateFromRulesFeedbackHasBeenSet() const { return m_updateFromRulesFeedbackHasBeenSet; }
190 template<typename UpdateFromRulesFeedbackT = AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation>
191 void SetUpdateFromRulesFeedback(UpdateFromRulesFeedbackT&& value) { m_updateFromRulesFeedbackHasBeenSet = true; m_updateFromRulesFeedback = std::forward<UpdateFromRulesFeedbackT>(value); }
192 template<typename UpdateFromRulesFeedbackT = AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation>
193 AutomatedReasoningPolicyAnnotation& WithUpdateFromRulesFeedback(UpdateFromRulesFeedbackT&& value) { SetUpdateFromRulesFeedback(std::forward<UpdateFromRulesFeedbackT>(value)); return *this;}
195
197
201 inline const AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation& GetUpdateFromScenarioFeedback() const { return m_updateFromScenarioFeedback; }
202 inline bool UpdateFromScenarioFeedbackHasBeenSet() const { return m_updateFromScenarioFeedbackHasBeenSet; }
203 template<typename UpdateFromScenarioFeedbackT = AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation>
204 void SetUpdateFromScenarioFeedback(UpdateFromScenarioFeedbackT&& value) { m_updateFromScenarioFeedbackHasBeenSet = true; m_updateFromScenarioFeedback = std::forward<UpdateFromScenarioFeedbackT>(value); }
205 template<typename UpdateFromScenarioFeedbackT = AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation>
206 AutomatedReasoningPolicyAnnotation& WithUpdateFromScenarioFeedback(UpdateFromScenarioFeedbackT&& value) { SetUpdateFromScenarioFeedback(std::forward<UpdateFromScenarioFeedbackT>(value)); return *this;}
208
210
214 inline const AutomatedReasoningPolicyIngestContentAnnotation& GetIngestContent() const { return m_ingestContent; }
215 inline bool IngestContentHasBeenSet() const { return m_ingestContentHasBeenSet; }
216 template<typename IngestContentT = AutomatedReasoningPolicyIngestContentAnnotation>
217 void SetIngestContent(IngestContentT&& value) { m_ingestContentHasBeenSet = true; m_ingestContent = std::forward<IngestContentT>(value); }
218 template<typename IngestContentT = AutomatedReasoningPolicyIngestContentAnnotation>
219 AutomatedReasoningPolicyAnnotation& WithIngestContent(IngestContentT&& value) { SetIngestContent(std::forward<IngestContentT>(value)); return *this;}
221 private:
222
224 bool m_addTypeHasBeenSet = false;
225
227 bool m_updateTypeHasBeenSet = false;
228
230 bool m_deleteTypeHasBeenSet = false;
231
233 bool m_addVariableHasBeenSet = false;
234
236 bool m_updateVariableHasBeenSet = false;
237
239 bool m_deleteVariableHasBeenSet = false;
240
242 bool m_addRuleHasBeenSet = false;
243
245 bool m_updateRuleHasBeenSet = false;
246
248 bool m_deleteRuleHasBeenSet = false;
249
251 bool m_addRuleFromNaturalLanguageHasBeenSet = false;
252
254 bool m_updateFromRulesFeedbackHasBeenSet = false;
255
257 bool m_updateFromScenarioFeedbackHasBeenSet = false;
258
260 bool m_ingestContentHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace Bedrock
265} // namespace Aws
AutomatedReasoningPolicyAnnotation & WithAddRuleFromNaturalLanguage(AddRuleFromNaturalLanguageT &&value)
const AutomatedReasoningPolicyAddVariableAnnotation & GetAddVariable() const
AutomatedReasoningPolicyAnnotation & WithAddRule(AddRuleT &&value)
AutomatedReasoningPolicyAnnotation & WithAddType(AddTypeT &&value)
AutomatedReasoningPolicyAnnotation & WithUpdateFromScenarioFeedback(UpdateFromScenarioFeedbackT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyAnnotation(Aws::Utils::Json::JsonView jsonValue)
const AutomatedReasoningPolicyAddTypeAnnotation & GetAddType() const
AutomatedReasoningPolicyAnnotation & WithAddVariable(AddVariableT &&value)
const AutomatedReasoningPolicyIngestContentAnnotation & GetIngestContent() const
const AutomatedReasoningPolicyDeleteVariableAnnotation & GetDeleteVariable() const
const AutomatedReasoningPolicyUpdateRuleAnnotation & GetUpdateRule() const
const AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation & GetAddRuleFromNaturalLanguage() const
AutomatedReasoningPolicyAnnotation & WithUpdateType(UpdateTypeT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyAnnotation & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicyAnnotation & WithDeleteVariable(DeleteVariableT &&value)
const AutomatedReasoningPolicyUpdateVariableAnnotation & GetUpdateVariable() const
AutomatedReasoningPolicyAnnotation & WithUpdateRule(UpdateRuleT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningPolicyAnnotation & WithUpdateVariable(UpdateVariableT &&value)
AutomatedReasoningPolicyAnnotation & WithUpdateFromRulesFeedback(UpdateFromRulesFeedbackT &&value)
const AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation & GetUpdateFromRulesFeedback() const
AutomatedReasoningPolicyAnnotation & WithIngestContent(IngestContentT &&value)
AutomatedReasoningPolicyAnnotation & WithDeleteType(DeleteTypeT &&value)
AutomatedReasoningPolicyAnnotation & WithDeleteRule(DeleteRuleT &&value)
const AutomatedReasoningPolicyAddRuleAnnotation & GetAddRule() const
const AutomatedReasoningPolicyUpdateTypeAnnotation & GetUpdateType() const
const AutomatedReasoningPolicyDeleteTypeAnnotation & GetDeleteType() const
const AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation & GetUpdateFromScenarioFeedback() const
const AutomatedReasoningPolicyDeleteRuleAnnotation & GetDeleteRule() const
Aws::Utils::Json::JsonValue JsonValue