7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailManagedWords.h>
9#include <aws/bedrock/model/GuardrailWord.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename WordsT = Aws::Vector<GuardrailWord>>
45 m_wordsHasBeenSet =
true;
46 m_words = std::forward<WordsT>(value);
48 template <
typename WordsT = Aws::Vector<GuardrailWord>>
50 SetWords(std::forward<WordsT>(value));
53 template <
typename WordsT = GuardrailWord>
55 m_wordsHasBeenSet =
true;
56 m_words.emplace_back(std::forward<WordsT>(value));
67 template <
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWords>>
69 m_managedWordListsHasBeenSet =
true;
70 m_managedWordLists = std::forward<ManagedWordListsT>(value);
72 template <
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWords>>
77 template <
typename ManagedWordListsT = GuardrailManagedWords>
79 m_managedWordListsHasBeenSet =
true;
80 m_managedWordLists.emplace_back(std::forward<ManagedWordListsT>(value));
86 bool m_wordsHasBeenSet =
false;
89 bool m_managedWordListsHasBeenSet =
false;
bool WordsHasBeenSet() const
AWS_BEDROCK_API GuardrailWordPolicy(Aws::Utils::Json::JsonView jsonValue)
GuardrailWordPolicy & WithManagedWordLists(ManagedWordListsT &&value)
bool ManagedWordListsHasBeenSet() const
void SetWords(WordsT &&value)
void SetManagedWordLists(ManagedWordListsT &&value)
GuardrailWordPolicy & AddManagedWordLists(ManagedWordListsT &&value)
GuardrailWordPolicy & WithWords(WordsT &&value)
AWS_BEDROCK_API GuardrailWordPolicy()=default
GuardrailWordPolicy & AddWords(WordsT &&value)
const Aws::Vector< GuardrailWord > & GetWords() const
const Aws::Vector< GuardrailManagedWords > & GetManagedWordLists() const
AWS_BEDROCK_API GuardrailWordPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue