AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const GuardrailPiiEntityType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const GuardrailPiiEntityType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(GuardrailPiiEntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline GuardrailPiiEntity& WithType(const GuardrailPiiEntityType& value) { SetType(value); return *this;}
50 inline GuardrailPiiEntity& WithType(GuardrailPiiEntityType&& value) { SetType(std::move(value)); return *this;}
52
54
57 inline const GuardrailSensitiveInformationAction& GetAction() const{ return m_action; }
58 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
59 inline void SetAction(const GuardrailSensitiveInformationAction& value) { m_actionHasBeenSet = true; m_action = value; }
60 inline void SetAction(GuardrailSensitiveInformationAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
61 inline GuardrailPiiEntity& WithAction(const GuardrailSensitiveInformationAction& value) { SetAction(value); return *this;}
62 inline GuardrailPiiEntity& WithAction(GuardrailSensitiveInformationAction&& value) { SetAction(std::move(value)); return *this;}
64 private:
65
67 bool m_typeHasBeenSet = false;
68
70 bool m_actionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Bedrock
75} // namespace Aws
void SetAction(GuardrailSensitiveInformationAction &&value)
void SetType(GuardrailPiiEntityType &&value)
AWS_BEDROCK_API GuardrailPiiEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API GuardrailPiiEntity(Aws::Utils::Json::JsonView jsonValue)
const GuardrailSensitiveInformationAction & GetAction() const
GuardrailPiiEntity & WithType(GuardrailPiiEntityType &&value)
void SetType(const GuardrailPiiEntityType &value)
const GuardrailPiiEntityType & GetType() const
GuardrailPiiEntity & WithType(const GuardrailPiiEntityType &value)
GuardrailPiiEntity & WithAction(GuardrailSensitiveInformationAction &&value)
GuardrailPiiEntity & WithAction(const GuardrailSensitiveInformationAction &value)
void SetAction(const GuardrailSensitiveInformationAction &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue