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>
43 template <
typename PoliciesT = Aws::Vector<Aws::String>>
45 m_policiesHasBeenSet =
true;
46 m_policies = std::forward<PoliciesT>(value);
48 template <
typename PoliciesT = Aws::Vector<Aws::String>>
53 template <
typename PoliciesT = Aws::String>
55 m_policiesHasBeenSet =
true;
56 m_policies.emplace_back(std::forward<PoliciesT>(value));
69 m_confidenceThresholdHasBeenSet =
true;
70 m_confidenceThreshold = value;
80 double m_confidenceThreshold{0.0};
81 bool m_policiesHasBeenSet =
false;
82 bool m_confidenceThresholdHasBeenSet =
false;
void SetConfidenceThreshold(double value)
const Aws::Vector< Aws::String > & GetPolicies() const
GuardrailAutomatedReasoningPolicyConfig & AddPolicies(PoliciesT &&value)
AWS_BEDROCK_API GuardrailAutomatedReasoningPolicyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPolicies(PoliciesT &&value)
AWS_BEDROCK_API GuardrailAutomatedReasoningPolicyConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailAutomatedReasoningPolicyConfig()=default
bool PoliciesHasBeenSet() const
GuardrailAutomatedReasoningPolicyConfig & WithConfidenceThreshold(double value)
GuardrailAutomatedReasoningPolicyConfig & WithPolicies(PoliciesT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConfidenceThresholdHasBeenSet() const
double GetConfidenceThreshold() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue