AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningCheckLogicWarning.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningCheckLogicWarningType.h>
9#include <aws/bedrock/model/AutomatedReasoningLogicStatement.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
23
32 public:
33 AWS_BEDROCK_API AutomatedReasoningCheckLogicWarning() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline AutomatedReasoningCheckLogicWarningType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
46 m_typeHasBeenSet = true;
47 m_type = value;
48 }
50 SetType(value);
51 return *this;
52 }
54
56
60 inline const Aws::Vector<AutomatedReasoningLogicStatement>& GetPremises() const { return m_premises; }
61 inline bool PremisesHasBeenSet() const { return m_premisesHasBeenSet; }
62 template <typename PremisesT = Aws::Vector<AutomatedReasoningLogicStatement>>
63 void SetPremises(PremisesT&& value) {
64 m_premisesHasBeenSet = true;
65 m_premises = std::forward<PremisesT>(value);
66 }
67 template <typename PremisesT = Aws::Vector<AutomatedReasoningLogicStatement>>
69 SetPremises(std::forward<PremisesT>(value));
70 return *this;
71 }
72 template <typename PremisesT = AutomatedReasoningLogicStatement>
74 m_premisesHasBeenSet = true;
75 m_premises.emplace_back(std::forward<PremisesT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::Vector<AutomatedReasoningLogicStatement>& GetClaims() const { return m_claims; }
86 inline bool ClaimsHasBeenSet() const { return m_claimsHasBeenSet; }
87 template <typename ClaimsT = Aws::Vector<AutomatedReasoningLogicStatement>>
88 void SetClaims(ClaimsT&& value) {
89 m_claimsHasBeenSet = true;
90 m_claims = std::forward<ClaimsT>(value);
91 }
92 template <typename ClaimsT = Aws::Vector<AutomatedReasoningLogicStatement>>
94 SetClaims(std::forward<ClaimsT>(value));
95 return *this;
96 }
97 template <typename ClaimsT = AutomatedReasoningLogicStatement>
99 m_claimsHasBeenSet = true;
100 m_claims.emplace_back(std::forward<ClaimsT>(value));
101 return *this;
102 }
104 private:
106
108
110 bool m_typeHasBeenSet = false;
111 bool m_premisesHasBeenSet = false;
112 bool m_claimsHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace Bedrock
117} // namespace Aws
AutomatedReasoningCheckLogicWarning & AddPremises(PremisesT &&value)
void SetType(AutomatedReasoningCheckLogicWarningType value)
AWS_BEDROCK_API AutomatedReasoningCheckLogicWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningCheckLogicWarning & WithPremises(PremisesT &&value)
const Aws::Vector< AutomatedReasoningLogicStatement > & GetClaims() const
const Aws::Vector< AutomatedReasoningLogicStatement > & GetPremises() const
AutomatedReasoningCheckLogicWarning & WithClaims(ClaimsT &&value)
AutomatedReasoningCheckLogicWarning & AddClaims(ClaimsT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningCheckLogicWarning & WithType(AutomatedReasoningCheckLogicWarningType value)
AWS_BEDROCK_API AutomatedReasoningCheckLogicWarning(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue