7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename PoliciesT = Aws::Vector<Aws::String>>
46 m_policiesHasBeenSet =
true;
47 m_policies = std::forward<PoliciesT>(value);
49 template <
typename PoliciesT = Aws::Vector<Aws::String>>
54 template <
typename PoliciesT = Aws::String>
56 m_policiesHasBeenSet =
true;
57 m_policies.emplace_back(std::forward<PoliciesT>(value));
70 m_confidenceThresholdHasBeenSet =
true;
71 m_confidenceThreshold = value;
80 bool m_policiesHasBeenSet =
false;
82 double m_confidenceThreshold{0.0};
83 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