AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningPolicyAnnotation.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningPolicyAddRuleAnnotation.h>
9#include <aws/bedrock/model/AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation.h>
10#include <aws/bedrock/model/AutomatedReasoningPolicyAddTypeAnnotation.h>
11#include <aws/bedrock/model/AutomatedReasoningPolicyAddVariableAnnotation.h>
12#include <aws/bedrock/model/AutomatedReasoningPolicyDeleteRuleAnnotation.h>
13#include <aws/bedrock/model/AutomatedReasoningPolicyDeleteTypeAnnotation.h>
14#include <aws/bedrock/model/AutomatedReasoningPolicyDeleteVariableAnnotation.h>
15#include <aws/bedrock/model/AutomatedReasoningPolicyIngestContentAnnotation.h>
16#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation.h>
17#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation.h>
18#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateRuleAnnotation.h>
19#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateTypeAnnotation.h>
20#include <aws/bedrock/model/AutomatedReasoningPolicyUpdateVariableAnnotation.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace Bedrock {
32namespace Model {
33
42 public:
43 AWS_BEDROCK_API AutomatedReasoningPolicyAnnotation() = default;
46 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
53 inline const AutomatedReasoningPolicyAddTypeAnnotation& GetAddType() const { return m_addType; }
54 inline bool AddTypeHasBeenSet() const { return m_addTypeHasBeenSet; }
55 template <typename AddTypeT = AutomatedReasoningPolicyAddTypeAnnotation>
56 void SetAddType(AddTypeT&& value) {
57 m_addTypeHasBeenSet = true;
58 m_addType = std::forward<AddTypeT>(value);
59 }
60 template <typename AddTypeT = AutomatedReasoningPolicyAddTypeAnnotation>
62 SetAddType(std::forward<AddTypeT>(value));
63 return *this;
64 }
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) {
76 m_updateTypeHasBeenSet = true;
77 m_updateType = std::forward<UpdateTypeT>(value);
78 }
79 template <typename UpdateTypeT = AutomatedReasoningPolicyUpdateTypeAnnotation>
81 SetUpdateType(std::forward<UpdateTypeT>(value));
82 return *this;
83 }
85
87
91 inline const AutomatedReasoningPolicyDeleteTypeAnnotation& GetDeleteType() const { return m_deleteType; }
92 inline bool DeleteTypeHasBeenSet() const { return m_deleteTypeHasBeenSet; }
93 template <typename DeleteTypeT = AutomatedReasoningPolicyDeleteTypeAnnotation>
94 void SetDeleteType(DeleteTypeT&& value) {
95 m_deleteTypeHasBeenSet = true;
96 m_deleteType = std::forward<DeleteTypeT>(value);
97 }
98 template <typename DeleteTypeT = AutomatedReasoningPolicyDeleteTypeAnnotation>
100 SetDeleteType(std::forward<DeleteTypeT>(value));
101 return *this;
102 }
104
106
110 inline const AutomatedReasoningPolicyAddVariableAnnotation& GetAddVariable() const { return m_addVariable; }
111 inline bool AddVariableHasBeenSet() const { return m_addVariableHasBeenSet; }
112 template <typename AddVariableT = AutomatedReasoningPolicyAddVariableAnnotation>
114 m_addVariableHasBeenSet = true;
115 m_addVariable = std::forward<AddVariableT>(value);
116 }
117 template <typename AddVariableT = AutomatedReasoningPolicyAddVariableAnnotation>
119 SetAddVariable(std::forward<AddVariableT>(value));
120 return *this;
121 }
123
125
129 inline const AutomatedReasoningPolicyUpdateVariableAnnotation& GetUpdateVariable() const { return m_updateVariable; }
130 inline bool UpdateVariableHasBeenSet() const { return m_updateVariableHasBeenSet; }
131 template <typename UpdateVariableT = AutomatedReasoningPolicyUpdateVariableAnnotation>
133 m_updateVariableHasBeenSet = true;
134 m_updateVariable = std::forward<UpdateVariableT>(value);
135 }
136 template <typename UpdateVariableT = AutomatedReasoningPolicyUpdateVariableAnnotation>
138 SetUpdateVariable(std::forward<UpdateVariableT>(value));
139 return *this;
140 }
142
144
148 inline const AutomatedReasoningPolicyDeleteVariableAnnotation& GetDeleteVariable() const { return m_deleteVariable; }
149 inline bool DeleteVariableHasBeenSet() const { return m_deleteVariableHasBeenSet; }
150 template <typename DeleteVariableT = AutomatedReasoningPolicyDeleteVariableAnnotation>
152 m_deleteVariableHasBeenSet = true;
153 m_deleteVariable = std::forward<DeleteVariableT>(value);
154 }
155 template <typename DeleteVariableT = AutomatedReasoningPolicyDeleteVariableAnnotation>
157 SetDeleteVariable(std::forward<DeleteVariableT>(value));
158 return *this;
159 }
161
163
167 inline const AutomatedReasoningPolicyAddRuleAnnotation& GetAddRule() const { return m_addRule; }
168 inline bool AddRuleHasBeenSet() const { return m_addRuleHasBeenSet; }
169 template <typename AddRuleT = AutomatedReasoningPolicyAddRuleAnnotation>
170 void SetAddRule(AddRuleT&& value) {
171 m_addRuleHasBeenSet = true;
172 m_addRule = std::forward<AddRuleT>(value);
173 }
174 template <typename AddRuleT = AutomatedReasoningPolicyAddRuleAnnotation>
176 SetAddRule(std::forward<AddRuleT>(value));
177 return *this;
178 }
180
182
186 inline const AutomatedReasoningPolicyUpdateRuleAnnotation& GetUpdateRule() const { return m_updateRule; }
187 inline bool UpdateRuleHasBeenSet() const { return m_updateRuleHasBeenSet; }
188 template <typename UpdateRuleT = AutomatedReasoningPolicyUpdateRuleAnnotation>
190 m_updateRuleHasBeenSet = true;
191 m_updateRule = std::forward<UpdateRuleT>(value);
192 }
193 template <typename UpdateRuleT = AutomatedReasoningPolicyUpdateRuleAnnotation>
195 SetUpdateRule(std::forward<UpdateRuleT>(value));
196 return *this;
197 }
199
201
204 inline const AutomatedReasoningPolicyDeleteRuleAnnotation& GetDeleteRule() const { return m_deleteRule; }
205 inline bool DeleteRuleHasBeenSet() const { return m_deleteRuleHasBeenSet; }
206 template <typename DeleteRuleT = AutomatedReasoningPolicyDeleteRuleAnnotation>
208 m_deleteRuleHasBeenSet = true;
209 m_deleteRule = std::forward<DeleteRuleT>(value);
210 }
211 template <typename DeleteRuleT = AutomatedReasoningPolicyDeleteRuleAnnotation>
213 SetDeleteRule(std::forward<DeleteRuleT>(value));
214 return *this;
215 }
217
219
224 return m_addRuleFromNaturalLanguage;
225 }
226 inline bool AddRuleFromNaturalLanguageHasBeenSet() const { return m_addRuleFromNaturalLanguageHasBeenSet; }
227 template <typename AddRuleFromNaturalLanguageT = AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation>
229 m_addRuleFromNaturalLanguageHasBeenSet = true;
230 m_addRuleFromNaturalLanguage = std::forward<AddRuleFromNaturalLanguageT>(value);
231 }
232 template <typename AddRuleFromNaturalLanguageT = AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation>
234 SetAddRuleFromNaturalLanguage(std::forward<AddRuleFromNaturalLanguageT>(value));
235 return *this;
236 }
238
240
245 return m_updateFromRulesFeedback;
246 }
247 inline bool UpdateFromRulesFeedbackHasBeenSet() const { return m_updateFromRulesFeedbackHasBeenSet; }
248 template <typename UpdateFromRulesFeedbackT = AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation>
250 m_updateFromRulesFeedbackHasBeenSet = true;
251 m_updateFromRulesFeedback = std::forward<UpdateFromRulesFeedbackT>(value);
252 }
253 template <typename UpdateFromRulesFeedbackT = AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation>
255 SetUpdateFromRulesFeedback(std::forward<UpdateFromRulesFeedbackT>(value));
256 return *this;
257 }
259
261
266 return m_updateFromScenarioFeedback;
267 }
268 inline bool UpdateFromScenarioFeedbackHasBeenSet() const { return m_updateFromScenarioFeedbackHasBeenSet; }
269 template <typename UpdateFromScenarioFeedbackT = AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation>
271 m_updateFromScenarioFeedbackHasBeenSet = true;
272 m_updateFromScenarioFeedback = std::forward<UpdateFromScenarioFeedbackT>(value);
273 }
274 template <typename UpdateFromScenarioFeedbackT = AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation>
276 SetUpdateFromScenarioFeedback(std::forward<UpdateFromScenarioFeedbackT>(value));
277 return *this;
278 }
280
282
286 inline const AutomatedReasoningPolicyIngestContentAnnotation& GetIngestContent() const { return m_ingestContent; }
287 inline bool IngestContentHasBeenSet() const { return m_ingestContentHasBeenSet; }
288 template <typename IngestContentT = AutomatedReasoningPolicyIngestContentAnnotation>
290 m_ingestContentHasBeenSet = true;
291 m_ingestContent = std::forward<IngestContentT>(value);
292 }
293 template <typename IngestContentT = AutomatedReasoningPolicyIngestContentAnnotation>
295 SetIngestContent(std::forward<IngestContentT>(value));
296 return *this;
297 }
299 private:
301
303
305
307
309
311
313
315
317
319
321
323
325 bool m_addTypeHasBeenSet = false;
326 bool m_updateTypeHasBeenSet = false;
327 bool m_deleteTypeHasBeenSet = false;
328 bool m_addVariableHasBeenSet = false;
329 bool m_updateVariableHasBeenSet = false;
330 bool m_deleteVariableHasBeenSet = false;
331 bool m_addRuleHasBeenSet = false;
332 bool m_updateRuleHasBeenSet = false;
333 bool m_deleteRuleHasBeenSet = false;
334 bool m_addRuleFromNaturalLanguageHasBeenSet = false;
335 bool m_updateFromRulesFeedbackHasBeenSet = false;
336 bool m_updateFromScenarioFeedbackHasBeenSet = false;
337 bool m_ingestContentHasBeenSet = false;
338};
339
340} // namespace Model
341} // namespace Bedrock
342} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue