7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-runtime/model/GuardrailCustomWord.h>
10#include <aws/bedrock-runtime/model/GuardrailManagedWord.h>
23namespace BedrockRuntime
48 template<
typename CustomWordsT = Aws::Vector<GuardrailCustomWord>>
49 void SetCustomWords(CustomWordsT&& value) { m_customWordsHasBeenSet =
true; m_customWords = std::forward<CustomWordsT>(value); }
50 template<
typename CustomWordsT = Aws::Vector<GuardrailCustomWord>>
52 template<
typename CustomWordsT = GuardrailCustomWord>
62 template<
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWord>>
63 void SetManagedWordLists(ManagedWordListsT&& value) { m_managedWordListsHasBeenSet =
true; m_managedWordLists = std::forward<ManagedWordListsT>(value); }
64 template<
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWord>>
66 template<
typename ManagedWordListsT = GuardrailManagedWord>
72 bool m_customWordsHasBeenSet =
false;
75 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue