7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename PoliciesT = Aws::Vector<Aws::String>>
51 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
52 template<
typename PoliciesT = Aws::Vector<Aws::String>>
54 template<
typename PoliciesT = Aws::String>
65 inline void SetConfidenceThreshold(
double value) { m_confidenceThresholdHasBeenSet =
true; m_confidenceThreshold = value; }
71 bool m_policiesHasBeenSet =
false;
73 double m_confidenceThreshold{0.0};
74 bool m_confidenceThresholdHasBeenSet =
false;
void SetConfidenceThreshold(double value)
AWS_BEDROCK_API GuardrailAutomatedReasoningPolicy(Aws::Utils::Json::JsonView jsonValue)
bool PoliciesHasBeenSet() const
double GetConfidenceThreshold() const
AWS_BEDROCK_API GuardrailAutomatedReasoningPolicy()=default
AWS_BEDROCK_API GuardrailAutomatedReasoningPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailAutomatedReasoningPolicy & WithPolicies(PoliciesT &&value)
const Aws::Vector< Aws::String > & GetPolicies() const
void SetPolicies(PoliciesT &&value)
bool ConfidenceThresholdHasBeenSet() const
GuardrailAutomatedReasoningPolicy & AddPolicies(PoliciesT &&value)
GuardrailAutomatedReasoningPolicy & WithConfidenceThreshold(double value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue