7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailChecksPromptAttackCategoryConfig.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BedrockRuntime {
42 template <
typename CategoriesT = Aws::Vector<GuardrailChecksPromptAttackCategoryConfig>>
44 m_categoriesHasBeenSet =
true;
45 m_categories = std::forward<CategoriesT>(value);
47 template <
typename CategoriesT = Aws::Vector<GuardrailChecksPromptAttackCategoryConfig>>
52 template <
typename CategoriesT = GuardrailChecksPromptAttackCategoryConfig>
54 m_categoriesHasBeenSet =
true;
55 m_categories.emplace_back(std::forward<CategoriesT>(value));
61 bool m_categoriesHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool CategoriesHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailChecksPromptAttackConfig()=default
GuardrailChecksPromptAttackConfig & AddCategories(CategoriesT &&value)
const Aws::Vector< GuardrailChecksPromptAttackCategoryConfig > & GetCategories() const
GuardrailChecksPromptAttackConfig & WithCategories(CategoriesT &&value)
void SetCategories(CategoriesT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue