AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AutomatedReasoningCheckValidFinding.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningCheckLogicWarning.h>
9#include <aws/bedrock/model/AutomatedReasoningCheckRule.h>
10#include <aws/bedrock/model/AutomatedReasoningCheckScenario.h>
11#include <aws/bedrock/model/AutomatedReasoningCheckTranslation.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock {
24namespace Model {
25
34 public:
35 AWS_BEDROCK_API AutomatedReasoningCheckValidFinding() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const AutomatedReasoningCheckTranslation& GetTranslation() const { return m_translation; }
45 inline bool TranslationHasBeenSet() const { return m_translationHasBeenSet; }
46 template <typename TranslationT = AutomatedReasoningCheckTranslation>
48 m_translationHasBeenSet = true;
49 m_translation = std::forward<TranslationT>(value);
50 }
51 template <typename TranslationT = AutomatedReasoningCheckTranslation>
53 SetTranslation(std::forward<TranslationT>(value));
54 return *this;
55 }
57
59
62 inline const AutomatedReasoningCheckScenario& GetClaimsTrueScenario() const { return m_claimsTrueScenario; }
63 inline bool ClaimsTrueScenarioHasBeenSet() const { return m_claimsTrueScenarioHasBeenSet; }
64 template <typename ClaimsTrueScenarioT = AutomatedReasoningCheckScenario>
66 m_claimsTrueScenarioHasBeenSet = true;
67 m_claimsTrueScenario = std::forward<ClaimsTrueScenarioT>(value);
68 }
69 template <typename ClaimsTrueScenarioT = AutomatedReasoningCheckScenario>
71 SetClaimsTrueScenario(std::forward<ClaimsTrueScenarioT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::Vector<AutomatedReasoningCheckRule>& GetSupportingRules() const { return m_supportingRules; }
82 inline bool SupportingRulesHasBeenSet() const { return m_supportingRulesHasBeenSet; }
83 template <typename SupportingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
85 m_supportingRulesHasBeenSet = true;
86 m_supportingRules = std::forward<SupportingRulesT>(value);
87 }
88 template <typename SupportingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
90 SetSupportingRules(std::forward<SupportingRulesT>(value));
91 return *this;
92 }
93 template <typename SupportingRulesT = AutomatedReasoningCheckRule>
95 m_supportingRulesHasBeenSet = true;
96 m_supportingRules.emplace_back(std::forward<SupportingRulesT>(value));
97 return *this;
98 }
100
102
106 inline const AutomatedReasoningCheckLogicWarning& GetLogicWarning() const { return m_logicWarning; }
107 inline bool LogicWarningHasBeenSet() const { return m_logicWarningHasBeenSet; }
108 template <typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
110 m_logicWarningHasBeenSet = true;
111 m_logicWarning = std::forward<LogicWarningT>(value);
112 }
113 template <typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
115 SetLogicWarning(std::forward<LogicWarningT>(value));
116 return *this;
117 }
119 private:
121
122 AutomatedReasoningCheckScenario m_claimsTrueScenario;
123
125
127 bool m_translationHasBeenSet = false;
128 bool m_claimsTrueScenarioHasBeenSet = false;
129 bool m_supportingRulesHasBeenSet = false;
130 bool m_logicWarningHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Bedrock
135} // namespace Aws
const AutomatedReasoningCheckTranslation & GetTranslation() const
AutomatedReasoningCheckValidFinding & AddSupportingRules(SupportingRulesT &&value)
AutomatedReasoningCheckValidFinding & WithSupportingRules(SupportingRulesT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AutomatedReasoningCheckRule > & GetSupportingRules() const
AutomatedReasoningCheckValidFinding & WithTranslation(TranslationT &&value)
AWS_BEDROCK_API AutomatedReasoningCheckValidFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
const AutomatedReasoningCheckLogicWarning & GetLogicWarning() const
AutomatedReasoningCheckValidFinding & WithLogicWarning(LogicWarningT &&value)
const AutomatedReasoningCheckScenario & GetClaimsTrueScenario() const
AWS_BEDROCK_API AutomatedReasoningCheckValidFinding(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckValidFinding & WithClaimsTrueScenario(ClaimsTrueScenarioT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue