AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
AutomatedReasoningCheckImpossibleFinding.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningCheckTranslation.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/AutomatedReasoningCheckLogicWarning.h>
11#include <aws/bedrock/model/AutomatedReasoningCheckRule.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCK_API AutomatedReasoningCheckImpossibleFinding() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AutomatedReasoningCheckTranslation& GetTranslation() const { return m_translation; }
49 inline bool TranslationHasBeenSet() const { return m_translationHasBeenSet; }
50 template<typename TranslationT = AutomatedReasoningCheckTranslation>
51 void SetTranslation(TranslationT&& value) { m_translationHasBeenSet = true; m_translation = std::forward<TranslationT>(value); }
52 template<typename TranslationT = AutomatedReasoningCheckTranslation>
53 AutomatedReasoningCheckImpossibleFinding& WithTranslation(TranslationT&& value) { SetTranslation(std::forward<TranslationT>(value)); return *this;}
55
57
61 inline const Aws::Vector<AutomatedReasoningCheckRule>& GetContradictingRules() const { return m_contradictingRules; }
62 inline bool ContradictingRulesHasBeenSet() const { return m_contradictingRulesHasBeenSet; }
63 template<typename ContradictingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
64 void SetContradictingRules(ContradictingRulesT&& value) { m_contradictingRulesHasBeenSet = true; m_contradictingRules = std::forward<ContradictingRulesT>(value); }
65 template<typename ContradictingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
66 AutomatedReasoningCheckImpossibleFinding& WithContradictingRules(ContradictingRulesT&& value) { SetContradictingRules(std::forward<ContradictingRulesT>(value)); return *this;}
67 template<typename ContradictingRulesT = AutomatedReasoningCheckRule>
68 AutomatedReasoningCheckImpossibleFinding& AddContradictingRules(ContradictingRulesT&& value) { m_contradictingRulesHasBeenSet = true; m_contradictingRules.emplace_back(std::forward<ContradictingRulesT>(value)); return *this; }
70
72
76 inline const AutomatedReasoningCheckLogicWarning& GetLogicWarning() const { return m_logicWarning; }
77 inline bool LogicWarningHasBeenSet() const { return m_logicWarningHasBeenSet; }
78 template<typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
79 void SetLogicWarning(LogicWarningT&& value) { m_logicWarningHasBeenSet = true; m_logicWarning = std::forward<LogicWarningT>(value); }
80 template<typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
81 AutomatedReasoningCheckImpossibleFinding& WithLogicWarning(LogicWarningT&& value) { SetLogicWarning(std::forward<LogicWarningT>(value)); return *this;}
83 private:
84
86 bool m_translationHasBeenSet = false;
87
89 bool m_contradictingRulesHasBeenSet = false;
90
92 bool m_logicWarningHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Bedrock
97} // namespace Aws
AutomatedReasoningCheckImpossibleFinding & WithTranslation(TranslationT &&value)
AutomatedReasoningCheckImpossibleFinding & AddContradictingRules(ContradictingRulesT &&value)
const Aws::Vector< AutomatedReasoningCheckRule > & GetContradictingRules() const
AutomatedReasoningCheckImpossibleFinding & WithLogicWarning(LogicWarningT &&value)
AWS_BEDROCK_API AutomatedReasoningCheckImpossibleFinding(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckImpossibleFinding & WithContradictingRules(ContradictingRulesT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningCheckImpossibleFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue