AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
147 inline const GuardrailPiiEntityType& GetType() const{ return m_type; }
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149 inline void SetType(const GuardrailPiiEntityType& value) { m_typeHasBeenSet = true; m_type = value; }
150 inline void SetType(GuardrailPiiEntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
151 inline GuardrailPiiEntityConfig& WithType(const GuardrailPiiEntityType& value) { SetType(value); return *this;}
152 inline GuardrailPiiEntityConfig& WithType(GuardrailPiiEntityType&& value) { SetType(std::move(value)); return *this;}
154
156
159 inline const GuardrailSensitiveInformationAction& GetAction() const{ return m_action; }
160 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
161 inline void SetAction(const GuardrailSensitiveInformationAction& value) { m_actionHasBeenSet = true; m_action = value; }
162 inline void SetAction(GuardrailSensitiveInformationAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
164 inline GuardrailPiiEntityConfig& WithAction(GuardrailSensitiveInformationAction&& value) { SetAction(std::move(value)); return *this;}
166 private:
167
169 bool m_typeHasBeenSet = false;
170
172 bool m_actionHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace Bedrock
177} // namespace Aws
GuardrailPiiEntityConfig & WithType(GuardrailPiiEntityType &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const GuardrailPiiEntityType &value)
const GuardrailSensitiveInformationAction & GetAction() const
AWS_BEDROCK_API GuardrailPiiEntityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(GuardrailSensitiveInformationAction &&value)
GuardrailPiiEntityConfig & WithAction(GuardrailSensitiveInformationAction &&value)
const GuardrailPiiEntityType & GetType() const
GuardrailPiiEntityConfig & WithType(const GuardrailPiiEntityType &value)
void SetAction(const GuardrailSensitiveInformationAction &value)
GuardrailPiiEntityConfig & WithAction(const GuardrailSensitiveInformationAction &value)
AWS_BEDROCK_API GuardrailPiiEntityConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue