AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailSensitiveInformationPolicy.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/GuardrailPiiEntity.h>
10#include <aws/bedrock/model/GuardrailRegex.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<GuardrailPiiEntity>& GetPiiEntities() const{ return m_piiEntities; }
48 inline bool PiiEntitiesHasBeenSet() const { return m_piiEntitiesHasBeenSet; }
49 inline void SetPiiEntities(const Aws::Vector<GuardrailPiiEntity>& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities = value; }
50 inline void SetPiiEntities(Aws::Vector<GuardrailPiiEntity>&& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities = std::move(value); }
53 inline GuardrailSensitiveInformationPolicy& AddPiiEntities(const GuardrailPiiEntity& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities.push_back(value); return *this; }
54 inline GuardrailSensitiveInformationPolicy& AddPiiEntities(GuardrailPiiEntity&& value) { m_piiEntitiesHasBeenSet = true; m_piiEntities.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<GuardrailRegex>& GetRegexes() const{ return m_regexes; }
62 inline bool RegexesHasBeenSet() const { return m_regexesHasBeenSet; }
63 inline void SetRegexes(const Aws::Vector<GuardrailRegex>& value) { m_regexesHasBeenSet = true; m_regexes = value; }
64 inline void SetRegexes(Aws::Vector<GuardrailRegex>&& value) { m_regexesHasBeenSet = true; m_regexes = std::move(value); }
67 inline GuardrailSensitiveInformationPolicy& AddRegexes(const GuardrailRegex& value) { m_regexesHasBeenSet = true; m_regexes.push_back(value); return *this; }
68 inline GuardrailSensitiveInformationPolicy& AddRegexes(GuardrailRegex&& 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 Bedrock
81} // namespace Aws
GuardrailSensitiveInformationPolicy & WithPiiEntities(Aws::Vector< GuardrailPiiEntity > &&value)
GuardrailSensitiveInformationPolicy & AddPiiEntities(const GuardrailPiiEntity &value)
GuardrailSensitiveInformationPolicy & AddRegexes(const GuardrailRegex &value)
GuardrailSensitiveInformationPolicy & WithPiiEntities(const Aws::Vector< GuardrailPiiEntity > &value)
GuardrailSensitiveInformationPolicy & WithRegexes(const Aws::Vector< GuardrailRegex > &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GuardrailPiiEntity > & GetPiiEntities() const
GuardrailSensitiveInformationPolicy & WithRegexes(Aws::Vector< GuardrailRegex > &&value)
GuardrailSensitiveInformationPolicy & AddPiiEntities(GuardrailPiiEntity &&value)
GuardrailSensitiveInformationPolicy & AddRegexes(GuardrailRegex &&value)
void SetPiiEntities(const Aws::Vector< GuardrailPiiEntity > &value)
AWS_BEDROCK_API GuardrailSensitiveInformationPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailSensitiveInformationPolicy(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue