7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailManagedWordsConfig.h>
9#include <aws/bedrock/model/GuardrailWordConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename WordsConfigT = Aws::Vector<GuardrailWordConfig>>
45 m_wordsConfigHasBeenSet =
true;
46 m_wordsConfig = std::forward<WordsConfigT>(value);
48 template <
typename WordsConfigT = Aws::Vector<GuardrailWordConfig>>
53 template <
typename WordsConfigT = GuardrailWordConfig>
55 m_wordsConfigHasBeenSet =
true;
56 m_wordsConfig.emplace_back(std::forward<WordsConfigT>(value));
67 template <
typename ManagedWordListsConfigT = Aws::Vector<GuardrailManagedWordsConfig>>
69 m_managedWordListsConfigHasBeenSet =
true;
70 m_managedWordListsConfig = std::forward<ManagedWordListsConfigT>(value);
72 template <
typename ManagedWordListsConfigT = Aws::Vector<GuardrailManagedWordsConfig>>
77 template <
typename ManagedWordListsConfigT = GuardrailManagedWordsConfig>
79 m_managedWordListsConfigHasBeenSet =
true;
80 m_managedWordListsConfig.emplace_back(std::forward<ManagedWordListsConfigT>(value));
88 bool m_wordsConfigHasBeenSet =
false;
89 bool m_managedWordListsConfigHasBeenSet =
false;
bool WordsConfigHasBeenSet() const
AWS_BEDROCK_API GuardrailWordPolicyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ManagedWordListsConfigHasBeenSet() const
AWS_BEDROCK_API GuardrailWordPolicyConfig()=default
GuardrailWordPolicyConfig & AddWordsConfig(WordsConfigT &&value)
AWS_BEDROCK_API GuardrailWordPolicyConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GuardrailManagedWordsConfig > & GetManagedWordListsConfig() const
void SetWordsConfig(WordsConfigT &&value)
GuardrailWordPolicyConfig & AddManagedWordListsConfig(ManagedWordListsConfigT &&value)
GuardrailWordPolicyConfig & WithWordsConfig(WordsConfigT &&value)
const Aws::Vector< GuardrailWordConfig > & GetWordsConfig() const
GuardrailWordPolicyConfig & WithManagedWordListsConfig(ManagedWordListsConfigT &&value)
void SetManagedWordListsConfig(ManagedWordListsConfigT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue