7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/GuardrailWordConfig.h>
10#include <aws/bedrock/model/GuardrailManagedWordsConfig.h>
49 template<
typename WordsConfigT = Aws::Vector<GuardrailWordConfig>>
50 void SetWordsConfig(WordsConfigT&& value) { m_wordsConfigHasBeenSet =
true; m_wordsConfig = std::forward<WordsConfigT>(value); }
51 template<
typename WordsConfigT = Aws::Vector<GuardrailWordConfig>>
53 template<
typename WordsConfigT = GuardrailWordConfig>
63 template<
typename ManagedWordListsConfigT = Aws::Vector<GuardrailManagedWordsConfig>>
64 void SetManagedWordListsConfig(ManagedWordListsConfigT&& value) { m_managedWordListsConfigHasBeenSet =
true; m_managedWordListsConfig = std::forward<ManagedWordListsConfigT>(value); }
65 template<
typename ManagedWordListsConfigT = Aws::Vector<GuardrailManagedWordsConfig>>
67 template<
typename ManagedWordListsConfigT = GuardrailManagedWordsConfig>
73 bool m_wordsConfigHasBeenSet =
false;
76 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue