AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningCheckInvalidFinding.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/AutomatedReasoningCheckTranslation.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock {
23namespace Model {
24
32 public:
33 AWS_BEDROCK_API AutomatedReasoningCheckInvalidFinding() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const AutomatedReasoningCheckTranslation& GetTranslation() const { return m_translation; }
43 inline bool TranslationHasBeenSet() const { return m_translationHasBeenSet; }
44 template <typename TranslationT = AutomatedReasoningCheckTranslation>
46 m_translationHasBeenSet = true;
47 m_translation = std::forward<TranslationT>(value);
48 }
49 template <typename TranslationT = AutomatedReasoningCheckTranslation>
51 SetTranslation(std::forward<TranslationT>(value));
52 return *this;
53 }
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>>
65 m_contradictingRulesHasBeenSet = true;
66 m_contradictingRules = std::forward<ContradictingRulesT>(value);
67 }
68 template <typename ContradictingRulesT = Aws::Vector<AutomatedReasoningCheckRule>>
70 SetContradictingRules(std::forward<ContradictingRulesT>(value));
71 return *this;
72 }
73 template <typename ContradictingRulesT = AutomatedReasoningCheckRule>
75 m_contradictingRulesHasBeenSet = true;
76 m_contradictingRules.emplace_back(std::forward<ContradictingRulesT>(value));
77 return *this;
78 }
80
82
86 inline const AutomatedReasoningCheckLogicWarning& GetLogicWarning() const { return m_logicWarning; }
87 inline bool LogicWarningHasBeenSet() const { return m_logicWarningHasBeenSet; }
88 template <typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
90 m_logicWarningHasBeenSet = true;
91 m_logicWarning = std::forward<LogicWarningT>(value);
92 }
93 template <typename LogicWarningT = AutomatedReasoningCheckLogicWarning>
95 SetLogicWarning(std::forward<LogicWarningT>(value));
96 return *this;
97 }
99 private:
101
102 Aws::Vector<AutomatedReasoningCheckRule> m_contradictingRules;
103
105 bool m_translationHasBeenSet = false;
106 bool m_contradictingRulesHasBeenSet = false;
107 bool m_logicWarningHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace Bedrock
112} // namespace Aws
AutomatedReasoningCheckInvalidFinding & WithTranslation(TranslationT &&value)
AWS_BEDROCK_API AutomatedReasoningCheckInvalidFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckInvalidFinding & WithLogicWarning(LogicWarningT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningCheckInvalidFinding & WithContradictingRules(ContradictingRulesT &&value)
const Aws::Vector< AutomatedReasoningCheckRule > & GetContradictingRules() const
AutomatedReasoningCheckInvalidFinding & AddContradictingRules(ContradictingRulesT &&value)
AWS_BEDROCK_API AutomatedReasoningCheckInvalidFinding(Aws::Utils::Json::JsonView jsonValue)
const AutomatedReasoningCheckLogicWarning & GetLogicWarning() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue