AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
RedactionConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/CustomDataIdentifier.h>
9#include <aws/bedrock-agentcore/model/RedactionIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentCore {
22namespace Model {
23
33 public:
34 AWS_BEDROCKAGENTCORE_API RedactionConfiguration() = default;
35 AWS_BEDROCKAGENTCORE_API RedactionConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENTCORE_API RedactionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<RedactionIdentifier>& GetIdentifiers() const { return m_identifiers; }
45 inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
46 template <typename IdentifiersT = Aws::Vector<RedactionIdentifier>>
47 void SetIdentifiers(IdentifiersT&& value) {
48 m_identifiersHasBeenSet = true;
49 m_identifiers = std::forward<IdentifiersT>(value);
50 }
51 template <typename IdentifiersT = Aws::Vector<RedactionIdentifier>>
52 RedactionConfiguration& WithIdentifiers(IdentifiersT&& value) {
53 SetIdentifiers(std::forward<IdentifiersT>(value));
54 return *this;
55 }
57 m_identifiersHasBeenSet = true;
58 m_identifiers.push_back(value);
59 return *this;
60 }
62
64
68 inline const Aws::Vector<CustomDataIdentifier>& GetCustomDataIdentifiers() const { return m_customDataIdentifiers; }
69 inline bool CustomDataIdentifiersHasBeenSet() const { return m_customDataIdentifiersHasBeenSet; }
70 template <typename CustomDataIdentifiersT = Aws::Vector<CustomDataIdentifier>>
71 void SetCustomDataIdentifiers(CustomDataIdentifiersT&& value) {
72 m_customDataIdentifiersHasBeenSet = true;
73 m_customDataIdentifiers = std::forward<CustomDataIdentifiersT>(value);
74 }
75 template <typename CustomDataIdentifiersT = Aws::Vector<CustomDataIdentifier>>
76 RedactionConfiguration& WithCustomDataIdentifiers(CustomDataIdentifiersT&& value) {
77 SetCustomDataIdentifiers(std::forward<CustomDataIdentifiersT>(value));
78 return *this;
79 }
80 template <typename CustomDataIdentifiersT = CustomDataIdentifier>
81 RedactionConfiguration& AddCustomDataIdentifiers(CustomDataIdentifiersT&& value) {
82 m_customDataIdentifiersHasBeenSet = true;
83 m_customDataIdentifiers.emplace_back(std::forward<CustomDataIdentifiersT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::Vector<CustomDataIdentifier> m_customDataIdentifiers;
91 bool m_identifiersHasBeenSet = false;
92 bool m_customDataIdentifiersHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace BedrockAgentCore
97} // namespace Aws
AWS_BEDROCKAGENTCORE_API RedactionConfiguration()=default
void SetCustomDataIdentifiers(CustomDataIdentifiersT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API RedactionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedactionConfiguration & WithCustomDataIdentifiers(CustomDataIdentifiersT &&value)
RedactionConfiguration & WithIdentifiers(IdentifiersT &&value)
AWS_BEDROCKAGENTCORE_API RedactionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CustomDataIdentifier > & GetCustomDataIdentifiers() const
RedactionConfiguration & AddCustomDataIdentifiers(CustomDataIdentifiersT &&value)
const Aws::Vector< RedactionIdentifier > & GetIdentifiers() const
RedactionConfiguration & AddIdentifiers(RedactionIdentifier value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue