7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/GuardrailCustomWord.h>
10#include <aws/bedrock-agent-runtime/model/GuardrailManagedWord.h>
23namespace BedrockAgentRuntime
49 template<
typename CustomWordsT = Aws::Vector<GuardrailCustomWord>>
50 void SetCustomWords(CustomWordsT&& value) { m_customWordsHasBeenSet =
true; m_customWords = std::forward<CustomWordsT>(value); }
51 template<
typename CustomWordsT = Aws::Vector<GuardrailCustomWord>>
53 template<
typename CustomWordsT = GuardrailCustomWord>
63 template<
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWord>>
64 void SetManagedWordLists(ManagedWordListsT&& value) { m_managedWordListsHasBeenSet =
true; m_managedWordLists = std::forward<ManagedWordListsT>(value); }
65 template<
typename ManagedWordListsT = Aws::Vector<GuardrailManagedWord>>
67 template<
typename ManagedWordListsT = GuardrailManagedWord>
73 bool m_customWordsHasBeenSet =
false;
76 bool m_managedWordListsHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API GuardrailWordPolicyAssessment()=default
GuardrailWordPolicyAssessment & WithManagedWordLists(ManagedWordListsT &&value)
const Aws::Vector< GuardrailManagedWord > & GetManagedWordLists() const
void SetCustomWords(CustomWordsT &&value)
GuardrailWordPolicyAssessment & WithCustomWords(CustomWordsT &&value)
const Aws::Vector< GuardrailCustomWord > & GetCustomWords() const
GuardrailWordPolicyAssessment & AddManagedWordLists(ManagedWordListsT &&value)
GuardrailWordPolicyAssessment & AddCustomWords(CustomWordsT &&value)
bool CustomWordsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailWordPolicyAssessment(Aws::Utils::Json::JsonView jsonValue)
void SetManagedWordLists(ManagedWordListsT &&value)
bool ManagedWordListsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailWordPolicyAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue