AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GuardrailPiiEntityConfig.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 GuardrailPiiEntityConfig() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
147 inline GuardrailPiiEntityType GetType() const { return m_type; }
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149 inline void SetType(GuardrailPiiEntityType value) { m_typeHasBeenSet = true; m_type = value; }
150 inline GuardrailPiiEntityConfig& WithType(GuardrailPiiEntityType value) { SetType(value); return *this;}
152
154
157 inline GuardrailSensitiveInformationAction GetAction() const { return m_action; }
158 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
159 inline void SetAction(GuardrailSensitiveInformationAction value) { m_actionHasBeenSet = true; m_action = value; }
162
164
172 inline GuardrailSensitiveInformationAction GetInputAction() const { return m_inputAction; }
173 inline bool InputActionHasBeenSet() const { return m_inputActionHasBeenSet; }
174 inline void SetInputAction(GuardrailSensitiveInformationAction value) { m_inputActionHasBeenSet = true; m_inputAction = value; }
177
179
187 inline GuardrailSensitiveInformationAction GetOutputAction() const { return m_outputAction; }
188 inline bool OutputActionHasBeenSet() const { return m_outputActionHasBeenSet; }
189 inline void SetOutputAction(GuardrailSensitiveInformationAction value) { m_outputActionHasBeenSet = true; m_outputAction = value; }
192
194
199 inline bool GetInputEnabled() const { return m_inputEnabled; }
200 inline bool InputEnabledHasBeenSet() const { return m_inputEnabledHasBeenSet; }
201 inline void SetInputEnabled(bool value) { m_inputEnabledHasBeenSet = true; m_inputEnabled = value; }
202 inline GuardrailPiiEntityConfig& WithInputEnabled(bool value) { SetInputEnabled(value); return *this;}
204
206
211 inline bool GetOutputEnabled() const { return m_outputEnabled; }
212 inline bool OutputEnabledHasBeenSet() const { return m_outputEnabledHasBeenSet; }
213 inline void SetOutputEnabled(bool value) { m_outputEnabledHasBeenSet = true; m_outputEnabled = value; }
214 inline GuardrailPiiEntityConfig& WithOutputEnabled(bool value) { SetOutputEnabled(value); return *this;}
216 private:
217
219 bool m_typeHasBeenSet = false;
220
222 bool m_actionHasBeenSet = false;
223
225 bool m_inputActionHasBeenSet = false;
226
228 bool m_outputActionHasBeenSet = false;
229
230 bool m_inputEnabled{false};
231 bool m_inputEnabledHasBeenSet = false;
232
233 bool m_outputEnabled{false};
234 bool m_outputEnabledHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace Bedrock
239} // namespace Aws
void SetInputAction(GuardrailSensitiveInformationAction value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailPiiEntityConfig & WithInputAction(GuardrailSensitiveInformationAction value)
GuardrailPiiEntityConfig & WithOutputEnabled(bool value)
GuardrailPiiEntityConfig & WithOutputAction(GuardrailSensitiveInformationAction value)
GuardrailSensitiveInformationAction GetAction() const
AWS_BEDROCK_API GuardrailPiiEntityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailPiiEntityConfig & WithAction(GuardrailSensitiveInformationAction value)
GuardrailPiiEntityConfig & WithType(GuardrailPiiEntityType value)
void SetOutputAction(GuardrailSensitiveInformationAction value)
AWS_BEDROCK_API GuardrailPiiEntityConfig()=default
GuardrailSensitiveInformationAction GetOutputAction() const
void SetAction(GuardrailSensitiveInformationAction value)
GuardrailPiiEntityConfig & WithInputEnabled(bool value)
GuardrailSensitiveInformationAction GetInputAction() const
AWS_BEDROCK_API GuardrailPiiEntityConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue