AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
AutomatedReasoningCheckValidFinding.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningCheckTranslation.h>
9#include <aws/bedrock/model/AutomatedReasoningCheckScenario.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock/model/AutomatedReasoningCheckLogicWarning.h>
12#include <aws/bedrock/model/AutomatedReasoningCheckRule.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Bedrock
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_BEDROCK_API AutomatedReasoningCheckValidFinding() = default;
43 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const AutomatedReasoningCheckTranslation& GetTranslation() const { return m_translation; }
51 inline bool TranslationHasBeenSet() const { return m_translationHasBeenSet; }
52 template<typename TranslationT = AutomatedReasoningCheckTranslation>
53 void SetTranslation(TranslationT&& value) { m_translationHasBeenSet = true; m_translation = std::forward<TranslationT>(value); }
54 template<typename TranslationT = AutomatedReasoningCheckTranslation>
55 AutomatedReasoningCheckValidFinding& WithTranslation(TranslationT&& value) { SetTranslation(std::forward<TranslationT>(value)); return *this;}
57
59
62 inline const AutomatedReasoningCheckScenario& GetClaimsTrueScenario() const { return m_claimsTrueScenario; }
63 inline bool ClaimsTrueScenarioHasBeenSet() const { return m_claimsTrueScenarioHasBeenSet; }
64 template<typename ClaimsTrueScenarioT = AutomatedReasoningCheckScenario>
65 void SetClaimsTrueScenario(ClaimsTrueScenarioT&& value) { m_claimsTrueScenarioHasBeenSet = true; m_claimsTrueScenario = std::forward<ClaimsTrueScenarioT>(value); }
66 template<typename ClaimsTrueScenarioT = AutomatedReasoningCheckScenario>
67 AutomatedReasoningCheckValidFinding& WithClaimsTrueScenario(ClaimsTrueScenarioT&& value) { SetClaimsTrueScenario(std::forward<ClaimsTrueScenarioT>(value)); return *this;}
69
71
75 inline const Aws::Vector<AutomatedReasoningCheckRule>& GetSupportingRules() const { return m_supportingRules; }
76 inline bool SupportingRulesHasBeenSet() const { return m_supportingRulesHasBeenSet; }
77 template<typename SupportingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
78 void SetSupportingRules(SupportingRulesT&& value) { m_supportingRulesHasBeenSet = true; m_supportingRules = std::forward<SupportingRulesT>(value); }
79 template<typename SupportingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
80 AutomatedReasoningCheckValidFinding& WithSupportingRules(SupportingRulesT&& value) { SetSupportingRules(std::forward<SupportingRulesT>(value)); return *this;}
81 template<typename SupportingRulesT = AutomatedReasoningCheckRule>
82 AutomatedReasoningCheckValidFinding& AddSupportingRules(SupportingRulesT&& value) { m_supportingRulesHasBeenSet = true; m_supportingRules.emplace_back(std::forward<SupportingRulesT>(value)); return *this; }
84
86
90 inline const AutomatedReasoningCheckLogicWarning& GetLogicWarning() const { return m_logicWarning; }
91 inline bool LogicWarningHasBeenSet() const { return m_logicWarningHasBeenSet; }
92 template<typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
93 void SetLogicWarning(LogicWarningT&& value) { m_logicWarningHasBeenSet = true; m_logicWarning = std::forward<LogicWarningT>(value); }
94 template<typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
95 AutomatedReasoningCheckValidFinding& WithLogicWarning(LogicWarningT&& value) { SetLogicWarning(std::forward<LogicWarningT>(value)); return *this;}
97 private:
98
100 bool m_translationHasBeenSet = false;
101
102 AutomatedReasoningCheckScenario m_claimsTrueScenario;
103 bool m_claimsTrueScenarioHasBeenSet = false;
104
106 bool m_supportingRulesHasBeenSet = false;
107
109 bool m_logicWarningHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Bedrock
114} // 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue