AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailSensitiveInformationPolicyAssessment.h
1
6#pragma once
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/GuardrailPiiEntityFilter.h>
10#include <aws/bedrock-agent-runtime/model/GuardrailRegexFilter.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 BedrockAgentRuntime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API GuardrailSensitiveInformationPolicyAssessment();
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<GuardrailPiiEntityFilter>& GetPiiEntities() const{ return m_piiEntities; }
49 inline bool PiiEntitiesHasBeenSet() const { return m_piiEntitiesHasBeenSet; }
50 inline void SetPiiEntities(const Aws::Vector<GuardrailPiiEntityFilter>& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities = value; }
51 inline void SetPiiEntities(Aws::Vector<GuardrailPiiEntityFilter>&& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities = std::move(value); }
54 inline GuardrailSensitiveInformationPolicyAssessment& AddPiiEntities(const GuardrailPiiEntityFilter& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities.push_back(value); return *this; }
55 inline GuardrailSensitiveInformationPolicyAssessment& AddPiiEntities(GuardrailPiiEntityFilter&& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::Vector<GuardrailRegexFilter>& GetRegexes() const{ return m_regexes; }
64 inline bool RegexesHasBeenSet() const { return m_regexesHasBeenSet; }
65 inline void SetRegexes(const Aws::Vector<GuardrailRegexFilter>& value) { m_regexesHasBeenSet = true; m_regexes = value; }
66 inline void SetRegexes(Aws::Vector<GuardrailRegexFilter>&& value) { m_regexesHasBeenSet = true; m_regexes = std::move(value); }
69 inline GuardrailSensitiveInformationPolicyAssessment& AddRegexes(const GuardrailRegexFilter& value) { m_regexesHasBeenSet = true; m_regexes.push_back(value); return *this; }
70 inline GuardrailSensitiveInformationPolicyAssessment& AddRegexes(GuardrailRegexFilter&& value) { m_regexesHasBeenSet = true; m_regexes.push_back(std::move(value)); return *this; }
72 private:
73
75 bool m_piiEntitiesHasBeenSet = false;
76
78 bool m_regexesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace BedrockAgentRuntime
83} // namespace Aws
GuardrailSensitiveInformationPolicyAssessment & WithRegexes(const Aws::Vector< GuardrailRegexFilter > &value)
GuardrailSensitiveInformationPolicyAssessment & WithPiiEntities(Aws::Vector< GuardrailPiiEntityFilter > &&value)
GuardrailSensitiveInformationPolicyAssessment & WithPiiEntities(const Aws::Vector< GuardrailPiiEntityFilter > &value)
GuardrailSensitiveInformationPolicyAssessment & AddPiiEntities(const GuardrailPiiEntityFilter &value)
GuardrailSensitiveInformationPolicyAssessment & AddRegexes(const GuardrailRegexFilter &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailSensitiveInformationPolicyAssessment & WithRegexes(Aws::Vector< GuardrailRegexFilter > &&value)
GuardrailSensitiveInformationPolicyAssessment & AddPiiEntities(GuardrailPiiEntityFilter &&value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailSensitiveInformationPolicyAssessment(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GuardrailSensitiveInformationPolicyAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailSensitiveInformationPolicyAssessment & AddRegexes(GuardrailRegexFilter &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue