7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailCustomWord.h>
9#include <aws/bedrock-runtime/model/GuardrailManagedWord.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockRuntime {
42 template <
typename CustomWordsT = Aws::Vector<GuardrailCustomWord>>
44 m_customWordsHasBeenSet =
true;
45 m_customWords = std::forward<CustomWordsT>(value);
47 template <
typename CustomWordsT = Aws::Vector<GuardrailCustomWord>>
52 template <
typename CustomWordsT = GuardrailCustomWord>
54 m_customWordsHasBeenSet =
true;
55 m_customWords.emplace_back(std::forward<CustomWordsT>(value));
66 template <
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWord>>
68 m_managedWordListsHasBeenSet =
true;
69 m_managedWordLists = std::forward<ManagedWordListsT>(value);
71 template <
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWord>>
76 template <
typename ManagedWordListsT = GuardrailManagedWord>
78 m_managedWordListsHasBeenSet =
true;
79 m_managedWordLists.emplace_back(std::forward<ManagedWordListsT>(value));
87 bool m_customWordsHasBeenSet =
false;
88 bool m_managedWordListsHasBeenSet =
false;
GuardrailWordPolicyAssessment & WithCustomWords(CustomWordsT &&value)
GuardrailWordPolicyAssessment & AddManagedWordLists(ManagedWordListsT &&value)
bool ManagedWordListsHasBeenSet() const
const Aws::Vector< GuardrailManagedWord > & GetManagedWordLists() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailWordPolicyAssessment & AddCustomWords(CustomWordsT &&value)
const Aws::Vector< GuardrailCustomWord > & GetCustomWords() const
AWS_BEDROCKRUNTIME_API GuardrailWordPolicyAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedWordLists(ManagedWordListsT &&value)
GuardrailWordPolicyAssessment & WithManagedWordLists(ManagedWordListsT &&value)
AWS_BEDROCKRUNTIME_API GuardrailWordPolicyAssessment(Aws::Utils::Json::JsonView jsonValue)
bool CustomWordsHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailWordPolicyAssessment()=default
void SetCustomWords(CustomWordsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue