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-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-runtime/model/GuardrailPiiEntityFilter.h>
10#include <aws/bedrock-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 BedrockRuntime
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<GuardrailPiiEntityFilter>& GetPiiEntities() const{ return m_piiEntities; }
48 inline bool PiiEntitiesHasBeenSet() const { return m_piiEntitiesHasBeenSet; }
49 inline void SetPiiEntities(const Aws::Vector<GuardrailPiiEntityFilter>& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities = value; }
50 inline void SetPiiEntities(Aws::Vector<GuardrailPiiEntityFilter>&& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities = std::move(value); }
53 inline GuardrailSensitiveInformationPolicyAssessment& AddPiiEntities(const GuardrailPiiEntityFilter& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities.push_back(value); return *this; }
54 inline GuardrailSensitiveInformationPolicyAssessment& AddPiiEntities(GuardrailPiiEntityFilter&& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<GuardrailRegexFilter>& GetRegexes() const{ return m_regexes; }
62 inline bool RegexesHasBeenSet() const { return m_regexesHasBeenSet; }
63 inline void SetRegexes(const Aws::Vector<GuardrailRegexFilter>& value) { m_regexesHasBeenSet = true; m_regexes = value; }
64 inline void SetRegexes(Aws::Vector<GuardrailRegexFilter>&& value) { m_regexesHasBeenSet = true; m_regexes = std::move(value); }
67 inline GuardrailSensitiveInformationPolicyAssessment& AddRegexes(const GuardrailRegexFilter& value) { m_regexesHasBeenSet = true; m_regexes.push_back(value); return *this; }
68 inline GuardrailSensitiveInformationPolicyAssessment& AddRegexes(GuardrailRegexFilter&& value) { m_regexesHasBeenSet = true; m_regexes.push_back(std::move(value)); return *this; }
70 private:
71
73 bool m_piiEntitiesHasBeenSet = false;
74
76 bool m_regexesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockRuntime
81} // namespace Aws
GuardrailSensitiveInformationPolicyAssessment & WithPiiEntities(Aws::Vector< GuardrailPiiEntityFilter > &&value)
GuardrailSensitiveInformationPolicyAssessment & AddRegexes(GuardrailRegexFilter &&value)
AWS_BEDROCKRUNTIME_API GuardrailSensitiveInformationPolicyAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailSensitiveInformationPolicyAssessment & WithRegexes(Aws::Vector< GuardrailRegexFilter > &&value)
GuardrailSensitiveInformationPolicyAssessment & WithPiiEntities(const Aws::Vector< GuardrailPiiEntityFilter > &value)
GuardrailSensitiveInformationPolicyAssessment & AddPiiEntities(const GuardrailPiiEntityFilter &value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailSensitiveInformationPolicyAssessment & AddPiiEntities(GuardrailPiiEntityFilter &&value)
AWS_BEDROCKRUNTIME_API GuardrailSensitiveInformationPolicyAssessment(Aws::Utils::Json::JsonView jsonValue)
GuardrailSensitiveInformationPolicyAssessment & AddRegexes(const GuardrailRegexFilter &value)
GuardrailSensitiveInformationPolicyAssessment & WithRegexes(const Aws::Vector< GuardrailRegexFilter > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue