AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailSensitiveInformationPolicyConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/GuardrailPiiEntityConfig.h>
10#include <aws/bedrock/model/GuardrailRegexConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<GuardrailPiiEntityConfig>& GetPiiEntitiesConfig() const{ return m_piiEntitiesConfig; }
48 inline bool PiiEntitiesConfigHasBeenSet() const { return m_piiEntitiesConfigHasBeenSet; }
49 inline void SetPiiEntitiesConfig(const Aws::Vector<GuardrailPiiEntityConfig>& value) { m_piiEntitiesConfigHasBeenSet = true; m_piiEntitiesConfig = value; }
50 inline void SetPiiEntitiesConfig(Aws::Vector<GuardrailPiiEntityConfig>&& value) { m_piiEntitiesConfigHasBeenSet = true; m_piiEntitiesConfig = std::move(value); }
53 inline GuardrailSensitiveInformationPolicyConfig& AddPiiEntitiesConfig(const GuardrailPiiEntityConfig& value) { m_piiEntitiesConfigHasBeenSet = true; m_piiEntitiesConfig.push_back(value); return *this; }
54 inline GuardrailSensitiveInformationPolicyConfig& AddPiiEntitiesConfig(GuardrailPiiEntityConfig&& value) { m_piiEntitiesConfigHasBeenSet = true; m_piiEntitiesConfig.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<GuardrailRegexConfig>& GetRegexesConfig() const{ return m_regexesConfig; }
62 inline bool RegexesConfigHasBeenSet() const { return m_regexesConfigHasBeenSet; }
63 inline void SetRegexesConfig(const Aws::Vector<GuardrailRegexConfig>& value) { m_regexesConfigHasBeenSet = true; m_regexesConfig = value; }
64 inline void SetRegexesConfig(Aws::Vector<GuardrailRegexConfig>&& value) { m_regexesConfigHasBeenSet = true; m_regexesConfig = std::move(value); }
67 inline GuardrailSensitiveInformationPolicyConfig& AddRegexesConfig(const GuardrailRegexConfig& value) { m_regexesConfigHasBeenSet = true; m_regexesConfig.push_back(value); return *this; }
68 inline GuardrailSensitiveInformationPolicyConfig& AddRegexesConfig(GuardrailRegexConfig&& value) { m_regexesConfigHasBeenSet = true; m_regexesConfig.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::Vector<GuardrailPiiEntityConfig> m_piiEntitiesConfig;
73 bool m_piiEntitiesConfigHasBeenSet = false;
74
76 bool m_regexesConfigHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Bedrock
81} // namespace Aws
GuardrailSensitiveInformationPolicyConfig & WithRegexesConfig(Aws::Vector< GuardrailRegexConfig > &&value)
const Aws::Vector< GuardrailPiiEntityConfig > & GetPiiEntitiesConfig() const
void SetPiiEntitiesConfig(const Aws::Vector< GuardrailPiiEntityConfig > &value)
GuardrailSensitiveInformationPolicyConfig & AddRegexesConfig(const GuardrailRegexConfig &value)
AWS_BEDROCK_API GuardrailSensitiveInformationPolicyConfig(Aws::Utils::Json::JsonView jsonValue)
GuardrailSensitiveInformationPolicyConfig & AddPiiEntitiesConfig(GuardrailPiiEntityConfig &&value)
GuardrailSensitiveInformationPolicyConfig & WithPiiEntitiesConfig(const Aws::Vector< GuardrailPiiEntityConfig > &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailSensitiveInformationPolicyConfig & WithPiiEntitiesConfig(Aws::Vector< GuardrailPiiEntityConfig > &&value)
GuardrailSensitiveInformationPolicyConfig & AddPiiEntitiesConfig(const GuardrailPiiEntityConfig &value)
GuardrailSensitiveInformationPolicyConfig & AddRegexesConfig(GuardrailRegexConfig &&value)
AWS_BEDROCK_API GuardrailSensitiveInformationPolicyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailSensitiveInformationPolicyConfig & WithRegexesConfig(const Aws::Vector< GuardrailRegexConfig > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue