AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GuardrailPiiEntity.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailPiiEntityType.h>
9#include <aws/bedrock/model/GuardrailSensitiveInformationAction.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCK_API GuardrailPiiEntity() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline GuardrailPiiEntityType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(GuardrailPiiEntityType value) { m_typeHasBeenSet = true; m_type = value; }
48 inline GuardrailPiiEntity& WithType(GuardrailPiiEntityType value) { SetType(value); return *this;}
50
52
55 inline GuardrailSensitiveInformationAction GetAction() const { return m_action; }
56 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
57 inline void SetAction(GuardrailSensitiveInformationAction value) { m_actionHasBeenSet = true; m_action = value; }
60
62
70 inline GuardrailSensitiveInformationAction GetInputAction() const { return m_inputAction; }
71 inline bool InputActionHasBeenSet() const { return m_inputActionHasBeenSet; }
72 inline void SetInputAction(GuardrailSensitiveInformationAction value) { m_inputActionHasBeenSet = true; m_inputAction = value; }
75
77
85 inline GuardrailSensitiveInformationAction GetOutputAction() const { return m_outputAction; }
86 inline bool OutputActionHasBeenSet() const { return m_outputActionHasBeenSet; }
87 inline void SetOutputAction(GuardrailSensitiveInformationAction value) { m_outputActionHasBeenSet = true; m_outputAction = value; }
90
92
97 inline bool GetInputEnabled() const { return m_inputEnabled; }
98 inline bool InputEnabledHasBeenSet() const { return m_inputEnabledHasBeenSet; }
99 inline void SetInputEnabled(bool value) { m_inputEnabledHasBeenSet = true; m_inputEnabled = value; }
100 inline GuardrailPiiEntity& WithInputEnabled(bool value) { SetInputEnabled(value); return *this;}
102
104
109 inline bool GetOutputEnabled() const { return m_outputEnabled; }
110 inline bool OutputEnabledHasBeenSet() const { return m_outputEnabledHasBeenSet; }
111 inline void SetOutputEnabled(bool value) { m_outputEnabledHasBeenSet = true; m_outputEnabled = value; }
112 inline GuardrailPiiEntity& WithOutputEnabled(bool value) { SetOutputEnabled(value); return *this;}
114 private:
115
117 bool m_typeHasBeenSet = false;
118
120 bool m_actionHasBeenSet = false;
121
123 bool m_inputActionHasBeenSet = false;
124
126 bool m_outputActionHasBeenSet = false;
127
128 bool m_inputEnabled{false};
129 bool m_inputEnabledHasBeenSet = false;
130
131 bool m_outputEnabled{false};
132 bool m_outputEnabledHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Bedrock
137} // namespace Aws
void SetOutputAction(GuardrailSensitiveInformationAction value)
GuardrailSensitiveInformationAction GetInputAction() const
AWS_BEDROCK_API GuardrailPiiEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailPiiEntity(Aws::Utils::Json::JsonView jsonValue)
void SetInputAction(GuardrailSensitiveInformationAction value)
GuardrailPiiEntity & WithAction(GuardrailSensitiveInformationAction value)
GuardrailPiiEntity & WithInputAction(GuardrailSensitiveInformationAction value)
void SetAction(GuardrailSensitiveInformationAction value)
GuardrailPiiEntityType GetType() const
void SetType(GuardrailPiiEntityType value)
GuardrailSensitiveInformationAction GetOutputAction() const
GuardrailPiiEntity & WithOutputAction(GuardrailSensitiveInformationAction value)
GuardrailSensitiveInformationAction GetAction() const
AWS_BEDROCK_API GuardrailPiiEntity()=default
GuardrailPiiEntity & WithOutputEnabled(bool value)
GuardrailPiiEntity & WithType(GuardrailPiiEntityType value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailPiiEntity & WithInputEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue