7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailAutomatedReasoningLogicWarningType.h>
9#include <aws/bedrock-runtime/model/GuardrailAutomatedReasoningStatement.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockRuntime {
46 m_typeHasBeenSet =
true;
62 template <
typename PremisesT = Aws::Vector<GuardrailAutomatedReasoningStatement>>
64 m_premisesHasBeenSet =
true;
65 m_premises = std::forward<PremisesT>(value);
67 template <
typename PremisesT = Aws::Vector<GuardrailAutomatedReasoningStatement>>
72 template <
typename PremisesT = GuardrailAutomatedReasoningStatement>
74 m_premisesHasBeenSet =
true;
75 m_premises.emplace_back(std::forward<PremisesT>(value));
87 template <
typename ClaimsT = Aws::Vector<GuardrailAutomatedReasoningStatement>>
89 m_claimsHasBeenSet =
true;
90 m_claims = std::forward<ClaimsT>(value);
92 template <
typename ClaimsT = Aws::Vector<GuardrailAutomatedReasoningStatement>>
97 template <
typename ClaimsT = GuardrailAutomatedReasoningStatement>
99 m_claimsHasBeenSet =
true;
100 m_claims.emplace_back(std::forward<ClaimsT>(value));
110 bool m_typeHasBeenSet =
false;
111 bool m_premisesHasBeenSet =
false;
112 bool m_claimsHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningLogicWarning()=default
GuardrailAutomatedReasoningLogicWarning & AddClaims(ClaimsT &&value)
bool PremisesHasBeenSet() const
void SetPremises(PremisesT &&value)
GuardrailAutomatedReasoningLogicWarning & WithType(GuardrailAutomatedReasoningLogicWarningType value)
void SetType(GuardrailAutomatedReasoningLogicWarningType value)
const Aws::Vector< GuardrailAutomatedReasoningStatement > & GetPremises() const
GuardrailAutomatedReasoningLogicWarningType GetType() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GuardrailAutomatedReasoningStatement > & GetClaims() const
GuardrailAutomatedReasoningLogicWarning & WithClaims(ClaimsT &&value)
GuardrailAutomatedReasoningLogicWarning & AddPremises(PremisesT &&value)
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningLogicWarning(Aws::Utils::Json::JsonView jsonValue)
GuardrailAutomatedReasoningLogicWarning & WithPremises(PremisesT &&value)
bool ClaimsHasBeenSet() const
void SetClaims(ClaimsT &&value)
AWS_BEDROCKRUNTIME_API GuardrailAutomatedReasoningLogicWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
GuardrailAutomatedReasoningLogicWarningType
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue