AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
RedactionConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Behavior.h>
9#include <aws/connect/model/MaskMode.h>
10#include <aws/connect/model/Policy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
25
33 public:
34 AWS_CONNECT_API RedactionConfiguration() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline Behavior GetBehavior() const { return m_behavior; }
45 inline bool BehaviorHasBeenSet() const { return m_behaviorHasBeenSet; }
46 inline void SetBehavior(Behavior value) {
47 m_behaviorHasBeenSet = true;
48 m_behavior = value;
49 }
51 SetBehavior(value);
52 return *this;
53 }
55
57
62 inline Policy GetPolicy() const { return m_policy; }
63 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
64 inline void SetPolicy(Policy value) {
65 m_policyHasBeenSet = true;
66 m_policy = value;
67 }
69 SetPolicy(value);
70 return *this;
71 }
73
75
79 inline const Aws::Vector<Aws::String>& GetEntities() const { return m_entities; }
80 inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; }
81 template <typename EntitiesT = Aws::Vector<Aws::String>>
82 void SetEntities(EntitiesT&& value) {
83 m_entitiesHasBeenSet = true;
84 m_entities = std::forward<EntitiesT>(value);
85 }
86 template <typename EntitiesT = Aws::Vector<Aws::String>>
88 SetEntities(std::forward<EntitiesT>(value));
89 return *this;
90 }
91 template <typename EntitiesT = Aws::String>
92 RedactionConfiguration& AddEntities(EntitiesT&& value) {
93 m_entitiesHasBeenSet = true;
94 m_entities.emplace_back(std::forward<EntitiesT>(value));
95 return *this;
96 }
98
100
106 inline MaskMode GetMaskMode() const { return m_maskMode; }
107 inline bool MaskModeHasBeenSet() const { return m_maskModeHasBeenSet; }
108 inline void SetMaskMode(MaskMode value) {
109 m_maskModeHasBeenSet = true;
110 m_maskMode = value;
111 }
113 SetMaskMode(value);
114 return *this;
115 }
117 private:
118 Behavior m_behavior{Behavior::NOT_SET};
119
120 Policy m_policy{Policy::NOT_SET};
121
122 Aws::Vector<Aws::String> m_entities;
123
124 MaskMode m_maskMode{MaskMode::NOT_SET};
125 bool m_behaviorHasBeenSet = false;
126 bool m_policyHasBeenSet = false;
127 bool m_entitiesHasBeenSet = false;
128 bool m_maskModeHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace Connect
133} // namespace Aws
AWS_CONNECT_API RedactionConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedactionConfiguration & AddEntities(EntitiesT &&value)
RedactionConfiguration & WithMaskMode(MaskMode value)
RedactionConfiguration & WithPolicy(Policy value)
RedactionConfiguration & WithBehavior(Behavior value)
const Aws::Vector< Aws::String > & GetEntities() const
AWS_CONNECT_API RedactionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedactionConfiguration & WithEntities(EntitiesT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RedactionConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue